Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion .changeset/pre.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
]
}
16 changes: 16 additions & 0 deletions composition-js/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
6 changes: 3 additions & 3 deletions composition-js/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand All @@ -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"
Expand Down
2 changes: 2 additions & 0 deletions federation-integration-testsuite-js/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion federation-integration-testsuite-js/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
9 changes: 9 additions & 0 deletions gateway-js/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
8 changes: 4 additions & 4 deletions gateway-js/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@apollo/gateway",
"version": "2.12.0-preview.3",
"version": "2.12.0-preview.4",
"description": "Apollo Gateway",
"author": "Apollo <packages@apollographql.com>",
"main": "dist/index.js",
Expand All @@ -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",
Expand Down
8 changes: 8 additions & 0 deletions internals-js/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion internals-js/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
32 changes: 16 additions & 16 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions query-graphs-js/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
4 changes: 2 additions & 2 deletions query-graphs-js/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand All @@ -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"
Expand Down
10 changes: 10 additions & 0 deletions query-planner-js/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
6 changes: 3 additions & 3 deletions query-planner-js/package.json
Original file line number Diff line number Diff line change
@@ -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 <packages@apollographql.com>",
"main": "dist/index.js",
Expand All @@ -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",
Expand Down
7 changes: 7 additions & 0 deletions subgraph-js/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
4 changes: 2 additions & 2 deletions subgraph-js/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand All @@ -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"
Expand Down