@graphql-tools/stitching-directives
4.1.7 · 20 Nov 2026MIT251.1k / weekRepositorynpmAtom feed
159 stable releases, newest first, by release line. Notes are quoted as the maintainers published them.
- 4.x · latest line
4.1.6 – 4.1.72 releases that only update dependencies@graphql-tools/delegate 12.3.5Show each
- 4.1.720 Nov 2026@graphql-tools/delegate 12.3.5
- 4.1.612 Nov 2026@graphql-tools/delegate 12.3.4
4.1.5
9 Nov 2026Dependencies updates:
@graphql-tools/stitching-directives@4.1.5
Patch Changes
Dependencies updates:
Updated dependency
@graphql-tools/utils@^12.1.0↗︎ (from^12.0.1, independencies)
4.1.3 – 4.1.42 releases that only update dependencies@graphql-tools/delegate 12.3.2Show each
- 4.1.42 Nov 2026@graphql-tools/delegate 12.3.2
- 4.1.328 Oct 2026@graphql-tools/delegate 12.3.1
4.1.2
23 Oct 2026Allow
@mergewithoutkeyArgwhen the resolver takes zero arguments, and make keyless type merges work when the initial subschema cannot satisfy the requested fields (graphql-tools#4337).Previously the validator rejected
@mergeon zero-arg fields (args.length !== 1). It now allows zero or one argument and only errors when there are multiple args withoutkeyArg/argsExpr.Separately, keyless merges such as:
merge: { Stats: { fieldName: 'stats', args: () => ({}), }, }had no key
selectionSet. When the subschema that ownedQuery.statsdid not have the requested fields (for example querying onlytotalChirpswhile that field lived on the other subschema),finalizeGatewayRequeststripped the empty nested selection and failed with "The request must contain at least one operation."For merged types that have resolvers but no key
selectionSet, stitching now injects__typenameintofieldNodesByTypeso a stub object remains and type merging can fill the remaining fields. This matches the partial-field failure called out in this discussion. Keyed merges (selectionSet: '{ id }') are unchanged.Fix type merging for unions queried with inline fragments (graphql-tools#4965 / #4966).
Typical setup: one subschema returns a stub member (
StubMajor { id }) while another resolves the real union members via@merge:# students union Major = StubMajor type StubMajor { id: String! } # majors type Query { major(id: String!): Major @merge(keyField: "id") } union Major = MajorSuccess | MajorErrorClient query:
major { ... on MajorSuccess { id name } ... on MajorError { id code } }Three problems stacked:
Fixes:
This goes beyond the schema-extension workaround discussed on the issue.
@graphql-tools/stitching-directives@4.1.2
Patch Changes
Allow
@mergewithoutkeyArgwhen the resolver takes zero arguments, and make keyless type merges work when the initial subschema cannot satisfy the requested fields (graphql-tools#4337).Previously the validator rejected
@mergeon zero-arg fields (args.length !== 1). It now allows zero or one argument and only errors when there are multiple args withoutkeyArg/argsExpr.Separately, keyless merges such as:
merge: { Stats: { fieldName: 'stats', args: () => ({}), }, }had no key
selectionSet. When the subschema that ownedQuery.statsdid not have the requested fields (for example querying onlytotalChirpswhile that field lived on the other subschema),finalizeGatewayRequeststripped the empty nested selection and failed with "The request must contain at least one operation."For merged types that have resolvers but no key
selectionSet, stitching now injects__typenameintofieldNodesByTypeso a stub object remains and type merging can fill the remaining fields. This matches the partial-field failure called out in this discussion. Keyed merges (selectionSet: '{ id }') are unchanged.Fix type merging for unions queried with inline fragments (graphql-tools#4965 / #4966).
Typical setup: one subschema returns a stub member (
StubMajor { id }) while another resolves the real union members via@merge:# students union Major = StubMajor type StubMajor { id: String! } # majors type Query { major(id: String!): Major @merge(keyField: "id") } union Major = MajorSuccess | MajorErrorClient query:
major { ... on MajorSuccess { id name } ... on MajorError { id code } }Three problems stacked:
@mergeon a union only registered concrete members (MajorSuccess/MajorError), notMajoritself, so aStubMajorresult never triggered merge.MergedTypeInfowas not built for union types, and planners assumed object/interfacegetFields().Expanding a bare merge-key field (
id) on a union into... on StubMajor { id }returned an array from the FIELD visitor; graphql-jsvisitnests that array as one selection instead of splicing it, so execution ignored the fragment and the merge key was never queried (major(id: $id)ran with empty variables).
Fixes:
Register the abstract union/interface name for
@mergeas well as concrete members.Build merge info for unions; treat unions as field-less so the abstract planner re-fetches via inline fragments.
Flatten nested selection arrays after union field expansion so stub keys are actually requested.
This goes beyond the schema-extension workaround discussed on the issue.
4.1.1
8 Oct 2026Only updates a dependency:@graphql-tools/delegate 12.2.1
4.1.0
8 Sep 2026Support GraphQL 16 with @graphql-tools/utils v12
Preserves GraphQL 16 compatibility while upgrading to
@graphql-tools/utilsv12,@graphql-tools/executorv2, and the compatible@graphql-tools/schemaand@graphql-tools/mergereleases. Consumers now receive consistent resolver and execution request types without conflicts between different GraphQL Tools versions.Stitched and delegated operations handle the new executor variable result shape correctly, including variables used by directives. Resolver execution also supports the executor's cancellation and asynchronous work helpers while remaining compatible with the GraphQL 16
GraphQLResolveInfoAPI.Dependencies updates:
@graphql-tools/stitching-directives@4.1.0
Minor Changes
Support GraphQL 16 with @graphql-tools/utils v12
Preserves GraphQL 16 compatibility while upgrading to
@graphql-tools/utilsv12,@graphql-tools/executorv2, and the compatible@graphql-tools/schemaand@graphql-tools/mergereleases. Consumers now receive consistent resolver and execution request types without conflicts between different GraphQL Tools versions.Stitched and delegated operations handle the new executor variable result shape correctly, including variables used by directives. Resolver execution also supports the executor's cancellation and asynchronous work helpers while remaining compatible with the GraphQL 16
GraphQLResolveInfoAPI.
Patch Changes
Dependencies updates:
Updated dependency
@graphql-tools/utils@^12.0.1↗︎ (from^11.0.0, independencies)
4.0.11 – 4.0.3020 releases that only update dependencies@graphql-tools/delegate 12.1.4Show each
- 4.0.307 Sep 2026@graphql-tools/delegate 12.1.4
- 4.0.293 Sep 2026@graphql-tools/delegate 12.1.3
- 4.0.282 Sep 2026@graphql-tools/delegate 12.1.2
- 4.0.2727 Jul 2026@graphql-tools/delegate 12.1.1
- 4.0.2620 Jul 2026@graphql-tools/delegate 12.1.0
- 4.0.2518 Jul 2026@graphql-tools/delegate 12.0.20
- 4.0.2413 Jul 2026@graphql-tools/delegate 12.0.19
- 4.0.233 Jul 2026@graphql-tools/delegate 12.0.18
- 4.0.221 Jun 2026@graphql-tools/delegate 12.0.17
- 4.0.217 May 2026@graphql-tools/delegate 12.0.16
- 4.0.2015 Apr 2026@graphql-tools/delegate 12.0.14
- 4.0.193 Apr 2026@graphql-tools/delegate 12.0.13
- 4.0.1817 Mar 2026@graphql-tools/delegate 12.0.12
- 4.0.1716 Mar 2026@graphql-tools/delegate 12.0.11
- 4.0.1615 Mar 2026@graphql-tools/delegate 12.0.10
- 4.0.1510 Mar 2026@graphql-tools/delegate 12.0.9
- 4.0.1423 Feb 2026@graphql-tools/delegate 12.0.8
- 4.0.1313 Feb 2026@graphql-tools/delegate 12.0.7
- 4.0.124 Feb 2026@graphql-tools/delegate 12.0.6
- 4.0.112 Feb 2026@graphql-tools/delegate 12.0.5
4.0.10
8 Jan 2026Dependencies updates:
Patch Changes
Dependencies updates:
Updated dependency
@graphql-tools/utils@^11.0.0↗︎ (from^10.10.3, independencies)
4.0.8 – 4.0.92 releases that only update dependencies@graphql-tools/delegate 12.0.3Show each
- 4.0.97 Jan 2026@graphql-tools/delegate 12.0.3
- 4.0.83 Dec 2025@graphql-tools/delegate 12.0.2
4.0.7
1 Dec 2025Reading the note…
4.0.6
1 Dec 2025Reading the note…
4.0.5
19 Nov 2025Reading the note…
4.0.4
7 Nov 2025Reading the note…
4.0.3
1 Nov 2025Reading the note…
4.0.2
27 Oct 2025Reading the note…
4.0.1
15 Sep 2025Reading the note…
4.0.0
4 Sep 2025- Breaking
Drop Node 18 support
Least supported Node version is now v20.
Major Changes
- Breaking
Drop Node 18 support
Least supported Node version is now v20.
- 3.x
3.1.38
1 Aug 2025Reading the note…
3.1.37
23 Jul 2025Reading the note…
3.1.36
7 Jul 2025Reading the note…
3.1.35
26 Jun 2025Reading the note…
3.1.34
2 Jun 2025Reading the note…
3.1.33
16 May 2025Reading the note…
3.1.32
7 Apr 2025Reading the note…
3.1.31
25 Mar 2025Reading the note…
3.1.30
20 Mar 2025Reading the note…
3.1.29
11 Mar 2025Reading the note…
3.1.28
14 Feb 2025Reading the note…
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.