@graphql-tools/utils
13.2.2 · 10 Nov 2026MIT57M / weekRepositoryHomepagenpmAtom feed
Upgrading @graphql-tools/utils From 9.2.0 to 13.2.2
81 releases in betweenevery note read
Reading releases, release notes and advisories…
Before you upgrade
Tick each one off as you go- Breaking13.0.0
- Breaking12.0.0
- Breaking12.0.0
- Breaking11.0.0
- Breaking10.3.3
- Breaking10.0.0
Security
Fixes 1 advisory affecting 9.2.0
- GraphQL Tools has prototype pollution in well-established utility function `mergeDeep`high · GHSA-7mx3-vvmw-hjmv
- 12.0.2
Fix prototype pollution in
mergeIncrementalResult - 12.0.1
Fix prototype pollution in
mergeDeep - 10.7.2
Bump dset dependency handling the CVE-2024-21529
Release by release
- Fixed
Print argument and input field defaults configured with the deprecated
defaultValueon graphql 17.
- Fixed
- Fixed
Cache
collectFields/collectSubfieldsacross executions when the document has no variable-conditional@skip,@include, or@defer, sovariableValuesare omitted from the cache key for those documents.
- Fixed
- New
loadDocuments/loadTypedefsnow accepterrorHandlingso a single invalid file does not have to hide the rest of the load. - Fixed
rewireTypes(used bymapSchemaandaddTypes) now recreates only the types that actually reference a replaced type. - Fixed
transformInputValuenow keeps falsy list items when GraphQL coerces a singleton into a list.
- New
- Fixed
mapSchemanow remaps directive argument defaults the same way it already remaps field argument defaults. - Fixed
Published
Executortypes include/// <reference lib="esnext.disposable" preserve="true" />so consumers do not needskipLibCheckor a fullesnextlib just to import this package.
- Fixed
- Fixed
printSchemaWithDirectivesno longer turns unquoted directive argument literals into strings.
- Fixed
- Fixed
INCREMENTAL_DELIVERY_SPECSis the shared HTTP contract forincrementalSpec. Each row maps an Accept / Content-Type parameter (deferSpec=20220824,incrementalSpec=v0.2, ...) to the executor payload id ('v0.1'|'v0.2').
- Fixed
- New
@graphql-tools/executorcan publish both incremental delivery payload formats from one execution kernel. PassincrementalSpec: 'v0.1' | 'v0.2'onexecute/subscribe/normalizedExecutor(also onExecutionRequestforexecutorFromSchema).'v0.1'remains the default and keeps the existingpath/labelpatches used withmultipart/mixed;deferSpec=20220824.'v0.2'emits Apollo incremental v0.2 payloads (pendingwithidandpath,incrementalwithidand optionalsubPath,completed) used withmultipart/mixed;incrementalSpec=v0.2.
- New
- New
Add
asGetArgumentValuesVariablesandcoerceGetVariableValuesResulthelpers for GraphQL 16/17VariableValuescompatibility when callinggetArgumentValues/ normalizinggetVariableValuesresults for helpers likeshouldIncludeNode.
- New
11 other lines we could not sort, mostly version bumps
- 13.0.0
On Node.js ≥26.1 (and ≥24.16 where backported),
fs.globfollowSymlinksis used. - 13.0.0
On older engines, symlink directories are discovered only under each pattern’s literal prefix (not the whole
cwd) and patterns are re-rooted. - 13.0.0
Non-recursive / literal patterns skip the symlink walk entirely.
- 13.0.0
Prefer
new GraphQLError(message, options)fromgraphql. Experimental schemacoordinatesupport remains onlocatedError/relocatedError/getSchemaCoordinate. - 13.0.0
Removed GraphQL versions older than 16 compatibility branches (error construction, validation rule name suffixes,
URL.canParsefallback). - 13.0.0
Promise helpers should be imported from
@whatwg-node/promise-helpers(handleMaybePromise,isPromise,fakePromise,mapAsyncIterator,MaybePromise) rather than re-exported from utils. - 12.0.0
getAsyncHelpersis now available onGraphQLResolveInfo. Itstrackmethod is used wheneverwaitUntilis available, as in Yoga's Explicit Resource Management - 12.0.0
getAbortSignalis now available onGraphQLResolveInfo, matching behavior that was already available in this executor implementation, as in Yoga's Execution Cancellation - 12.0.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. - 12.0.0
If your custom scalar resolvers define
__serializeand__parseValue, they are automatically mapped tocoerceOutputValueandcoerceInputValuein GraphQL v17.
10 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.