diff --git a/.changeset/eleven-guests-battle.md b/.changeset/eleven-guests-battle.md deleted file mode 100644 index f6f27646a3..0000000000 --- a/.changeset/eleven-guests-battle.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -"@apollo/gateway": patch ---- - -Move gateway post-processing errors from `errors` into `extensions.valueCompletion` of the response - -[https://github.com/apollographql/federation/pull/2335](PR #2335) introduced a breaking change that broke existing usages with respect to nullability and gateway error handling. In response to [https://github.com/apollographql/federation/issues/2374](Issue #2374), we are reverting the breaking portion of this change by continuing to swallow post processing errors as the gateway did prior to v2.3.0. Instead, those errors will now be included on the `extensions.valueCompletion` object in the response object. - -Gateway v2.3.0 and v2.3.1 are both affected by this change in behavior. - \ No newline at end of file diff --git a/composition-js/CHANGELOG.md b/composition-js/CHANGELOG.md index ec00ef9831..2aedfaca9e 100644 --- a/composition-js/CHANGELOG.md +++ b/composition-js/CHANGELOG.md @@ -1,5 +1,12 @@ # CHANGELOG for `@apollo/composition` +## 2.3.2 +### Patch Changes + +- Updated dependencies []: + - @apollo/federation-internals@2.3.2 + - @apollo/query-graphs@2.3.2 + ## 2.3.1 ### Patch Changes diff --git a/composition-js/package.json b/composition-js/package.json index afdeebd18b..9db1b1a9f3 100644 --- a/composition-js/package.json +++ b/composition-js/package.json @@ -1,6 +1,6 @@ { "name": "@apollo/composition", - "version": "2.3.1", + "version": "2.3.2", "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.3.1", - "@apollo/query-graphs": "2.3.1" + "@apollo/federation-internals": "2.3.2", + "@apollo/query-graphs": "2.3.2" }, "peerDependencies": { "graphql": "^16.5.0" diff --git a/federation-integration-testsuite-js/CHANGELOG.md b/federation-integration-testsuite-js/CHANGELOG.md index 4775d7c9b9..aa2f8bc534 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.3.2 + ## 2.3.1 # This is a private package, so this may be kept empty, but exists so that `changesets` will not complain diff --git a/federation-integration-testsuite-js/package.json b/federation-integration-testsuite-js/package.json index 83d145ad17..d2e454be27 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.3.1", + "version": "2.3.2", "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 fc0355b29b..03ae99ccd8 100644 --- a/gateway-js/CHANGELOG.md +++ b/gateway-js/CHANGELOG.md @@ -1,5 +1,19 @@ # CHANGELOG for `@apollo/gateway` +## 2.3.2 +### Patch Changes + + +- Move gateway post-processing errors from `errors` into `extensions.valueCompletion` of the response ([#2380](https://github.com/apollographql/federation/pull/2380)) + + [https://github.com/apollographql/federation/pull/2335](PR #2335) introduced a breaking change that broke existing usages with respect to nullability and gateway error handling. In response to [https://github.com/apollographql/federation/issues/2374](Issue #2374), we are reverting the breaking portion of this change by continuing to swallow post processing errors as the gateway did prior to v2.3.0. Instead, those errors will now be included on the `extensions.valueCompletion` object in the response object. + + Gateway v2.3.0 and v2.3.1 are both affected by this change in behavior. +- Updated dependencies []: + - @apollo/composition@2.3.2 + - @apollo/federation-internals@2.3.2 + - @apollo/query-planner@2.3.2 + ## 2.3.1 ### Patch Changes diff --git a/gateway-js/package.json b/gateway-js/package.json index b450e67837..a98ff8b3d9 100644 --- a/gateway-js/package.json +++ b/gateway-js/package.json @@ -1,6 +1,6 @@ { "name": "@apollo/gateway", - "version": "2.3.1", + "version": "2.3.2", "description": "Apollo Gateway", "author": "Apollo ", "main": "dist/index.js", @@ -25,9 +25,9 @@ "access": "public" }, "dependencies": { - "@apollo/composition": "2.3.1", - "@apollo/federation-internals": "2.3.1", - "@apollo/query-planner": "2.3.1", + "@apollo/composition": "2.3.2", + "@apollo/federation-internals": "2.3.2", + "@apollo/query-planner": "2.3.2", "@apollo/server-gateway-interface": "^1.1.0", "@apollo/usage-reporting-protobuf": "^4.0.0", "@apollo/utils.createhash": "^1.1.0", diff --git a/internals-js/CHANGELOG.md b/internals-js/CHANGELOG.md index 4e6b7b6eb7..18278bc8a9 100644 --- a/internals-js/CHANGELOG.md +++ b/internals-js/CHANGELOG.md @@ -1,5 +1,7 @@ # CHANGELOG for `@apollo/federation-internals` +## 2.3.2 + ## 2.3.1 ## 2.3.0 diff --git a/internals-js/package.json b/internals-js/package.json index c4e0c0ae4c..16fc253ee9 100644 --- a/internals-js/package.json +++ b/internals-js/package.json @@ -1,6 +1,6 @@ { "name": "@apollo/federation-internals", - "version": "2.3.1", + "version": "2.3.2", "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 aa608d6f5b..3ca5a0f7a1 100644 --- a/package-lock.json +++ b/package-lock.json @@ -70,11 +70,11 @@ }, "composition-js": { "name": "@apollo/composition", - "version": "2.3.1", + "version": "2.3.2", "license": "SEE LICENSE IN ./LICENSE", "dependencies": { - "@apollo/federation-internals": "2.3.1", - "@apollo/query-graphs": "2.3.1" + "@apollo/federation-internals": "2.3.2", + "@apollo/query-graphs": "2.3.2" }, "engines": { "node": ">=14.15.0" @@ -85,7 +85,7 @@ }, "federation-integration-testsuite-js": { "name": "apollo-federation-integration-testsuite", - "version": "2.3.1", + "version": "2.3.2", "license": "SEE LICENSE IN ./LICENSE", "dependencies": { "graphql-tag": "^2.12.6", @@ -94,12 +94,12 @@ }, "gateway-js": { "name": "@apollo/gateway", - "version": "2.3.1", + "version": "2.3.2", "license": "SEE LICENSE IN ./LICENSE", "dependencies": { - "@apollo/composition": "2.3.1", - "@apollo/federation-internals": "2.3.1", - "@apollo/query-planner": "2.3.1", + "@apollo/composition": "2.3.2", + "@apollo/federation-internals": "2.3.2", + "@apollo/query-planner": "2.3.2", "@apollo/server-gateway-interface": "^1.1.0", "@apollo/usage-reporting-protobuf": "^4.0.0", "@apollo/utils.createhash": "^1.1.0", @@ -287,7 +287,7 @@ }, "internals-js": { "name": "@apollo/federation-internals", - "version": "2.3.1", + "version": "2.3.2", "license": "SEE LICENSE IN ./LICENSE", "dependencies": { "chalk": "^4.1.0", @@ -16147,10 +16147,10 @@ }, "query-graphs-js": { "name": "@apollo/query-graphs", - "version": "2.3.1", + "version": "2.3.2", "license": "SEE LICENSE IN ./LICENSE", "dependencies": { - "@apollo/federation-internals": "2.3.1", + "@apollo/federation-internals": "2.3.2", "@types/uuid": "^8.3.4", "deep-equal": "^2.0.5", "ts-graphviz": "^0.16.0", @@ -16176,11 +16176,11 @@ }, "query-planner-js": { "name": "@apollo/query-planner", - "version": "2.3.1", + "version": "2.3.2", "license": "SEE LICENSE IN ./LICENSE", "dependencies": { - "@apollo/federation-internals": "2.3.1", - "@apollo/query-graphs": "2.3.1", + "@apollo/federation-internals": "2.3.2", + "@apollo/query-graphs": "2.3.2", "chalk": "^4.1.0", "deep-equal": "^2.0.5", "pretty-format": "^29.0.0" @@ -16194,11 +16194,11 @@ }, "subgraph-js": { "name": "@apollo/subgraph", - "version": "2.3.1", + "version": "2.3.2", "license": "MIT", "dependencies": { "@apollo/cache-control-types": "^1.0.2", - "@apollo/federation-internals": "2.3.1" + "@apollo/federation-internals": "2.3.2" }, "engines": { "node": ">=14.15.0" @@ -16234,8 +16234,8 @@ "@apollo/composition": { "version": "file:composition-js", "requires": { - "@apollo/federation-internals": "2.3.1", - "@apollo/query-graphs": "2.3.1" + "@apollo/federation-internals": "2.3.2", + "@apollo/query-graphs": "2.3.2" } }, "@apollo/federation-internals": { @@ -16248,9 +16248,9 @@ "@apollo/gateway": { "version": "file:gateway-js", "requires": { - "@apollo/composition": "2.3.1", - "@apollo/federation-internals": "2.3.1", - "@apollo/query-planner": "2.3.1", + "@apollo/composition": "2.3.2", + "@apollo/federation-internals": "2.3.2", + "@apollo/query-planner": "2.3.2", "@apollo/server-gateway-interface": "^1.1.0", "@apollo/usage-reporting-protobuf": "^4.0.0", "@apollo/utils.createhash": "^1.1.0", @@ -16406,7 +16406,7 @@ "@apollo/query-graphs": { "version": "file:query-graphs-js", "requires": { - "@apollo/federation-internals": "2.3.1", + "@apollo/federation-internals": "2.3.2", "@types/uuid": "^8.3.4", "deep-equal": "^2.0.5", "ts-graphviz": "^0.16.0", @@ -16424,8 +16424,8 @@ "@apollo/query-planner": { "version": "file:query-planner-js", "requires": { - "@apollo/federation-internals": "2.3.1", - "@apollo/query-graphs": "2.3.1", + "@apollo/federation-internals": "2.3.2", + "@apollo/query-graphs": "2.3.2", "chalk": "^4.1.0", "deep-equal": "^2.0.5", "pretty-format": "^29.0.0" @@ -16472,7 +16472,7 @@ "version": "file:subgraph-js", "requires": { "@apollo/cache-control-types": "^1.0.2", - "@apollo/federation-internals": "2.3.1" + "@apollo/federation-internals": "2.3.2" } }, "@apollo/usage-reporting-protobuf": { diff --git a/query-graphs-js/CHANGELOG.md b/query-graphs-js/CHANGELOG.md index d1b96b15ac..641dbf62a8 100644 --- a/query-graphs-js/CHANGELOG.md +++ b/query-graphs-js/CHANGELOG.md @@ -1,5 +1,11 @@ # CHANGELOG for `@apollo/query-graphs` +## 2.3.2 +### Patch Changes + +- Updated dependencies []: + - @apollo/federation-internals@2.3.2 + ## 2.3.1 ### Patch Changes diff --git a/query-graphs-js/package.json b/query-graphs-js/package.json index d0a1ea7811..738e524aa5 100644 --- a/query-graphs-js/package.json +++ b/query-graphs-js/package.json @@ -1,6 +1,6 @@ { "name": "@apollo/query-graphs", - "version": "2.3.1", + "version": "2.3.2", "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.3.1", + "@apollo/federation-internals": "2.3.2", "@types/uuid": "^8.3.4", "deep-equal": "^2.0.5", "ts-graphviz": "^0.16.0", diff --git a/query-planner-js/CHANGELOG.md b/query-planner-js/CHANGELOG.md index ec57200471..26a0e1c33f 100644 --- a/query-planner-js/CHANGELOG.md +++ b/query-planner-js/CHANGELOG.md @@ -1,5 +1,12 @@ # CHANGELOG for `@apollo/query-planner` +## 2.3.2 +### Patch Changes + +- Updated dependencies []: + - @apollo/federation-internals@2.3.2 + - @apollo/query-graphs@2.3.2 + ## 2.3.1 ### Patch Changes diff --git a/query-planner-js/package.json b/query-planner-js/package.json index 247c876adf..341c9aa440 100644 --- a/query-planner-js/package.json +++ b/query-planner-js/package.json @@ -1,6 +1,6 @@ { "name": "@apollo/query-planner", - "version": "2.3.1", + "version": "2.3.2", "description": "Apollo Query Planner", "author": "Apollo ", "main": "dist/index.js", @@ -25,8 +25,8 @@ "access": "public" }, "dependencies": { - "@apollo/federation-internals": "2.3.1", - "@apollo/query-graphs": "2.3.1", + "@apollo/federation-internals": "2.3.2", + "@apollo/query-graphs": "2.3.2", "chalk": "^4.1.0", "deep-equal": "^2.0.5", "pretty-format": "^29.0.0" diff --git a/subgraph-js/CHANGELOG.md b/subgraph-js/CHANGELOG.md index 0db94ef614..06791c9718 100644 --- a/subgraph-js/CHANGELOG.md +++ b/subgraph-js/CHANGELOG.md @@ -1,5 +1,11 @@ # CHANGELOG for `@apollo/subgraph` +## 2.3.2 +### Patch Changes + +- Updated dependencies []: + - @apollo/federation-internals@2.3.2 + ## 2.3.1 ### Patch Changes diff --git a/subgraph-js/package.json b/subgraph-js/package.json index 905d9eca30..3c917113bc 100644 --- a/subgraph-js/package.json +++ b/subgraph-js/package.json @@ -1,6 +1,6 @@ { "name": "@apollo/subgraph", - "version": "2.3.1", + "version": "2.3.2", "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.3.1" + "@apollo/federation-internals": "2.3.2" }, "peerDependencies": { "graphql": "^16.5.0"