npm · #3667 most downloaded on npm
@graphql-codegen/typescript
6.1.0dotansimha/graphql-code-generator ↗GraphQL Code Generator plugin for generating TypeScript types
Last release 1 months ago
06 Jul 2026
Ships fairly regularly
a new release about every 8 days
Rarely documented
notes for 9 of the last 60 stable releases
1 version withdrawn
withdrawn after publishing
7 years old
6518 releases · first in 2019
Release timeline
6518 releases since 2019One column per quarter.
Releases
- 2.4.4-alpha-ce66df00d.014 Feb 2022pre-release
Nothing published for this version
- 2.4.4-alpha-cb6ec4365.09 Feb 2022pre-release
Nothing published for this version
- 2.4.4-alpha-bbecef04a.07 Feb 2022pre-release
Nothing published for this version
- 2.4.4-alpha-b385699c5.014 Feb 2022pre-release
Nothing published for this version
- 2.4.4-alpha-a52c122aa.09 Feb 2022pre-release
Nothing published for this version
- 2.4.4-alpha-967b742ba.09 Feb 2022pre-release
Nothing published for this version
- 2.4.4-alpha-7c50b8781.09 Feb 2022pre-release
Nothing published for this version
- 2.4.4-alpha-74513a63e.09 Feb 2022pre-release
Nothing published for this version
- 2.4.4-alpha-714e0efe9.015 Feb 2022pre-release
Nothing published for this version
- 2.4.4-alpha-252a8d50d.09 Feb 2022pre-release
Nothing published for this version
- 2.4.33 Feb 2022
Nothing published for this version
- 2.4.3-alpha-fc06eb8e7.02 Feb 2022pre-release
Nothing published for this version
- 2.4.3-alpha-c9cbc7d69.02 Feb 2022pre-release
Nothing published for this version
- 2.4.3-alpha-bc33c031d.030 Jan 2022pre-release
Nothing published for this version
- 2.4.3-alpha-6cdbcf02e.03 Jan 2022pre-release
Nothing published for this version
- 2.4.3-alpha-5081829d6.01 Feb 2022pre-release
Nothing published for this version
- 2.4.3-alpha-06d103feb.01 Feb 2022pre-release
Nothing published for this version
- 2.4.3-alpha-05252ae4a.01 Feb 2022pre-release
Nothing published for this version
- 2.4.230 Dec 2021
Release notes
Open source →Patch Changes
- Updated dependencies [2cbcbb371]
- @graphql-codegen/[email protected]
- @graphql-codegen/[email protected]
- @graphql-codegen/[email protected]
- Updated dependencies [2cbcbb371]
- 2.4.2-alpha-23d229715.029 Dec 2021pre-release
Nothing published for this version
- 2.4.2-alpha-1f4053433.02 Dec 2021pre-release
Nothing published for this version
- 2.4.118 Nov 2021
Release notes
Open source →Patch Changes
- Updated dependencies [525ad580b]
- @graphql-codegen/[email protected]
- @graphql-codegen/[email protected]
Additional notes
Open source →Patch Changes
- 525ad580b: Revert breaking change for Next.js applications that are incapable of resolving an import with a
.jsextension. - Updated dependencies [525ad580b]
- @graphql-codegen/[email protected]
- Updated dependencies [525ad580b]
- 2.4.1-alpha-ac95f9557.018 Nov 2021pre-release
Nothing published for this version
- 2.4.015 Nov 2021
Release notes
Open source →Minor Changes
- da252a6f3: Expose plugin config type definition as same convension as typescript-resolvers
Additional notes
Open source →Minor Changes
-
2cbcbb371: Add new flag to emit legacy common js imports. Default it will be
truethis 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: trueAlternative you can use the CLI to set this option:
$ codegen --config-file=config.yml --emit-legacy-common-js-imports
Patch Changes
- Updated dependencies [2cbcbb371]
- @graphql-codegen/[email protected]
- @graphql-codegen/[email protected]
Additional notes
Open source →Minor Changes
-
d84afec09: Support TypeScript ESM modules (
"module": "node16"and"moduleResolution": "node16").
Patch Changes
- Updated dependencies [68bb30e19]
- Updated dependencies [d84afec09]
- Updated dependencies [a4fe5006b]
- Updated dependencies [8e44df58b]
- @graphql-codegen/[email protected]
- @graphql-codegen/[email protected]
- @graphql-codegen/[email protected]
- 2.4.0-alpha-54d801468.031 Oct 2021pre-release
Nothing published for this version
- 2.3.2-alpha-df8969b0a.015 Nov 2021pre-release
Nothing published for this version
- 2.3.2-alpha-2113b7d34.015 Nov 2021pre-release
Nothing published for this version
- 2.3.15 Nov 2021
Release notes
Open source →Patch Changes
- Updated dependencies [147e801bf]
- @graphql-codegen/[email protected]
Additional notes
Open source →Patch Changes
- Updated dependencies [525ad580b]
- @graphql-codegen/[email protected]
Additional notes
Open source →Patch Changes
- Updated dependencies [525ad580b]
- @graphql-codegen/[email protected]
- @graphql-codegen/[email protected]
Additional notes
Open source →Patch Changes
- 525ad580b: Revert breaking change for Next.js applications that are incapable of resolving an import with a
.jsextension. - Updated dependencies [525ad580b]
- @graphql-codegen/[email protected]
Additional notes
Open source →Patch Changes
- Updated dependencies [525ad580b]
- @graphql-codegen/[email protected]
- @graphql-codegen/[email protected]
Additional notes
Open source →Patch Changes
- Updated dependencies [525ad580b]
- @graphql-codegen/[email protected]
- @graphql-codegen/[email protected]
- Updated dependencies [147e801bf]
- 2.3.1-alpha-ee6fcf862.01 Nov 2021pre-release
Nothing published for this version
- 2.3.1-alpha-9e27900cc.05 Nov 2021pre-release
Nothing published for this version
- 2.3.1-alpha-66fd7ef2f.04 Nov 2021pre-release
Nothing published for this version
- 2.3.1-alpha-3b5c0246d.04 Nov 2021pre-release
Nothing published for this version
- 2.3.029 Oct 2021
Release notes
Open source →Minor Changes
-
d84afec09: Support TypeScript ESM modules (
"module": "node16"and"moduleResolution": "node16").
Patch Changes
- Updated dependencies [68bb30e19]
- Updated dependencies [d84afec09]
- Updated dependencies [a4fe5006b]
- Updated dependencies [8e44df58b]
- @graphql-codegen/[email protected]
- @graphql-codegen/[email protected]
Additional notes
Open source →Minor Changes
-
d84afec09: Support TypeScript ESM modules (
"module": "node16"and"moduleResolution": "node16").
Patch Changes
- bc1c932e6: Avoid enforcing return/get the complete object
- d84afec09: Don't depend on schema AST for cache update generation.
- Updated dependencies [68bb30e19]
- Updated dependencies [d84afec09]
- Updated dependencies [a4fe5006b]
- Updated dependencies [8e44df58b]
- @graphql-codegen/[email protected]
- @graphql-codegen/[email protected]
Additional notes
Open source →Minor Changes
-
d84afec09: Support TypeScript ESM modules (
"module": "node16"and"moduleResolution": "node16").
Patch Changes
- 4f38d8461: Ensure optional fields are marked as optional in TypeScript
- Updated dependencies [68bb30e19]
- Updated dependencies [d84afec09]
- Updated dependencies [a4fe5006b]
- Updated dependencies [8e44df58b]
- @graphql-codegen/[email protected]
- @graphql-codegen/[email protected]
- @graphql-codegen/[email protected]
Additional notes
Open source →Minor Changes
-
68bb30e19: Attach
.jsextension to relative file imports for compliance with ESM module resolution. Since in CommonJS the.jsextension is optional, this is not a breaking change.If you have path configuration within your configuration, consider attaching
.jsif you are migrating to ESM.mappers: MyOtherType: './my-file.js#MyCustomOtherType', -
d84afec09: Support TypeScript ESM modules (
"module": "node16"and"moduleResolution": "node16").
Patch Changes
- Updated dependencies [68bb30e19]
- Updated dependencies [d84afec09]
- Updated dependencies [a4fe5006b]
- Updated dependencies [8e44df58b]
- @graphql-codegen/[email protected]
- @graphql-codegen/[email protected]
Additional notes
Open source →Minor Changes
-
68bb30e19: Attach
.jsextension to relative file imports for compliance with ESM module resolution. Since in CommonJS the.jsextension is optional, this is not a breaking change.If you have path configuration within your configuration, consider attaching
.jsif you are migrating to ESM.mappers: MyOtherType: './my-file.js#MyCustomOtherType', -
d84afec09: Support TypeScript ESM modules (
"module": "node16"and"moduleResolution": "node16").
Patch Changes
- 1de927e6f: Don't emit imports to the same location, resulting in name clashes.
- Updated dependencies [68bb30e19]
- Updated dependencies [d84afec09]
- Updated dependencies [a4fe5006b]
- Updated dependencies [8e44df58b]
- @graphql-codegen/[email protected]
- @graphql-codegen/[email protected]
- @graphql-codegen/[email protected]
Additional notes
Open source →Minor Changes
-
d84afec09: Support TypeScript ESM modules (
"module": "node16"and"moduleResolution": "node16").
Patch Changes
- Updated dependencies [68bb30e19]
- Updated dependencies [d84afec09]
- Updated dependencies [a4fe5006b]
- Updated dependencies [8e44df58b]
- @graphql-codegen/[email protected]
- @graphql-codegen/[email protected]
- @graphql-codegen/[email protected]
-
- 2.3.0-alpha-3d0d10d56.011 Oct 2021pre-release
Nothing published for this version
- 2.2.414 Oct 2021
Nothing published for this version
- 2.2.313 Oct 2021
Nothing published for this version
- 2.2.3-alpha-f01e08cd9.013 Oct 2021pre-release
Nothing published for this version
- 2.2.3-alpha-e6eb2d6cf.013 Oct 2021pre-release
Nothing published for this version
- 2.2.3-alpha-e04750ad3.013 Oct 2021pre-release
Nothing published for this version
- 2.2.3-alpha-b24e050a5.013 Oct 2021pre-release
Nothing published for this version
- 2.2.3-alpha-a09853373.013 Oct 2021pre-release
Nothing published for this version
- 2.2.3-alpha-88d3db1b6.013 Oct 2021pre-release
Nothing published for this version
- 2.2.3-alpha-6b476baff.05 Oct 2021pre-release
Nothing published for this version
- 2.2.3-alpha-476627f73.013 Oct 2021pre-release
Nothing published for this version
- 2.2.3-alpha-38c4bf8b3.013 Oct 2021pre-release
Nothing published for this version
- 2.2.3-alpha-16421e2d7.012 Oct 2021pre-release
Nothing published for this version
- 2.2.3-alpha-143b4bc91.013 Oct 2021pre-release
Nothing published for this version
- 2.2.3-alpha-04adbef2b.013 Oct 2021pre-release
Nothing published for this version
- 2.2.3-alpha-03d19e15b.013 Oct 2021pre-release
Nothing published for this version
- 2.2.210 Sept 2021
Release notes
Open source →Patch Changes
- Updated dependencies [2cbcbb371]
- @graphql-codegen/[email protected]
- @graphql-codegen/[email protected]
- Updated dependencies [2cbcbb371]
- 2.2.2-alpha-592215161.07 Sept 2021pre-release
Nothing published for this version
- 2.2.17 Sept 2021
Release notes
Open source →Patch Changes
- Updated dependencies [525ad580b]
- @graphql-codegen/[email protected]
- Updated dependencies [525ad580b]
- 2.2.1-alpha-d9d206160.06 Sept 2021pre-release
Nothing published for this version
- 2.2.03 Sept 2021
Release notes
Open source →Minor Changes
-
d84afec09: Support TypeScript ESM modules (
"module": "node16"and"moduleResolution": "node16").
Patch Changes
- Updated dependencies [d84afec09]
- Updated dependencies [a4fe5006b]
- Updated dependencies [8e44df58b]
- @graphql-codegen/[email protected]
Additional notes
Open source →Minor Changes
-
d84afec09: Support TypeScript ESM modules (
"module": "node16"and"moduleResolution": "node16").
Patch Changes
- Updated dependencies [68bb30e19]
- Updated dependencies [d84afec09]
- Updated dependencies [a4fe5006b]
- Updated dependencies [8e44df58b]
- @graphql-codegen/[email protected]
- @graphql-codegen/[email protected]
-
- 2.2.0-alpha-f3cd38eb4.03 Sept 2021pre-release
Nothing published for this version
- 2.2.0-alpha-d7e6bfe3e.03 Sept 2021pre-release
Nothing published for this version
- 2.1.3-alpha-a67c75cf5.03 Sept 2021pre-release
Nothing published for this version
- 2.1.3-alpha-0f98dfd69.03 Sept 2021pre-release
Nothing published for this version
- 2.1.225 Aug 2021
Release notes
Open source →Patch Changes
- Updated dependencies [2cbcbb371]
- @graphql-codegen/[email protected]
- @graphql-codegen/[email protected]
- Updated dependencies [2cbcbb371]
- 2.1.2-alpha-57e92294c.024 Aug 2021pre-release
Nothing published for this version