Skip to content

Next major feature branch - #11075

Draft
eddeee888 wants to merge 3 commits into
masterfrom
master-next
Draft

eddeee888 wants to merge 3 commits into
masterfrom
master-next

Conversation

@eddeee888

@eddeee888 eddeee888 commented Oct 25, 2026 •

Copy link
Copy Markdown
Collaborator

@changeset-bot

changeset-bot Bot commented Oct 25, 2026 •

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 5c15968

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

This PR includes changesets to release 18 packages
Name Type
@graphql-codegen/cli Major
@graphql-codegen/plugin-helpers Major
@graphql-codegen/visitor-plugin-common Major
@graphql-codegen/gql-tag-operations Major
@graphql-codegen/typescript-operations Major
@graphql-codegen/client-preset Major
@graphql-codegen/graphql-modules-preset Major
@graphql-codegen/core Patch
@graphql-codegen/typescript-document-nodes Patch
@graphql-codegen/typescript-resolvers Patch
@graphql-codegen/typed-document-node Patch
@graphql-codegen/typescript Patch
@graphql-codegen/add Patch
@graphql-codegen/fragment-matcher Patch
@graphql-codegen/introspection Patch
@graphql-codegen/schema-ast Patch
@graphql-codegen/time Patch
@graphql-codegen/testing 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 Oct 25, 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 8.0.0-alpha-20261025133116-5c159685926116376ae123383ea1326d2eaf373e npm ↗︎ unpkg ↗︎
@graphql-codegen/core 6.2.3-alpha-20261025133116-5c159685926116376ae123383ea1326d2eaf373e npm ↗︎ unpkg ↗︎
@graphql-codegen/add 7.1.2-alpha-20261025133116-5c159685926116376ae123383ea1326d2eaf373e npm ↗︎ unpkg ↗︎
@graphql-codegen/fragment-matcher 7.1.2-alpha-20261025133116-5c159685926116376ae123383ea1326d2eaf373e npm ↗︎ unpkg ↗︎
@graphql-codegen/introspection 6.1.1-alpha-20261025133116-5c159685926116376ae123383ea1326d2eaf373e npm ↗︎ unpkg ↗︎
@graphql-codegen/schema-ast 6.1.2-alpha-20261025133116-5c159685926116376ae123383ea1326d2eaf373e npm ↗︎ unpkg ↗︎
@graphql-codegen/time 7.1.2-alpha-20261025133116-5c159685926116376ae123383ea1326d2eaf373e npm ↗︎ unpkg ↗︎
@graphql-codegen/visitor-plugin-common 8.0.0-alpha-20261025133116-5c159685926116376ae123383ea1326d2eaf373e npm ↗︎ unpkg ↗︎
@graphql-codegen/typescript-document-nodes 6.1.2-alpha-20261025133116-5c159685926116376ae123383ea1326d2eaf373e npm ↗︎ unpkg ↗︎
@graphql-codegen/gql-tag-operations 7.0.0-alpha-20261025133116-5c159685926116376ae123383ea1326d2eaf373e npm ↗︎ unpkg ↗︎
@graphql-codegen/typescript-operations 7.0.0-alpha-20261025133116-5c159685926116376ae123383ea1326d2eaf373e npm ↗︎ unpkg ↗︎
@graphql-codegen/typescript-resolvers 6.1.2-alpha-20261025133116-5c159685926116376ae123383ea1326d2eaf373e npm ↗︎ unpkg ↗︎
@graphql-codegen/typed-document-node 7.2.1-alpha-20261025133116-5c159685926116376ae123383ea1326d2eaf373e npm ↗︎ unpkg ↗︎
@graphql-codegen/typescript 6.1.3-alpha-20261025133116-5c159685926116376ae123383ea1326d2eaf373e npm ↗︎ unpkg ↗︎
@graphql-codegen/client-preset 7.0.0-alpha-20261025133116-5c159685926116376ae123383ea1326d2eaf373e npm ↗︎ unpkg ↗︎
@graphql-codegen/graphql-modules-preset 7.0.0-alpha-20261025133116-5c159685926116376ae123383ea1326d2eaf373e npm ↗︎ unpkg ↗︎
@graphql-codegen/testing 5.0.7-alpha-20261025133116-5c159685926116376ae123383ea1326d2eaf373e npm ↗︎ unpkg ↗︎
@graphql-codegen/plugin-helpers 8.0.0-alpha-20261025133116-5c159685926116376ae123383ea1326d2eaf373e npm ↗︎ unpkg ↗︎

@eddeee888 eddeee888 mentioned this pull request Oct 25, 2026
3 of 8 tasks
@github-actions

Copy link
Copy Markdown
Contributor

📖 Docs preview (rebuilds on every push, ready ~10 min after each): https://codegen-pr-11075.guild-dev-website.pages.dev/graphql/codegen

eddeee888 and others added 3 commits October 26, 2026 00:30
…[] | void (#11071) (#11074)

* refactor: type generate() return as FileOutput[] | void

The return was typed `FileOutput[] | any`, which collapsed to `any` and lost type-hints. Watch mode resolves with no value, so the union is `FileOutput[] | void`.

Skill: cops:pr-start
Approved-by: eddeee888

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>

* refactor: note type-safety-only fallbacks in generate specs

The `|| []` and `?.` in the generate specs only satisfy the `void` return type, so each site now says so.

Skill: cops:pr-start
Approved-by: eddeee888

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
…11078)

* chore: remove deprecated emitLegacyCommonJSImports option

`importExtension` replaces it, so the option, its CLI flag and every pass-through are dropped for the next major (#11071).

Skill: cops:pr-start
Approved-by: eddeee888
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WmgeFRnsoawCS9eR6uBjn8

* refactor: inline normalizeImportExtension

With emitLegacyCommonJSImports gone the helper only returns importExtension ?? '', so call sites use that directly and the export is removed.

Skill: cops:pr-start
Approved-by: eddeee888
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WmgeFRnsoawCS9eR6uBjn8

* refactor: default importExtension in plugin param destructure

Removes the redundant `?? ''` const by defaulting at the destructure.

Skill: cops:pr-address
Approved-by: eddeee888
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WmgeFRnsoawCS9eR6uBjn8

* refactor: reuse normalised importExtension in client-side visitor

BaseVisitor already defaults importExtension to '', so the extra `?? ''` is redundant.

Skill: cops:pr-address
Approved-by: eddeee888
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WmgeFRnsoawCS9eR6uBjn8

---------

Co-authored-by: Claude <noreply@anthropic.com>

This branch has not been deployed

No deployments
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.

1 participant