diff --git a/.changeset/afraid-singers-arrive.md b/.changeset/afraid-singers-arrive.md deleted file mode 100644 index 495260833..000000000 --- a/.changeset/afraid-singers-arrive.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@apollo/query-planner": patch ---- - -Fix bug in query planning where a subgraph jump for `@requires` can sometimes try to fetch `@key` fields from a subgraph that doesn't have them. This bug would previously cause query planning to error with a message that looks like "Cannot add selection of field `T.id` to selection set of parent type `T`". diff --git a/.changeset/proud-pillows-tie.md b/.changeset/proud-pillows-tie.md deleted file mode 100644 index 8d8d92e52..000000000 --- a/.changeset/proud-pillows-tie.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -"@apollo/federation-internals": patch ---- - -Update connector spec to allow re-entry - -Updates connector spec to follow the same patterns as other federation spec blueprints (i.e. register types/directives in the constructor and use default logic for adding them to the schema that checks whether they need to be added or not). - -NOTE: Support for handling input objects in the spec is severely limited and only handles `@connect` spec. For additional details on limitations see #3311. \ No newline at end of file diff --git a/.changeset/smooth-terms-decide.md b/.changeset/smooth-terms-decide.md deleted file mode 100644 index 57e477db0..000000000 --- a/.changeset/smooth-terms-decide.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@apollo/subgraph": patch ---- - -When a `GraphQLScalarType` resolver is provided to `buildSubgraphSchema()`, omitted configuration options in the `GraphQLScalarType` no longer cause the corresponding properties in the GraphQL document/AST to be cleared. To explicitly clear these properties, use `null` for the configuration option instead. ([#3285](https://github.com/apollographql/federation/pull/3285)) diff --git a/composition-js/CHANGELOG.md b/composition-js/CHANGELOG.md index 2d9a3b5d4..930e2221e 100644 --- a/composition-js/CHANGELOG.md +++ b/composition-js/CHANGELOG.md @@ -1,5 +1,13 @@ # CHANGELOG for `@apollo/composition` +## 2.11.3 + +### Patch Changes + +- Updated dependencies [[`8c7a2cd655ad3060e9f5c3b106cfbdb59251701c`](https://github.com/apollographql/federation/commit/8c7a2cd655ad3060e9f5c3b106cfbdb59251701c)]: + - @apollo/federation-internals@2.11.3 + - @apollo/query-graphs@2.11.3 + ## 2.11.2 ### Patch Changes diff --git a/composition-js/package.json b/composition-js/package.json index 89a2c6900..e6119dcbb 100644 --- a/composition-js/package.json +++ b/composition-js/package.json @@ -1,6 +1,6 @@ { "name": "@apollo/composition", - "version": "2.11.2", + "version": "2.11.3", "description": "Apollo Federation composition utilities", "main": "dist/index.js", "types": "dist/index.d.ts", @@ -27,8 +27,8 @@ "access": "public" }, "dependencies": { - "@apollo/federation-internals": "2.11.2", - "@apollo/query-graphs": "2.11.2" + "@apollo/federation-internals": "2.11.3", + "@apollo/query-graphs": "2.11.3" }, "peerDependencies": { "graphql": "^16.5.0" diff --git a/federation-integration-testsuite-js/CHANGELOG.md b/federation-integration-testsuite-js/CHANGELOG.md index 3ab4f2737..3c2a23e27 100644 --- a/federation-integration-testsuite-js/CHANGELOG.md +++ b/federation-integration-testsuite-js/CHANGELOG.md @@ -1,5 +1,7 @@ # CHANGELOG for `federation-integration-testsuite-js` +## 2.11.3 + ## 2.11.2 ## 2.11.1 diff --git a/federation-integration-testsuite-js/package.json b/federation-integration-testsuite-js/package.json index 8ecd1bbad..a3937a200 100644 --- a/federation-integration-testsuite-js/package.json +++ b/federation-integration-testsuite-js/package.json @@ -1,7 +1,7 @@ { "name": "apollo-federation-integration-testsuite", "private": true, - "version": "2.11.2", + "version": "2.11.3", "description": "Apollo Federation Integrations / Test Fixtures", "main": "dist/index.js", "types": "dist/index.d.ts", diff --git a/gateway-js/CHANGELOG.md b/gateway-js/CHANGELOG.md index 741b2c0f4..f7fb10d68 100644 --- a/gateway-js/CHANGELOG.md +++ b/gateway-js/CHANGELOG.md @@ -1,5 +1,14 @@ # CHANGELOG for `@apollo/gateway` +## 2.11.3 + +### Patch Changes + +- Updated dependencies [[`4faa114215200daf7ad7518be8e50071fcde783c`](https://github.com/apollographql/federation/commit/4faa114215200daf7ad7518be8e50071fcde783c), [`8c7a2cd655ad3060e9f5c3b106cfbdb59251701c`](https://github.com/apollographql/federation/commit/8c7a2cd655ad3060e9f5c3b106cfbdb59251701c)]: + - @apollo/query-planner@2.11.3 + - @apollo/federation-internals@2.11.3 + - @apollo/composition@2.11.3 + ## 2.11.2 ### Patch Changes diff --git a/gateway-js/package.json b/gateway-js/package.json index b8776bc3c..45f7ea4ae 100644 --- a/gateway-js/package.json +++ b/gateway-js/package.json @@ -1,6 +1,6 @@ { "name": "@apollo/gateway", - "version": "2.11.2", + "version": "2.11.3", "description": "Apollo Gateway", "author": "Apollo ", "main": "dist/index.js", @@ -25,9 +25,9 @@ "access": "public" }, "dependencies": { - "@apollo/composition": "2.11.2", - "@apollo/federation-internals": "2.11.2", - "@apollo/query-planner": "2.11.2", + "@apollo/composition": "2.11.3", + "@apollo/federation-internals": "2.11.3", + "@apollo/query-planner": "2.11.3", "@apollo/server-gateway-interface": "^1.1.0", "@apollo/usage-reporting-protobuf": "^4.1.0", "@apollo/utils.createhash": "^2.0.0", diff --git a/internals-js/CHANGELOG.md b/internals-js/CHANGELOG.md index 6f7555b4d..d907c3946 100644 --- a/internals-js/CHANGELOG.md +++ b/internals-js/CHANGELOG.md @@ -1,5 +1,15 @@ # CHANGELOG for `@apollo/federation-internals` +## 2.11.3 + +### Patch Changes + +- Update connector spec to allow re-entry ([#3312](https://github.com/apollographql/federation/pull/3312)) + + Updates connector spec to follow the same patterns as other federation spec blueprints (i.e. register types/directives in the constructor and use default logic for adding them to the schema that checks whether they need to be added or not). + + NOTE: Support for handling input objects in the spec is severely limited and only handles `@connect` spec. For additional details on limitations see #3311. + ## 2.11.2 ### Patch Changes diff --git a/internals-js/package.json b/internals-js/package.json index 872fa51dd..cb43a39f1 100644 --- a/internals-js/package.json +++ b/internals-js/package.json @@ -1,6 +1,6 @@ { "name": "@apollo/federation-internals", - "version": "2.11.2", + "version": "2.11.3", "description": "Apollo Federation internal utilities", "main": "dist/index.js", "types": "dist/index.d.ts", diff --git a/package-lock.json b/package-lock.json index 1d4112d02..5a3f55bc9 100644 --- a/package-lock.json +++ b/package-lock.json @@ -70,11 +70,11 @@ }, "composition-js": { "name": "@apollo/composition", - "version": "2.11.2", + "version": "2.11.3", "license": "Elastic-2.0", "dependencies": { - "@apollo/federation-internals": "2.11.2", - "@apollo/query-graphs": "2.11.2" + "@apollo/federation-internals": "2.11.3", + "@apollo/query-graphs": "2.11.3" }, "engines": { "node": ">=14.15.0" @@ -85,7 +85,7 @@ }, "federation-integration-testsuite-js": { "name": "apollo-federation-integration-testsuite", - "version": "2.11.2", + "version": "2.11.3", "license": "Elastic-2.0", "dependencies": { "graphql-tag": "^2.12.6", @@ -94,12 +94,12 @@ }, "gateway-js": { "name": "@apollo/gateway", - "version": "2.11.2", + "version": "2.11.3", "license": "Elastic-2.0", "dependencies": { - "@apollo/composition": "2.11.2", - "@apollo/federation-internals": "2.11.2", - "@apollo/query-planner": "2.11.2", + "@apollo/composition": "2.11.3", + "@apollo/federation-internals": "2.11.3", + "@apollo/query-planner": "2.11.3", "@apollo/server-gateway-interface": "^1.1.0", "@apollo/usage-reporting-protobuf": "^4.1.0", "@apollo/utils.createhash": "^2.0.0", @@ -125,7 +125,7 @@ }, "internals-js": { "name": "@apollo/federation-internals", - "version": "2.11.2", + "version": "2.11.3", "license": "Elastic-2.0", "dependencies": { "@types/uuid": "^9.0.0", @@ -17947,10 +17947,10 @@ }, "query-graphs-js": { "name": "@apollo/query-graphs", - "version": "2.11.2", + "version": "2.11.3", "license": "Elastic-2.0", "dependencies": { - "@apollo/federation-internals": "2.11.2", + "@apollo/federation-internals": "2.11.3", "deep-equal": "^2.0.5", "ts-graphviz": "^1.5.4", "uuid": "^9.0.0" @@ -17964,11 +17964,11 @@ }, "query-planner-js": { "name": "@apollo/query-planner", - "version": "2.11.2", + "version": "2.11.3", "license": "Elastic-2.0", "dependencies": { - "@apollo/federation-internals": "2.11.2", - "@apollo/query-graphs": "2.11.2", + "@apollo/federation-internals": "2.11.3", + "@apollo/query-graphs": "2.11.3", "@apollo/utils.keyvaluecache": "^2.1.0", "chalk": "^4.1.0", "deep-equal": "^2.0.5", @@ -17997,11 +17997,11 @@ }, "subgraph-js": { "name": "@apollo/subgraph", - "version": "2.11.2", + "version": "2.11.3", "license": "MIT", "dependencies": { "@apollo/cache-control-types": "^1.0.2", - "@apollo/federation-internals": "2.11.2" + "@apollo/federation-internals": "2.11.3" }, "engines": { "node": ">=14.15.0" diff --git a/query-graphs-js/CHANGELOG.md b/query-graphs-js/CHANGELOG.md index 720c914ed..86257be86 100644 --- a/query-graphs-js/CHANGELOG.md +++ b/query-graphs-js/CHANGELOG.md @@ -1,5 +1,12 @@ # CHANGELOG for `@apollo/query-graphs` +## 2.11.3 + +### Patch Changes + +- Updated dependencies [[`8c7a2cd655ad3060e9f5c3b106cfbdb59251701c`](https://github.com/apollographql/federation/commit/8c7a2cd655ad3060e9f5c3b106cfbdb59251701c)]: + - @apollo/federation-internals@2.11.3 + ## 2.11.2 ### Patch Changes diff --git a/query-graphs-js/package.json b/query-graphs-js/package.json index 7d443bbbc..be6d975d0 100644 --- a/query-graphs-js/package.json +++ b/query-graphs-js/package.json @@ -1,6 +1,6 @@ { "name": "@apollo/query-graphs", - "version": "2.11.2", + "version": "2.11.3", "description": "Apollo Federation library to work with 'query graphs'", "main": "dist/index.js", "types": "dist/index.d.ts", @@ -23,7 +23,7 @@ "node": ">=14.15.0" }, "dependencies": { - "@apollo/federation-internals": "2.11.2", + "@apollo/federation-internals": "2.11.3", "deep-equal": "^2.0.5", "ts-graphviz": "^1.5.4", "uuid": "^9.0.0" diff --git a/query-planner-js/CHANGELOG.md b/query-planner-js/CHANGELOG.md index aada99466..8aaebfc93 100644 --- a/query-planner-js/CHANGELOG.md +++ b/query-planner-js/CHANGELOG.md @@ -1,5 +1,15 @@ # CHANGELOG for `@apollo/query-planner` +## 2.11.3 + +### Patch Changes + +- Fix bug in query planning where a subgraph jump for `@requires` can sometimes try to fetch `@key` fields from a subgraph that doesn't have them. This bug would previously cause query planning to error with a message that looks like "Cannot add selection of field `T.id` to selection set of parent type `T`". ([#3307](https://github.com/apollographql/federation/pull/3307)) + +- Updated dependencies [[`8c7a2cd655ad3060e9f5c3b106cfbdb59251701c`](https://github.com/apollographql/federation/commit/8c7a2cd655ad3060e9f5c3b106cfbdb59251701c)]: + - @apollo/federation-internals@2.11.3 + - @apollo/query-graphs@2.11.3 + ## 2.11.2 ### Patch Changes diff --git a/query-planner-js/package.json b/query-planner-js/package.json index a2f7e2f1d..4a3f78579 100644 --- a/query-planner-js/package.json +++ b/query-planner-js/package.json @@ -1,6 +1,6 @@ { "name": "@apollo/query-planner", - "version": "2.11.2", + "version": "2.11.3", "description": "Apollo Query Planner", "author": "Apollo ", "main": "dist/index.js", @@ -25,8 +25,8 @@ "access": "public" }, "dependencies": { - "@apollo/federation-internals": "2.11.2", - "@apollo/query-graphs": "2.11.2", + "@apollo/federation-internals": "2.11.3", + "@apollo/query-graphs": "2.11.3", "@apollo/utils.keyvaluecache": "^2.1.0", "chalk": "^4.1.0", "deep-equal": "^2.0.5", diff --git a/subgraph-js/CHANGELOG.md b/subgraph-js/CHANGELOG.md index 9f2d85d40..5fd3b7688 100644 --- a/subgraph-js/CHANGELOG.md +++ b/subgraph-js/CHANGELOG.md @@ -1,5 +1,14 @@ # CHANGELOG for `@apollo/subgraph` +## 2.11.3 + +### Patch Changes + +- When a `GraphQLScalarType` resolver is provided to `buildSubgraphSchema()`, omitted configuration options in the `GraphQLScalarType` no longer cause the corresponding properties in the GraphQL document/AST to be cleared. To explicitly clear these properties, use `null` for the configuration option instead. ([#3285](https://github.com/apollographql/federation/pull/3285)) ([#3285](https://github.com/apollographql/federation/pull/3285)) + +- Updated dependencies [[`8c7a2cd655ad3060e9f5c3b106cfbdb59251701c`](https://github.com/apollographql/federation/commit/8c7a2cd655ad3060e9f5c3b106cfbdb59251701c)]: + - @apollo/federation-internals@2.11.3 + ## 2.11.2 ### Patch Changes diff --git a/subgraph-js/package.json b/subgraph-js/package.json index cf712d3c2..2d0067659 100644 --- a/subgraph-js/package.json +++ b/subgraph-js/package.json @@ -1,6 +1,6 @@ { "name": "@apollo/subgraph", - "version": "2.11.2", + "version": "2.11.3", "description": "Apollo Subgraph Utilities", "main": "dist/index.js", "types": "dist/index.d.ts", @@ -25,7 +25,7 @@ }, "dependencies": { "@apollo/cache-control-types": "^1.0.2", - "@apollo/federation-internals": "2.11.2" + "@apollo/federation-internals": "2.11.3" }, "peerDependencies": { "graphql": "^16.5.0"