@graphql-tools/utils
13.2.2 · 10 Nov 2026MIT57M / weekRepositoryHomepagenpmAtom feed
Upgrading @graphql-tools/utils From 13.0.1 to 13.2.2
8 releases in betweenevery note read
Reading releases, release notes and advisories…
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
1 internal line (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.