PackageTrack

npm · #3667 most downloaded on npm

@graphql-codegen/typescript

6.1.0dotansimha/graphql-code-generator

GraphQL Code Generator plugin for generating TypeScript types

Release timeline

6518 releases since 2019
20192026

One column per quarter.

Releases

  1. 2.4.4-alpha-ce66df00d.014 Feb 2022pre-release

    Nothing published for this version

  2. 2.4.4-alpha-cb6ec4365.09 Feb 2022pre-release

    Nothing published for this version

  3. 2.4.4-alpha-bbecef04a.07 Feb 2022pre-release

    Nothing published for this version

  4. 2.4.4-alpha-b385699c5.014 Feb 2022pre-release

    Nothing published for this version

  5. 2.4.4-alpha-a52c122aa.09 Feb 2022pre-release

    Nothing published for this version

  6. 2.4.4-alpha-967b742ba.09 Feb 2022pre-release

    Nothing published for this version

  7. 2.4.4-alpha-7c50b8781.09 Feb 2022pre-release

    Nothing published for this version

  8. 2.4.4-alpha-74513a63e.09 Feb 2022pre-release

    Nothing published for this version

  9. 2.4.4-alpha-714e0efe9.015 Feb 2022pre-release

    Nothing published for this version

  10. 2.4.4-alpha-252a8d50d.09 Feb 2022pre-release

    Nothing published for this version

  11. 2.4.33 Feb 2022

    Nothing published for this version

  12. 2.4.3-alpha-fc06eb8e7.02 Feb 2022pre-release

    Nothing published for this version

  13. 2.4.3-alpha-c9cbc7d69.02 Feb 2022pre-release

    Nothing published for this version

  14. 2.4.3-alpha-bc33c031d.030 Jan 2022pre-release

    Nothing published for this version

  15. 2.4.3-alpha-6cdbcf02e.03 Jan 2022pre-release

    Nothing published for this version

  16. 2.4.3-alpha-5081829d6.01 Feb 2022pre-release

    Nothing published for this version

  17. 2.4.3-alpha-06d103feb.01 Feb 2022pre-release

    Nothing published for this version

  18. 2.4.3-alpha-05252ae4a.01 Feb 2022pre-release

    Nothing published for this version

  19. 2.4.230 Dec 2021
    Release notes

    Patch Changes

    Open source →
  20. 2.4.2-alpha-23d229715.029 Dec 2021pre-release

    Nothing published for this version

  21. 2.4.2-alpha-1f4053433.02 Dec 2021pre-release

    Nothing published for this version

  22. 2.4.118 Nov 2021
    Release notes

    Patch Changes

    Open source →
    Additional notes

    Patch Changes

    • 525ad580b: Revert breaking change for Next.js applications that are incapable of resolving an import with a .js extension.
    • Updated dependencies [525ad580b]
    Open source →
  23. 2.4.1-alpha-ac95f9557.018 Nov 2021pre-release

    Nothing published for this version

  24. 2.4.015 Nov 2021
    Release notes

    Minor Changes

    • da252a6f3: Expose plugin config type definition as same convension as typescript-resolvers
    Open source →
    Additional notes

    Minor Changes

    • 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
      

    Patch Changes

    Open source →
    Additional notes

    Minor Changes

    Patch Changes

    Open source →
  25. 2.4.0-alpha-54d801468.031 Oct 2021pre-release

    Nothing published for this version

  26. 2.3.2-alpha-df8969b0a.015 Nov 2021pre-release

    Nothing published for this version

  27. 2.3.2-alpha-2113b7d34.015 Nov 2021pre-release

    Nothing published for this version

  28. 2.3.15 Nov 2021
    Release notes

    Patch Changes

    Open source →
    Additional notes

    Patch Changes

    Open source →
    Additional notes

    Patch Changes

    Open source →
    Additional notes

    Patch Changes

    • 525ad580b: Revert breaking change for Next.js applications that are incapable of resolving an import with a .js extension.
    • Updated dependencies [525ad580b]
    Open source →
    Additional notes

    Patch Changes

    Open source →
    Additional notes

    Patch Changes

    Open source →
  29. 2.3.1-alpha-ee6fcf862.01 Nov 2021pre-release

    Nothing published for this version

  30. 2.3.1-alpha-9e27900cc.05 Nov 2021pre-release

    Nothing published for this version

  31. 2.3.1-alpha-66fd7ef2f.04 Nov 2021pre-release

    Nothing published for this version

  32. 2.3.1-alpha-3b5c0246d.04 Nov 2021pre-release

    Nothing published for this version

  33. 2.3.029 Oct 2021
    Release notes

    Minor Changes

    Patch Changes

    • Updated dependencies [68bb30e19]
    • Updated dependencies [d84afec09]
    • Updated dependencies [a4fe5006b]
    • Updated dependencies [8e44df58b]
    Open source →
    Additional notes

    Minor Changes

    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]
    Open source →
    Additional notes

    Minor Changes

    Patch Changes

    • 4f38d8461: Ensure optional fields are marked as optional in TypeScript
    • Updated dependencies [68bb30e19]
    • Updated dependencies [d84afec09]
    • Updated dependencies [a4fe5006b]
    • Updated dependencies [8e44df58b]
    Open source →
    Additional notes

    Minor Changes

    • 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").

      More information on the TypeScript Release Notes.

    Patch Changes

    • Updated dependencies [68bb30e19]
    • Updated dependencies [d84afec09]
    • Updated dependencies [a4fe5006b]
    • Updated dependencies [8e44df58b]
    Open source →
    Additional notes

    Minor Changes

    • 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").

      More information on the TypeScript Release Notes.

    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]
    Open source →
    Additional notes

    Minor Changes

    Patch Changes

    Open source →
  34. 2.3.0-alpha-3d0d10d56.011 Oct 2021pre-release

    Nothing published for this version

  35. 2.2.414 Oct 2021

    Nothing published for this version

  36. 2.2.313 Oct 2021

    Nothing published for this version

  37. 2.2.3-alpha-f01e08cd9.013 Oct 2021pre-release

    Nothing published for this version

  38. 2.2.3-alpha-e6eb2d6cf.013 Oct 2021pre-release

    Nothing published for this version

  39. 2.2.3-alpha-e04750ad3.013 Oct 2021pre-release

    Nothing published for this version

  40. 2.2.3-alpha-b24e050a5.013 Oct 2021pre-release

    Nothing published for this version

  41. 2.2.3-alpha-a09853373.013 Oct 2021pre-release

    Nothing published for this version

  42. 2.2.3-alpha-88d3db1b6.013 Oct 2021pre-release

    Nothing published for this version

  43. 2.2.3-alpha-6b476baff.05 Oct 2021pre-release

    Nothing published for this version

  44. 2.2.3-alpha-476627f73.013 Oct 2021pre-release

    Nothing published for this version

  45. 2.2.3-alpha-38c4bf8b3.013 Oct 2021pre-release

    Nothing published for this version

  46. 2.2.3-alpha-16421e2d7.012 Oct 2021pre-release

    Nothing published for this version

  47. 2.2.3-alpha-143b4bc91.013 Oct 2021pre-release

    Nothing published for this version

  48. 2.2.3-alpha-04adbef2b.013 Oct 2021pre-release

    Nothing published for this version

  49. 2.2.3-alpha-03d19e15b.013 Oct 2021pre-release

    Nothing published for this version

  50. 2.2.210 Sept 2021
    Release notes

    Patch Changes

    Open source →
  51. 2.2.2-alpha-592215161.07 Sept 2021pre-release

    Nothing published for this version

  52. 2.2.17 Sept 2021
    Release notes

    Patch Changes

    Open source →
  53. 2.2.1-alpha-d9d206160.06 Sept 2021pre-release

    Nothing published for this version

  54. 2.2.03 Sept 2021
    Release notes

    Minor Changes

    Patch Changes

    • Updated dependencies [d84afec09]
    • Updated dependencies [a4fe5006b]
    • Updated dependencies [8e44df58b]
    Open source →
    Additional notes

    Minor Changes

    Patch Changes

    • Updated dependencies [68bb30e19]
    • Updated dependencies [d84afec09]
    • Updated dependencies [a4fe5006b]
    • Updated dependencies [8e44df58b]
    Open source →
  55. 2.2.0-alpha-f3cd38eb4.03 Sept 2021pre-release

    Nothing published for this version

  56. 2.2.0-alpha-d7e6bfe3e.03 Sept 2021pre-release

    Nothing published for this version

  57. 2.1.3-alpha-a67c75cf5.03 Sept 2021pre-release

    Nothing published for this version

  58. 2.1.3-alpha-0f98dfd69.03 Sept 2021pre-release

    Nothing published for this version

  59. 2.1.225 Aug 2021
    Release notes

    Patch Changes

    Open source →
  60. 2.1.2-alpha-57e92294c.024 Aug 2021pre-release

    Nothing published for this version