@graphql-tools/schema
11.0.9 · 10 Nov 2026MIT26.1M / weekRepositoryHomepagenpmAtom feed
Upgrading @graphql-tools/schema From 10.0.1 to 10.1.5
43 releases in betweenevery note read
Reading releases, release notes and advisories…
- 2
- changes to make
- 0
- advisories fixed
- 2
- new
- 4
- fixes
Before you upgrade
Tick each one off as you go- Breaking10.1.0
- Breaking10.1.0
Release by release
- Fixed
Fix: Preserve symbol-keyed GraphQL extensions when building, merging, or extracting schemas.
- Fixed
10.1.1 – 10.1.44 releases, nothing new or fixed in the notes
- 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.
- Breaking
10.0.13 – 10.0.3826 releases, nothing new or fixed in the notes
- Fixed
`AbortSignal` in `GraphQLResolveInfo`, and `AbortSignal` in `ExecutionRequest`
- Fixed
10.0.7 – 10.0.115 releases, nothing new or fixed in the notes
- Fixed
Improve directive extraction
- Fixed
- New
Introduce `getDirectiveExtensions` and refactor directive handling in the extensions
- New
5 other lines we could not sort, mostly version bumps
- 10.1.0
getAsyncHelpersis now available onGraphQLResolveInfo. Itstrackmethod is used wheneverwaitUntilis available, as in Yoga's Explicit Resource Management - 10.1.0
getAbortSignalis now available onGraphQLResolveInfo, matching behavior that was already available in this executor implementation, as in Yoga's Execution Cancellation - 10.1.0
GraphQLResolveInfoautomatically 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,variableValuesremains a flat map as in previous versions. - 10.1.0
If your custom scalar resolvers define
__serializeand__parseValue, they are automatically mapped tocoerceOutputValueandcoerceInputValuein GraphQL v17. - 10.1.0
visitResultnow internally normalizesExecutionRequest.variablesinto aVariableValues-compatible shape ({ coerced, sources }) before traversing selections.
89 internal lines (docs, tests, tooling) left out.
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.