G

GraphQL Code Generator

G
GraphQL Code Generator Dev Tools

September 29, 2026

@graphql-codegen/visitor-plugin-common@7.2.7 Patch Changes #11001 65e5599 Thanks @eddeee888! - Fix typescript-operations generating invalid interface declarations for @oneOf inputs when declarationKind is interface (#10996). A @oneOf input with multiple fields is a union, so it is always generated as a type alias; a single-field @oneOf input keeps the configured declarationKind.input. typescript a…

G
GraphQL Code Generator Dev Tools

September 28, 2026

@graphql-codegen/core@6.2.1 Patch Changes #10991 dc70125 Thanks @eddeee888! - Skip documents without a document AST when validating documents against the schema, instead of passing undefined to validation. Generated output from the CLI is unchanged. Updated dependencies [1d1153b]: @graphql-codegen/plugin-helpers@7.4.0 @graphql-codegen/add@7.1.1 Patch Changes #10986 9597b5b Thanks @eddeee888! - The…

G
GraphQL Code Generator Dev Tools

September 24, 2026

@graphql-codegen/testing@5.0.4 Patch Changes #10979 2052509 Thanks @eddeee888! - dependencies updates: Added dependency vitest@^4.0.0 ↗︎ (to peerDependencies) #10979 2052509 Thanks @eddeee888! - Anchor validateTs / compileTs module resolution at the directory of the test being run. The file these helpers type-check exists only in memory, but TypeScript still needs a real directory to anchor Node m…

G
GraphQL Code Generator Dev Tools

September 20, 2026

@graphql-codegen/testing@5.0.3 Patch Changes #10977 9f28176 Thanks @eddeee888! - Resolve the @types directory from @types/node's own location rather than from TypeScript's. validateTs and compileTs derived typeRoots as resolve(require.resolve('typescript'), '../../../@types/'), which only lands on node_modules/@types in a flat npm/yarn layout. Under pnpm's default isolated layout require.resolve r…

G
GraphQL Code Generator Dev Tools

September 20, 2026

@graphql-codegen/cli@7.4.2 Patch Changes #10956 cec9c1c Thanks @eddeee888! - Fix dynamically-loaded plugins/presets in ESM builds. Previously, ESM used the bare module specifier without resolving it relative to the consuming project first, so a plugin only loaded if it happened to be reachable from the CLI package's own node_modules. Resolving it the same way the CJS build already does (relativeRe…

G
GraphQL Code Generator Dev Tools

September 13, 2026

@graphql-codegen/client-preset@6.2.0 Minor Changes #10946 a6a3348 Thanks @eddeee888! - Add skipIndexFile preset config option to client-preset to allow disabling generation of the index.ts barrel file that re-exports the other generated files. Defaults to false (unchanged behavior); set to true to skip generating index.ts, for example when your project avoids barrel files for tree-shaking or lint…

G
GraphQL Code Generator Dev Tools

September 10, 2026

@graphql-codegen/cli@7.4.1 Patch Changes #10935 fb1a7c4 Thanks @eddeee888! - dependencies updates: Updated dependency @graphql-tools/code-file-loader@^8.1.39 ↗︎ (from ^8.1.28, in dependencies) #10942 57c3e7b Thanks @eddeee888! - dependencies updates: Updated dependency @graphql-tools/merge@^9.2.4 ↗︎ (from ^9.0.6, in dependencies) #10942 57c3e7b Thanks @eddeee888! - Bump @graphql-tools/merge from ^…

G
GraphQL Code Generator Dev Tools

September 01, 2026

@graphql-codegen/cli@7.4.0 Minor Changes #10928 90229a5 Thanks @eddeee888! - Add contentComparison?: 'cache-first' | 'disk' to control disk-vs-cache write comparison in watch mode. In watch mode the CLI caches the hash of the content it last wrote per file and compares new output against that cached hash to skip redundant writes. This assumes generated output is a pure function of the codegen inpu…

G
GraphQL Code Generator Dev Tools

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 a codegen-*.json file. The profiler now writes a fresh trace file after the initial run and…