Skip to content

Commit 6a1223d

Browse files
release: on branch next (preview) (#3319)
This PR was opened by the [Changesets release](https://github.com/changesets/action) GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to next, this PR will be updated. ⚠️⚠️⚠️⚠️⚠️⚠️ `next` is currently in **pre mode** so this branch has prereleases rather than normal releases. If you want to exit prereleases, run `changeset pre exit` on `next`. ⚠️⚠️⚠️⚠️⚠️⚠️ # Releases ## @apollo/[email protected] ### Minor Changes - Fixes a bug where composition may not generate a satisfiability error for an unsatisfiable `@shareable` mutation field. ([#3305](#3305)) ([#3305](#3305)) ### Patch Changes - Fixed handling `@requires` dependency on fields returned by `@interfaceObject` ([#3318](#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`](4bda3a4), [`f3ab499eaf62b1a1c0f08b838d2cbde5accb303a`](f3ab499)]: - @apollo/[email protected] - @apollo/[email protected] ## @apollo/[email protected] ### Patch Changes - Updated dependencies \[[`4bda3a498eba36e187dfd9ae673eca12d3f3502c`](4bda3a4), [`f3ab499eaf62b1a1c0f08b838d2cbde5accb303a`](f3ab499), [`bc07e979b9fd24c9b94740b170f11023fe99ba1e`](bc07e97), [`9cbdcb53f859c877a476e2725faa4cb205506f57`](9cbdcb5)]: - @apollo/[email protected] - @apollo/[email protected] - @apollo/[email protected] ## @apollo/[email protected] ### Patch Changes - Fixed demand control validations ([#3314](#3314)) Updated `@cost`/`@listSize` validations to use correct federation spec to look them up in the schema. ## @apollo/[email protected] ### 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](#3304)) ([#3304](#3304)) - Updated dependencies \[[`4bda3a498eba36e187dfd9ae673eca12d3f3502c`](4bda3a4)]: - @apollo/[email protected] ## @apollo/[email protected] ### 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](#3304)) ([#3304](#3304)) - Updated dependencies \[[`4bda3a498eba36e187dfd9ae673eca12d3f3502c`](4bda3a4), [`f3ab499eaf62b1a1c0f08b838d2cbde5accb303a`](f3ab499)]: - @apollo/[email protected] - @apollo/[email protected] ## @apollo/[email protected] ### Patch Changes - Updated dependencies \[[`4bda3a498eba36e187dfd9ae673eca12d3f3502c`](4bda3a4)]: - @apollo/[email protected] ## [email protected] Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent bc07e97 commit 6a1223d

File tree

16 files changed

+98
-33
lines changed

16 files changed

+98
-33
lines changed

.changeset/pre.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,13 @@
1515
"empty-shirts-behave",
1616
"forty-cups-join",
1717
"four-panthers-itch",
18+
"lemon-toes-sort",
1819
"lucky-pillows-rhyme",
20+
"many-rings-glow",
1921
"sixty-plums-enjoy",
2022
"smooth-terms-decide",
21-
"three-actors-camp"
23+
"ten-years-flash",
24+
"three-actors-camp",
25+
"twenty-lies-cry"
2226
]
2327
}

composition-js/CHANGELOG.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,21 @@
11
# CHANGELOG for `@apollo/composition`
22

