Skip to content

Commit 278eb0f

Browse files
authored
fix(composition): align @connect/v0.2 spec with federation 2.11 (#3440)
As per the [docs](https://www.apollographql.com/docs/graphos/schema-design/federated-schemas/reference/versions#v211) `@connect/v0.2` version should require Apollo Federation v2.11. There are no `@join` spec differences between Federation v2.10 and v2.11 so this change will not result in any supergraph changes. This change may result in additional/updated hint messages when `@connect/v0.1` spec is auto-upgraded to `v0.2` (which may result in auto-upgrading connector virtual subgraph to `v2.11`).
1 parent d9c721c commit 278eb0f

2 files changed

Lines changed: 11 additions & 1 deletion

File tree

.changeset/great-bears-study.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
"@apollo/federation-internals": patch
3+
---
4+
5+
Align `@connect` spec with Rust implementation. As per the [docs](https://www.apollographql.com/docs/graphos/schema-design/federated-schemas/reference/versions#v211)
6+
`@connect/v0.2` version should require Apollo Federation v2.11.
7+
8+
There are no `@join` spec differences between Federation v2.10 and v2.11 so this change will not result in any supergraph
9+
changes. This change may result in additional/updated hint messages when `@connect/v0.1` spec is auto-upgraded to `v0.2`
10+
(which may result in auto-upgrading connector virtual subgraph to `v2.11`).

internals-js/src/specs/connectSpec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -375,7 +375,7 @@ export const CONNECT_VERSIONS = new FeatureDefinitions<ConnectSpecDefinition>(
375375
.add(
376376
new ConnectSpecDefinition(
377377
new FeatureVersion(0, 2),
378-
new FeatureVersion(2, 10),
378+
new FeatureVersion(2, 11),
379379
),
380380
)
381381
.add(

0 commit comments

Comments
 (0)