---
title: "@graphql-tools/wrap 12.0.0 Breaking Changes on npm"
description: "What each @graphql-tools/wrap release removed, renamed or changed: 16 breaking changes in 1 version on npm, each with its source."
canonical_url: https://since.dev/packages/npm/@graphql-tools/wrap
last_updated: 2026-12-04
---

# @graphql-tools/wrap breaking changes

@graphql-tools/wrap 12.0.0 (November 23, 2026) is its newest release with breaking changes, 16 of them. The first: @graphql-tools/wrap 12.0.0 drops support for Node.js 20 and requires Node.js 22.15.0 or later. Every breaking API change we have recorded in @graphql-tools/wrap on npm: 16 breaking changes in 1 version. Below, its one version with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `12.0.0`, released November 23, 2026. [Source repository](https://github.com/graphql-hive/gateway)

Its 12.0.0 release requires Node.js 22.15.0 or later. [Node.js end of life dates](https://since.dev/calendar/nodejs.md).

## @graphql-tools/wrap 12.0.0 breaking changes

@graphql-tools/wrap 12.0.0, released November 23, 2026: 16 breaking changes.

- **Removed**  

The minimum supported Node.js version is now 22.15.0. Upgrade Node.js before using this release. [github.com](https://github.com/graphql-hive/gateway/blob/@graphql-tools/wrap@12.0.0/packages/wrap/CHANGELOG.md)
- **Removed**  

Only GraphQL v16 and v17 are supported now. Upgrade to graphql@^16 or graphql@^17. [github.com](https://github.com/graphql-hive/gateway/blob/@graphql-tools/wrap@12.0.0/packages/wrap/CHANGELOG.md)
- **Removed** `createDeferred`  

Use Promise.withResolvers() instead. [github.com](https://github.com/graphql-hive/gateway/blob/@graphql-tools/wrap@12.0.0/packages/wrap/CHANGELOG.md)
- **Removed** `createDeferredPromise`  

Use Promise.withResolvers() instead. [github.com](https://github.com/graphql-hive/gateway/blob/@graphql-tools/wrap@12.0.0/packages/wrap/CHANGELOG.md)
- **Removed** `createGraphQLError`  

Use the GraphQLError constructor directly. [github.com](https://github.com/graphql-hive/gateway/blob/@graphql-tools/wrap@12.0.0/packages/wrap/CHANGELOG.md)
- **Removed** `createLogger`  

Use Logger instead. [github.com](https://github.com/graphql-hive/gateway/blob/@graphql-tools/wrap@12.0.0/packages/wrap/CHANGELOG.md)
- **Removed** `mapMaybePromise`  

Use the helpers from @whatwg-node/promise-helpers instead. [github.com](https://github.com/graphql-hive/gateway/blob/@graphql-tools/wrap@12.0.0/packages/wrap/CHANGELOG.md)
- **Removed** `yoga.logger`  

Use yoga.log instead. [github.com](https://github.com/graphql-hive/gateway/blob/@graphql-tools/wrap@12.0.0/packages/wrap/CHANGELOG.md)
- **Removed** `YogaLogger`  

Use Logger instead. [github.com](https://github.com/graphql-hive/gateway/blob/@graphql-tools/wrap@12.0.0/packages/wrap/CHANGELOG.md)
- **Behavior changed**  

Fields like arguments, directives and fields may be undefined instead of an empty array. Use optional chaining or a fallback. [github.com](https://github.com/graphql-hive/gateway/blob/@graphql-tools/wrap@12.0.0/packages/wrap/CHANGELOG.md)
- **Behavior changed** `defaultValue`  

defaultValue is undefined for SDL defaults. Read default first and fall back to defaultValue; set default to undefined when changing a default. [github.com](https://github.com/graphql-hive/gateway/blob/@graphql-tools/wrap@12.0.0/packages/wrap/CHANGELOG.md)
- **Behavior changed** `info.variableValues`  

Read variable values from info.variableValues.coerced, or use getCoercedVariableValues to support both versions. [github.com](https://github.com/graphql-hive/gateway/blob/@graphql-tools/wrap@12.0.0/packages/wrap/CHANGELOG.md)
- **Behavior changed** `print`  

Update snapshots or string comparisons of printed documents. [github.com](https://github.com/graphql-hive/gateway/blob/@graphql-tools/wrap@12.0.0/packages/wrap/CHANGELOG.md)
- **Signature changed** `getArgumentValues`  

Wrap flat variable maps with asGetArgumentValuesVariables from @graphql-tools/utils. [github.com](https://github.com/graphql-hive/gateway/blob/@graphql-tools/wrap@12.0.0/packages/wrap/CHANGELOG.md)
- **Signature changed** `getDirectiveValues`  

Wrap flat variable maps with asGetArgumentValuesVariables from @graphql-tools/utils. [github.com](https://github.com/graphql-hive/gateway/blob/@graphql-tools/wrap@12.0.0/packages/wrap/CHANGELOG.md)
- **Signature changed** `includeDeprecated`  

The reason argument of @deprecated and includeDeprecated are non-nullable now. Update code that passes null. [github.com](https://github.com/graphql-hive/gateway/blob/@graphql-tools/wrap@12.0.0/packages/wrap/CHANGELOG.md)

## Related packages

- [@graphql-tools/stitch](https://since.dev/packages/npm/@graphql-tools/stitch.md)
- [@graphql-tools/delegate](https://since.dev/packages/npm/@graphql-tools/delegate.md)
- [@graphql-tools/batch-execute](https://since.dev/packages/npm/@graphql-tools/batch-execute.md)
- [@graphql-tools/merge](https://since.dev/packages/npm/@graphql-tools/merge.md)
- [@graphql-tools/utils](https://since.dev/packages/npm/@graphql-tools/utils.md)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
