diff --git a/.changeset/forty-dolls-type.md b/.changeset/forty-dolls-type.md deleted file mode 100644 index 3877cbc49..000000000 --- a/.changeset/forty-dolls-type.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@apollo/composition": patch -"@apollo/federation-internals": patch ---- - -When a linked directive requires a federation version higher than the linked federation spec, upgrade to the implied version and issue a hint diff --git a/.changeset/lemon-yaks-think.md b/.changeset/lemon-yaks-think.md deleted file mode 100644 index f1d9b37ee..000000000 --- a/.changeset/lemon-yaks-think.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@apollo/query-planner": patch -"@apollo/federation-internals": patch ---- - -When auto-upgrading a subgraph (i.e. one that does not explicitly @link the federation spec) do not go past v2.4. This is so that subgraphs will not inadvertently require the latest join spec (which cause the router or gateway not to start if running an older version). diff --git a/.changeset/serious-pumas-hear.md b/.changeset/serious-pumas-hear.md deleted file mode 100644 index 283f2c2fb..000000000 --- a/.changeset/serious-pumas-hear.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@apollo/gateway": patch ---- - -Remove out-of-band reporting in the gateway and provide a warning for users who have the endpoint configured. diff --git a/.changeset/spicy-falcons-learn.md b/.changeset/spicy-falcons-learn.md deleted file mode 100644 index c3624ec47..000000000 --- a/.changeset/spicy-falcons-learn.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -"apollo-federation-integration-testsuite": patch -"@apollo/query-planner": patch -"@apollo/federation-internals": patch ---- - -Add new `generateQueryFragments` option to query planner config - -If enabled, the query planner will extract inline fragments into fragment definitions before sending queries to subgraphs. This can significantly reduce the size of the query sent to subgraphs, but may increase the time it takes to plan the query. diff --git a/.changeset/weak-bottles-crash.md b/.changeset/weak-bottles-crash.md deleted file mode 100644 index a5a428475..000000000 --- a/.changeset/weak-bottles-crash.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@apollo/composition": patch ---- - -Stop emitting "inconsistent value type" hints against definitions where the type is marked `@external` or all fields are marked `@external`. diff --git a/.changeset/yellow-horses-protect.md b/.changeset/yellow-horses-protect.md deleted file mode 100644 index 2a710bc41..000000000 --- a/.changeset/yellow-horses-protect.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@apollo/composition": patch ---- - -Introduce a new composition hint pertaining specifically to progressive `@override` usage (when a `label` argument is present). diff --git a/composition-js/CHANGELOG.md b/composition-js/CHANGELOG.md index 6bd4a0ebb..7ba9c6376 100644 --- a/composition-js/CHANGELOG.md +++ b/composition-js/CHANGELOG.md @@ -1,5 +1,19 @@ # CHANGELOG for `@apollo/composition` +## 2.7.2 + +### Patch Changes + +- When a linked directive requires a federation version higher than the linked federation spec, upgrade to the implied version and issue a hint ([#2929](https://github.com/apollographql/federation/pull/2929)) + +- Stop emitting "inconsistent value type" hints against definitions where the type is marked `@external` or all fields are marked `@external`. ([#2951](https://github.com/apollographql/federation/pull/2951)) + +- Introduce a new composition hint pertaining specifically to progressive `@override` usage (when a `label` argument is present). ([#2922](https://github.com/apollographql/federation/pull/2922)) + +- Updated dependencies [[`33b937b18d3c7ca6af14b904696b536399e597d1`](https://github.com/apollographql/federation/commit/33b937b18d3c7ca6af14b904696b536399e597d1), [`09cd3e55e810ee513127b7440f5b11af7540c9b0`](https://github.com/apollographql/federation/commit/09cd3e55e810ee513127b7440f5b11af7540c9b0), [`d7189a86c27891af408d3d0184db6133d3342967`](https://github.com/apollographql/federation/commit/d7189a86c27891af408d3d0184db6133d3342967)]: + - @apollo/federation-internals@2.7.2 + - @apollo/query-graphs@2.7.2 + ## 2.7.1 ### Patch Changes diff --git a/composition-js/package.json b/composition-js/package.json index 49d30226b..17d811361 100644 --- a/composition-js/package.json +++ b/composition-js/package.json @@ -1,6 +1,6 @@ { "name": "@apollo/composition", - "version": "2.7.1", + "version": "2.7.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.7.1", - "@apollo/query-graphs": "2.7.1" + "@apollo/federation-internals": "2.7.2", + "@apollo/query-graphs": "2.7.2" }, "peerDependencies": { "graphql": "^16.5.0" diff --git a/federation-integration-testsuite-js/CHANGELOG.md b/federation-integration-testsuite-js/CHANGELOG.md index 845680c63..b77ed0659 100644 --- a/federation-integration-testsuite-js/CHANGELOG.md +++ b/federation-integration-testsuite-js/CHANGELOG.md @@ -1,5 +1,13 @@ # CHANGELOG for `federation-integration-testsuite-js` +## 2.7.2 + +### Patch Changes + +- Add new `generateQueryFragments` option to query planner config ([#2958](https://github.com/apollographql/federation/pull/2958)) + + If enabled, the query planner will extract inline fragments into fragment definitions before sending queries to subgraphs. This can significantly reduce the size of the query sent to subgraphs, but may increase the time it takes to plan the query. + ## 2.7.1 ## 2.7.0 diff --git a/federation-integration-testsuite-js/package.json b/federation-integration-testsuite-js/package.json index b9d1bbacc..415248479 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.7.1", + "version": "2.7.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 1cc5f291d..b74e6a5a6 100644 --- a/gateway-js/CHANGELOG.md +++ b/gateway-js/CHANGELOG.md @@ -1,5 +1,16 @@ # CHANGELOG for `@apollo/gateway` +## 2.7.2 + +### Patch Changes + +- Remove out-of-band reporting in the gateway and provide a warning for users who have the endpoint configured. ([#2946](https://github.com/apollographql/federation/pull/2946)) + +- Updated dependencies [[`33b937b18d3c7ca6af14b904696b536399e597d1`](https://github.com/apollographql/federation/commit/33b937b18d3c7ca6af14b904696b536399e597d1), [`09cd3e55e810ee513127b7440f5b11af7540c9b0`](https://github.com/apollographql/federation/commit/09cd3e55e810ee513127b7440f5b11af7540c9b0), [`d7189a86c27891af408d3d0184db6133d3342967`](https://github.com/apollographql/federation/commit/d7189a86c27891af408d3d0184db6133d3342967), [`33506bef6d755c58400081824167711c1747ee40`](https://github.com/apollographql/federation/commit/33506bef6d755c58400081824167711c1747ee40), [`1f72f2a361a83ebaaf15ae052f5ca9a93fc18bfc`](https://github.com/apollographql/federation/commit/1f72f2a361a83ebaaf15ae052f5ca9a93fc18bfc)]: + - @apollo/composition@2.7.2 + - @apollo/federation-internals@2.7.2 + - @apollo/query-planner@2.7.2 + ## 2.7.1 ### Patch Changes diff --git a/gateway-js/package.json b/gateway-js/package.json index 4569c5af5..dfe5b26d7 100644 --- a/gateway-js/package.json +++ b/gateway-js/package.json @@ -1,6 +1,6 @@ { "name": "@apollo/gateway", - "version": "2.7.1", + "version": "2.7.2", "description": "Apollo Gateway", "author": "Apollo ", "main": "dist/index.js", @@ -25,9 +25,9 @@ "access": "public" }, "dependencies": { - "@apollo/composition": "2.7.1", - "@apollo/federation-internals": "2.7.1", - "@apollo/query-planner": "2.7.1", + "@apollo/composition": "2.7.2", + "@apollo/federation-internals": "2.7.2", + "@apollo/query-planner": "2.7.2", "@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 2f3d89d59..17cf9c696 100644 --- a/internals-js/CHANGELOG.md +++ b/internals-js/CHANGELOG.md @@ -1,5 +1,17 @@ # CHANGELOG for `@apollo/federation-internals` +## 2.7.2 + +### Patch Changes + +- When a linked directive requires a federation version higher than the linked federation spec, upgrade to the implied version and issue a hint ([#2929](https://github.com/apollographql/federation/pull/2929)) + +- When auto-upgrading a subgraph (i.e. one that does not explicitly @link the federation spec) do not go past v2.4. This is so that subgraphs will not inadvertently require the latest join spec (which cause the router or gateway not to start if running an older version). ([#2933](https://github.com/apollographql/federation/pull/2933)) + +- Add new `generateQueryFragments` option to query planner config ([#2958](https://github.com/apollographql/federation/pull/2958)) + + If enabled, the query planner will extract inline fragments into fragment definitions before sending queries to subgraphs. This can significantly reduce the size of the query sent to subgraphs, but may increase the time it takes to plan the query. + ## 2.7.1 ### Patch Changes diff --git a/internals-js/package.json b/internals-js/package.json index f97625cc6..133939660 100644 --- a/internals-js/package.json +++ b/internals-js/package.json @@ -1,6 +1,6 @@ { "name": "@apollo/federation-internals", - "version": "2.7.1", + "version": "2.7.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 5ba7a25ec..750c14322 100644 --- a/package-lock.json +++ b/package-lock.json @@ -70,11 +70,11 @@ }, "composition-js": { "name": "@apollo/composition", - "version": "2.7.1", + "version": "2.7.2", "license": "Elastic-2.0", "dependencies": { - "@apollo/federation-internals": "2.7.1", - "@apollo/query-graphs": "2.7.1" + "@apollo/federation-internals": "2.7.2", + "@apollo/query-graphs": "2.7.2" }, "engines": { "node": ">=14.15.0" @@ -85,7 +85,7 @@ }, "federation-integration-testsuite-js": { "name": "apollo-federation-integration-testsuite", - "version": "2.7.1", + "version": "2.7.2", "license": "Elastic-2.0", "dependencies": { "graphql-tag": "^2.12.6", @@ -94,12 +94,12 @@ }, "gateway-js": { "name": "@apollo/gateway", - "version": "2.7.1", + "version": "2.7.2", "license": "Elastic-2.0", "dependencies": { - "@apollo/composition": "2.7.1", - "@apollo/federation-internals": "2.7.1", - "@apollo/query-planner": "2.7.1", + "@apollo/composition": "2.7.2", + "@apollo/federation-internals": "2.7.2", + "@apollo/query-planner": "2.7.2", "@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.7.1", + "version": "2.7.2", "license": "Elastic-2.0", "dependencies": { "@types/uuid": "^9.0.0", @@ -17827,10 +17827,10 @@ }, "query-graphs-js": { "name": "@apollo/query-graphs", - "version": "2.7.1", + "version": "2.7.2", "license": "Elastic-2.0", "dependencies": { - "@apollo/federation-internals": "2.7.1", + "@apollo/federation-internals": "2.7.2", "deep-equal": "^2.0.5", "ts-graphviz": "^1.5.4", "uuid": "^9.0.0" @@ -17844,11 +17844,11 @@ }, "query-planner-js": { "name": "@apollo/query-planner", - "version": "2.7.1", + "version": "2.7.2", "license": "Elastic-2.0", "dependencies": { - "@apollo/federation-internals": "2.7.1", - "@apollo/query-graphs": "2.7.1", + "@apollo/federation-internals": "2.7.2", + "@apollo/query-graphs": "2.7.2", "@apollo/utils.keyvaluecache": "^2.1.0", "chalk": "^4.1.0", "deep-equal": "^2.0.5", @@ -17877,11 +17877,11 @@ }, "subgraph-js": { "name": "@apollo/subgraph", - "version": "2.7.1", + "version": "2.7.2", "license": "MIT", "dependencies": { "@apollo/cache-control-types": "^1.0.2", - "@apollo/federation-internals": "2.7.1" + "@apollo/federation-internals": "2.7.2" }, "engines": { "node": ">=14.15.0" diff --git a/query-graphs-js/CHANGELOG.md b/query-graphs-js/CHANGELOG.md index cb21e62ee..2991b57f5 100644 --- a/query-graphs-js/CHANGELOG.md +++ b/query-graphs-js/CHANGELOG.md @@ -1,5 +1,12 @@ # CHANGELOG for `@apollo/query-graphs` +## 2.7.2 + +### Patch Changes + +- Updated dependencies [[`33b937b18d3c7ca6af14b904696b536399e597d1`](https://github.com/apollographql/federation/commit/33b937b18d3c7ca6af14b904696b536399e597d1), [`09cd3e55e810ee513127b7440f5b11af7540c9b0`](https://github.com/apollographql/federation/commit/09cd3e55e810ee513127b7440f5b11af7540c9b0), [`d7189a86c27891af408d3d0184db6133d3342967`](https://github.com/apollographql/federation/commit/d7189a86c27891af408d3d0184db6133d3342967)]: + - @apollo/federation-internals@2.7.2 + ## 2.7.1 ### Patch Changes diff --git a/query-graphs-js/package.json b/query-graphs-js/package.json index a2610b79c..68fce655a 100644 --- a/query-graphs-js/package.json +++ b/query-graphs-js/package.json @@ -1,6 +1,6 @@ { "name": "@apollo/query-graphs", - "version": "2.7.1", + "version": "2.7.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.7.1", + "@apollo/federation-internals": "2.7.2", "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 a4998f1c1..86c25d132 100644 --- a/query-planner-js/CHANGELOG.md +++ b/query-planner-js/CHANGELOG.md @@ -1,5 +1,19 @@ # CHANGELOG for `@apollo/query-planner` +## 2.7.2 + +### Patch Changes + +- When auto-upgrading a subgraph (i.e. one that does not explicitly @link the federation spec) do not go past v2.4. This is so that subgraphs will not inadvertently require the latest join spec (which cause the router or gateway not to start if running an older version). ([#2933](https://github.com/apollographql/federation/pull/2933)) + +- Add new `generateQueryFragments` option to query planner config ([#2958](https://github.com/apollographql/federation/pull/2958)) + + If enabled, the query planner will extract inline fragments into fragment definitions before sending queries to subgraphs. This can significantly reduce the size of the query sent to subgraphs, but may increase the time it takes to plan the query. + +- Updated dependencies [[`33b937b18d3c7ca6af14b904696b536399e597d1`](https://github.com/apollographql/federation/commit/33b937b18d3c7ca6af14b904696b536399e597d1), [`09cd3e55e810ee513127b7440f5b11af7540c9b0`](https://github.com/apollographql/federation/commit/09cd3e55e810ee513127b7440f5b11af7540c9b0), [`d7189a86c27891af408d3d0184db6133d3342967`](https://github.com/apollographql/federation/commit/d7189a86c27891af408d3d0184db6133d3342967)]: + - @apollo/federation-internals@2.7.2 + - @apollo/query-graphs@2.7.2 + ## 2.7.1 ### Patch Changes diff --git a/query-planner-js/package.json b/query-planner-js/package.json index 3bf2fe95c..a6a755aec 100644 --- a/query-planner-js/package.json +++ b/query-planner-js/package.json @@ -1,6 +1,6 @@ { "name": "@apollo/query-planner", - "version": "2.7.1", + "version": "2.7.2", "description": "Apollo Query Planner", "author": "Apollo ", "main": "dist/index.js", @@ -25,8 +25,8 @@ "access": "public" }, "dependencies": { - "@apollo/federation-internals": "2.7.1", - "@apollo/query-graphs": "2.7.1", + "@apollo/federation-internals": "2.7.2", + "@apollo/query-graphs": "2.7.2", "@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 ef2c9cdc4..76ddaa6ee 100644 --- a/subgraph-js/CHANGELOG.md +++ b/subgraph-js/CHANGELOG.md @@ -1,5 +1,12 @@ # CHANGELOG for `@apollo/subgraph` +## 2.7.2 + +### Patch Changes + +- Updated dependencies [[`33b937b18d3c7ca6af14b904696b536399e597d1`](https://github.com/apollographql/federation/commit/33b937b18d3c7ca6af14b904696b536399e597d1), [`09cd3e55e810ee513127b7440f5b11af7540c9b0`](https://github.com/apollographql/federation/commit/09cd3e55e810ee513127b7440f5b11af7540c9b0), [`d7189a86c27891af408d3d0184db6133d3342967`](https://github.com/apollographql/federation/commit/d7189a86c27891af408d3d0184db6133d3342967)]: + - @apollo/federation-internals@2.7.2 + ## 2.7.1 ### Patch Changes diff --git a/subgraph-js/package.json b/subgraph-js/package.json index 04cd03724..a2bdd1eac 100644 --- a/subgraph-js/package.json +++ b/subgraph-js/package.json @@ -1,6 +1,6 @@ { "name": "@apollo/subgraph", - "version": "2.7.1", + "version": "2.7.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.7.1" + "@apollo/federation-internals": "2.7.2" }, "peerDependencies": { "graphql": "^16.5.0"