From 3c346274e2af864e324b5d4ba16ca39d2fddf553 Mon Sep 17 00:00:00 2001 From: Trevor Scheer Date: Wed, 7 Aug 2024 17:03:20 -0700 Subject: [PATCH] changeset --- .changeset/short-tips-poke.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .changeset/short-tips-poke.md diff --git a/.changeset/short-tips-poke.md b/.changeset/short-tips-poke.md new file mode 100644 index 000000000..ca42798a8 --- /dev/null +++ b/.changeset/short-tips-poke.md @@ -0,0 +1,17 @@ +--- +"apollo-federation-integration-testsuite": patch +"@apollo/query-planner": patch +"@apollo/query-graphs": patch +"@apollo/composition": patch +"@apollo/federation-internals": patch +"@apollo/subgraph": patch +"@apollo/gateway": patch +--- + +Bugfix: Use minimum `join` spec version in supergraphs for subgraphs using `federation` spec versions 2.0 -> 2.2. + +> Note: if you have at least one subgraph running `federation/v2.3` or above, this correctness fix does not affect you. + +Previously, `federation/v(2.0-2.2)` subgraphs would yield a supergraph with `join/v0.3`. This is incorrect and unnecessary, as only `join/v0.2` is needed (and it's what should be used). + +If you use Federation with subgraphs all using `federation/v2.0` -> `federation/v2.2` spec versions inclusive and you take this upgrade, you might notice your supergraph `join` spec version (correctly) drop from `v0.3` to `v0.2`.