diff --git a/composition-js/package.json b/composition-js/package.json index b4025a2e7..55626ed12 100644 --- a/composition-js/package.json +++ b/composition-js/package.json @@ -1,6 +1,6 @@ { "name": "@apollo/composition", - "version": "2.0.2-alpha.0", + "version": "2.0.2-alpha.1", "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 3bba03a63..f4e3b2eec 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.2-alpha.0", + "version": "2.0.2-alpha.1", "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 74c41c6b6..730d061ce 100644 --- a/gateway-js/CHANGELOG.md +++ b/gateway-js/CHANGELOG.md @@ -2,7 +2,7 @@ This CHANGELOG pertains only to Apollo Federation packages in the 2.x range. The Federation v0.x equivalent for this package can be found [here](https://github.com/apollographql/federation/blob/version-0.x/gateway-js/CHANGELOG.md) on the `version-0.x` branch of this repo. -## vNEXT +## 2.0.2-alpha.1 - The `fetch` implementation returned by `getDefaultFetcher` no longer performs in-memory caching. This fetcher is currently only used by `@apollo/gateway` to make uncacheable `POST` requests to Uplink, so this is a no-op for Gateway's own behavior, but if you used the function returned `getDefaultFetcher` in your own code to perform `GET` requests against servers that return cache-related response headers, it will no longer cache results. You can use the underlying [`make-fetch-happen`](https://www.npmjs.com/package/make-fetch-happen) package directly to use its cache capabilities instead of using the function returned by `getDefaultFetcher`. [PR #1792](https://github.com/apollographql/federation/pull/1792) - Fix `Schema.clone` when directive application happens before definition [PR #1785](https://github.com/apollographql/federation/pull/1785) diff --git a/gateway-js/package.json b/gateway-js/package.json index c824dbdc3..a1a92d370 100644 --- a/gateway-js/package.json +++ b/gateway-js/package.json @@ -1,6 +1,6 @@ { "name": "@apollo/gateway", - "version": "2.0.2-alpha.0", + "version": "2.0.2-alpha.1", "description": "Apollo Gateway", "author": "Apollo ", "main": "dist/index.js", diff --git a/internals-js/CHANGELOG.md b/internals-js/CHANGELOG.md index 372e7665a..377933e42 100644 --- a/internals-js/CHANGELOG.md +++ b/internals-js/CHANGELOG.md @@ -1,10 +1,11 @@ # CHANGELOG for `@apollo/federation-internals` -## vNext +## 2.0.2-alpha.1 - Fix `Schema.clone` when directive application happens before definition [PR #1785](https://github.com/apollographql/federation/pull/1785) - More helpful error message for errors encountered while reading supergraphs generated pre-federation 2 [PR #1796](https://github.com/apollographql/federation/pull/1796) - Fix bug applying an imported federation directive on another directive definition [PR #1797](https://github.com/apollographql/federation/pull/1797). +- Prevent non-core-feature elements from being marked @inaccessible if referenced by core feature elements [PR #1769](https://github.com/apollographql/federation/pull/1769) ## v2.0.2-alpha.0 diff --git a/internals-js/package.json b/internals-js/package.json index ff0ff0c7b..663c49f44 100644 --- a/internals-js/package.json +++ b/internals-js/package.json @@ -1,6 +1,6 @@ { "name": "@apollo/federation-internals", - "version": "2.0.2-alpha.0", + "version": "2.0.2-alpha.1", "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 3b6d5fa09..f0b421776 100644 --- a/package-lock.json +++ b/package-lock.json @@ -66,7 +66,7 @@ }, "composition-js": { "name": "@apollo/composition", - "version": "2.0.2-alpha.0", + "version": "2.0.2-alpha.1", "license": "SEE LICENSE IN ./LICENSE", "dependencies": { "@apollo/federation-internals": "file:../internals-js", @@ -81,7 +81,7 @@ }, "federation-integration-testsuite-js": { "name": "apollo-federation-integration-testsuite", - "version": "2.0.2-alpha.0", + "version": "2.0.2-alpha.1", "license": "SEE LICENSE IN ./LICENSE", "dependencies": { "graphql-tag": "^2.12.6", @@ -90,7 +90,7 @@ }, "gateway-js": { "name": "@apollo/gateway", - "version": "2.0.2-alpha.0", + "version": "2.0.2-alpha.1", "license": "SEE LICENSE IN ./LICENSE", "dependencies": { "@apollo/composition": "file:../composition-js", @@ -123,7 +123,7 @@ }, "internals-js": { "name": "@apollo/federation-internals", - "version": "2.0.2-alpha.0", + "version": "2.0.2-alpha.1", "license": "SEE LICENSE IN ./LICENSE", "dependencies": { "@apollo/core-schema": "~0.3.0", @@ -18973,7 +18973,7 @@ }, "query-graphs-js": { "name": "@apollo/query-graphs", - "version": "2.0.2-alpha.0", + "version": "2.0.2-alpha.1", "license": "SEE LICENSE IN ./LICENSE", "dependencies": { "@apollo/federation-internals": "file:../internals-js", @@ -18989,7 +18989,7 @@ }, "query-planner-js": { "name": "@apollo/query-planner", - "version": "2.0.2-alpha.0", + "version": "2.0.2-alpha.1", "license": "SEE LICENSE IN ./LICENSE", "dependencies": { "@apollo/federation-internals": "file:../internals-js", @@ -19007,7 +19007,7 @@ }, "subgraph-js": { "name": "@apollo/subgraph", - "version": "2.0.2-alpha.0", + "version": "2.0.2-alpha.1", "license": "MIT", "dependencies": { "@apollo/federation-internals": "file:../internals-js" diff --git a/query-graphs-js/CHANGELOG.md b/query-graphs-js/CHANGELOG.md index 7ad12a9b7..5c0fabe9c 100644 --- a/query-graphs-js/CHANGELOG.md +++ b/query-graphs-js/CHANGELOG.md @@ -1,6 +1,6 @@ # CHANGELOG for `@apollo/query-graphs` -## vNEXT +## 2.0.2-alpha.1 - Fix bug where planning a query with `@require` impacts the plans of followup queries [PR #1783](https://github.com/apollographql/federation/pull/1783). diff --git a/query-graphs-js/package.json b/query-graphs-js/package.json index bcf3c3401..5cb463caa 100644 --- a/query-graphs-js/package.json +++ b/query-graphs-js/package.json @@ -1,6 +1,6 @@ { "name": "@apollo/query-graphs", - "version": "2.0.2-alpha.0", + "version": "2.0.2-alpha.1", "description": "Apollo Federation library to work with 'query graphs'", "main": "dist/index.js", "types": "dist/index.d.ts", diff --git a/query-planner-js/CHANGELOG.md b/query-planner-js/CHANGELOG.md index a0b7f1e0a..aaa5ae1d0 100644 --- a/query-planner-js/CHANGELOG.md +++ b/query-planner-js/CHANGELOG.md @@ -2,7 +2,7 @@ This CHANGELOG pertains only to Apollo Federation packages in the 2.x range. The Federation v0.x equivalent for this package can be found [here](https://github.com/apollographql/federation/blob/version-0.x/query-planner-js/CHANGELOG.md) on the `version-0.x` branch of this repo. -## vNEXT +## 2.0.2-alpha.1 - Fix handling of @require "chains" (a @require whose fields have @require themselves) [PR #1790](https://github.com/apollographql/federation/pull/1790) diff --git a/query-planner-js/package.json b/query-planner-js/package.json index cf9befadf..9c2812137 100644 --- a/query-planner-js/package.json +++ b/query-planner-js/package.json @@ -1,6 +1,6 @@ { "name": "@apollo/query-planner", - "version": "2.0.2-alpha.0", + "version": "2.0.2-alpha.1", "description": "Apollo Query Planner", "author": "Apollo ", "main": "dist/index.js", diff --git a/subgraph-js/CHANGELOG.md b/subgraph-js/CHANGELOG.md index e9d296ab4..1c8abc59d 100644 --- a/subgraph-js/CHANGELOG.md +++ b/subgraph-js/CHANGELOG.md @@ -2,6 +2,8 @@ This CHANGELOG pertains only to Apollo Federation packages in the 2.x range. The Federation v0.x equivalent for this package can be found [here](https://github.com/apollographql/federation/blob/version-0.x/subgraph-js/CHANGELOG.md) on the `version-0.x` branch of this repo. +## 2.0.2-alpha.1 + - Add __resolveType to _Entity union [PR #1773](https://github.com/apollographql/federation/pull/1773) ## v2.0.1 diff --git a/subgraph-js/package.json b/subgraph-js/package.json index 12ffd16f4..bc026f397 100644 --- a/subgraph-js/package.json +++ b/subgraph-js/package.json @@ -1,6 +1,6 @@ { "name": "@apollo/subgraph", - "version": "2.0.2-alpha.0", + "version": "2.0.2-alpha.1", "description": "Apollo Subgraph Utilities", "main": "dist/index.js", "types": "dist/index.d.ts",