From a312b8d9ac6b5af5306e8aba69efa59da808d881 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 24 Oct 2025 16:36:00 +0000 Subject: [PATCH] Version Packages (preview) --- .changeset/pre.json | 6 +++- composition-js/CHANGELOG.md | 16 ++++++++++ composition-js/package.json | 6 ++-- .../CHANGELOG.md | 2 ++ .../package.json | 2 +- gateway-js/CHANGELOG.md | 9 ++++++ gateway-js/package.json | 8 ++--- internals-js/CHANGELOG.md | 8 +++++ internals-js/package.json | 2 +- package-lock.json | 32 +++++++++---------- query-graphs-js/CHANGELOG.md | 9 ++++++ query-graphs-js/package.json | 4 +-- query-planner-js/CHANGELOG.md | 10 ++++++ query-planner-js/package.json | 6 ++-- subgraph-js/CHANGELOG.md | 7 ++++ subgraph-js/package.json | 4 +-- 16 files changed, 98 insertions(+), 33 deletions(-) diff --git a/.changeset/pre.json b/.changeset/pre.json index 49835eb53..652e5273c 100644 --- a/.changeset/pre.json +++ b/.changeset/pre.json @@ -15,9 +15,13 @@ "empty-shirts-behave", "forty-cups-join", "four-panthers-itch", + "lemon-toes-sort", "lucky-pillows-rhyme", + "many-rings-glow", "sixty-plums-enjoy", "smooth-terms-decide", - "three-actors-camp" + "ten-years-flash", + "three-actors-camp", + "twenty-lies-cry" ] } diff --git a/composition-js/CHANGELOG.md b/composition-js/CHANGELOG.md index a5e0288db..9f5a732ed 100644 --- a/composition-js/CHANGELOG.md +++ b/composition-js/CHANGELOG.md @@ -1,5 +1,21 @@ # CHANGELOG for `@apollo/composition` +## 2.12.0-preview.4 + +### Minor Changes + +- Fixes a bug where composition may not generate a satisfiability error for an unsatisfiable `@shareable` mutation field. ([#3305](https://github.com/apollographql/federation/pull/3305)) ([#3305](https://github.com/apollographql/federation/pull/3305)) + +### Patch Changes + +- Fixed handling `@requires` dependency on fields returned by `@interfaceObject` ([#3318](https://github.com/apollographql/federation/pull/3318)) + + Depending on the merge order of the types, we could fail composition if a type that `@requires` data from an `@interfaceObject` is merged before the interface. Updated merge logic to use explicit merge order of scalars, input objects, interfaces, and finally objects. + +- Updated dependencies [[`4bda3a498eba36e187dfd9ae673eca12d3f3502c`](https://github.com/apollographql/federation/commit/4bda3a498eba36e187dfd9ae673eca12d3f3502c), [`f3ab499eaf62b1a1c0f08b838d2cbde5accb303a`](https://github.com/apollographql/federation/commit/f3ab499eaf62b1a1c0f08b838d2cbde5accb303a)]: + - @apollo/federation-internals@2.12.0-preview.4 + - @apollo/query-graphs@2.12.0-preview.4 + ## 2.12.0-preview.3 ### Patch Changes diff --git a/composition-js/package.json b/composition-js/package.json index 089ae1a51..3269e0fee 100644 --- a/composition-js/package.json +++ b/composition-js/package.json @@ -1,6 +1,6 @@ { "name": "@apollo/composition", - "version": "2.12.0-preview.3", + "version": "2.12.0-preview.4", "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.12.0-preview.3", - "@apollo/query-graphs": "2.12.0-preview.3" + "@apollo/federation-internals": "2.12.0-preview.4", + "@apollo/query-graphs": "2.12.0-preview.4" }, "peerDependencies": { "graphql": "^16.5.0" diff --git a/federation-integration-testsuite-js/CHANGELOG.md b/federation-integration-testsuite-js/CHANGELOG.md index 7fc031b62..af69a671c 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.12.0-preview.4 + ## 2.12.0-preview.3 ## 2.12.0-preview.2 diff --git a/federation-integration-testsuite-js/package.json b/federation-integration-testsuite-js/package.json index 25ea99531..86754875e 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.12.0-preview.3", + "version": "2.12.0-preview.4", "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 94752716f..645bfda9d 100644 --- a/gateway-js/CHANGELOG.md +++ b/gateway-js/CHANGELOG.md @@ -1,5 +1,14 @@ # CHANGELOG for `@apollo/gateway` +## 2.12.0-preview.4 + +### Patch Changes + +- Updated dependencies [[`4bda3a498eba36e187dfd9ae673eca12d3f3502c`](https://github.com/apollographql/federation/commit/4bda3a498eba36e187dfd9ae673eca12d3f3502c), [`f3ab499eaf62b1a1c0f08b838d2cbde5accb303a`](https://github.com/apollographql/federation/commit/f3ab499eaf62b1a1c0f08b838d2cbde5accb303a), [`bc07e979b9fd24c9b94740b170f11023fe99ba1e`](https://github.com/apollographql/federation/commit/bc07e979b9fd24c9b94740b170f11023fe99ba1e), [`9cbdcb53f859c877a476e2725faa4cb205506f57`](https://github.com/apollographql/federation/commit/9cbdcb53f859c877a476e2725faa4cb205506f57)]: + - @apollo/federation-internals@2.12.0-preview.4 + - @apollo/query-planner@2.12.0-preview.4 + - @apollo/composition@2.12.0-preview.4 + ## 2.12.0-preview.3 ### Patch Changes diff --git a/gateway-js/package.json b/gateway-js/package.json index eea94869d..89a0ce3ea 100644 --- a/gateway-js/package.json +++ b/gateway-js/package.json @@ -1,6 +1,6 @@ { "name": "@apollo/gateway", - "version": "2.12.0-preview.3", + "version": "2.12.0-preview.4", "description": "Apollo Gateway", "author": "Apollo ", "main": "dist/index.js", @@ -25,9 +25,9 @@ "access": "public" }, "dependencies": { - "@apollo/composition": "2.12.0-preview.3", - "@apollo/federation-internals": "2.12.0-preview.3", - "@apollo/query-planner": "2.12.0-preview.3", + "@apollo/composition": "2.12.0-preview.4", + "@apollo/federation-internals": "2.12.0-preview.4", + "@apollo/query-planner": "2.12.0-preview.4", "@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 681715638..482b587f5 100644 --- a/internals-js/CHANGELOG.md +++ b/internals-js/CHANGELOG.md @@ -1,5 +1,13 @@ # CHANGELOG for `@apollo/federation-internals` +## 2.12.0-preview.4 + +### Patch Changes + +- Fixed demand control validations ([#3314](https://github.com/apollographql/federation/pull/3314)) + + Updated `@cost`/`@listSize` validations to use correct federation spec to look them up in the schema. + ## 2.12.0-preview.3 ### Patch Changes diff --git a/internals-js/package.json b/internals-js/package.json index 7d1d1b2cf..54e5adbf8 100644 --- a/internals-js/package.json +++ b/internals-js/package.json @@ -1,6 +1,6 @@ { "name": "@apollo/federation-internals", - "version": "2.12.0-preview.3", + "version": "2.12.0-preview.4", "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 c8f592cc2..2a34360d1 100644 --- a/package-lock.json +++ b/package-lock.json @@ -70,11 +70,11 @@ }, "composition-js": { "name": "@apollo/composition", - "version": "2.12.0-preview.3", + "version": "2.12.0-preview.4", "license": "Elastic-2.0", "dependencies": { - "@apollo/federation-internals": "2.12.0-preview.3", - "@apollo/query-graphs": "2.12.0-preview.3" + "@apollo/federation-internals": "2.12.0-preview.4", + "@apollo/query-graphs": "2.12.0-preview.4" }, "engines": { "node": ">=14.15.0" @@ -85,7 +85,7 @@ }, "federation-integration-testsuite-js": { "name": "apollo-federation-integration-testsuite", - "version": "2.12.0-preview.3", + "version": "2.12.0-preview.4", "license": "Elastic-2.0", "dependencies": { "graphql-tag": "^2.12.6", @@ -94,12 +94,12 @@ }, "gateway-js": { "name": "@apollo/gateway", - "version": "2.12.0-preview.3", + "version": "2.12.0-preview.4", "license": "Elastic-2.0", "dependencies": { - "@apollo/composition": "2.12.0-preview.3", - "@apollo/federation-internals": "2.12.0-preview.3", - "@apollo/query-planner": "2.12.0-preview.3", + "@apollo/composition": "2.12.0-preview.4", + "@apollo/federation-internals": "2.12.0-preview.4", + "@apollo/query-planner": "2.12.0-preview.4", "@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.12.0-preview.3", + "version": "2.12.0-preview.4", "license": "Elastic-2.0", "dependencies": { "@types/uuid": "^9.0.0", @@ -17543,10 +17543,10 @@ }, "query-graphs-js": { "name": "@apollo/query-graphs", - "version": "2.12.0-preview.3", + "version": "2.12.0-preview.4", "license": "Elastic-2.0", "dependencies": { - "@apollo/federation-internals": "2.12.0-preview.3", + "@apollo/federation-internals": "2.12.0-preview.4", "deep-equal": "^2.0.5", "ts-graphviz": "^1.5.4", "uuid": "^9.0.0" @@ -17560,11 +17560,11 @@ }, "query-planner-js": { "name": "@apollo/query-planner", - "version": "2.12.0-preview.3", + "version": "2.12.0-preview.4", "license": "Elastic-2.0", "dependencies": { - "@apollo/federation-internals": "2.12.0-preview.3", - "@apollo/query-graphs": "2.12.0-preview.3", + "@apollo/federation-internals": "2.12.0-preview.4", + "@apollo/query-graphs": "2.12.0-preview.4", "@apollo/utils.keyvaluecache": "^2.1.0", "chalk": "^4.1.0", "deep-equal": "^2.0.5", @@ -17593,11 +17593,11 @@ }, "subgraph-js": { "name": "@apollo/subgraph", - "version": "2.12.0-preview.3", + "version": "2.12.0-preview.4", "license": "MIT", "dependencies": { "@apollo/cache-control-types": "^1.0.2", - "@apollo/federation-internals": "2.12.0-preview.3" + "@apollo/federation-internals": "2.12.0-preview.4" }, "engines": { "node": ">=14.15.0" diff --git a/query-graphs-js/CHANGELOG.md b/query-graphs-js/CHANGELOG.md index a4af1841c..333b0e72f 100644 --- a/query-graphs-js/CHANGELOG.md +++ b/query-graphs-js/CHANGELOG.md @@ -1,5 +1,14 @@ # CHANGELOG for `@apollo/query-graphs` +## 2.12.0-preview.4 + +### Patch Changes + +- Fixes a bug where query planning may unexpectedly error due to attempting to generate a plan where a `@shareable` mutation field is called more than once across multiple subgraphs. ([#3304](https://github.com/apollographql/federation/pull/3304)) ([#3304](https://github.com/apollographql/federation/pull/3304)) + +- Updated dependencies [[`4bda3a498eba36e187dfd9ae673eca12d3f3502c`](https://github.com/apollographql/federation/commit/4bda3a498eba36e187dfd9ae673eca12d3f3502c)]: + - @apollo/federation-internals@2.12.0-preview.4 + ## 2.12.0-preview.3 ### Patch Changes diff --git a/query-graphs-js/package.json b/query-graphs-js/package.json index 8de13404b..8b26dc931 100644 --- a/query-graphs-js/package.json +++ b/query-graphs-js/package.json @@ -1,6 +1,6 @@ { "name": "@apollo/query-graphs", - "version": "2.12.0-preview.3", + "version": "2.12.0-preview.4", "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.12.0-preview.3", + "@apollo/federation-internals": "2.12.0-preview.4", "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 3e3f7348d..da6e16b2c 100644 --- a/query-planner-js/CHANGELOG.md +++ b/query-planner-js/CHANGELOG.md @@ -1,5 +1,15 @@ # CHANGELOG for `@apollo/query-planner` +## 2.12.0-preview.4 + +### Patch Changes + +- Fixes a bug where query planning may unexpectedly error due to attempting to generate a plan where a `@shareable` mutation field is called more than once across multiple subgraphs. ([#3304](https://github.com/apollographql/federation/pull/3304)) ([#3304](https://github.com/apollographql/federation/pull/3304)) + +- Updated dependencies [[`4bda3a498eba36e187dfd9ae673eca12d3f3502c`](https://github.com/apollographql/federation/commit/4bda3a498eba36e187dfd9ae673eca12d3f3502c), [`f3ab499eaf62b1a1c0f08b838d2cbde5accb303a`](https://github.com/apollographql/federation/commit/f3ab499eaf62b1a1c0f08b838d2cbde5accb303a)]: + - @apollo/federation-internals@2.12.0-preview.4 + - @apollo/query-graphs@2.12.0-preview.4 + ## 2.12.0-preview.3 ### Patch Changes diff --git a/query-planner-js/package.json b/query-planner-js/package.json index dd76c68a9..4680a52f8 100644 --- a/query-planner-js/package.json +++ b/query-planner-js/package.json @@ -1,6 +1,6 @@ { "name": "@apollo/query-planner", - "version": "2.12.0-preview.3", + "version": "2.12.0-preview.4", "description": "Apollo Query Planner", "author": "Apollo ", "main": "dist/index.js", @@ -25,8 +25,8 @@ "access": "public" }, "dependencies": { - "@apollo/federation-internals": "2.12.0-preview.3", - "@apollo/query-graphs": "2.12.0-preview.3", + "@apollo/federation-internals": "2.12.0-preview.4", + "@apollo/query-graphs": "2.12.0-preview.4", "@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 21f34d2d1..0dc7ad312 100644 --- a/subgraph-js/CHANGELOG.md +++ b/subgraph-js/CHANGELOG.md @@ -1,5 +1,12 @@ # CHANGELOG for `@apollo/subgraph` +## 2.12.0-preview.4 + +### Patch Changes + +- Updated dependencies [[`4bda3a498eba36e187dfd9ae673eca12d3f3502c`](https://github.com/apollographql/federation/commit/4bda3a498eba36e187dfd9ae673eca12d3f3502c)]: + - @apollo/federation-internals@2.12.0-preview.4 + ## 2.12.0-preview.3 ### Patch Changes diff --git a/subgraph-js/package.json b/subgraph-js/package.json index 4bebdad99..8e786573c 100644 --- a/subgraph-js/package.json +++ b/subgraph-js/package.json @@ -1,6 +1,6 @@ { "name": "@apollo/subgraph", - "version": "2.12.0-preview.3", + "version": "2.12.0-preview.4", "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.12.0-preview.3" + "@apollo/federation-internals": "2.12.0-preview.4" }, "peerDependencies": { "graphql": "^16.5.0"