Repository navigation
feat: allow graphql v17 as a peer dependency - #25
Merged
Merged
Conversation
glasser
force-pushed
the
graphql-17-peer
branch
from
November 11, 2026 22:50
2bdbd36 to
d31f16a
Compare
Widen the peer range to ^16.11.0 || ^17.0.0 and run CI against both majors. The root devDependency stays on v16 so the compatibility suite, which runs this package inside Apollo Server v5 (a graphql v16 consumer), keeps a single copy of graphql; the v17 CI jobs swap it in after npm ci. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
glasser
force-pushed
the
graphql-17-peer
branch
from
November 11, 2026 23:02
d31f16a to
a995e28
Compare
glasser
marked this pull request as ready for review
November 11, 2026 23:05
dariuszkuc
approved these changes
Nov 11, 2026
Merged
dariuszkuc
pushed a commit
that referenced
this pull request
Nov 11, 2026
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 main, this PR will be updated. # Releases ## @apollo/subgraph@2.16.0 ### Minor Changes - [#25](#25) [`2085b86`](2085b86) Thanks [@glasser](https://github.com/glasser)! - Allow `graphql` v17 as a peer dependency (`^16.11.0 || ^17.0.0`). CI now runs the test suite against both v16 and v17. Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
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.
Summary
This package works properly with both
graphqlv16 or v17 without code changes. This PR expands the peer dependency to allow either, and runs CI against both.Note: the compatibility suite uses Apollo Server, and as of this moment Apollo Server only supports
graphqlv16, so we keep the compatibility suite only running on v16. (This PR is part of the process of working towards Apollo Server v6, which will support and requiregraphqlv17.)🤖 Generated with Claude Code