unstale

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

@unstale/cli 0.2.4 on npm

@envelop/core 63 changes

Breaking changes 3

  • @envelop/core utils no longer re-exports this helper. Import it from @whatwg-node/promise-helpers.

    5.0.0, 6.0.0release notesupgrade guide

  • @envelop/core utils no longer re-exports this helper. Import it from @whatwg-node/promise-helpers.

    5.0.0, 6.0.0release notesupgrade guide

  • The @envelop/core export was removed. Use handleMaybePromise from @whatwg-node/promise-helpers instead.

    6.0.0release notes

@envelop/core 54 changes

New APIs and options 1

  • Exports documentStringMap so developers can set a value for getDocumentString externally.

    5.4.0release notes

Fixes and other changes 3

  • Adds support for graphql-js 17 and updates compatibility with subscribe.

    5.6.0release notes

  • The hook now receives the latest mergable context when an error originates from a context extension.

    5.5.1release notes

  • useErrorHandler handles incremental execution errors.

    5.5.0release notes

@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.

    4.0.0upgrade guide

  • Node.js v16 is no longer supported.

    4.0.0upgrade guide

  • Node 14 is no longer supported; Node 16 or higher is required.

    4.0.0release notes

New APIs and options 2

  • The function is exported so users can obtain the parsed document string.

    4.0.0release notes

  • The notes direct developers to install the graphql-yoga NPM package.

    4.0.0upgrade guide

Performance 1

  • Parsed document string results are memoized and reused wherever possible.

    4.0.0release notes