Releases: dotansimha/graphql-code-generator
Release list
August 23, 2026
@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 acodegen-*.jsonfile.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
Profilernow owns its own trace lifecycle:- a new
clear()method starts a new trace - a new
outputNameproperty provides the filename for the current trace (nullfor the noop
profiler) - filename generation was removed from
CodegenContext
- a new
-
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 acodegen-*.jsonfile.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
Profilernow owns its own trace lifecycle:- a new
clear()method starts a new trace - a new
outputNameproperty provides the filename for the current trace (nullfor the noop
profiler) - filename generation was removed from
CodegenContext
- a new
August 22, 2026
@graphql-codegen/cli@7.3.0
Minor Changes
-
#10921
58cdb31
Thanks @eddeee888! - Extendoverwritewith
overwrite.removeStaleFilesandoverwrite.updateExistingFilesoverwritewas 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
overwritecan now take an object withoverwrite.removeStaleFilesand
overwrite.updateExistingFilesfields to allow granular control over actions.This is not a breaking change because
overwrite=true|falsestill 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! - Extendoverwritewith
overwrite.removeStaleFilesandoverwrite.updateExistingFilesoverwritewas 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
overwritecan now take an object withoverwrite.removeStaleFilesand
overwrite.updateExistingFilesfields to allow granular control over actions.This is not a breaking change because
overwrite=true|falsestill works.
August 12, 2026
@graphql-codegen/visitor-plugin-common@7.2.5
Patch Changes
- #10918
6a3b734
Thanks @eddeee888! - Fix union and conditional directives
resulting in no field types
@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
@graphql-codegen/visitor-plugin-common@7.2.4
Patch Changes
-
#10916
d95d378
Thanks @eddeee888! - Revert Partial handling when conditional
fragment and fragment masking are usedThis 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 usedThis 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
@graphql-codegen/typescript-operations@6.1.5
Patch Changes
- #10909
b36c084
Thanks @jaydenseric! - Added missing types and tests for the
TypeScript operations plugin optiondisableDescriptions.
August 05, 2026
@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
@graphql-codegen/visitor-plugin-common@7.2.3
Patch Changes
- #10904
2dd1531
Thanks @eddeee888! - Fix fragment masking generation when
conditional directive is used
@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
@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 (@skipand
@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 (@skipand
@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
@graphql-codegen/visitor-plugin-common@7.2.1
Patch Changes
- #10897
bd689bb
Thanks @eddeee888! - Fix issues when
extractAllFieldsToTypes=trueand@deferare used, then duplicate types may be generated
@graphql-codegen/typescript-operations@6.1.1
Patch Changes
- #10897
bd689bb
Thanks @eddeee888! - Fix issues when
extractAllFieldsToTypes=trueand@deferare used, then duplicate types may be generated - Updated dependencies
[bd689bb]:- @graphql-codegen/visitor-plugin-common@7.2.1
July 06, 2026
@graphql-codegen/cli@7.2.0
Minor Changes
- #10866
959915f
Thanks @eddeee888! - dependencies updates:- Updated dependency
@graphql-tools/utils@^11.2.0↗︎
(from^11.0.0, independencies) - Updated dependency
graphql@^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0↗︎
(from
^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0,
inpeerDependencies)
- Updated dependency
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
- #10866
959915f
Thanks @eddeee888! - dependencies updates:- Updated dependency
@graphql-tools/utils@^11.2.0↗︎
(from^11.0.0, independencies) - Updated dependency
graphql@^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0↗︎
(from
^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0,
inpeerDependencies)
- Updated dependency
Patch Changes
- Updated dependencies
[959915f]:- @graphql-codegen/plugin-helpers@7.1.0
@graphql-codegen/add@7.1.0
Minor Changes
- #10866
959915f
Thanks @eddeee888! - dependencies updates:- Updated dependency
graphql@^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0↗︎
(from
^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0,
inpeerDependencies)
- Updated dependency
Patch Changes
- Updated dependencies
[959915f]:- @graphql-codegen/plugin-helpers@7.1.0
@graphql-codegen/fragment-matcher@7.1.0
Minor Changes
- #10866
959915f
Thanks @eddeee888! - dependencies updates:- Updated dependency
graphql@^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0↗︎
(from
^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0,
inpeerDependencies)
- Updated dependency
Patch Changes
- Updated dependencies
[959915f]:- @graphql-codegen/plugin-helpers@7.1.0
@graphql-codegen/introspection@6.1.0
Minor Changes
- #10866
959915f
Thanks @eddeee888! - dependencies updates:- Updated dependency
graphql@^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0↗︎
(from
^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0,
inpeerDependencies)
- Updated dependency
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
- #10866
959915f
Thanks @eddeee888! - dependencies updates:- Updated dependency
@graphql-tools/utils@^11.2.0↗︎
(from^11.0.0, independencies) - Updated dependency
graphql@^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0↗︎
(from
^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0,
inpeerDependencies)
- Updated dependency
Patch Changes
- Updated dependencies
[959915f]:- @graphql-codegen/plugin-helpers@7.1.0
@graphql-codegen/time@7.1.0
Minor Changes
- #10866
959915f
Thanks @eddeee888! - dependencies updates:- Updated dependency
graphql@^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0↗︎
(from
^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0,
inpeerDependencies)
- Updated dependency
Patch Changes
- Updated dependencies
[959915f]:- @graphql-codegen/plugin-helpers@7.1.0
@graphql-codegen/visitor-plugin-common@7.2.0
Minor Changes
- #10866
959915f
Thanks @eddeee888! - dependencies updates:- Updated dependency
@graphql-tools/utils@^11.2.0↗︎
(from^11.0.0, independencies) - Updated dependency
graphql@^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0↗︎
(from
^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0,
inpeerDependencies)
- Updated dependency
Patch Changes
- Updated dependencies
[959915f]:- @graphql-codegen/plugin-helpers@7.1.0
@graphql-codegen/typescript-document-nodes@6.1.0
Minor Changes
- #10866
959915f
Thanks @eddeee888! - dependencies updates:- Updated dependency
graphql@^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0↗︎
(from
^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0,
inpeerDependencies)
- Updated dependency
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
- #10866
959915f
Thanks @eddeee888! - dependencies updates:- Updated dependency
@graphql-tools/utils@^11.2.0↗︎
(from^11.0.0, independencies) - Update...
- Updated dependency