NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
npm · #3899 most downloaded on npm
GraphQL Code Generator plugin for generating TypeScript types for GraphQL queries, mutations, subscriptions and fragments
Last release 2 days ago
05 Oct 2026
Ships fairly regularly
a new release about every 9 days
Rarely documented
notes for 12 of the last 60 stable releases
1 version withdrawn
withdrawn after publishing
8 years old
6593 releases · first in 2019
Nothing published for this version
Nothing published for this version
Nothing published for this version
One column per quarter.
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
Updated dependencies [2cbcbb371]
Nothing published for this version
Updated dependencies [525ad580b]
.js extension.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
da252a6f3: Expose plugin config type definition as same convension as typescript-resolvers
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
d84afec09: Support TypeScript ESM modules ("module": "node16" and "moduleResolution": "node16").
Updated dependencies [8cd1526c4]
Updated dependencies [20bf4b225]
Updated dependencies [6a2e328e6]
Updated dependencies [273ad602f]
Updated dependencies [e2cfc5c36]
Nothing published for this version
Nothing published for this version
Nothing published for this version
Updated dependencies [2cbcbb371]
Nothing published for this version
Updated dependencies [147e801bf]
.js extension.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
d84afec09: Support TypeScript ESM modules ("module": "node16" and "moduleResolution": "node16").
d84afec09: Support TypeScript ESM modules ("module": "node16" and "moduleResolution": "node16").
d84afec09: Support TypeScript ESM modules ("module": "node16" and "moduleResolution": "node16").
d84afec09: Support TypeScript ESM modules ("module": "node16" and "moduleResolution": "node16").
68bb30e19: Attach .js extension to relative file imports for compliance with ESM module resolution. Since in CommonJS the .js extension is optional, this is not a breaking change.
If you have path configuration within your configuration, consider attaching .js if you are migrating to ESM.
mappers:
MyOtherType: './my-file.js#MyCustomOtherType',
d84afec09: Support TypeScript ESM modules ("module": "node16" and "moduleResolution": "node16").
68bb30e19: Attach .js extension to relative file imports for compliance with ESM module resolution. Since in CommonJS the .js extension is optional, this is not a breaking change.
If you have path configuration within your configuration, consider attaching .js if you are migrating to ESM.
mappers:
MyOtherType: './my-file.js#MyCustomOtherType',
d84afec09: Support TypeScript ESM modules ("module": "node16" and "moduleResolution": "node16").
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
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
Updated dependencies [2cbcbb371]
Your coding agent can read these notes before it upgrades. Set up the MCP server →