NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
npm, #2760 most downloaded on npm
Latest stable
8.0.1
Last release 3 days ago
10 Nov 2026
Ships fairly regularly
a new release about every 9 days
Nearly every release is documented
notes for 59 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
8 years old
6698 releases · first in 2019
Drag across the ruler to compare, or tap a release to open it.
### Patch Changes - #8586 `ef4c2c9c2` Thanks @levrik! - Fix incompatibility between @oneOf input types and declaration kind other than type
Updated dependencies [`63dc8f205`]:
#8525
63dc8f205
Thanks @charlypoly! - remove DetailledError, not supported by
Listr renderer
Updated dependencies
[63dc8f205]:
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
### Minor Changes - #8498 `a46b8d99c` Thanks @charlypoly! - Fragment masking $fragmentName and $fragmentRefs are optionals
a46b8d99c
Thanks @charlypoly! - Fragment masking $fragmentName and
$fragmentRefs are optionalsNothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
### Patch Changes - #8432 `1bd7f771c` Thanks @mvestergaard! - Remove extension from operations file import
1bd7f771c
Thanks @mvestergaard! - Remove extension from operations file
importNothing published for this version
Updated dependencies [`b408f8238`]:
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
2cbcbb371: Add new flag to emit legacy common js imports. Default it will be true this way it ensure that generated code works with non-compliant bund
2cbcbb371: Add new flag to emit legacy common js imports. Default it will be true this way it ensure that generated code works with non-compliant bundlers.
You can use the option in your config:
schema: 'schema.graphql'
documents:
- 'src/**/*.graphql'
emitLegacyCommonJSImports: true
Alternative you can use the CLI to set this option:
$ codegen --config-file=config.yml --emit-legacy-common-js-imports
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
20bf4b225: support for path containing "&" characters
.js extension.Nothing published for this version
fd6be805b: feat(cli): add a dry-run mode with --check cli flag
--check cli flag--verbose and --debug flags68bb30e19: Attach .js extension to imports starting with either a . or / character.
d84afec09: Support TypeScript ESM modules ("module": "node16" and "moduleResolution": "node16").
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
273ad602f: Replace cross-undici-fetch with @whatwg-node/fetch to fix security vulnerability from undici
e2cfc5c36: fix(cli): prevent duplicated error messages on fail (without watcher)
graphql package.
Now we forked and released v12 under a different name and removed version range for graphql in
peerDependencies of relay-compilerNothing published for this version
2cbcbb371: Add new flag to emit legacy common js imports. Default it will be true this way it ensure that generated code works with non-compliant bund
2cbcbb371: Add new flag to emit legacy common js imports. Default it will be true this way it ensure that generated code works with non-compliant bundlers.
You can use the option in your config:
schema: 'schema.graphql'
documents:
- 'src/**/*.graphql'
emitLegacyCommonJSImports: true
Alternative you can use the CLI to set this option:
$ codegen --config-file=config.yml --emit-legacy-common-js-imports
32c1560f1: getPluginByName fails unexpectedly when plugin is not prefixed with @graphq-codegen in ESM context
MODULE_NOT_FOUND is the error code you receive in a CommonJS context when you require() a module and it does not exist. ERR_MODULE_NOT_FOUND is the error code you receive in an ESM context when you import or import() ad module that does not exist.
Updated dependencies [2cbcbb371]
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
e7870ac28: Fix security vulnerability by removing latest-version dependency.
d84afec09: Add bin CLI command for running graphql-code-generator in ESM mode. You can now use graphql-codegen-esm instead of graphql-codegen.
GraphQL Code Generator will continue supporting both ESM and CommonJS in parallel.
d84afec09: Support TypeScript ESM modules ("module": "node16" and "moduleResolution": "node16").
8e44df58b: Add new config option to not exit with non-zero exit code when there are no documents.
You can use this option in your config:
schema: 'schema.graphql'
documents:
- 'src/**/*.graphql'
ignoreNoDocuments: true
Alternative you can use the CLI to set this option:
$ codegen --config-file=config.yml --ignore-no-documents
e7870ac28: Fix security vulnerability by removing latest-version dependency.
dce40edeb: Allow to disable watch mode from CLI to overwrite the config. Now you can do:
$ graphql-codegen --watch=false
2e86ecb65: ### Summary
listr2listrlistr is not actively maintained and we have to maintain our custom renderer for it to display errors. Migrating to listr2 it just works out of the almost similar to how it was working in past and is a actively maintained.
Big change for us is how errors were collected. In listr errors were thrown and were caught in the end function of our custom listr Renderer but with listr2 we don't really get Error in end function always so instead we use the context to collect errors from all the tasks and then show them after all the tasks are finished.
Updated dependencies [d84afec09]
Updated dependencies [a4fe5006b]
Updated dependencies [8e44df58b]
One column per quarter.