npm / @envelop/testing
@envelop/testing
What changed in @envelop/testing 11, from its official release notes, upgrade guides and advisories. Sources checked 2026-11-12.
14 breaking1 behavior and defaults2 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli init@envelop/testing 1117 changes
Breaking changes 14
createGraphQLError is removed; use GraphQLError from graphql instead.
Yoga no longer re-exports DisposableSymbols; import it from @whatwg-node/server.
Yoga no longer re-exports fakePromise; import it from @whatwg-node/promise-helpers.
Yoga no longer re-exports getSchemaCoordinate; import it from @graphql-tools/utils.
The minimum supported GraphQL version is now 16; GraphQL 14 and 15 are no longer supported.
Yoga no longer re-exports handleMaybePromise; import it from @whatwg-node/promise-helpers.
Yoga and @envelop/core utils no longer re-export isPromise; import it from @whatwg-node/promise-helpers.
Yoga and @envelop/core utils no longer re-export mapAsyncIterator; import it from @whatwg-node/promise-helpers.
mapMaybePromise is removed from Yoga and @envelop/core; use handleMaybePromise from @whatwg-node/promise-helpers.
Request bodies are limited to 25,000,000 bytes by default; set maxRequestBodySize: false to disable the limit and preserve synchronous parsing for in-memory bodies.
Yoga no longer re-exports MaybePromise; import it from @whatwg-node/promise-helpers.
Yoga no longer re-exports mergeSchemas; import it from @graphql-tools/schema.
The minimum supported Node version is now 22; Node 18 and 20 are no longer supported.
Request body parsing is asynchronous due to the default size limit, so yoga.fetch() can return a Promise even when resolvers and plugins are synchronous.
Behavior and default changes 1
Yoga maps the GraphQL HTTP Accept header through INCREMENTAL_DELIVERY_SPECS to the executor incrementalSpec; unsupported incremental specs yield 406.
Fixes and other changes 2
Use asGetArgumentValuesVariables from @graphql-tools/utils for GraphQL 16/17 VariableValues compatibility.
Use coerceGetVariableValuesResult from @graphql-tools/utils for GraphQL 16/17 VariableValues compatibility.