Skip to content

Releases: dotansimha/graphql-code-generator

August 23, 2026

Choose a tag to compare

@github-actions github-actions released this 23 Aug 14:28
a2e1d5c

@graphql-codegen/cli@7.3.1

Patch Changes

  • #10924
    0c8f5ba
    Thanks @eddeee888! - Fix profiler output not being written to the
    filesystem in watch mode (--profile --watch)

    The profiler trace was only written on the non-watch code path, after the watch-mode early return,
    so a profiled watch session never produced a codegen-*.json file.

    The profiler now writes a fresh trace file after the initial run and after every rebuild, with
    each file containing only that run's events. A failed rebuild does not produce a trace and its
    events are discarded so they don't leak into the next successful run.

    The Profiler now owns its own trace lifecycle:

    • a new clear() method starts a new trace
    • a new outputName property provides the filename for the current trace (null for the noop
      profiler)
    • filename generation was removed from CodegenContext
  • Updated dependencies
    [0c8f5ba]:

    • @graphql-codegen/plugin-helpers@7.2.1

@graphql-codegen/plugin-helpers@7.2.1

Patch Changes

  • #10924
    0c8f5ba
    Thanks @eddeee888! - Fix profiler output not being written to the
    filesystem in watch mode (--profile --watch)

    The profiler trace was only written on the non-watch code path, after the watch-mode early return,
    so a profiled watch session never produced a codegen-*.json file.

    The profiler now writes a fresh trace file after the initial run and after every rebuild, with
    each file containing only that run's events. A failed rebuild does not produce a trace and its
    events are discarded so they don't leak into the next successful run.

    The Profiler now owns its own trace lifecycle:

    • a new clear() method starts a new trace
    • a new outputName property provides the filename for the current trace (null for the noop
      profiler)
    • filename generation was removed from CodegenContext

August 22, 2026

Choose a tag to compare

@github-actions github-actions released this 22 Aug 07:36
6aa476a

@graphql-codegen/cli@7.3.0

Minor Changes

  • #10921
    58cdb31
    Thanks @eddeee888! - Extend overwrite with
    overwrite.removeStaleFiles and overwrite.updateExistingFiles

    overwrite was being used to both remove stale files in watch mode and update existing files.
    Some plugins such as Server Preset may dynamically return files to write between watch runs (for
    performance purposes).

    The overwrite can now take an object with overwrite.removeStaleFiles and
    overwrite.updateExistingFiles fields to allow granular control over actions.

    This is not a breaking change because overwrite=true|false still works.

Patch Changes

  • Updated dependencies
    [58cdb31]:
    • @graphql-codegen/plugin-helpers@7.2.0

@graphql-codegen/plugin-helpers@7.2.0

Minor Changes

  • #10921
    58cdb31
    Thanks @eddeee888! - Extend overwrite with
    overwrite.removeStaleFiles and overwrite.updateExistingFiles

    overwrite was being used to both remove stale files in watch mode and update existing files.
    Some plugins such as Server Preset may dynamically return files to write between watch runs (for
    performance purposes).

    The overwrite can now take an object with overwrite.removeStaleFiles and
    overwrite.updateExistingFiles fields to allow granular control over actions.

    This is not a breaking change because overwrite=true|false still works.

August 12, 2026

Choose a tag to compare

@github-actions github-actions released this 12 Aug 12:34
0ada1c4

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

Patch Changes

@graphql-codegen/typescript-operations@6.1.6

Patch Changes

  • #10918
    6a3b734
    Thanks @eddeee888! - Fix union and conditional directives
    resulting in no field types

  • Updated dependencies
    [6a3b734]:

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

@graphql-codegen/client-preset@6.1.3

Patch Changes

  • #10918
    6a3b734
    Thanks @eddeee888! - Fix union and conditional directives
    resulting in no field types

  • Updated dependencies
    [6a3b734]:

    • @graphql-codegen/visitor-plugin-common@7.2.5
    • @graphql-codegen/typescript-operations@6.1.6

August 08, 2026

Choose a tag to compare

@github-actions github-actions released this 08 Aug 01:30
2f6f9bb

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

Patch Changes

  • #10916
    d95d378
    Thanks @eddeee888! - Revert Partial handling when conditional
    fragment and fragment masking are used

    This is causing all masked fields to be optional due to how function type override works.

@graphql-codegen/client-preset@6.1.2

Patch Changes

  • #10916
    d95d378
    Thanks @eddeee888! - Revert Partial handling when conditional
    fragment and fragment masking are used

    This is causing all masked fields to be optional due to how function type override works.

  • Updated dependencies
    [d95d378]:

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

August 05, 2026

Choose a tag to compare

@github-actions github-actions released this 05 Aug 12:17
5348c43

@graphql-codegen/typescript-operations@6.1.5

