PackageTrack

npm · #4105 most downloaded on npm

@graphql-codegen/cli

7.3.1dotansimha/graphql-code-generator

Release timeline

6088 releases since 2019
20192026

One column per quarter.

Releases

  1. 2.11.725 Aug 2022
    Release notes

    Patch Changes

    Open source →
  2. 2.11.7-alpha-20220825033709-69ba7de3e25 Aug 2022pre-release

    Nothing published for this version

  3. 2.11.7-alpha-20220824204719-cc672e79324 Aug 2022pre-release

    Nothing published for this version

  4. 2.11.7-alpha-20220824010509-16b11d4c524 Aug 2022pre-release

    Nothing published for this version

  5. 2.11.7-alpha-20220823214729-12fd96a9023 Aug 2022pre-release

    Nothing published for this version

  6. 2.11.7-alpha-20220823214656-7a5ac919e23 Aug 2022pre-release

    Nothing published for this version

  7. 2.11.611 Aug 2022
    Release notes

    Patch Changes

    Open source →
  8. 2.11.58 Aug 2022
    Release notes

    Patch Changes

    Open source →
  9. 2.11.5-alpha-20220808102251-df8828d538 Aug 2022pre-release

    Nothing published for this version

  10. 2.11.5-alpha-20220808101014-dcd7a85a58 Aug 2022pre-release

    Nothing published for this version

  11. 2.11.48 Aug 2022
    Release notes

    Patch Changes

    Open source →
  12. 2.11.4-alpha-e79b5a85a.03 Aug 2022pre-release

    Nothing published for this version

  13. 2.11.4-alpha-d2a18d212.03 Aug 2022pre-release

    Nothing published for this version

  14. 2.11.4-alpha-c88238a3e.03 Aug 2022pre-release

    Nothing published for this version

  15. 2.11.4-alpha-8815d56b3.04 Aug 2022pre-release

    Nothing published for this version

  16. 2.11.4-alpha-20220805095358-8b7e687d15 Aug 2022pre-release

    Nothing published for this version

  17. 2.11.4-alpha-20220804125427-dc9183b8a4 Aug 2022pre-release

    Nothing published for this version

  18. 2.11.330 Jul 2022
    Release notes2 sources agree

    Patch Changes

    • b75ca4b48: Prevent cli from early returning when run init command.
    Open source →
  19. 2.11.228 Jul 2022
    Release notes2 sources agree

    Patch Changes

    • 8cd1526c4: chore(deps): update @whatwg-node/fetch to fix vulnerability
    Open source →
  20. 2.11.2-alpha-696280031.028 Jul 2022pre-release

    Nothing published for this version

  21. 2.11.128 Jul 2022
    Release notes2 sources agree

    Patch Changes

    • 20bf4b225: support for path containing "&" characters
    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.
    Open source →
  22. 2.11.1-alpha-ffc0ea065.028 Jul 2022pre-release

    Nothing published for this version

  23. 2.11.1-alpha-666ae0a78.027 Jul 2022pre-release

    Nothing published for this version

  24. 2.11.1-alpha-23a4945fe.028 Jul 2022pre-release

    Nothing published for this version

  25. 2.11.027 Jul 2022
    Release notes2 sources agree

    Minor Changes

    • fd6be805b: feat(cli): add a dry-run mode with --check cli flag

    Patch Changes

    • 6a2e328e6: feat(cli): --verbose and --debug flags
    • Updated dependencies [6a2e328e6]
    Open source →
    Additional notes

    Minor Changes

    Patch Changes

    • Updated dependencies [d84afec09]
    • Updated dependencies [a4fe5006b]
    • Updated dependencies [8e44df58b]
    Open source →
  26. 2.11.0-alpha-9ba238a22.027 Jul 2022pre-release

    Nothing published for this version

  27. 2.11.0-alpha-269e9f9ad.027 Jul 2022pre-release

    Nothing published for this version

  28. 2.10.1-alpha-d8d060f00.027 Jul 2022pre-release

    Nothing published for this version

  29. 2.10.1-alpha-b4880d326.027 Jul 2022pre-release

    Nothing published for this version

  30. 2.10.1-alpha-ab1d4bbb7.027 Jul 2022pre-release

    Nothing published for this version

  31. 2.10.1-alpha-7e47fba48.027 Jul 2022pre-release

    Nothing published for this version

  32. 2.10.1-alpha-4bdc5953e.027 Jul 2022pre-release

    Nothing published for this version

  33. 2.10.1-alpha-0814e49cc.027 Jul 2022pre-release

    Nothing published for this version

  34. 2.10.026 Jul 2022
    Release notes2 sources agree

    Minor Changes

    • 273ad602f: Replace cross-undici-fetch with @whatwg-node/fetch to fix security vulnerability from undici

    Patch Changes

    • cc18923d3: feat(hooks): forward hooks logs to debug logs
    Open source →
  35. 2.9.2-alpha-3adb19f71.026 Jul 2022pre-release

    Nothing published for this version

  36. 2.9.120 Jul 2022
    Release notes2 sources agree

    Patch Changes

    • e2cfc5c36: fix(cli): prevent duplicated error messages on fail (without watcher)
    Open source →
  37. 2.9.1-alpha-fca07d28c.020 Jul 2022pre-release

    Nothing published for this version

  38. 2.9.019 Jul 2022
    Release notes2 sources agree

    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

    • 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]

    Open source →
  39. 2.9.0-alpha-892ec97e0.014 Jul 2022pre-release

    Nothing published for this version

  40. 2.9.0-alpha-78f7f741b.011 Jul 2022pre-release

    Nothing published for this version

  41. 2.9.0-alpha-33d33bf6b.011 Jul 2022pre-release

    Nothing published for this version

  42. 2.9.0-alpha-1761e9d45.011 Jul 2022pre-release

    Nothing published for this version

  43. 2.8.113 Jul 2022
    Release notes2 sources agree

    Patch Changes

    Open source →
  44. 2.8.1-alpha-861fb9945.011 Jul 2022pre-release

    Nothing published for this version

  45. 2.8.1-alpha-4a0a50373.011 Jul 2022pre-release

    Nothing published for this version

  46. 2.8.08 Jul 2022
    Release notes2 sources agree

    Minor Changes

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

      More information on the TypeScript Release Notes.

    • 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
      

    Patch Changes

    • 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

      • Migrate to listr2
      • Remove custom renderer for listr
      • Remove unused dependencies

      Why

      listr 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.

      Dev notes

      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]

    Open source →
  47. 2.8.0-alpha-e6c45cd63.04 Jul 2022pre-release

    Nothing published for this version

  48. 2.8.0-alpha-c108f8a9c.04 Jul 2022pre-release

    Nothing published for this version

  49. 2.8.0-alpha-bd464a586.04 Jul 2022pre-release

    Nothing published for this version

  50. 2.8.0-alpha-6e0666d63.04 Jul 2022pre-release

    Nothing published for this version

  51. 2.8.0-alpha-5cf64cf6a.04 Jul 2022pre-release

    Nothing published for this version

  52. 2.8.0-alpha-4fa8b9f18.04 Jul 2022pre-release

    Nothing published for this version

  53. 2.8.0-alpha-36b27f965.04 Jul 2022pre-release

    Nothing published for this version

  54. 2.8.0-alpha-2fbcdb6d3.04 Jul 2022pre-release

    Nothing published for this version

  55. 2.8.0-alpha-2ada7b533.05 Jul 2022pre-release

    Nothing published for this version

  56. 2.8.0-alpha-29eb1293b.04 Jul 2022pre-release

    Nothing published for this version

  57. 2.8.0-alpha-0b48ad1f9.05 Jul 2022pre-release

    Nothing published for this version

  58. 2.7.1-alpha-9d615db71.06 Jul 2022pre-release

    Nothing published for this version

  59. 2.7.1-alpha-23dfe4aea.05 Jul 2022pre-release

    Nothing published for this version

  60. 2.7.1-alpha-223b75f49.05 Jul 2022pre-release

    Nothing published for this version