diff --git a/.changeset/pre.json b/.changeset/pre.json index 249a704cb..e6e0bb4fa 100644 --- a/.changeset/pre.json +++ b/.changeset/pre.json @@ -10,5 +10,10 @@ "@apollo/query-planner": "2.8.4", "@apollo/subgraph": "2.8.4" }, - "changesets": [] + "changesets": [ + "cuddly-badgers-sit", + "fast-points-wonder", + "happy-bats-exist", + "poor-seahorses-whisper" + ] } diff --git a/composition-js/CHANGELOG.md b/composition-js/CHANGELOG.md index 6cd4f10ca..308249943 100644 --- a/composition-js/CHANGELOG.md +++ b/composition-js/CHANGELOG.md @@ -1,5 +1,19 @@ # CHANGELOG for `@apollo/composition` +## 2.9.0-beta.0 + +### Minor Changes + +- Implements two new directives for defining custom costs for demand control. The `@cost` directive allows setting a custom weight to a particular field in the graph, overriding the default cost calculation. The `@listSize` directive gives the cost calculator information about how to estimate the size of lists returned by subgraphs. This can either be a static size or a value derived from input arguments, such as paging parameters. ([#3074](https://github.com/apollographql/federation/pull/3074)) + +### Patch Changes + +- Reduce memory overhead during satisfiability checking when there are many options. ([#3109](https://github.com/apollographql/federation/pull/3109)) + +- Updated dependencies [[`acfe3193429c7f99b4fc564b20828aaa8659a75c`](https://github.com/apollographql/federation/commit/acfe3193429c7f99b4fc564b20828aaa8659a75c), [`02c2a34a62c3717a4885449172e404f19ebf66c9`](https://github.com/apollographql/federation/commit/02c2a34a62c3717a4885449172e404f19ebf66c9), [`0ccfd937d4b4a576f890665ceebbd7986fac5d0c`](https://github.com/apollographql/federation/commit/0ccfd937d4b4a576f890665ceebbd7986fac5d0c), [`e0a5075c0d12a0e2f7ef303b246e3216a139d3e0`](https://github.com/apollographql/federation/commit/e0a5075c0d12a0e2f7ef303b246e3216a139d3e0)]: + - @apollo/query-graphs@2.9.0-beta.0 + - @apollo/federation-internals@2.9.0-beta.0 + ## 2.8.4 ### Patch Changes diff --git a/composition-js/package.json b/composition-js/package.json index 879bf59fd..6a9ef097a 100644 --- a/composition-js/package.json +++ b/composition-js/package.json @@ -1,6 +1,6 @@ { "name": "@apollo/composition", - "version": "2.8.4", + "version": "2.9.0-beta.0", "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.4", - "@apollo/query-graphs": "2.8.4" + "@apollo/federation-internals": "2.9.0-beta.0", + "@apollo/query-graphs": "2.9.0-beta.0" }, "peerDependencies": { "graphql": "^16.5.0" diff --git a/federation-integration-testsuite-js/CHANGELOG.md b/federation-integration-testsuite-js/CHANGELOG.md index 6f2d35b9b..f6f77ea2c 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.9.0-beta.0 + ## 2.8.4 ## 2.8.3 diff --git a/federation-integration-testsuite-js/package.json b/federation-integration-testsuite-js/package.json index 8226d9ea5..2177690f2 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.4", + "version": "2.9.0-beta.0", "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 f5ad0508e..e34e201c3 100644 --- a/gateway-js/CHANGELOG.md +++ b/gateway-js/CHANGELOG.md @@ -1,5 +1,18 @@ # CHANGELOG for `@apollo/gateway` +## 2.9.0-beta.0 + +### Patch Changes + +- Avoid type explosion for inline fragments where the type condition is an interface that implements the parent type. ([#3122](https://github.com/apollographql/federation/pull/3122)) + +- Reduce memory overhead during satisfiability checking when there are many options. ([#3109](https://github.com/apollographql/federation/pull/3109)) + +- Updated dependencies [[`02c2a34a62c3717a4885449172e404f19ebf66c9`](https://github.com/apollographql/federation/commit/02c2a34a62c3717a4885449172e404f19ebf66c9), [`0ccfd937d4b4a576f890665ceebbd7986fac5d0c`](https://github.com/apollographql/federation/commit/0ccfd937d4b4a576f890665ceebbd7986fac5d0c), [`e0a5075c0d12a0e2f7ef303b246e3216a139d3e0`](https://github.com/apollographql/federation/commit/e0a5075c0d12a0e2f7ef303b246e3216a139d3e0)]: + - @apollo/federation-internals@2.9.0-beta.0 + - @apollo/composition@2.9.0-beta.0 + - @apollo/query-planner@2.9.0-beta.0 + ## 2.8.4 ### Patch Changes diff --git a/gateway-js/package.json b/gateway-js/package.json index 3d6e1fef8..4e347648e 100644 --- a/gateway-js/package.json +++ b/gateway-js/package.json @@ -1,6 +1,6 @@ { "name": "@apollo/gateway", - "version": "2.8.4", + "version": "2.9.0-beta.0", "description": "Apollo Gateway", "author": "Apollo ", "main": "dist/index.js", @@ -25,9 +25,9 @@ "access": "public" }, "dependencies": { - "@apollo/composition": "2.8.4", - "@apollo/federation-internals": "2.8.4", - "@apollo/query-planner": "2.8.4", + "@apollo/composition": "2.9.0-beta.0", + "@apollo/federation-internals": "2.9.0-beta.0", + "@apollo/query-planner": "2.9.0-beta.0", "@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 160cac070..6972303f1 100644 --- a/internals-js/CHANGELOG.md +++ b/internals-js/CHANGELOG.md @@ -1,5 +1,17 @@ # CHANGELOG for `@apollo/federation-internals` +## 2.9.0-beta.0 + +### Minor Changes + +- Implements two new directives for defining custom costs for demand control. The `@cost` directive allows setting a custom weight to a particular field in the graph, overriding the default cost calculation. The `@listSize` directive gives the cost calculator information about how to estimate the size of lists returned by subgraphs. This can either be a static size or a value derived from input arguments, such as paging parameters. ([#3074](https://github.com/apollographql/federation/pull/3074)) + +### Patch Changes + +- Reduce memory overhead during satisfiability checking when there are many options. ([#3109](https://github.com/apollographql/federation/pull/3109)) + +- Fix issue where variable was not passed into subgraph when embedded in a fragment ([#3119](https://github.com/apollographql/federation/pull/3119)) + ## 2.8.4 ### Patch Changes diff --git a/internals-js/package.json b/internals-js/package.json index cef7a14af..206ec518b 100644 --- a/internals-js/package.json +++ b/internals-js/package.json @@ -1,6 +1,6 @@ { "name": "@apollo/federation-internals", - "version": "2.8.4", + "version": "2.9.0-beta.0", "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 0210d41ee..2a67eb64a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -70,11 +70,11 @@ }, "composition-js": { "name": "@apollo/composition", - "version": "2.8.4", + "version": "2.9.0-beta.0", "license": "Elastic-2.0", "dependencies": { - "@apollo/federation-internals": "2.8.4", - "@apollo/query-graphs": "2.8.4" + "@apollo/federation-internals": "2.9.0-beta.0", + "@apollo/query-graphs": "2.9.0-beta.0" }, "engines": { "node": ">=14.15.0" @@ -85,7 +85,7 @@ }, "federation-integration-testsuite-js": { "name": "apollo-federation-integration-testsuite", - "version": "2.8.4", + "version": "2.9.0-beta.0", "license": "Elastic-2.0", "dependencies": { "graphql-tag": "^2.12.6", @@ -94,12 +94,12 @@ }, "gateway-js": { "name": "@apollo/gateway", - "version": "2.8.4", + "version": "2.9.0-beta.0", "license": "Elastic-2.0", "dependencies": { - "@apollo/composition": "2.8.4", - "@apollo/federation-internals": "2.8.4", - "@apollo/query-planner": "2.8.4", + "@apollo/composition": "2.9.0-beta.0", + "@apollo/federation-internals": "2.9.0-beta.0", + "@apollo/query-planner": "2.9.0-beta.0", "@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.4", + "version": "2.9.0-beta.0", "license": "Elastic-2.0", "dependencies": { "@types/uuid": "^9.0.0", @@ -17859,10 +17859,10 @@ }, "query-graphs-js": { "name": "@apollo/query-graphs", - "version": "2.8.4", + "version": "2.9.0-beta.0", "license": "Elastic-2.0", "dependencies": { - "@apollo/federation-internals": "2.8.4", + "@apollo/federation-internals": "2.9.0-beta.0", "deep-equal": "^2.0.5", "ts-graphviz": "^1.5.4", "uuid": "^9.0.0" @@ -17876,11 +17876,11 @@ }, "query-planner-js": { "name": "@apollo/query-planner", - "version": "2.8.4", + "version": "2.9.0-beta.0", "license": "Elastic-2.0", "dependencies": { - "@apollo/federation-internals": "2.8.4", - "@apollo/query-graphs": "2.8.4", + "@apollo/federation-internals": "2.9.0-beta.0", + "@apollo/query-graphs": "2.9.0-beta.0", "@apollo/utils.keyvaluecache": "^2.1.0", "chalk": "^4.1.0", "deep-equal": "^2.0.5", @@ -17909,11 +17909,11 @@ }, "subgraph-js": { "name": "@apollo/subgraph", - "version": "2.8.4", + "version": "2.9.0-beta.0", "license": "MIT", "dependencies": { "@apollo/cache-control-types": "^1.0.2", - "@apollo/federation-internals": "2.8.4" + "@apollo/federation-internals": "2.9.0-beta.0" }, "engines": { "node": ">=14.15.0" diff --git a/query-graphs-js/CHANGELOG.md b/query-graphs-js/CHANGELOG.md index e298f10db..2a7209373 100644 --- a/query-graphs-js/CHANGELOG.md +++ b/query-graphs-js/CHANGELOG.md @@ -1,5 +1,14 @@ # CHANGELOG for `@apollo/query-graphs` +## 2.9.0-beta.0 + +### Patch Changes + +- Avoid type explosion for inline fragments where the type condition is an interface that implements the parent type. ([#3122](https://github.com/apollographql/federation/pull/3122)) + +- Updated dependencies [[`02c2a34a62c3717a4885449172e404f19ebf66c9`](https://github.com/apollographql/federation/commit/02c2a34a62c3717a4885449172e404f19ebf66c9), [`0ccfd937d4b4a576f890665ceebbd7986fac5d0c`](https://github.com/apollographql/federation/commit/0ccfd937d4b4a576f890665ceebbd7986fac5d0c), [`e0a5075c0d12a0e2f7ef303b246e3216a139d3e0`](https://github.com/apollographql/federation/commit/e0a5075c0d12a0e2f7ef303b246e3216a139d3e0)]: + - @apollo/federation-internals@2.9.0-beta.0 + ## 2.8.4 ### Patch Changes diff --git a/query-graphs-js/package.json b/query-graphs-js/package.json index 00f5bbb45..456a0f31a 100644 --- a/query-graphs-js/package.json +++ b/query-graphs-js/package.json @@ -1,6 +1,6 @@ { "name": "@apollo/query-graphs", - "version": "2.8.4", + "version": "2.9.0-beta.0", "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.4", + "@apollo/federation-internals": "2.9.0-beta.0", "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 98ff2ca8a..41c31548a 100644 --- a/query-planner-js/CHANGELOG.md +++ b/query-planner-js/CHANGELOG.md @@ -1,5 +1,15 @@ # CHANGELOG for `@apollo/query-planner` +## 2.9.0-beta.0 + +### Patch Changes + +- Fix issue where variable was not passed into subgraph when embedded in a fragment ([#3119](https://github.com/apollographql/federation/pull/3119)) + +- Updated dependencies [[`acfe3193429c7f99b4fc564b20828aaa8659a75c`](https://github.com/apollographql/federation/commit/acfe3193429c7f99b4fc564b20828aaa8659a75c), [`02c2a34a62c3717a4885449172e404f19ebf66c9`](https://github.com/apollographql/federation/commit/02c2a34a62c3717a4885449172e404f19ebf66c9), [`0ccfd937d4b4a576f890665ceebbd7986fac5d0c`](https://github.com/apollographql/federation/commit/0ccfd937d4b4a576f890665ceebbd7986fac5d0c), [`e0a5075c0d12a0e2f7ef303b246e3216a139d3e0`](https://github.com/apollographql/federation/commit/e0a5075c0d12a0e2f7ef303b246e3216a139d3e0)]: + - @apollo/query-graphs@2.9.0-beta.0 + - @apollo/federation-internals@2.9.0-beta.0 + ## 2.8.4 ### Patch Changes diff --git a/query-planner-js/package.json b/query-planner-js/package.json index 6056bb544..3e5741591 100644 --- a/query-planner-js/package.json +++ b/query-planner-js/package.json @@ -1,6 +1,6 @@ { "name": "@apollo/query-planner", - "version": "2.8.4", + "version": "2.9.0-beta.0", "description": "Apollo Query Planner", "author": "Apollo ", "main": "dist/index.js", @@ -25,8 +25,8 @@ "access": "public" }, "dependencies": { - "@apollo/federation-internals": "2.8.4", - "@apollo/query-graphs": "2.8.4", + "@apollo/federation-internals": "2.9.0-beta.0", + "@apollo/query-graphs": "2.9.0-beta.0", "@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 a0749fc9c..c458d3446 100644 --- a/subgraph-js/CHANGELOG.md +++ b/subgraph-js/CHANGELOG.md @@ -1,5 +1,12 @@ # CHANGELOG for `@apollo/subgraph` +## 2.9.0-beta.0 + +### Patch Changes + +- Updated dependencies [[`02c2a34a62c3717a4885449172e404f19ebf66c9`](https://github.com/apollographql/federation/commit/02c2a34a62c3717a4885449172e404f19ebf66c9), [`0ccfd937d4b4a576f890665ceebbd7986fac5d0c`](https://github.com/apollographql/federation/commit/0ccfd937d4b4a576f890665ceebbd7986fac5d0c), [`e0a5075c0d12a0e2f7ef303b246e3216a139d3e0`](https://github.com/apollographql/federation/commit/e0a5075c0d12a0e2f7ef303b246e3216a139d3e0)]: + - @apollo/federation-internals@2.9.0-beta.0 + ## 2.8.4 ### Patch Changes diff --git a/subgraph-js/package.json b/subgraph-js/package.json index f9e554b4f..092a8566f 100644 --- a/subgraph-js/package.json +++ b/subgraph-js/package.json @@ -1,6 +1,6 @@ { "name": "@apollo/subgraph", - "version": "2.8.4", + "version": "2.9.0-beta.0", "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.4" + "@apollo/federation-internals": "2.9.0-beta.0" }, "peerDependencies": { "graphql": "^16.5.0"