Packages

@graphql-tools/utils

13.2.2 · 10 Nov 2026MIT57M / weekRepositoryHomepagenpmAtom feed

Upgrading @graphql-tools/utils From 10.10.2 to 12.0.2

12 releases in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 10.10.2Newest 10.x10.11.0Latest13.2.2
  1. 10.10.2yours
  2. 2 releases
  3. 11.0.0major
  4. 6 releases
  5. 12.0.0major
  6. 12.0.1security
  7. 12.0.2target
  8. 130 pre

Before you upgrade

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

Security

  • Fix prototype pollution in mergeIncrementalResult

    12.0.2
  • Fix prototype pollution in mergeDeep

    12.0.1

Release by release

  1. 12.0.2

    Security fix30 Sep 2026
    • Security

      Fix prototype pollution in mergeIncrementalResult

  2. 12.0.1

    Security fix7 Sep 20261 new · 3 fixes
    • Security

      Fix prototype pollution in mergeDeep

    • New

      Allow % in paths checked by isValidPath (e.g. directories from URL-encoded repo names).

    • Fixed

      Omit mutation/subscription from printSchemaWithDirectives when those root types are no longer present on the schema (e.g. after pruneSchema).

    • Fixed

      Clean up observableToAsyncIterable queues and unsubscribe when the observable completes, so iterators do not retain references after done. Fixes leak detection flakes related to #8057.

    • Fixed

      Prefer runtime description values over stale astNode descriptions in printSchemaWithDirectives / getDescriptionNode. Fixes #5508.

  3. 12.0.0

    Migration needed12 Aug 2026
    • Breaking

      @graphql-tools/executor's getVariableValues now returns { variableValues } on success, where variableValues is a VariableValues object ({ coerced, sources }). On failure, it returns { errors }.

    • Breaking

      collectFields, shouldIncludeNode, getDeferValues, and collectSubFields now need a VariableValues object instead of Record<string, any> for the variableValues argument.

  4. 11.2.2

    17 Jul 20261 fix
    • Fixed

      Fix mergeDeep to treat explicit undefined property values as overrides rather than skipping them, distinct from an absent property

  5. 11.2.1

    17 Jul 20261 fix
    • Fixed

      Fix mergeDeep to treat null property values as explicit overrides rather than skipping them

  6. 11.2.0

    6 Jul 20261 new
    • New

      getDocumentNodeFromSchema: Add arg defaultValue support for graphql@17

  7. 11.1.1

    28 Jun 20261 fix
    • Fixed

      Fix mergeDeep returning undefined instead of {} when merging two or more empty objects.

  8. 11.1.0

    23 Apr 20261 new
    • New

      Deep merge and preserve non-enumerable symbols

5 other lines we could not sort, mostly version bumps
  • 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
  • visitResult now internally normalizes ExecutionRequest.variables into a VariableValues-compatible shape ({ coerced, sources }) before traversing selections.

    12.0.0

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.