Packages

@graphql-tools/utils

13.2.2 · 10 Nov 2026MIT57M / weekRepositoryHomepagenpmAtom feed

Upgrading @graphql-tools/utils From 10.9.0 to 13.2.2

29 releases in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 10.9.0Newest 10.x10.11.0Clears its advisory12.0.1
  1. 10.9.0yours
  2. 6 releases
  3. 11.0.0major
  4. 6 releases
  5. 12.0.0major
  6. 12.0.1security
  7. 12.0.2security
  8. 3 releases
  9. 13.0.0major
  10. 8 releases
  11. 13.2.2target
  12. 355 pre

Before you upgrade

Tick each one off as you go
  • Breaking13.0.0
  • Breaking12.0.0
  • Breaking12.0.0
  • Breaking11.0.0

Security

Fixes 1 advisory affecting 10.9.0

  • Fix prototype pollution in mergeIncrementalResult

    12.0.2
  • Fix prototype pollution in mergeDeep

    12.0.1

Release by release

  1. 13.2.2

    10 Nov 20261 fix
    • Fixed

      Print argument and input field defaults configured with the deprecated defaultValue on graphql 17.

  2. 13.2.1

    31 Oct 20261 fix
    • Fixed

      Cache collectFields / collectSubfields across executions when the document has no variable-conditional @skip, @include, or @defer, so variableValues are omitted from the cache key for those documents.

  3. 13.2.0

    26 Oct 20261 new · 2 fixes
    • New

      loadDocuments / loadTypedefs now accept errorHandling so a single invalid file does not have to hide the rest of the load.

    • Fixed

      rewireTypes (used by mapSchema and addTypes) now recreates only the types that actually reference a replaced type.

    • Fixed

      transformInputValue now keeps falsy list items when GraphQL coerces a singleton into a list.

  4. 13.1.3

    22 Oct 20262 fixes
    • Fixed

      mapSchema now remaps directive argument defaults the same way it already remaps field argument defaults.

    • Fixed

      Published Executor types include /// <reference lib="esnext.disposable" preserve="true" /> so consumers do not need skipLibCheck or a full esnext lib just to import this package.

  5. 13.1.2

    22 Oct 20261 fix
    • Fixed

      printSchemaWithDirectives no longer turns unquoted directive argument literals into strings.

  6. 13.1.1

    20 Oct 20261 fix
    • Fixed

      INCREMENTAL_DELIVERY_SPECS is the shared HTTP contract for incrementalSpec. Each row maps an Accept / Content-Type parameter (deferSpec=20220824, incrementalSpec=v0.2, ...) to the executor payload id ('v0.1' | 'v0.2').

  7. 13.1.0

    20 Oct 20261 new
    • New

      @graphql-tools/executor can publish both incremental delivery payload formats from one execution kernel. Pass incrementalSpec: 'v0.1' | 'v0.2' on execute / subscribe / normalizedExecutor (also on ExecutionRequest for executorFromSchema). 'v0.1' remains the default and keeps the existing path / label patches used with multipart/mixed;deferSpec=20220824. 'v0.2' emits Apollo incremental v0.2 payloads (pending with id and path, incremental with id and optional subPath, completed) used with multipart/mixed;incrementalSpec=v0.2.

  8. 13.0.2

    19 Oct 20261 new
    • New

      Add asGetArgumentValuesVariables and coerceGetVariableValuesResult helpers for GraphQL 16/17 VariableValues compatibility when calling getArgumentValues / normalizing getVariableValues results for helpers like shouldIncludeNode.

11 other lines we could not sort, mostly version bumps
  • On Node.js ≥26.1 (and ≥24.16 where backported), fs.glob followSymlinks is 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) from graphql. Experimental schema coordinate support remains on locatedError / relocatedError / getSchemaCoordinate.

    13.0.0
  • Removed GraphQL versions older than 16 compatibility branches (error construction, validation rule name suffixes, URL.canParse fallback).

    13.0.0
  • Promise helpers should be imported from @whatwg-node/promise-helpers (handleMaybePromise, isPromise, fakePromise, mapAsyncIterator, MaybePromise) rather than re-exported from utils.

    13.0.0
  • getAsyncHelpers is now available on GraphQLResolveInfo. Its track method is used whenever waitUntil is available, as in Yoga's Explicit Resource Management

    12.0.0
  • getAbortSignal is now available on GraphQLResolveInfo, matching behavior that was already available in this executor implementation, as in Yoga's Execution Cancellation

    12.0.0
  • GraphQLResolveInfo automatically aligns variableValues according to the GraphQL version for better compatibility. In GraphQL v17 and above, variableValues follows the wrapped shape ({ coerced, sources }) expected by GraphQL APIs. In GraphQL v16 and below, variableValues remains a flat map as in previous versions.

    12.0.0
  • If your custom scalar resolvers define __serialize and __parseValue, they are automatically mapped to coerceOutputValue and coerceInputValue in GraphQL v17.

    12.0.0

5 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.