Skip to content

Releases: dotansimha/graphql-code-generator

May 10, 2026

Choose a tag to compare

@github-actions github-actions released this 10 May 06:18
bac9637

@graphql-codegen/typescript-resolvers@6.0.1

Patch Changes

  • #10797
    6ed420a
    Thanks @eddeee888! - Fix FederationTypes not having typesPrefix
    and typesSuffix applied

  • Updated dependencies
    [6ed420a]:

    • @graphql-codegen/plugin-helpers@7.0.1

@graphql-codegen/plugin-helpers@7.0.1

Patch Changes

May 09, 2026

Choose a tag to compare

@github-actions github-actions released this 09 May 13:26
9413202

@graphql-codegen/visitor-plugin-common@7.0.2

Patch Changes

  • #10777
    a6a6786
    Thanks @ikusakov2! - skip conditional selection separation when
    extractAllFieldsToTypesCompact is enabled

May 09, 2026

Choose a tag to compare

@github-actions github-actions released this 09 May 08:48
4a9e461

@graphql-codegen/typescript-operations@6.0.2

Patch Changes

May 06, 2026

Choose a tag to compare

@github-actions github-actions released this 06 May 15:05
c55a8a2

@graphql-codegen/visitor-plugin-common@7.0.1

Patch Changes

@graphql-codegen/typescript-operations@6.0.1

Patch Changes

  • #10781
    5f035cb
    Thanks @eddeee888! - Fix const enum applying typesPrefix and
    typesSuffix incorrectly

  • Updated dependencies
    [5f035cb]:

    • @graphql-codegen/visitor-plugin-common@7.0.1

@graphql-codegen/typescript@6.0.1

Patch Changes

April 30, 2026

Choose a tag to compare

@github-actions github-actions released this 30 Apr 13:48
602df92

@graphql-codegen/cli@7.0.0

Major Changes

  • #10496
    afaace6
    Thanks @eddeee888! - BREAKING CHANGE: Update deps to latest, some
    only support ESM

    Node 20 support is dropped in this release. Node 22 comes with require() support for ESM, which
    means it's easier to integrate ES modules into applications. Therefore, it is safe to start using
    ESM-only packages.

    If you are a user, please upgrade to Node 22. If you are a lib maintainer and see ESM vs CJS
    issues when running Jest tests, try using Vitest.

  • #10496
    afaace6
    Thanks @eddeee888! - BREAKING CHANGE: Drop Node 20 support

  • #10496
    afaace6
    Thanks @eddeee888! - BREAKING CHANGE: Set noSilentErrors: true
    by default

    When multiple files match documents pattern, and there are syntax errors in some but not others,
    then the operations with errors are not included in the loaded documents list by default
    (noSilentErrors: false). This is annoying for users as there is no feedback loop during
    development.

    noSilentErrors: true is used as the default for Codegen users to make the feedback loop faster.
    It can still overriden in Codegen Config if desired.

Patch Changes

@graphql-codegen/core@6.0.0

Major Changes

Patch Changes

@graphql-codegen/add@7.0.0

Major Changes

Patch Changes

@graphql-codegen/fragment-matcher@7.0.0

Major Changes

Read more

April 18, 2026

Choose a tag to compare

@github-actions github-actions released this 18 Apr 13:10
4370999

@graphql-codegen/cli@6.3.1

Patch Changes

  • #10737
    be85118
    Thanks @eddeee888! - Fix issue where same SDL in different
    documents are ignored when handling documents vs externalDocuments

April 13, 2026

Choose a tag to compare

@github-actions github-actions released this 13 Apr 10:07
a6e5717

@graphql-codegen/cli@6.3.0

Minor Changes

  • #10659
    e65d303
    Thanks @ikusakov2! - Add support for externalDocuments

    externalDocuments declares GraphQL documents that will be read but will not have type files
    generated for them. These documents are available to plugins for type resolution (e.g. fragment
    types), but no output files will be generated based on them. Accepts the same formats as
    documents.

    This config option is useful for monorepos where each project may want to generate types for its
    own documents, but some may need to read shared fragments from across projects.

Patch Changes

  • Updated dependencies
    [9a66574,
    9a66574,
    9a66574,
    e65d303]:
    • @graphql-codegen/client-preset@5.3.0
    • @graphql-codegen/core@5.0.2
    • @graphql-codegen/plugin-helpers@6.3.0

@graphql-codegen/core@5.0.2

Patch Changes

@graphql-codegen/add@6.0.1

Patch Changes

@graphql-codegen/fragment-matcher@6.0.1

Patch Changes

@graphql-codegen/introspection@5.0.2

Patch Changes

@graphql-codegen/schema-ast@5.0.2

Patch Changes

@graphql-codegen/visitor-plugin-common@6.3.0

Minor Changes

  • #10659
    e65d303
    Thanks @ikusakov2! - Add support for externalDocuments

    externalDocuments declares GraphQL documents that will be read but will not have type files
    generated for them. These documents are available to plugins for type resolution (e.g. fragment
    types), but no output files will be generated based on them. Accepts the same formats as
    documents.

    This config option is useful for monorepos where each project may want to generate types for its
    own documents, but some may need to read shared fragments from across projects.

Patch Changes

@graphql-codegen/typescript-document-nodes@5.0.10

Patch Changes

@graphql-codegen/gql-tag-operations@5.2.0

Minor Changes

  • #10659
    e65d303
    Thanks @ikusakov2! - Add support for externalDocuments

    externalDocuments declares GraphQL documents that will be read but will not have type files
    generated for them. These documents are available to plugins for type resolution (e.g. fragment
    types), but no output files will be generated based on them. Accepts the same formats as
    documents.

    This config option is useful for monorepos where each project may want to generate types for its
    own documents, but some may need to read shared fragments from across projects.

Patch Changes

@graphql-codegen/typescript-operations@5.1.0

Minor Changes

Read more

April 04, 2026

Choose a tag to compare

@github-actions github-actions released this 04 Apr 03:39
c8601c8

@graphql-codegen/plugin-helpers@6.2.1

Patch Changes

March 12, 2026

Choose a tag to compare

@github-actions github-actions released this 12 Mar 12:31
590fcfa

@graphql-codegen/cli@6.2.1

Patch Changes

  • #10618 e804925 Thanks @PalmerTurley34! - Honor per-output preset importExtension and emitLegacyCommonJSImports config instead of always using the root config values.

March 12, 2026

Choose a tag to compare

@github-actions github-actions released this 12 Mar 10:18
fbd8360

@graphql-codegen/cli@6.2.0

Minor Changes

  • #10617 8c4db2a Thanks @ikusakov2! - Allow GraphQLSchema to be passed directly to generate({schema: ...}) function

Patch Changes

  • Updated dependencies [8c4db2a]:
    • @graphql-codegen/plugin-helpers@6.2.0

@graphql-codegen/plugin-helpers@6.2.0

Minor Changes

  • #10617 8c4db2a Thanks @ikusakov2! - Allow GraphQLSchema to be passed directly to generate({schema: ...}) function