@graphql-tools/schema
11.0.9 · 10 Nov 2026MIT26.1M / weekRepositoryHomepagenpmAtom feed
10.1.5 is the newest release of 10.x.
In short
2 breaking5 changed2 internal
- Breaking
@graphql-tools/executor'sgetVariableValuesnow returns{ variableValues }on success, wherevariableValuesis aVariableValuesobject ({ coerced, sources }). On failure, it returns{ errors }. - Breaking
collectFields,shouldIncludeNode,getDeferValues, andcollectSubFieldsnow need aVariableValuesobject instead ofRecord<string, any>for thevariableValuesargument.
Release note
The section about @graphql-tools/schema of a note shared by several packages.
Minor Changes
#8346
2273c21
Thanks @ardatan! - This release adds GraphQL v17 support and aligns
the existing executor implementation with the latest GraphQL v17 API changes. The following
changes are included:getAsyncHelpersis now available onGraphQLResolveInfo. Itstrackmethod is used wheneverwaitUntilis available, as in Yoga's
Explicit Resource ManagementgetAbortSignalis now available onGraphQLResolveInfo, matching behavior that was already
available in this executor implementation, as in Yoga's
Execution CancellationGraphQLResolveInfoautomatically alignsvariableValuesaccording to the GraphQL version for
better compatibility. In GraphQL v17 and above,variableValuesfollows the wrapped shape
({ coerced, sources }) expected by GraphQL APIs. In GraphQL v16 and below,variableValues
remains a flat map as in previous versions.If your custom scalar resolvers define
__serializeand__parseValue, they are automatically
mapped tocoerceOutputValueandcoerceInputValuein GraphQL v17.BREAKING:
@graphql-tools/executor'sgetVariableValuesnow returns{ variableValues }
on success, wherevariableValuesis aVariableValuesobject ({ coerced, sources }). On
failure, it returns{ errors }.BREAKING:
collectFields,shouldIncludeNode,getDeferValues, andcollectSubFieldsnow
need aVariableValuesobject instead ofRecord<string, any>for thevariableValues
argument.visitResultnow internally normalizesExecutionRequest.variablesinto aVariableValues-compatible shape ({ coerced, sources }) before traversing selections.
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.