Initial support for federation version 2.13 and connect/v0.4 - #3349
Merged
Conversation
馃 Changeset detectedLatest commit: ada3929 The changes in this PR will be included in the next version bump. This PR includes changesets to release 7 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
|
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. |
benjamn
commented
Nov 13, 2025
Comment on lines
-29
to
+32
| const expectedSupergraphSdl = ` | ||
| "schema | ||
| @link(url: \\"https://specs.apollo.dev/link/v1.0\\") | ||
| @link(url: \\"https://specs.apollo.dev/join/v0.5\\", for: EXECUTION) | ||
| @link(url: \\"https://specs.apollo.dev/connect/v0.3\\", for: EXECUTION) | ||
| @join__directive(graphs: [WITH_CONNECTORS], name: \\"link\\", args: {url: \\"https://specs.apollo.dev/connect/v0.1\\", import: [\\"@connect\\", \\"@source\\"]}) | ||
| @join__directive(graphs: [WITH_CONNECTORS], name: \\"source\\", args: {name: \\"v1\\", http: {baseURL: \\"http://v1\\"}}) | ||
| { | ||
| query: Query | ||
| } | ||
| const expectedSupergraphSdl = `schema | ||
| @link(url: "https://specs.apollo.dev/link/v1.0") | ||
| @link(url: "https://specs.apollo.dev/join/v0.5", for: EXECUTION) | ||
| @link(url: "https://specs.apollo.dev/connect/v0.4", for: EXECUTION) |
Member
Author
There was a problem hiding this comment.
These changes should all be reindentation, except for this connect/v0.3 => connect/v0.4 change.
benjamn
force-pushed
the
benjamn/initial-connect/v0.4-support
branch
from
November 13, 2025 17:20
5f2796b to
06e8e93
Compare
benjamn
force-pushed
the
benjamn/initial-connect/v0.4-support
branch
from
November 14, 2025 13:46
06e8e93 to
ada3929
Compare
dylan-apollo
approved these changes
Nov 14, 2025
benjamn
added a commit
that referenced
this pull request
Nov 14, 2025
This PR was opened by the [Changesets release](https://github.com/changesets/action) GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to next, this PR will be updated.鈿狅笍 鈿狅笍 鈿狅笍 鈿狅笍 鈿狅笍 鈿狅笍 `next` is currently in **pre mode** so this branch has prereleases rather than normal releases. If you want to exit prereleases, run `changeset pre exit` on `next`.鈿狅笍 鈿狅笍 鈿狅笍 鈿狅笍 鈿狅笍 鈿狅笍 # Releases ## @apollo/composition@2.13.0-preview.0 ### Minor Changes - Adding initial support for federation v2.13 and connect/v0.4 to unblock further development. ([#3349](#3349)) ### Patch Changes - Updated dependencies \[[`4c64006b1604471940e20aa1aa46a0f75a6396df`](4c64006)]: - @apollo/federation-internals@2.13.0-preview.0 - @apollo/query-graphs@2.13.0-preview.0 ## @apollo/federation-internals@2.13.0-preview.0 ### Minor Changes - Adding initial support for federation v2.13 and connect/v0.4 to unblock further development. ([#3349](#3349)) ## @apollo/query-graphs@2.13.0-preview.0 ### Minor Changes - Adding initial support for federation v2.13 and connect/v0.4 to unblock further development. ([#3349](#3349)) ### Patch Changes - Updated dependencies \[[`4c64006b1604471940e20aa1aa46a0f75a6396df`](4c64006)]: - @apollo/federation-internals@2.13.0-preview.0 ## @apollo/gateway@2.13.0-preview.0 ### Patch Changes - Updated dependencies \[[`4c64006b1604471940e20aa1aa46a0f75a6396df`](4c64006)]: - @apollo/composition@2.13.0-preview.0 - @apollo/federation-internals@2.13.0-preview.0 - @apollo/query-planner@2.13.0-preview.0 ## @apollo/query-planner@2.13.0-preview.0 ### Patch Changes - Updated dependencies \[[`4c64006b1604471940e20aa1aa46a0f75a6396df`](4c64006)]: - @apollo/federation-internals@2.13.0-preview.0 - @apollo/query-graphs@2.13.0-preview.0 ## @apollo/subgraph@2.13.0-preview.0 ### Patch Changes - Updated dependencies \[[`4c64006b1604471940e20aa1aa46a0f75a6396df`](4c64006)]: - @apollo/federation-internals@2.13.0-preview.0 ## apollo-federation-integration-testsuite@2.13.0-preview.0 --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Ben Newman <ben@apollographql.com>
3 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR is important for releasing previews builds where
@link(url: "https://specs.apollo.dev/connect/v0.4")can be enabled, similar to how we testedconnect/v0.3before it was released.I suspect this functionality will end up targeting federation version 2.13.0 (the next minor version), hence the
minorversion bump in the changeset. To support that, I also introducednew FederationSpecDefinition(new FeatureVersion(2, 13)), so we can begin releasing previews of v2.13.