3+
## 2.12.0-preview.4
4+
5+
### Minor Changes
6+
7+
- 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))
8+
9+
### Patch Changes
10+
11+
- Fixed handling `@requires` dependency on fields returned by `@interfaceObject` ([#3318](https://github.com/apollographql/federation/pull/3318))
12+
13+
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.
14+
15+
- Updated dependencies [[`4bda3a498eba36e187dfd9ae673eca12d3f3502c`](https://github.com/apollographql/federation/commit/4bda3a498eba36e187dfd9ae673eca12d3f3502c), [`f3ab499eaf62b1a1c0f08b838d2cbde5accb303a`](https://github.com/apollographql/federation/commit/f3ab499eaf62b1a1c0f08b838d2cbde5accb303a)]:
16+
- @apollo/federation-internals@2.12.0-preview.4
17+
- @apollo/query-graphs@2.12.0-preview.4
18+
319
## 2.12.0-preview.3
420

521
### Patch Changes

composition-js/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@apollo/composition",
3-
"version": "2.12.0-preview.3",
3+
"version": "2.12.0-preview.4",
44
"description": "Apollo Federation composition utilities",
55
"main": "dist/index.js",
66
"types": "dist/index.d.ts",
@@ -27,8 +27,8 @@
2727
"access": "public"
2828
},
2929
"dependencies": {
30-
"@apollo/federation-internals": "2.12.0-preview.3",
31-
"@apollo/query-graphs": "2.12.0-preview.3"
30+
"@apollo/federation-internals": "2.12.0-preview.4",
31+
"@apollo/query-graphs": "2.12.0-preview.4"
3232
},
3333
"peerDependencies": {
3434
"graphql": "^16.5.0"

federation-integration-testsuite-js/CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# CHANGELOG for `federation-integration-testsuite-js`
22

3+
## 2.12.0-preview.4
4+
35
## 2.12.0-preview.3
46

57
## 2.12.0-preview.2

federation-integration-testsuite-js/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "apollo-federation-integration-testsuite",
33
"private": true,
4-
"version": "2.12.0-preview.3",
4+
"version": "2.12.0-preview.4",
55
"description": "Apollo Federation Integrations / Test Fixtures",
66
"main": "dist/index.js",
77
"types": "dist/index.d.ts",

gateway-js/CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
# CHANGELOG for `@apollo/gateway`
22

3+
## 2.12.0-preview.4
4+
5+
### Patch Changes
6+
7+
- 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)]:
8+
- @apollo/federation-internals@2.12.0-preview.4
9+
- @apollo/query-planner@2.12.0-preview.4
10+
- @apollo/composition@2.12.0-preview.4
11+
312
## 2.12.0-preview.3
413

514
### Patch Changes

gateway-js/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@apollo/gateway",
3-
"version": "2.12.0-preview.3",
3+
"version": "2.12.0-preview.4",
44
"description": "Apollo Gateway",
55
"author": "Apollo <[email protected]>",
66
"main": "dist/index.js",
@@ -25,9 +25,9 @@
2525
"access": "public"
2626
},
2727
"dependencies": {
28-
"@apollo/composition": "2.12.0-preview.3",
29-
"@apollo/federation-internals": "2.12.0-preview.3",
30-
"@apollo/query-planner": "2.12.0-preview.3",
28+
"@apollo/composition": "2.12.0-preview.4",
29+
"@apollo/federation-internals": "2.12.0-preview.4",
30+
"@apollo/query-planner": "2.12.0-preview.4",
3131
"@apollo/server-gateway-interface": "^1.1.0",
3232
"@apollo/usage-reporting-protobuf": "^4.1.0",
3333
"@apollo/utils.createhash": "^2.0.0",

internals-js/CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# CHANGELOG for `@apollo/federation-internals`
22

3+
## 2.12.0-preview.4
4+
5+
### Patch Changes
6+
7+
- Fixed demand control validations ([#3314](https://github.com/apollographql/federation/pull/3314))
8+
9+
Updated `@cost`/`@listSize` validations to use correct federation spec to look them up in the schema.
10+
311
## 2.12.0-preview.3
412

513
### Patch Changes

internals-js/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@apollo/federation-internals",
3-
"version": "2.12.0-preview.3",
3+
"version": "2.12.0-preview.4",
44
"description": "Apollo Federation internal utilities",
55
"main": "dist/index.js",
66
"types": "dist/index.d.ts",

package-lock.json

Lines changed: 16 additions & 16 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)