diff --git a/.changeset/pre.json b/.changeset/pre.json index 79b4cbc71..d244b5753 100644 --- a/.changeset/pre.json +++ b/.changeset/pre.json @@ -12,6 +12,7 @@ }, "changesets": [ "hungry-llamas-remember", + "quick-zebras-wave", "rare-grapes-dream" ] } diff --git a/composition-js/CHANGELOG.md b/composition-js/CHANGELOG.md index 2bb369530..b84c10e2e 100644 --- a/composition-js/CHANGELOG.md +++ b/composition-js/CHANGELOG.md @@ -1,5 +1,13 @@ # CHANGELOG for `@apollo/composition` +## 2.8.0-alpha.1 + +### Patch Changes + +- Updated dependencies [[`f5fe3e74d36722f78004c1e2e03c77d8b95cd6bf`](https://github.com/apollographql/federation/commit/f5fe3e74d36722f78004c1e2e03c77d8b95cd6bf)]: + - @apollo/query-graphs@2.8.0-alpha.1 + - @apollo/federation-internals@2.8.0-alpha.1 + ## 2.8.0-alpha.0 ### Minor Changes diff --git a/composition-js/package.json b/composition-js/package.json index a5b702c60..d01dc2daa 100644 --- a/composition-js/package.json +++ b/composition-js/package.json @@ -1,6 +1,6 @@ { "name": "@apollo/composition", - "version": "2.8.0-alpha.0", + "version": "2.8.0-alpha.1", "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.8.0-alpha.0", - "@apollo/query-graphs": "2.8.0-alpha.0" + "@apollo/federation-internals": "2.8.0-alpha.1", + "@apollo/query-graphs": "2.8.0-alpha.1" }, "peerDependencies": { "graphql": "^16.5.0" diff --git a/federation-integration-testsuite-js/CHANGELOG.md b/federation-integration-testsuite-js/CHANGELOG.md index a0e08a8e0..51fe5e251 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.8.0-alpha.1 + ## 2.8.0-alpha.0 ## 2.7.8 diff --git a/federation-integration-testsuite-js/package.json b/federation-integration-testsuite-js/package.json index 51dff2d72..63cfd2e53 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.8.0-alpha.0", + "version": "2.8.0-alpha.1", "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 edd4c007a..a154ec296 100644 --- a/gateway-js/CHANGELOG.md +++ b/gateway-js/CHANGELOG.md @@ -1,5 +1,14 @@ # CHANGELOG for `@apollo/gateway` +## 2.8.0-alpha.1 + +### Patch Changes + +- Updated dependencies []: + - @apollo/composition@2.8.0-alpha.1 + - @apollo/query-planner@2.8.0-alpha.1 + - @apollo/federation-internals@2.8.0-alpha.1 + ## 2.8.0-alpha.0 ### Minor Changes diff --git a/gateway-js/package.json b/gateway-js/package.json index e9a77360e..c4fbafa88 100644 --- a/gateway-js/package.json +++ b/gateway-js/package.json @@ -1,6 +1,6 @@ { "name": "@apollo/gateway", - "version": "2.8.0-alpha.0", + "version": "2.8.0-alpha.1", "description": "Apollo Gateway", "author": "Apollo ", "main": "dist/index.js", @@ -25,9 +25,9 @@ "access": "public" }, "dependencies": { - "@apollo/composition": "2.8.0-alpha.0", - "@apollo/federation-internals": "2.8.0-alpha.0", - "@apollo/query-planner": "2.8.0-alpha.0", + "@apollo/composition": "2.8.0-alpha.1", + "@apollo/federation-internals": "2.8.0-alpha.1", + "@apollo/query-planner": "2.8.0-alpha.1", "@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 aaf983543..0664b965f 100644 --- a/internals-js/CHANGELOG.md +++ b/internals-js/CHANGELOG.md @@ -1,5 +1,7 @@ # CHANGELOG for `@apollo/federation-internals` +## 2.8.0-alpha.1 + ## 2.8.0-alpha.0 ### Minor Changes diff --git a/internals-js/package.json b/internals-js/package.json index 763f058d7..7f4b5793e 100644 --- a/internals-js/package.json +++ b/internals-js/package.json @@ -1,6 +1,6 @@ { "name": "@apollo/federation-internals", - "version": "2.8.0-alpha.0", + "version": "2.8.0-alpha.1", "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 ffd5b2559..ccf052575 100644 --- a/package-lock.json +++ b/package-lock.json @@ -70,11 +70,11 @@ }, "composition-js": { "name": "@apollo/composition", - "version": "2.8.0-alpha.0", + "version": "2.8.0-alpha.1", "license": "Elastic-2.0", "dependencies": { - "@apollo/federation-internals": "2.8.0-alpha.0", - "@apollo/query-graphs": "2.8.0-alpha.0" + "@apollo/federation-internals": "2.8.0-alpha.1", + "@apollo/query-graphs": "2.8.0-alpha.1" }, "engines": { "node": ">=14.15.0" @@ -85,7 +85,7 @@ }, "federation-integration-testsuite-js": { "name": "apollo-federation-integration-testsuite", - "version": "2.8.0-alpha.0", + "version": "2.8.0-alpha.1", "license": "Elastic-2.0", "dependencies": { "graphql-tag": "^2.12.6", @@ -94,12 +94,12 @@ }, "gateway-js": { "name": "@apollo/gateway", - "version": "2.8.0-alpha.0", + "version": "2.8.0-alpha.1", "license": "Elastic-2.0", "dependencies": { - "@apollo/composition": "2.8.0-alpha.0", - "@apollo/federation-internals": "2.8.0-alpha.0", - "@apollo/query-planner": "2.8.0-alpha.0", + "@apollo/composition": "2.8.0-alpha.1", + "@apollo/federation-internals": "2.8.0-alpha.1", + "@apollo/query-planner": "2.8.0-alpha.1", "@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.8.0-alpha.0", + "version": "2.8.0-alpha.1", "license": "Elastic-2.0", "dependencies": { "@types/uuid": "^9.0.0", @@ -17841,10 +17841,10 @@ }, "query-graphs-js": { "name": "@apollo/query-graphs", - "version": "2.8.0-alpha.0", + "version": "2.8.0-alpha.1", "license": "Elastic-2.0", "dependencies": { - "@apollo/federation-internals": "2.8.0-alpha.0", + "@apollo/federation-internals": "2.8.0-alpha.1", "deep-equal": "^2.0.5", "ts-graphviz": "^1.5.4", "uuid": "^9.0.0" @@ -17858,11 +17858,11 @@ }, "query-planner-js": { "name": "@apollo/query-planner", - "version": "2.8.0-alpha.0", + "version": "2.8.0-alpha.1", "license": "Elastic-2.0", "dependencies": { - "@apollo/federation-internals": "2.8.0-alpha.0", - "@apollo/query-graphs": "2.8.0-alpha.0", + "@apollo/federation-internals": "2.8.0-alpha.1", + "@apollo/query-graphs": "2.8.0-alpha.1", "@apollo/utils.keyvaluecache": "^2.1.0", "chalk": "^4.1.0", "deep-equal": "^2.0.5", @@ -17891,11 +17891,11 @@ }, "subgraph-js": { "name": "@apollo/subgraph", - "version": "2.8.0-alpha.0", + "version": "2.8.0-alpha.1", "license": "MIT", "dependencies": { "@apollo/cache-control-types": "^1.0.2", - "@apollo/federation-internals": "2.8.0-alpha.0" + "@apollo/federation-internals": "2.8.0-alpha.1" }, "engines": { "node": ">=14.15.0" diff --git a/query-graphs-js/CHANGELOG.md b/query-graphs-js/CHANGELOG.md index 445e5e61f..218d82086 100644 --- a/query-graphs-js/CHANGELOG.md +++ b/query-graphs-js/CHANGELOG.md @@ -1,5 +1,16 @@ # CHANGELOG for `@apollo/query-graphs` +## 2.8.0-alpha.1 + +### Patch Changes + +- Fix bug in context-matching logic for interfaces-implementing-interfaces (#3014) ([#3015](https://github.com/apollographql/federation/pull/3015)) + + A field is considered to match a context if the field's parent type (in the original query) either has `@context` on it, or implements/is a member of a type with `@context` on it. We ended up missing the case where interfaces implement interfaces; this PR introduces a fix. + +- Updated dependencies []: + - @apollo/federation-internals@2.8.0-alpha.1 + ## 2.8.0-alpha.0 ### Minor Changes diff --git a/query-graphs-js/package.json b/query-graphs-js/package.json index f1a6291bf..aa86d3567 100644 --- a/query-graphs-js/package.json +++ b/query-graphs-js/package.json @@ -1,6 +1,6 @@ { "name": "@apollo/query-graphs", - "version": "2.8.0-alpha.0", + "version": "2.8.0-alpha.1", "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.8.0-alpha.0", + "@apollo/federation-internals": "2.8.0-alpha.1", "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 4a7376570..118643232 100644 --- a/query-planner-js/CHANGELOG.md +++ b/query-planner-js/CHANGELOG.md @@ -1,5 +1,13 @@ # CHANGELOG for `@apollo/query-planner` +## 2.8.0-alpha.1 + +### Patch Changes + +- Updated dependencies [[`f5fe3e74d36722f78004c1e2e03c77d8b95cd6bf`](https://github.com/apollographql/federation/commit/f5fe3e74d36722f78004c1e2e03c77d8b95cd6bf)]: + - @apollo/query-graphs@2.8.0-alpha.1 + - @apollo/federation-internals@2.8.0-alpha.1 + ## 2.8.0-alpha.0 ### Minor Changes diff --git a/query-planner-js/package.json b/query-planner-js/package.json index 0327a665e..c18f52710 100644 --- a/query-planner-js/package.json +++ b/query-planner-js/package.json @@ -1,6 +1,6 @@ { "name": "@apollo/query-planner", - "version": "2.8.0-alpha.0", + "version": "2.8.0-alpha.1", "description": "Apollo Query Planner", "author": "Apollo ", "main": "dist/index.js", @@ -25,8 +25,8 @@ "access": "public" }, "dependencies": { - "@apollo/federation-internals": "2.8.0-alpha.0", - "@apollo/query-graphs": "2.8.0-alpha.0", + "@apollo/federation-internals": "2.8.0-alpha.1", + "@apollo/query-graphs": "2.8.0-alpha.1", "@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 52a2f3ca2..997213594 100644 --- a/subgraph-js/CHANGELOG.md +++ b/subgraph-js/CHANGELOG.md @@ -1,5 +1,12 @@ # CHANGELOG for `@apollo/subgraph` +## 2.8.0-alpha.1 + +### Patch Changes + +- Updated dependencies []: + - @apollo/federation-internals@2.8.0-alpha.1 + ## 2.8.0-alpha.0 ### Patch Changes diff --git a/subgraph-js/package.json b/subgraph-js/package.json index 70c0234fc..bfb2a40f4 100644 --- a/subgraph-js/package.json +++ b/subgraph-js/package.json @@ -1,6 +1,6 @@ { "name": "@apollo/subgraph", - "version": "2.8.0-alpha.0", + "version": "2.8.0-alpha.1", "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.8.0-alpha.0" + "@apollo/federation-internals": "2.8.0-alpha.1" }, "peerDependencies": { "graphql": "^16.5.0"