From 65c7d7df73b5754d0f167884054d31301d5abafe Mon Sep 17 00:00:00 2001 From: "Sachin D. Shinde" Date: Wed, 8 Feb 2023 10:16:55 -0800 Subject: [PATCH 1/2] Update @apollo/subgraph CHANGELOG.md entry for 2.3.0-beta.2 to mention that using @tag with the new location requires using the federation 2.3 spec. --- subgraph-js/CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/subgraph-js/CHANGELOG.md b/subgraph-js/CHANGELOG.md index d56c8bbf2..56a2f536d 100644 --- a/subgraph-js/CHANGELOG.md +++ b/subgraph-js/CHANGELOG.md @@ -9,7 +9,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/subgraph-js/CHANGELOG.md) on the `version-0.x` branch of this repo. ## 2.3.0-beta.2 -- `@tag` directive support for the `SCHEMA` location [PR #2314](https://github.com/apollographql/federation/pull/2314). +- `@tag` directive support for the `SCHEMA` location. This has been added to the 2.3 version of the federation spec, and you must declare usage of this spec version in your subgraph to use this functionality. [PR #2314](https://github.com/apollographql/federation/pull/2314). ## 2.3.0 From 388f5ecb0083a9363f7b6991ac0be1de16cfab55 Mon Sep 17 00:00:00 2001 From: "Sachin D. Shinde" Date: Wed, 8 Feb 2023 10:51:15 -0800 Subject: [PATCH 2/2] Be more explicit about using `@link` to declare the federation spec version --- subgraph-js/CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/subgraph-js/CHANGELOG.md b/subgraph-js/CHANGELOG.md index 56a2f536d..0db94ef61 100644 --- a/subgraph-js/CHANGELOG.md +++ b/subgraph-js/CHANGELOG.md @@ -9,7 +9,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/subgraph-js/CHANGELOG.md) on the `version-0.x` branch of this repo. ## 2.3.0-beta.2 -- `@tag` directive support for the `SCHEMA` location. This has been added to the 2.3 version of the federation spec, and you must declare usage of this spec version in your subgraph to use this functionality. [PR #2314](https://github.com/apollographql/federation/pull/2314). +- `@tag` directive support for the `SCHEMA` location. This has been added to the 2.3 version of the federation spec, so to access this functionality you must bump your federation spec version to 2.3 by using `@link(url: "https://specs.apollo.dev/federation/v2.3", ...)` on your `schema` element. [PR #2314](https://github.com/apollographql/federation/pull/2314). ## 2.3.0