Skip to content

Initial support for federation version 2.13 and connect/v0.4 - #3349

Merged
benjamn merged 3 commits into
nextfrom
benjamn/initial-connect/v0.4-support
Nov 14, 2025
Merged

Initial support for federation version 2.13 and connect/v0.4#3349
benjamn merged 3 commits into
nextfrom
benjamn/initial-connect/v0.4-support

Conversation

@benjamn

@benjamn benjamn commented Nov 13, 2025

Copy link
Copy Markdown
Member

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 tested connect/v0.3 before it was released.

I suspect this functionality will end up targeting federation version 2.13.0 (the next minor version), hence the minor version bump in the changeset. To support that, I also introduced new FederationSpecDefinition(new FeatureVersion(2, 13)), so we can begin releasing previews of v2.13.

@benjamn benjamn self-assigned this Nov 13, 2025
@benjamn
benjamn requested a review from a team as a code owner November 13, 2025 16:54
@changeset-bot

changeset-bot Bot commented Nov 13, 2025

Copy link
Copy Markdown

馃 Changeset detected

Latest commit: ada3929

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 7 packages
Name Type
@apollo/composition Minor
@apollo/federation-internals Minor
@apollo/query-graphs Minor
@apollo/gateway Minor
@apollo/query-planner Minor
@apollo/subgraph Minor
apollo-federation-integration-testsuite Minor

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

@codesandbox-ci

codesandbox-ci Bot commented Nov 13, 2025

Copy link
Copy Markdown

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.

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)

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These changes should all be reindentation, except for this connect/v0.3 => connect/v0.4 change.

@benjamn
benjamn force-pushed the benjamn/initial-connect/v0.4-support branch from 5f2796b to 06e8e93 Compare November 13, 2025 17:20
@benjamn
benjamn force-pushed the benjamn/initial-connect/v0.4-support branch from 06e8e93 to ada3929 Compare November 14, 2025 13:46
@benjamn benjamn changed the title Initial support for connect/v0.4 Initial support for federation version 2.13 and connect/v0.4 Nov 14, 2025
@benjamn
benjamn merged commit 4c64006 into next Nov 14, 2025
13 of 14 checks passed
@benjamn
benjamn deleted the benjamn/initial-connect/v0.4-support branch November 14, 2025 21:32
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>
@benjamn benjamn mentioned this pull request Jul 17, 2026
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants