@graphql-codegen/cli breaking changes
@graphql-codegen/cli 8.0.0 (November 7, 2026) is its newest release with breaking changes, 11 of them. The first: Drops support for GraphQL 14 and 15 in @graphql-codegen/cli 8.0.0. Every breaking API change we have recorded in @graphql-codegen/cli on npm: 21 breaking changes in 6 versions. Below, its 6 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 8.0.0, released November 7, 2026. Source repository
Its 8.0.0 release requires Node.js 22.18.0 or later. Node.js end of life dates.
- From 7.0.0 to 8.0.0: 11 breaking changes in 1 version.
- From 3.0.0 to 8.0.0: 20 breaking changes in 5 versions.
@graphql-codegen/cli 8.0.0 breaking changes
- Removed
GraphQL 14 and 15 are no longer supported; the graphql peer dependency is now ^16.0.0 || ^17.0.0, so upgrade graphql to 16 or 17 first. github.com - Removed
--emit-legacy-common-js-imports
Use --import-extension instead. github.com - Removed
YamlCliFlags.emit-legacy-common-js-imports
YamlCliFlags.emit-legacy-common-js-imports was removed in @graphql-codegen/cli 8.0.0 npmjs.com - Removed
YamlCliFlags.emitLegacyCommonJSImports
Use importExtension instead; when it is not set, no extension is appended to relative imports. npmjs.com - Behavior changed
The @graphql-tools packages now require Node.js 22.18.0 or later and GraphQL 16 or 17; update your own @graphql-tools imports to the same majors to avoid duplicate installs. github.com - Behavior changed
Node.js versions below 22.18.0 are no longer supported; upgrade Node.js before updating. github.com - Signature changed
buildOptions
Was function buildOptions(): {c: {alias: string; type: "string"; describe: string;}; w: {alias: string; describe: string; coerce(watch: any): string | boolean | any[];}; r: {alias: string; describe: string; type: "array"; default... npmjs.com - Signature changed
config.generates
Arrays in generates are now typed as ConfiguredOutput[]; only the first element is used, and normalizeOutputParam now returns an array. github.com - Signature changed
generate
generate() now returns Promise<FileOutput[] | void>; consumers using the result as an array must narrow it first. npmjs.com - Signature changed
normalizeOutputParam
normalizeOutputParam returns ConfiguredOutput[] instead of a single ConfiguredOutput. github.com - Signature changed
YamlCliFlags
Was type YamlCliFlags = {config: string; watch: boolean | string | string[]; require: string[]; overwrite: boolean; project: string; silent: boolean; errorsOnly: boolean; profile: boolean; check?: boolean; verbose?: boolean; debug?... npmjs.com
@graphql-codegen/cli 7.0.0 breaking changes
- Removed
The package no longer supports Node 20. Users should upgrade to Node 22. github.com - Behavior changed
Several dependencies were updated and some only support ESM, so code relying on CommonJS loading of them may break. Users should upgrade to Node 22 and lib maintainers using Jest may need Vitest. github.com - Behavior changed
The CLI is now built as ESM instead of CJS. Users needing CommonJS should use the graphql-codegen-cjs command. github.com - Default changed
noSilentErrors
Operations with syntax errors are no longer silently dropped by default when some matching files fail to parse. Users who want the old behavior must set noSilentErrors to false in their config. github.com
@graphql-codegen/cli 6.0.0 breaking changes
- Removed
The package no longer supports Node.js 18. Users on Node 18 must upgrade their Node.js version before using 6.0.0. github.com - Removed
@graphql-tools.prisma-loader
The release removes support for @graphql-tools/prisma-loader. Code that relies on it must move to another approach before upgrading. github.com - Signature changed
executeCodegen
Was function executeCodegen(input: CodegenContext | Types.Config): Promise<Types.FileOutput[]>; now function executeCodegen(input: CodegenContext | Types.Config): Promise<{result: Types.FileOutput[]; error: Error | null;}>. npmjs.com
@graphql-codegen/cli 5.0.0 breaking changes
- Behavior changed
@parcel/watcher is no longer installed automatically with the CLI. Install it yourself if you rely on watch mode. github.com
@graphql-codegen/cli 4.0.0 breaking changes
- Behavior changed
The package now requires Node.js >= 16, so users on Node.js 14 must upgrade their runtime before using this version. github.com
@graphql-codegen/cli 3.0.0 breaking changes
- Removed
The CLI no longer supports Node.js 12; upgrade to a newer Node.js runtime before using this version. github.com
Related packages
- @graphql-codegen/plugin-helpers
- @graphql-codegen/typed-document-node
- @graphql-codegen/typescript
- @graphql-codegen/schema-ast
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.