Patch Changes

  • #10909
    b36c084
    Thanks @jaydenseric! - Added missing types and tests for the
    TypeScript operations plugin option disableDescriptions.

August 05, 2026

Choose a tag to compare

@github-actions github-actions released this 05 Aug 10:31
e2bf378

@graphql-codegen/typescript-operations@6.1.4

Patch Changes

  • #10910
    1624c8a
    Thanks @eddeee888! - Fix performance issue when
    config.importSchemaTypesFrom is set, and the provided schema is still unnecessarily visited

August 05, 2026

Choose a tag to compare

@github-actions github-actions released this 05 Aug 07:40
74436b4

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

Patch Changes

@graphql-codegen/typescript-operations@6.1.3

Patch Changes

  • #10905
    5a9f96c
    Thanks @eddeee888! - Fix types when introspection is used and
    values are not generated or imported correctly

  • Updated dependencies
    [2dd1531]:

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

@graphql-codegen/client-preset@6.1.1

Patch Changes

  • #10904
    2dd1531
    Thanks @eddeee888! - Fix fragment masking generation when
    conditional directive is used

  • Updated dependencies
    [2dd1531,
    5a9f96c]:

    • @graphql-codegen/visitor-plugin-common@7.2.3
    • @graphql-codegen/typescript-operations@6.1.3

July 23, 2026

Choose a tag to compare

@github-actions github-actions released this 23 Jul 11:49
198a16a

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

Patch Changes

  • #10882
    206a409
    Thanks @wassim-k! - Avoid emitting an empty import statement
    (import '...';) when an import source has no identifiers and no namespace.

  • #10899
    e7a1451
    Thanks @eddeee888! - Fix conditional directive (@skip and
    @include) incorrectly drop fields in Result when used on Inline Fragment / Fragment Spread

@graphql-codegen/typescript-operations@6.1.2

Patch Changes

  • #10899
    e7a1451
    Thanks @eddeee888! - Fix conditional directive (@skip and
    @include) incorrectly drop fields in Result when used on Inline Fragment / Fragment Spread
  • Updated dependencies
    [206a409,
    e7a1451]:
    • @graphql-codegen/visitor-plugin-common@7.2.2

July 20, 2026

Choose a tag to compare

@github-actions github-actions released this 20 Jul 13:54
6f5bbea

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

Patch Changes

  • #10897
    bd689bb
    Thanks @eddeee888! - Fix issues when
    extractAllFieldsToTypes=true and @defer are used, then duplicate types may be generated

@graphql-codegen/typescript-operations@6.1.1

Patch Changes

  • #10897
    bd689bb
    Thanks @eddeee888! - Fix issues when
    extractAllFieldsToTypes=true and @defer are used, then duplicate types may be generated
  • Updated dependencies
    [bd689bb]:
    • @graphql-codegen/visitor-plugin-common@7.2.1

July 06, 2026

Choose a tag to compare

@github-actions github-actions released this 06 Jul 14:03
726d28a

@graphql-codegen/cli@7.2.0

Minor Changes

Patch Changes

  • Updated dependencies
    [959915f,
    959915f,
    959915f]:
    • @graphql-codegen/client-preset@6.1.0
    • @graphql-codegen/core@6.2.0
    • @graphql-codegen/plugin-helpers@7.1.0

@graphql-codegen/core@6.2.0

Minor Changes

Patch Changes

  • Updated dependencies
    [959915f]:
    • @graphql-codegen/plugin-helpers@7.1.0

@graphql-codegen/add@7.1.0

Minor Changes

Patch Changes

  • Updated dependencies
    [959915f]:
    • @graphql-codegen/plugin-helpers@7.1.0

@graphql-codegen/fragment-matcher@7.1.0

Minor Changes

Patch Changes

  • Updated dependencies
    [959915f]:
    • @graphql-codegen/plugin-helpers@7.1.0

@graphql-codegen/introspection@6.1.0

Minor Changes

Patch Changes

  • Updated dependencies
    [959915f,
    959915f]:
    • @graphql-codegen/plugin-helpers@7.1.0
    • @graphql-codegen/visitor-plugin-common@7.2.0

@graphql-codegen/schema-ast@6.1.0

Minor Changes

Patch Changes

  • Updated dependencies
    [959915f]:
    • @graphql-codegen/plugin-helpers@7.1.0

@graphql-codegen/time@7.1.0

Minor Changes

Patch Changes

  • Updated dependencies
    [959915f]:
    • @graphql-codegen/plugin-helpers@7.1.0

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

Minor Changes

Patch Changes

  • Updated dependencies
    [959915f]:
    • @graphql-codegen/plugin-helpers@7.1.0

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

Minor Changes

Patch Changes

  • Updated dependencies
    [959915f,
    959915f]:
    • @graphql-codegen/plugin-helpers@7.1.0
    • @graphql-codegen/visitor-plugin-common@7.2.0

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

Minor Changes

Read more