NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
npm, #1448 most downloaded on npm
Common package containing utils and types for GraphQL tools
Latest stable
13.2.2
Last release 12 days ago
10 Nov 2026
Ships fairly regularly
a new release about every 9 days
Nearly every release is documented
notes for 60 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
7 years old
2013 releases · first in 2020
Drag across the ruler to compare, or tap a release to open it.
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Nothing published for this version
Nothing published for this version
Nothing published for this version
43a60f93: Improve getArgumentValues check for null values
43a60f93: Improve getArgumentValues check for null values
20e1058b: fix pruneSchema
Schema pruning must be done in rounds, as pruning types will automatically prune any fields that rely on them (within mapSchema), but then the empty types may also require pruning.
Nothing published for this version
Nothing published for this version
Nothing published for this version
69b316c2: feat(utils): more withCancel utils
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
7b5d72c5: enhance(utils): better typing for withCancel
51315610: enhance: avoid using globalThis
960e178a: fix: isAsyncIterable should check if it is an object with iterator factory function
233e0379: fix(utils): respect new specifiedByURL of GraphQL v16
Nothing published for this version
Updated dependencies [2a3b45e3]
ad04dc79: enhance: make operationType optional
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
149afddb: fix: getting ready for GraphQL v16
Nothing published for this version
Nothing published for this version
Nothing published for this version
58262be7: feat(utils): export createDefaultRules
1043219f: fix implicit dependencies
014937db: batch-execute enhancements:
da157d62: fix(utils): Avoid processing read-only properties on visitData method
d4918a78: fix(commentDescriptions): handle descriptions and comments correctly during merge
be6fdb88: fix(utils): bring back breaking change for fixSchemaAst
c5b0719c: enhance(utils): copy inspect util from graphql-js
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
c8c13ed1: enhance: remove TypeMap and small improvements
Nothing published for this version
Nothing published for this version
2c807ddb: enhance(buildOperationNodeForField): mutation response return a field of type Query
@graphql-tools/webpack-loader@8.1.0
@graphql-tools/webpack-loader@8.1.0
b9684631: feat(validate-documents): more clear error messages with stack
67691b78: - schemaExtensions option has been added to mergeSchemas, makeExecutableSchema and
stitchSchemas configurations
Breaking Changes;
mergeSchemas and MergeSchemasConfig from @graphql-tools/merge to
@graphql-tools/schema package to prevent circular dependency between them.mergeSchemasAsync has been removed.NamedDefinitionNode, resetComments, collectComment, pushComment and printComment
from @graphql-tools/merge to @graphql-tools/utils.04830049: fix(utils): support old TypeScript versions
@graphql-tools/webpack-loader@8.0.1
@graphql-tools/webpack-loader@8.0.1
@graphql-tools/webpack-loader-runtime@8.0.0
@graphql-tools/webpack-loader-runtime@8.0.0
af9a78de: BREAKING CHANGE
Now each loader handles glob patterns internally and returns an array of Source object instead
of single Source
GraphQL Tag Pluck now respects code locations and returns graphql-js Source objects for each
found code block
Thanks to the one above, CodeFileLoader now returns different Source objects for each found
SDL code block.
7d3e3006: BREAKING CHANGE
fieldToFieldConfig, argsToFieldConfigArgument and argumentToArgumentConfig.toConfig method instead for each.7d3e3006: BREAKING CHANGE
dae6dc7b: refactor: ExecutionParams type replaced by Request type
rootValue property is now a part of the Request type.
When delegating with delegateToSchema, rootValue can be set multiple ways:
When using wrapSchema/stitchSchemas, a subschemaConfig can specify the createProxyingResolver function which can pass whatever rootValue it wants to delegateToSchema as above.
6877b913: BREAKING CHANGES;
mergeDeep now takes an array of sources instead of set of parameters as input and it takes an
additional flag to enable prototype merging Instead of mergeDeep(...sources) =>
mergeDeep(sources)
c42e811d: BREAKING CHANGES;
Request to ExecutionRequestoperationType: OperationTypeNode field in ExecutionRequestcontext in createRequest and createRequestInfo instead of delegateToSchemaIt doesn't rely on info.operation.operationType to allow the user to call an operation from different root type. And it doesn't call getOperationAST again and again to get operation type from the document/operation because we have it in Request and ExecutionParams https://github.com/ardatan/graphql-tools/pull/3166/files#diff-d4824895ea613dcc1f710c3ac82e952fe0ca12391b671f70d9f2d90d5656fdceR38
Improvements;
defaultExecutor for a single GraphQLSchema so allow getBatchingExecutor to memoize
batchingExecutor correctly.defaultExecutor is created for subscription and other operation
types. Only one executor is used.Batch executor is memoized by
executorreference butcreateDefaultExecutordidn't memoize the default executor so this memoization wasn't working correctly onbatch-executeside. https://github.com/ardatan/graphql-tools/blob/remove-info-executor/packages/batch-execute/src/getBatchingExecutor.ts#L9
7d3e3006: BREAKING CHANGE
AggregateError
implementation. The major difference is the individual errors are kept under errors property
instead of the object itself with Symbol.iterator.// From;
for (const error of aggregateError)
// To;
for (const error of aggregateError.errors)
8c8d4fc0: BREAKING CHANGE: remove cloneSchema
7d3e3006: BREAKING CHANGE
debugLog but uses console.log directly only if DEBUG is available under
process.env7d3e3006: BREAKING CHANGE
camelCase naming convention in buildOperationNodeForField74581cf3: fix(getDirectives): preserve order around repeatable directives
BREAKING CHANGE: getDirectives now always return an array of individual DirectiveAnnotation
objects consisting of name and args properties.
New useful function getDirective returns an array of objects representing any args for each use
of a single directive (returning the empty object {} when a directive is used without
arguments).
Note: The getDirective function returns an array even when the specified directive is
non-repeatable. This is because one use of this function is to throw an error if more than one
directive annotation is used for a non repeatable directive!
When specifying directives in extensions, one can use either the old or new format.
c0ca3190: BREAKING CHANGE
Executor can receive AsyncIterable and subscriptions will also be handled by
Executor. This is a future-proof change for defer, stream and live queries7d3e3006: BREAKING CHANGE
SchemaVisitor, visitSchema and VisitSchemaKindmapSchema
insteadOne column per quarter.