Skip to content

CODEGEN905 - Add GraphQL 17 support#10866

Open
eddeee888 wants to merge 17 commits into
masterfrom
support-graphql-17
Open

CODEGEN905 - Add GraphQL 17 support#10866
eddeee888 wants to merge 17 commits into
masterfrom
support-graphql-17

Conversation

@eddeee888

Copy link
Copy Markdown
Collaborator

Description

This PR prepares for GraphQL 17 release: graphql/graphql-js#4786

Also related #10585

Type of change

  • New feature (non-breaking change which adds functionality)

How Has This Been Tested?

  • Unit test

@github-actions

github-actions Bot commented Jun 2, 2026

Copy link
Copy Markdown
Contributor

💻 Website Preview

The latest changes are available as preview in: https://pr-10866.graphql-code-generator.pages.dev

@changeset-bot

changeset-bot Bot commented Jun 2, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 3e39ca8

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

This PR includes changesets to release 17 packages
Name Type
@graphql-codegen/add Patch
@graphql-codegen/cli Patch
@graphql-codegen/client-preset Patch
@graphql-codegen/core Patch
@graphql-codegen/fragment-matcher Patch
@graphql-codegen/gql-tag-operations Patch
@graphql-codegen/graphql-modules-preset Patch
@graphql-codegen/introspection Patch
@graphql-codegen/plugin-helpers Patch
@graphql-codegen/schema-ast Patch
@graphql-codegen/time Patch
@graphql-codegen/typed-document-node Patch
@graphql-codegen/typescript Patch
@graphql-codegen/typescript-document-nodes Patch
@graphql-codegen/typescript-operations Patch
@graphql-codegen/typescript-resolvers Patch
@graphql-codegen/visitor-plugin-common Patch

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

@github-actions

github-actions Bot commented Jun 3, 2026

Copy link
Copy Markdown
Contributor

🚀 Snapshot Release (alpha)

The latest changes of this PR are available as alpha on npm (based on the declared changesets):

Package Version Info
@graphql-codegen/cli 7.1.4-alpha-20260625140734-1ad8f133387ecf5e348a737d91b1a2e22bcfab4f npm ↗︎ unpkg ↗︎
@graphql-codegen/core 6.1.1-alpha-20260625140734-1ad8f133387ecf5e348a737d91b1a2e22bcfab4f npm ↗︎ unpkg ↗︎
@graphql-codegen/add 7.0.2-alpha-20260625140734-1ad8f133387ecf5e348a737d91b1a2e22bcfab4f npm ↗︎ unpkg ↗︎
@graphql-codegen/fragment-matcher 7.0.2-alpha-20260625140734-1ad8f133387ecf5e348a737d91b1a2e22bcfab4f npm ↗︎ unpkg ↗︎
@graphql-codegen/introspection 6.0.2-alpha-20260625140734-1ad8f133387ecf5e348a737d91b1a2e22bcfab4f npm ↗︎ unpkg ↗︎
@graphql-codegen/schema-ast 6.0.2-alpha-20260625140734-1ad8f133387ecf5e348a737d91b1a2e22bcfab4f npm ↗︎ unpkg ↗︎
@graphql-codegen/time 7.0.2-alpha-20260625140734-1ad8f133387ecf5e348a737d91b1a2e22bcfab4f npm ↗︎ unpkg ↗︎
@graphql-codegen/visitor-plugin-common 7.1.3-alpha-20260625140734-1ad8f133387ecf5e348a737d91b1a2e22bcfab4f npm ↗︎ unpkg ↗︎
@graphql-codegen/typescript-document-nodes 6.0.2-alpha-20260625140734-1ad8f133387ecf5e348a737d91b1a2e22bcfab4f npm ↗︎ unpkg ↗︎
@graphql-codegen/gql-tag-operations 6.0.2-alpha-20260625140734-1ad8f133387ecf5e348a737d91b1a2e22bcfab4f npm ↗︎ unpkg ↗︎
@graphql-codegen/typescript-operations 6.0.6-alpha-20260625140734-1ad8f133387ecf5e348a737d91b1a2e22bcfab4f npm ↗︎ unpkg ↗︎
@graphql-codegen/typescript-resolvers 6.0.3-alpha-20260625140734-1ad8f133387ecf5e348a737d91b1a2e22bcfab4f npm ↗︎ unpkg ↗︎
@graphql-codegen/typed-document-node 7.0.4-alpha-20260625140734-1ad8f133387ecf5e348a737d91b1a2e22bcfab4f npm ↗︎ unpkg ↗︎
@graphql-codegen/typescript 6.0.3-alpha-20260625140734-1ad8f133387ecf5e348a737d91b1a2e22bcfab4f npm ↗︎ unpkg ↗︎
@graphql-codegen/client-preset 6.0.2-alpha-20260625140734-1ad8f133387ecf5e348a737d91b1a2e22bcfab4f npm ↗︎ unpkg ↗︎
@graphql-codegen/graphql-modules-preset 6.0.2-alpha-20260625140734-1ad8f133387ecf5e348a737d91b1a2e22bcfab4f npm ↗︎ unpkg ↗︎
@graphql-codegen/plugin-helpers 7.0.2-alpha-20260625140734-1ad8f133387ecf5e348a737d91b1a2e22bcfab4f npm ↗︎ unpkg ↗︎

@klarstrup klarstrup left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

LGTM!

@eddeee888 eddeee888 force-pushed the support-graphql-17 branch from c200bb1 to 52c4ed4 Compare June 25, 2026 12:59
@eddeee888 eddeee888 marked this pull request as ready for review June 25, 2026 13:07
Comment thread vitest.config.mts

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

This (and other vitest.config files) is changed to .mts since we use ESM syntax AND the CLI treats the file as ESM anyways.

Without this, it'd give errors about import.meta usage

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