fix(deps): update graphql-tools (major) #981
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^9.0.32 || ^10.0.0→^9.0.32 || ^10.0.0 || ^12.0.0^10.0.0→^11.0.0^9.2.1 || ^10.0.0→^9.2.1 || ^10.0.0 || ^11.0.0^9.4.2 || ^10.0.0→^9.4.2 || ^10.0.0 || ^11.0.0Release Notes
graphql-hive/gateway (@graphql-tools/delegate)
v12.0.3Compare Source
Patch Changes
#1835
dcd8f0eThanks @ardatan! - Delegate variable values correctly;When delegating requests with variables that include nested arrays, ensure that null values are preserved and passed correctly to the subschema. This fix addresses issues where null values in nested arrays were not handled properly during delegation.
Let's say we have the following schema;
When delegating a query with a variable like:
{ "query": "query Test($value: [String!]) { test(input: { value: $value } ) }", "variables": { "value": null } }And the result was
{ "data": { "test": [] } }But with this fix, the result will correctly be:
{ "data": { "test": null } }v12.0.2Compare Source
Patch Changes
da8b8e3Thanks @ardatan! - UsegetDefinedRootTypeinstead ofschema.getRootTypefor GraphQL v15 compatibilityv12.0.1Compare Source
Patch Changes
0d14fafThanks @ardatan! - Fix leftover handling 2nd takev12.0.0Compare Source
Major Changes
#1708
bc6cdddThanks @ardatan! - Breaking changes increateRequestfunction;sourceParentType,sourceFieldName,variableDefinitions,variableValuesandtargetRootValuetargetRootValuehas been renamed torootValuetargetSchemais a required option now andargsis also accepted as a map of the arguments of the target fieldfragmentsis now an array ofFragmentDefinitionNodeinstead of a record{ [fragmentName: string]: FragmentDefinitionNode }Breaking changes in
delegateRequestanddelegateToSchemafunctions;transformedSchemaoption, it has been renamed totargetSchematargetSchemais a required option nowPatch Changes
#1727
1dbc653Thanks @ardatan! - Avoid extra__typenamein the root selectionquery { - __typename hello }#1743
b520eb2Thanks @ardatan! - Handle leftovers recursively but in asyncFixes
requires-circulartest suite's second case on federation audit repositoryv11.1.3Compare Source
Patch Changes
#1691
7ecaf7eThanks @dependabot! - dependencies updates:@graphql-tools/executor@^1.4.13↗︎ (from^1.4.11, independencies)@graphql-tools/schema@^10.0.29↗︎ (from^10.0.27, independencies)@graphql-tools/utils@^10.10.3↗︎ (from^10.10.1, independencies)Updated dependencies [
7ecaf7e]:v11.1.2Compare Source
Patch Changes
#1608
9c789fbThanks @ardatan! - dependencies updates:@graphql-tools/executor@^1.4.11↗︎ (from^1.4.9, independencies)@graphql-tools/schema@^10.0.27↗︎ (from^10.0.25, independencies)@graphql-tools/utils@^10.10.1↗︎ (from^10.9.1, independencies)dset@^3.1.2↗︎ (fromdependencies)#1662
27789deThanks @ardatan! - dependencies updates:@graphql-tools/utils@^10.10.1↗︎ (from^10.10.0, independencies)dset@^3.1.2↗︎ (fromdependencies)#1663
d678113Thanks @dependabot! - dependencies updates:@graphql-tools/executor@^1.4.11↗︎ (from^1.4.10, independencies)@graphql-tools/schema@^10.0.27↗︎ (from^10.0.26, independencies)Updated dependencies [
9c789fb,27789de]:v11.1.1Compare Source
Patch Changes
#1654
efed5e0Thanks @dependabot! - dependencies updates:@graphql-tools/executor@^1.4.10↗︎ (from^1.4.9, independencies)@graphql-tools/schema@^10.0.26↗︎ (from^10.0.25, independencies)@graphql-tools/utils@^10.10.0↗︎ (from^10.9.1, independencies)Updated dependencies [
efed5e0]:v11.1.0Compare Source
Minor Changes
#1624
a8458b2Thanks @ardatan! - Progressive Override for Safer Field MigrationsIntroduces Progressive Override, allowing you to safely migrate fields between subgraphs using the
@overridedirective with a label. Control the rollout using custom logic in the gateway (e.g., percentage, headers) or the built-in percent(x) label for gradual, incremental traffic migration.Detailed documentation can be found here.
Patch Changes
#1557
a54b0c1Thanks @ardatan! - Apply type-merging correctly in extended fields#1556
058ef2fThanks @ardatan! - Correct error paths in case of batch delegation with the same error#1588
20f7a50Thanks @enisdenjo! - Correctly resolve circular @requires in different subgraphsv11.0.1Compare Source
Patch Changes
#1473
838ffecThanks @dependabot! - dependencies updates:@whatwg-node/promise-helpers@^1.3.2↗︎ (from^1.3.0, independencies)Updated dependencies [
838ffec]:v11.0.0Compare Source
Major Changes
#956
46d2661Thanks @EmrysMyrddin! - Drop Node 18 supportLeast supported Node version is now v20.
Minor Changes
46d2661Thanks @EmrysMyrddin! - AddedsubgraphNametoExecutionRequestfor easier plugin developpment.Patch Changes
#956
46d2661Thanks @EmrysMyrddin! - Fixed subgraph name being lost when execution requests get batched together.Updated dependencies [
46d2661,46d2661]:ardatan/graphql-tools (@graphql-tools/utils)
v11.0.0Compare Source
Major Changes
#7685
6f3776cThanks @ardatan! - Support "federation/subgraph style" schemas in
astFromSchemaandprintSchemaWithDirectivesIf a
GraphQLSchemadoesn't have any defined operation types, we should print the schemadefinition as an extension rather than omitting it entirely. They are not a valid schema on their
own, but they are valid subgraph schemas in a federation setup, and it is possible to build such
schemas with
assumeValidoptions.POTENTIAL BREAKING CHANGE: This can be a breaking change because now the schema above will be
printed as the input, previously
extend schemawas converted toschema {}.v10.11.0Compare Source
Minor Changes
#7588
2118a80Thanks @EmrysMyrddin! - Add optional schema coordinate in error
extensions. This extension allows to precisely identify the source of the error by automated tools
like tracing or monitoring.
This new feature is opt-in, you have to enable it using
schemaCoordinateInErrorsexecutoroption.
Caution: This feature, when enabled, will expose information about your schema. If you need to
keep your schema private and secret, you should strip this attribute at serialization time before
sending errors to the client.
v10.10.3Compare Source
Patch Changes
2fe123aThanks @ardatan! - Revert
#7683 which can cause unexpected breaking changes so
as before the schema extension node will always be converted to a schema definition node
v10.10.2Compare Source
Patch Changes
#7679
dddc5f6Thanks @ardatan! - Support "federation/subgraph style" schemas in
astFromSchemaandprintSchemaWithDirectivesIf a
GraphQLSchemadoesn't have any defined operation types, we should print the schemadefinition as an extension rather than omitting it entirely. They are not a valid schema on their
own, but they are valid subgraph schemas in a federation setup, and it is possible to build such
schemas with
assumeValidoptions.v10.10.1Compare Source
Patch Changes
fbb58b5Thanks @ardatan! - Remove `dset` dependency
v10.10.0Compare Source
Minor Changes
#5269
fded91eThanks @uroslates! - Add default values to the arguments
When the schema is like following;
The generated operation will be like following;
Patch Changes
#7012
fd105f4Thanks @ardatan! - Fix the bug in
mergeDeep;The following inputs and outputs are corrected;
mergeDeep([{a:2}, undefined])- Any nullish values should be ignored so it should return{a:2}mergeDeep([])- no sources should returnundefinedmergeDeep([undefined])- no sources should returnundefined#5294
3b99a9bThanks @n1ru4l! - Do not map builtin scalars
v10.9.1Compare Source
Patch Changes
32d0457Thanks @ardatan! - Fix oneOf handling
v10.9.0Compare Source
Minor Changes
53db005Thanks @EmrysMyrddin! - Add optional
subgraphNamepreopertyto the
ExecutionRequestinterface for usage in Gateways like Hive Gateway.Patch Changes
22af985Thanks @renovate! - Support
@oneOfdirectivev10.8.6Compare Source
Patch Changes
d123e26Thanks @ardatan! - Fix incomplete string escaping/encoding
v10.8.5Compare Source
Patch Changes
#6977
90a717eThanks @ardatan! - In executor, do not use leaking
registerAbortSignalListener, and handle listeners inside the execution context#7025
26518deThanks @ardatan! - Better handling for field name handling in
buildOperationForFieldv10.8.4Compare Source
Patch Changes
155944bThanks @ardatan! - Fix breaking change by adding
PromiseWithResolversbackv10.8.3Compare Source
Patch Changes
4a2eb14Thanks @ardatan! - dependencies updates:
@whatwg-node/promise-helpers@^1.0.0↗︎(to
dependencies)v10.8.2Compare Source
Patch Changes
3547bbaThanks @ardatan! - Relax
extensionstypegraphql-hive/gateway (@graphql-tools/wrap)
v11.1.3Compare Source
Patch Changes
dcd8f0e]:v11.1.2Compare Source
Patch Changes
da8b8e3]:v11.1.1Compare Source
Patch Changes
0d14faf]:v11.1.0Compare Source
Minor Changes
bc6cdddThanks @ardatan! - Improvements to make transforms more generic than stitchingPatch Changes
1dbc653,bc6cddd,b520eb2]:v11.0.5Compare Source
Patch Changes
#1691
7ecaf7eThanks @dependabot! - dependencies updates:@graphql-tools/schema@^10.0.29↗︎ (from^10.0.27, independencies)@graphql-tools/utils@^10.10.3↗︎ (from^10.10.1, independencies)Updated dependencies [
7ecaf7e]:v11.0.4Compare Source
Patch Changes
#1608
9c789fbThanks @ardatan! - dependencies updates:@graphql-tools/schema@^10.0.27↗︎ (from^10.0.25, independencies)@graphql-tools/utils@^10.10.1↗︎ (from^10.9.1, independencies)#1662
27789deThanks @ardatan! - dependencies updates:@graphql-tools/utils@^10.10.1↗︎ (from^10.10.0, independencies)#1663
d678113Thanks @dependabot! - dependencies updates:@graphql-tools/schema@^10.0.27↗︎ (from^10.0.26, independencies)Updated dependencies [
9c789fb,27789de,d678113]:v11.0.3Compare Source
Patch Changes
#1654
efed5e0Thanks @dependabot! - dependencies updates:@graphql-tools/schema@^10.0.26↗︎ (from^10.0.25, independencies)@graphql-tools/utils@^10.10.0↗︎ (from^10.9.1, independencies)Updated dependencies [
efed5e0]:v11.0.2Compare Source
Patch Changes
a54b0c1,058ef2f,a8458b2,20f7a50]:v11.0.1Compare Source
Patch Changes
#1473
838ffecThanks @dependabot! - dependencies updates:@whatwg-node/promise-helpers@^1.3.2↗︎ (from^1.3.0, independencies)Updated dependencies [
838ffec]:v11.0.0Compare Source
Major Changes
#956
46d2661Thanks @EmrysMyrddin! - Drop Node 18 supportLeast supported Node version is now v20.
Patch Changes
#956
46d2661Thanks @EmrysMyrddin! - Fixed subgraph name being lost when execution requests get batched together.Updated dependencies [
46d2661,46d2661,46d2661]:Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR was generated by Mend Renovate. View the repository job log.