From 16b4842e050e04468e081a48089c384e6b30cab7 Mon Sep 17 00:00:00 2001 From: Sylvain Lebresne Date: Tue, 8 Mar 2022 14:48:59 +0100 Subject: [PATCH 1/2] Adds missing changelog entries --- gateway-js/CHANGELOG.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/gateway-js/CHANGELOG.md b/gateway-js/CHANGELOG.md index fa709e192..4b5d22233 100644 --- a/gateway-js/CHANGELOG.md +++ b/gateway-js/CHANGELOG.md @@ -6,7 +6,14 @@ This CHANGELOG pertains only to Apollo Federation packages in the 2.x range. The > The changes noted within this `vNEXT` section have not been released yet. New PRs and commits which introduce changes should include an entry in this `vNEXT` section as part of their development. When a release is being prepared, a new header will be (manually) created below and the appropriate changes within that release will be moved into the new section. -- Adds an optional `resolvable` argument to the `@key` directive. [PR #1561](https://github.com/apollographql/federation/pull/1561). +## v2.0.0-preview.0 + +- Fix merging of arguments by composition [PR #1567](https://github.com/apollographql/federation/pull/1567). +- Adds an optional `resolvable` argument to the `@key` directive [PR #1561](https://github.com/apollographql/federation/pull/1561). +- Generates operation names in query plans when the original query is named [PR #1550](https://github.com/apollographql/federation/pull/1550); +- Allow `@key` to be used on fields with a list type [PR #1510](https://github.com/apollographql/federation/pull/1510) +- Identifies federation 2 schema using new `@link` directive to link to the federation 2 spec. Schema not linking to federation 2 are interpreted as federation 0.x schema and automatically converted before composition [PR #1510](https://github.com/apollographql/federation/pull/1510). +- Adds `@shareable` directive to control when fields are allowed to be resolved by multiple subgraphs [PR #1510](https://github.com/apollographql/federation/pull/1510). ## v2.0.0-alpha.6 From e76fd3e16bf140ba9b30fe26d48657bccca180dc Mon Sep 17 00:00:00 2001 From: Sylvain Lebresne Date: Tue, 8 Mar 2022 15:06:00 +0100 Subject: [PATCH 2/2] Release - @apollo/composition@2.0.0-preview.0 - apollo-federation-integration-testsuite@2.0.0-preview.0 - @apollo/gateway@2.0.0-preview.0 - @apollo/federation-internals@2.0.0-preview.0 - @apollo/query-graphs@2.0.0-preview.0 - @apollo/query-planner@2.0.0-preview.0 - @apollo/subgraph@2.0.0-preview.0 --- composition-js/package.json | 2 +- federation-integration-testsuite-js/package.json | 2 +- gateway-js/package.json | 2 +- internals-js/package.json | 2 +- query-graphs-js/package.json | 2 +- query-planner-js/package.json | 2 +- subgraph-js/package.json | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/composition-js/package.json b/composition-js/package.json index f8da70ef5..094c46d75 100644 --- a/composition-js/package.json +++ b/composition-js/package.json @@ -1,6 +1,6 @@ { "name": "@apollo/composition", - "version": "2.0.0-alpha.6", + "version": "2.0.0-preview.0", "description": "Apollo Federation composition utilities", "main": "dist/index.js", "types": "dist/index.d.ts", diff --git a/federation-integration-testsuite-js/package.json b/federation-integration-testsuite-js/package.json index b85ede030..d64624b6b 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.0.0-alpha.6", + "version": "2.0.0-preview.0", "description": "Apollo Federation Integrations / Test Fixtures", "main": "dist/index.js", "types": "dist/index.d.ts", diff --git a/gateway-js/package.json b/gateway-js/package.json index b1e9c60fd..a33770f7b 100644 --- a/gateway-js/package.json +++ b/gateway-js/package.json @@ -1,6 +1,6 @@ { "name": "@apollo/gateway", - "version": "2.0.0-alpha.6", + "version": "2.0.0-preview.0", "description": "Apollo Gateway", "author": "Apollo ", "main": "dist/index.js", diff --git a/internals-js/package.json b/internals-js/package.json index f2fd2e633..9027e9221 100644 --- a/internals-js/package.json +++ b/internals-js/package.json @@ -1,6 +1,6 @@ { "name": "@apollo/federation-internals", - "version": "2.0.0-alpha.6", + "version": "2.0.0-preview.0", "description": "Apollo Federation internal utilities", "main": "dist/index.js", "types": "dist/index.d.ts", diff --git a/query-graphs-js/package.json b/query-graphs-js/package.json index 1cc4c5c92..e596c4311 100644 --- a/query-graphs-js/package.json +++ b/query-graphs-js/package.json @@ -1,6 +1,6 @@ { "name": "@apollo/query-graphs", - "version": "2.0.0-alpha.6", + "version": "2.0.0-preview.0", "description": "Apollo Federation library to work with 'query graphs'", "main": "dist/index.js", "types": "dist/index.d.ts", diff --git a/query-planner-js/package.json b/query-planner-js/package.json index 6f2ec01e6..614f7cac4 100644 --- a/query-planner-js/package.json +++ b/query-planner-js/package.json @@ -1,6 +1,6 @@ { "name": "@apollo/query-planner", - "version": "2.0.0-alpha.6", + "version": "2.0.0-preview.0", "description": "Apollo Query Planner", "author": "Apollo ", "main": "dist/index.js", diff --git a/subgraph-js/package.json b/subgraph-js/package.json index 23a3472dc..e599f3c9a 100644 --- a/subgraph-js/package.json +++ b/subgraph-js/package.json @@ -1,6 +1,6 @@ { "name": "@apollo/subgraph", - "version": "2.0.0-alpha.6", + "version": "2.0.0-preview.0", "description": "Apollo Subgraph Utilities", "main": "dist/index.js", "types": "dist/index.d.ts",