Skip to content

Add headers transport option for enhanced client awareness#13043

Merged
jerelmiller merged 7 commits intorelease-4.1from
jerel/client-awareness-transport
Dec 5, 2025
Merged

Add headers transport option for enhanced client awareness#13043
jerelmiller merged 7 commits intorelease-4.1from
jerel/client-awareness-transport

Conversation

@jerelmiller
Copy link
Member

@jerelmiller jerelmiller commented Dec 5, 2025

Closes #12998

Adds the headers transport option for enhanced client awareness

@jerelmiller jerelmiller requested a review from phryneas December 5, 2025 18:38
@changeset-bot
Copy link

changeset-bot bot commented Dec 5, 2025

🦋 Changeset detected

Latest commit: 55b0bc5

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

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

@pkg-pr-new
Copy link

pkg-pr-new bot commented Dec 5, 2025

npm i https://pkg.pr.new/apollographql/apollo-client/@apollo/client@13043

commit: 55b0bc5

const headers = terminatingLink.operation?.getContext().headers;
const extensions = terminatingLink.operation?.extensions;
expect(headers).toStrictEqual({
"apollographql-library-name": "@apollo/client",
Copy link
Member

Choose a reason for hiding this comment

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

These header key names look correct. 👍🏻

@jerelmiller jerelmiller changed the title Add additional transport options for client awareness and enhanced client awareness Add headers transport options for enhanced client awareness Dec 5, 2025
@jerelmiller jerelmiller changed the title Add headers transport options for enhanced client awareness Add headers transport option for enhanced client awareness Dec 5, 2025
@jerelmiller jerelmiller merged commit 65e66ca into release-4.1 Dec 5, 2025
44 of 45 checks passed
@jerelmiller jerelmiller deleted the jerel/client-awareness-transport branch December 5, 2025 20:45
@calvincestari
Copy link
Member

@jerelmiller - just a reminder that this is not deployed in the Router yet. It'll only go out in the next version.

@jerelmiller
Copy link
Member Author

@calvincestari no problem! This is only published in an alpha and won't fully go live until we release 4.1.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 5, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants