Skip to content

Commit cc8c564

Browse files
release: on branch main (#3269)
This PR was opened by the [Changesets release](https://github.com/changesets/action) GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated. # Releases ## @apollo/[email protected] ### Patch Changes - Adding new CompositionOption `maxValidationSubgraphPaths`. This value represents the maximum number of SubgraphPathInfo objects that may exist in a ValidationTraversal when checking for satisfiability. Setting this value can help composition error before running out of memory. Default is 1,000,000. ([#3254](#3254)) - Fix bug in composition where, when a field's type in a subgraph is a subtype of the field's type in the supergraph, the satisfiability validation spuriously succeeds/errors. ([#3277](#3277)) - Updated dependencies \[[`7799ad1717becf15fb0e82f89619f2ec8a24b4d4`](7799ad1), [`b26794c5724ef23d1f0fd45a40aee3d301557489`](b26794c), [`51bed5be49d8e87adae59f568315c9e3488a91e0`](51bed5b)]: - @apollo/[email protected] - @apollo/[email protected] ## @apollo/[email protected] ### Patch Changes - Updated dependencies \[[`7799ad1717becf15fb0e82f89619f2ec8a24b4d4`](7799ad1), [`b26794c5724ef23d1f0fd45a40aee3d301557489`](b26794c), [`51bed5be49d8e87adae59f568315c9e3488a91e0`](51bed5b)]: - @apollo/[email protected] - @apollo/[email protected] - @apollo/[email protected] ## @apollo/[email protected] ### Patch Changes - fix: make composeDirective argument non-nullable. ([#3278](#3278)) Per our [docs](https://www.apollographql.com/docs/graphos/schema-design/federated-schemas/reference/directives#composedirective), `@composeDirective` requires non-nullable value to be passed as an argument. Our [validations](https://github.com/apollographql/federation/blob/main/composition-js/src/composeDirectiveManager.ts#L250-L255) were checking for valid values (it has to be a string that starts with `@`), but the generated schema was incorrectly specifying that the argument was nullable. - Adding new CompositionOption `maxValidationSubgraphPaths`. This value represents the maximum number of SubgraphPathInfo objects that may exist in a ValidationTraversal when checking for satisfiability. Setting this value can help composition error before running out of memory. Default is 1,000,000. ([#3254](#3254)) ## @apollo/[email protected] ### Patch Changes - Fix bug in composition where, when a field's type in a subgraph is a subtype of the field's type in the supergraph, the satisfiability validation spuriously succeeds/errors. ([#3277](#3277)) - Updated dependencies \[[`7799ad1717becf15fb0e82f89619f2ec8a24b4d4`](7799ad1), [`b26794c5724ef23d1f0fd45a40aee3d301557489`](b26794c)]: - @apollo/[email protected] ## @apollo/[email protected] ### Patch Changes - Updated dependencies \[[`7799ad1717becf15fb0e82f89619f2ec8a24b4d4`](7799ad1), [`b26794c5724ef23d1f0fd45a40aee3d301557489`](b26794c), [`51bed5be49d8e87adae59f568315c9e3488a91e0`](51bed5b)]: - @apollo/[email protected] - @apollo/[email protected] ## @apollo/[email protected] ### Patch Changes - Updated dependencies \[[`7799ad1717becf15fb0e82f89619f2ec8a24b4d4`](7799ad1), [`b26794c5724ef23d1f0fd45a40aee3d301557489`](b26794c)]: - @apollo/[email protected] ## [email protected] Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 51bed5b commit cc8c564

File tree

18 files changed

+93
-55
lines changed

18 files changed

+93
-55
lines changed

.changeset/cool-roses-explode.md

Lines changed: 0 additions & 11 deletions
This file was deleted.

.changeset/four-panthers-itch.md

Lines changed: 0 additions & 6 deletions
This file was deleted.

.changeset/ten-gorillas-boil.md

Lines changed: 0 additions & 6 deletions
This file was deleted.

composition-js/CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,17 @@
11
# CHANGELOG for `@apollo/composition`
22

3+
## 2.11.1
4+
5+
### Patch Changes
6+
7+
- Adding new CompositionOption `maxValidationSubgraphPaths`. This value represents the maximum number of SubgraphPathInfo objects that may exist in a ValidationTraversal when checking for satisfiability. Setting this value can help composition error before running out of memory. Default is 1,000,000. ([#3254](https://github.com/apollographql/federation/pull/3254))
8+
9+
- Fix bug in composition where, when a field's type in a subgraph is a subtype of the field's type in the supergraph, the satisfiability validation spuriously succeeds/errors. ([#3277](https://github.com/apollographql/federation/pull/3277))
10+
11+
- Updated dependencies [[`7799ad1717becf15fb0e82f89619f2ec8a24b4d4`](https://github.com/apollographql/federation/commit/7799ad1717becf15fb0e82f89619f2ec8a24b4d4), [`b26794c5724ef23d1f0fd45a40aee3d301557489`](https://github.com/apollographql/federation/commit/b26794c5724ef23d1f0fd45a40aee3d301557489), [`51bed5be49d8e87adae59f568315c9e3488a91e0`](https://github.com/apollographql/federation/commit/51bed5be49d8e87adae59f568315c9e3488a91e0)]:
12+
- @apollo/federation-internals@2.11.1
13+
- @apollo/query-graphs@2.11.1
14+
315
## 2.11.0
416

517
### Minor Changes

composition-js/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@apollo/composition",
3-
"version": "2.11.0",
3+
"version": "2.11.1",
44
"description": "Apollo Federation composition utilities",
55
"main": "dist/index.js",
66
"types": "dist/index.d.ts",
@@ -27,8 +27,8 @@
2727
"access": "public"
2828
},
2929
"dependencies": {
30-
"@apollo/federation-internals": "2.11.0",
31-
"@apollo/query-graphs": "2.11.0"
30+
"@apollo/federation-internals": "2.11.1",
31+
"@apollo/query-graphs": "2.11.1"
3232
},
3333
"peerDependencies": {
3434
"graphql": "^16.5.0"

federation-integration-testsuite-js/CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# CHANGELOG for `federation-integration-testsuite-js`
22

3+
## 2.11.1
4+
35
## 2.11.0
46

57
### Minor Changes

federation-integration-testsuite-js/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "apollo-federation-integration-testsuite",
33
"private": true,
4-
"version": "2.11.0",
4+
"version": "2.11.1",
55
"description": "Apollo Federation Integrations / Test Fixtures",
66
"main": "dist/index.js",
77
"types": "dist/index.d.ts",

gateway-js/CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
# CHANGELOG for `@apollo/gateway`
22

3+
## 2.11.1
4+
5+
### Patch Changes
6+
7+
- Updated dependencies [[`7799ad1717becf15fb0e82f89619f2ec8a24b4d4`](https://github.com/apollographql/federation/commit/7799ad1717becf15fb0e82f89619f2ec8a24b4d4), [`b26794c5724ef23d1f0fd45a40aee3d301557489`](https://github.com/apollographql/federation/commit/b26794c5724ef23d1f0fd45a40aee3d301557489), [`51bed5be49d8e87adae59f568315c9e3488a91e0`](https://github.com/apollographql/federation/commit/51bed5be49d8e87adae59f568315c9e3488a91e0)]:
8+
- @apollo/federation-internals@2.11.1
9+
- @apollo/composition@2.11.1
10+
- @apollo/query-planner@2.11.1
11+
312
## 2.11.0
413

514
### Minor Changes

gateway-js/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@apollo/gateway",
3-
"version": "2.11.0",
3+
"version": "2.11.1",
44
"description": "Apollo Gateway",
55
"author": "Apollo <[email protected]>",
66
"main": "dist/index.js",
@@ -25,9 +25,9 @@
2525
"access": "public"
2626
},
2727
"dependencies": {
28-
"@apollo/composition": "2.11.0",
29-
"@apollo/federation-internals": "2.11.0",
30-
"@apollo/query-planner": "2.11.0",
28+
"@apollo/composition": "2.11.1",
29+
"@apollo/federation-internals": "2.11.1",
30+
"@apollo/query-planner": "2.11.1",
3131
"@apollo/server-gateway-interface": "^1.1.0",
3232
"@apollo/usage-reporting-protobuf": "^4.1.0",
3333
"@apollo/utils.createhash": "^2.0.0",

internals-js/CHANGELOG.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,19 @@
11
# CHANGELOG for `@apollo/federation-internals`
22

3+
## 2.11.1
4+
5+
### Patch Changes
6+
7+
- fix: make composeDirective argument non-nullable. ([#3278](https://github.com/apollographql/federation/pull/3278))
8+
9+
Per our [docs](https://www.apollographql.com/docs/graphos/schema-design/federated-schemas/reference/directives#composedirective),
10+
`@composeDirective` requires non-nullable value to be passed as an argument.
11+
12+
Our [validations](https://github.com/apollographql/federation/blob/main/composition-js/src/composeDirectiveManager.ts#L250-L255) were checking for valid values (it has to be a string that starts with `@`),
13+
but the generated schema was incorrectly specifying that the argument was nullable.
14+
15+
- Adding new CompositionOption `maxValidationSubgraphPaths`. This value represents the maximum number of SubgraphPathInfo objects that may exist in a ValidationTraversal when checking for satisfiability. Setting this value can help composition error before running out of memory. Default is 1,000,000. ([#3254](https://github.com/apollographql/federation/pull/3254))
16+
317
## 2.11.0
418

519
### Minor Changes

0 commit comments

Comments
 (0)