Repository navigation
Next major feature branch - #11075
Merged
Merged
Conversation
🦋 Changeset detectedLatest commit: f340f29 The changes in this PR will be included in the next version bump. This PR includes changesets to release 15 packages
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 |
eddeee888
force-pushed
the
master-next
branch
from
October 25, 2026 03:15
c08e147 to
a5c3b84
Compare
Contributor
🚀 Snapshot Release (
|
| Package | Version | Info |
|---|---|---|
@graphql-codegen/cli |
8.0.0-alpha-20261107062740-f340f298f9678d50ddf00165e067ef1608d9cd4b |
npm ↗︎ unpkg ↗︎ |
@graphql-codegen/core |
7.0.0-alpha-20261107062740-f340f298f9678d50ddf00165e067ef1608d9cd4b |
npm ↗︎ unpkg ↗︎ |
@graphql-codegen/add |
8.0.0-alpha-20261107062740-f340f298f9678d50ddf00165e067ef1608d9cd4b |
npm ↗︎ unpkg ↗︎ |
@graphql-codegen/fragment-matcher |
8.0.0-alpha-20261107062740-f340f298f9678d50ddf00165e067ef1608d9cd4b |
npm ↗︎ unpkg ↗︎ |
@graphql-codegen/introspection |
7.0.0-alpha-20261107062740-f340f298f9678d50ddf00165e067ef1608d9cd4b |
npm ↗︎ unpkg ↗︎ |
@graphql-codegen/schema-ast |
7.0.0-alpha-20261107062740-f340f298f9678d50ddf00165e067ef1608d9cd4b |
npm ↗︎ unpkg ↗︎ |
@graphql-codegen/time |
8.0.0-alpha-20261107062740-f340f298f9678d50ddf00165e067ef1608d9cd4b |
npm ↗︎ unpkg ↗︎ |
@graphql-codegen/visitor-plugin-common |
8.0.0-alpha-20261107062740-f340f298f9678d50ddf00165e067ef1608d9cd4b |
npm ↗︎ unpkg ↗︎ |
@graphql-codegen/typescript-document-nodes |
7.0.0-alpha-20261107062740-f340f298f9678d50ddf00165e067ef1608d9cd4b |
npm ↗︎ unpkg ↗︎ |
@graphql-codegen/gql-tag-operations |
7.0.0-alpha-20261107062740-f340f298f9678d50ddf00165e067ef1608d9cd4b |
npm ↗︎ unpkg ↗︎ |
@graphql-codegen/typescript-operations |
7.0.0-alpha-20261107062740-f340f298f9678d50ddf00165e067ef1608d9cd4b |
npm ↗︎ unpkg ↗︎ |
@graphql-codegen/typescript-resolvers |
7.0.0-alpha-20261107062740-f340f298f9678d50ddf00165e067ef1608d9cd4b |
npm ↗︎ unpkg ↗︎ |
@graphql-codegen/typed-document-node |
8.0.0-alpha-20261107062740-f340f298f9678d50ddf00165e067ef1608d9cd4b |
npm ↗︎ unpkg ↗︎ |
@graphql-codegen/typescript |
7.0.0-alpha-20261107062740-f340f298f9678d50ddf00165e067ef1608d9cd4b |
npm ↗︎ unpkg ↗︎ |
@graphql-codegen/client-preset |
7.0.0-alpha-20261107062740-f340f298f9678d50ddf00165e067ef1608d9cd4b |
npm ↗︎ unpkg ↗︎ |
@graphql-codegen/graphql-modules-preset |
7.0.0-alpha-20261107062740-f340f298f9678d50ddf00165e067ef1608d9cd4b |
npm ↗︎ unpkg ↗︎ |
@graphql-codegen/testing |
6.0.0-alpha-20261107062740-f340f298f9678d50ddf00165e067ef1608d9cd4b |
npm ↗︎ unpkg ↗︎ |
@graphql-codegen/plugin-helpers |
8.0.0-alpha-20261107062740-f340f298f9678d50ddf00165e067ef1608d9cd4b |
npm ↗︎ unpkg ↗︎ |
13 tasks done
Contributor
|
📖 Docs preview (rebuilds on every push, ready ~10 min after each): https://codegen-pr-11075.guild-dev-website.pages.dev/graphql/codegen |
eddeee888
force-pushed
the
master-next
branch
from
October 25, 2026 13:30
a0a6bfa to
5c15968
Compare
…[] | 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>
…iguredOutput[]` instead of `ConfiguredPlugin[]` (#11087) * Stop exposing isOutputConfigArray and isConfiguredOutput * Fix config.generates type * Add more details to changeset * Fix undefined case * Add @graphql-codegen/cli to changeset as its interface changes because plugin-helpers changed * Only warn once in watcher * Add tests for array `generates` values in executeCodegen Cover single-element, multi-element (first used, warns once), empty array, and non-object element (old plugin-list shape) cases. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NyYayC2MDVx4YRioaQPChv * Remove watcher warn about config * Move array `generates` tests to codegen.generates.spec.ts Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NyYayC2MDVx4YRioaQPChv * Add tests for multiple entries and only warn once * Update changeset to match final behavior Fix typos and describe the cli warning, the return type change of normalizeOutputParam and the empty array error. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NyYayC2MDVx4YRioaQPChv * Clarify changeset wording on the old array behavior and error message Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NyYayC2MDVx4YRioaQPChv --------- Co-authored-by: Claude <noreply@anthropic.com>
eddeee888
force-pushed
the
master-next
branch
from
October 31, 2026 11:34
6d3ce45 to
829b858
Compare
4 tasks done
… as a dependency (#11094)
…` with PluginInfo (#11071) (#11102) * refactor: [@graphql-codegen/plugin-helpers] type PluginFunction `info` with PluginInfo `plugin` and `validate` now share one info definition; the index signature stays for third-party plugins. Skill: cops:pr-start Approved-by: eddeee888 Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NyYayDM9pv2k12dnZ8W44m * refactor: [@graphql-codegen/plugin-helpers] reword PluginFunction info comment Comment now describes only what the index signature does, not change history. Skill: cops:pr-address Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NyYayDM9pv2k12dnZ8W44m --------- Co-authored-by: Claude <noreply@anthropic.com>
1 task done
#11108) The published plugin still uses the old positional validate signature, which breaks with the new validate info object (#11071). Claude-Session: https://claude.ai/code/session_01NyYayCpxtJ1D7KtvhxTPTV Co-authored-by: Claude <noreply@anthropic.com>
eddeee888
marked this pull request as ready for review
November 7, 2026 06:29
This was referenced Nov 7, 2026
Merged
eddeee888
added a commit
to the-guild-org/website
that referenced
this pull request
Nov 17, 2026
* docs: announce GraphQL Codegen CLI and plugins v8.0 Summarizes the v7->v8 breaking changes and links the migration guide from dotansimha/graphql-code-generator#11075 and #11107. Skill: cops:pr-start Approved-by: eddeee888 Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> * docs: reword v8.0 claim to cover CLI and new plugin majors Most plugins still ship as 7.0.0 on npm, so "official plugins v8.0" was inaccurate; the title/description/intro now say "CLI v8.0 and new plugin majors" per review feedback. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> * docs: correct claim that v8.0 never changes generated code shape The code-file-loader@9 pluck default and the emitLegacyCommonJSImports removal both can change generated output, contradicting the earlier "none of it changes the shape" claim. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> * docs: clarify config.generates array behaviour and fix Apply review suggestion verbatim: the old plugin-name array form still throws Invalid Codegen Configuration rather than "working correctly", and the fix (wrapping in { plugins: [...] }) was missing. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> * docs: note Array.isArray narrowing for generate() in watch mode generate() can now resolve to void in watch mode, so callers indexing the result need an Array.isArray(result) check to compile. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> * docs: trim detail in the v8 announcement per feedback Drop the code-file-loader callout, stop listing every package the emitLegacyCommonJSImports removal touches, simplify the config.generates explanation, and retitle "Why v8?" to "What's in v8?". Skill: cops:pr-start Approved-by: eddeee888 Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> * Apply suggestion from @eddeee888 * Apply suggestion from @eddeee888 * Update website/src/hive/documentation/content/blog/graphql-codegen-cli-v8-202611/index.mdx Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> * Apply suggestion from @eddeee888 --------- Co-authored-by: Claude Sonnet 5 <noreply@anthropic.com> Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[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.
Description
Relates to #11071
config.generatestakesConfiguredOutput[]instead ofConfiguredPlugin[]#11087infowith PluginInfo (#11071) #11102