npm / @envelop/core
@envelop/core
What changed in @envelop/core 4 to 6, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-23.
6 breaking3 new APIs and options1 performance3 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli init@envelop/core 63 changes
Breaking changes 3
@envelop/core utils no longer re-exports this helper. Import it from @whatwg-node/promise-helpers.
@envelop/core utils no longer re-exports this helper. Import it from @whatwg-node/promise-helpers.
The @envelop/core export was removed. Use handleMaybePromise from @whatwg-node/promise-helpers instead.
@envelop/core 54 changes
New APIs and options 1
Exports documentStringMap so developers can set a value for getDocumentString externally.
Fixes and other changes 3
Adds support for graphql-js 17 and updates compatibility with subscribe.
The hook now receives the latest mergable context when an error originates from a context extension.
useErrorHandler handles incremental execution errors.
@envelop/core 46 changes
Breaking changes 3
Plugins added with addPlugin are inserted in place, so their hooks execute immediately after the hooks of the plugin that added them.
Node.js v16 is no longer supported.
Node 14 is no longer supported; Node 16 or higher is required.
New APIs and options 2
The function is exported so users can obtain the parsed document string.
The notes direct developers to install the graphql-yoga NPM package.
Performance 1
Parsed document string results are memoized and reused wherever possible.