PackageTrack

npm · #4105

@graphql-codegen/cli

7.3.1dotansimha/graphql-code-generator

Release timeline

6088 releases since 2019
20192020202120222023202420252026

Releases

  1. 7.3.123 Aug 2026
    Release notes

    @graphql-codegen/[email protected]

    Open source →
    Additional notes

    Patch Changes

    • #10924 0c8f5ba Thanks @eddeee888! - Fix profiler output not being written to the filesystem in watch mode (--profile --watch)

      The profiler trace was only written on the non-watch code path, after the watch-mode early return, so a profiled watch session never produced a codegen-*.json file.

      The profiler now writes a fresh trace file after the initial run and after every rebuild, with each file containing only that run's events. A failed rebuild does not produce a trace and its events are discarded so they don't leak into the next successful run.

      The Profiler now owns its own trace lifecycle:

      • a new clear() method starts a new trace
      • a new outputName property provides the filename for the current trace (null for the noop profiler)
      • filename generation was removed from CodegenContext
    • Updated dependencies [0c8f5ba]:

    Open source →
  2. 7.3.1-alpha-20260823141338-5da5a2d3d49243cb2c1c065e31701df940da3eb523 Aug 2026pre-release

    Nothing published for this version

  3. 7.3.1-alpha-20260823070433-cca9ea57bf562ce13de93849cc9b787d2b61193923 Aug 2026pre-release

    Nothing published for this version

  4. 7.3.022 Aug 2026
    Release notes

    @graphql-codegen/[email protected]

    Open source →
    Additional notes

    Minor Changes

    • #10921 58cdb31 Thanks @eddeee888! - Extend overwrite with overwrite.removeStaleFiles and overwrite.updateExistingFiles

      overwrite was being used to both remove stale files in watch mode and update existing files. Some plugins such as Server Preset may dynamically return files to write between watch runs (for performance purposes).

      The overwrite can now take an object with overwrite.removeStaleFiles and overwrite.updateExistingFiles fields to allow granular control over actions.

      This is not a breaking change because overwrite=true|false still works.

    Patch Changes

    Open source →
  5. 7.3.0-alpha-20260819142751-88cc6428fb4182dc8f12a1da685a0fc5280477d919 Aug 2026pre-release

    Nothing published for this version

  6. 7.3.0-alpha-20260819142612-e67b77fd858dd4b58f56ceda6a16331c3af57c9d19 Aug 2026pre-release

    Nothing published for this version

  7. 7.2.06 Jul 2026
    Release notes

    @graphql-codegen/[email protected]

    Open source →
    Additional notes

    Minor Changes

    Patch Changes

    Open source →
  8. 7.2.0-alpha-20260706131902-30ccf8e97c7aaa696488caa1b30d4ea70d9e62136 Jul 2026pre-release

    Nothing published for this version

  9. 7.2.0-alpha-20260706115540-218d46ac54100ede5f16a599a4fdc4724c4765976 Jul 2026pre-release

    Nothing published for this version

  10. 7.1.4-alpha-20260706114607-dfb67acc06483c9aabcc5ede404d7f5327086d606 Jul 2026pre-release

    Nothing published for this version

  11. 7.1.4-alpha-20260706105241-3de10ec4f3375e2a04ae89c71f5149909fe1dbbe6 Jul 2026pre-release

    Nothing published for this version

  12. 7.1.4-alpha-20260706105013-4378811d5d80ace8f4f2252d715a9ea56e16c4ad6 Jul 2026pre-release

    Nothing published for this version

  13. 7.1.4-alpha-20260706100712-200b55e0bc09de8d3e03b945f5ab57f119dfbf0e6 Jul 2026pre-release

    Nothing published for this version

  14. 7.1.4-alpha-20260706100445-26fa6516d5193ab4e1a3ccb82b4eab51712eb2ac6 Jul 2026pre-release

    Nothing published for this version

  15. 7.1.4-alpha-20260625140734-1ad8f133387ecf5e348a737d91b1a2e22bcfab4f25 Jun 2026pre-release

    Nothing published for this version

  16. 7.1.316 Jun 2026
    Release notes

    Patch Changes

    • #10335 3280ace Thanks @Diluka! - Fix graphql-config loading order to correctly detect codegen projects

      Previously, a graphql-config file like this failed:

      projects:
        default:
          schema: 'default/schema.graphql'
        project1:
          schema: 'project1/schema.graphql'
          extensions:
            codegen:
              generates:
                'project1/__generated__/types.ts':
                  plugins: ['typescript']
      

      This is because the default project doesn't have a codegen extension, which caused previous logic to short circuit before reading project1's config.

      The fix reads every named project first, before reading the default project to exhaustively go through every single project.

    Open source →
  17. 7.1.3-alpha-20260603142609-c200bb102ff19a966cbef664cd4b5bef49c7aff03 Jun 2026pre-release

    Nothing published for this version

  18. 7.1.21 Jun 2026
    Release notes

    Patch Changes

    Open source →
  19. 7.1.2-alpha-20260601105455-5312beae60e62114e6bafbac75a47e1b2857e0dc1 Jun 2026pre-release

    Nothing published for this version

  20. 7.1.2-alpha-20260531163038-f79757786e219f4599a1ed115e4c6dfa0095f3d731 May 2026pre-release

    Nothing published for this version

  21. 7.1.2-alpha-20260531162921-675991eb830f8794bf98c54eb07dfd370cd2a71331 May 2026pre-release

    Nothing published for this version

  22. 7.1.2-alpha-20260531162553-432f763d8159a05858062af551a4238708e87de131 May 2026pre-release

    Nothing published for this version

  23. 7.1.2-alpha-20260531161844-7bcc72c821cb2b20af802be9e68aab66a2cb203e31 May 2026pre-release

    Nothing published for this version

  24. 7.1.2-alpha-20260531121708-9fbdcfaf6bf0b7951b9e1bee9a2e2d173e3a7edf31 May 2026pre-release

    Nothing published for this version

  25. 7.1.131 May 2026
    Release notes

    Patch Changes

    Open source →
  26. 7.1.1-alpha-20260531030001-78bc32357d299cbfd3987a33579e7c5533fafe6c31 May 2026pre-release

    Nothing published for this version

  27. 7.1.1-alpha-20260531025228-425805da181b7dfca1af071ca3712d32e7280de831 May 2026pre-release

    Nothing published for this version

  28. 7.1.1-alpha-20260530052058-ef75932bfe7a0d88591c38c1e2d1e5cd45eb18ba30 May 2026pre-release

    Nothing published for this version

  29. 7.1.1-alpha-20260530051121-a3a953c50081a81062fbe487fa84d51bb2758ccd30 May 2026pre-release

    Nothing published for this version

  30. 7.1.1-alpha-20260530050720-18355f01db9952012ae31ee6cf2856c6f3a1728230 May 2026pre-release

    Nothing published for this version

  31. 7.1.1-alpha-20260530050446-b73b68a9dfec081704bbeea8effdc984bf4cc16730 May 2026pre-release

    Nothing published for this version

  32. 7.1.1-alpha-20260530045247-97e109f0d4a268f683d869798984b3ea0ed7754530 May 2026pre-release

    Nothing published for this version

  33. 7.1.1-alpha-20260530044942-e38eb33f551d7fedb5f82bfafc4597e13b9dabee30 May 2026pre-release

    Nothing published for this version

  34. 7.1.1-alpha-20260529143258-929a3cb358a0232bcc74c6e15a7f276f15e0626529 May 2026pre-release

    Nothing published for this version

  35. 7.1.027 May 2026
    Release notes

    Minor Changes

    • #10855 cfc4fc3 Thanks @eddeee888! - Add disableFederationDirectiveAndScalarInjection config to better support Federation v2

    Patch Changes

    Open source →
  36. 7.1.0-alpha-20260527141523-d4a0c653a7fe5e47d61f722aa881d93f2e5302fc27 May 2026pre-release

    Nothing published for this version

  37. 7.0.127 May 2026
    Release notes

    Patch Changes

    Open source →
  38. 7.0.1-alpha-20260527130951-bd05afca3da7e6c415a3a9d8c10927e3f686b99a27 May 2026pre-release

    Nothing published for this version

  39. 7.0.1-alpha-20260527125136-bfccba3e9989b928eb2756dd3a024f9599dbe32d27 May 2026pre-release

    Nothing published for this version

  40. 7.0.1-alpha-20260527124147-72d939e56a1f2b5690041b1a798a65f0a55368c527 May 2026pre-release

    Nothing published for this version

  41. 7.0.1-alpha-20260527095943-e20f34801e43afe1c5859c99f50a9112ce9e7d5527 May 2026pre-release

    Nothing published for this version

  42. 7.0.1-alpha-20260527095554-8dced87b079113bd29ffc10cac8da75a4185341827 May 2026pre-release

    Nothing published for this version

  43. 7.0.1-alpha-20260527075512-46ecc2c10a9d9addab411f596e8d30bdd82bf92f27 May 2026pre-release

    Nothing published for this version

  44. 7.0.030 Apr 2026
    Release notes

    Major Changes

    • #10496 afaace6 Thanks @eddeee888! - BREAKING CHANGE: Update deps to latest, some only support ESM

      Node 20 support is dropped in this release. Node 22 comes with require() support for ESM, which means it's easier to integrate ES modules into applications. Therefore, it is safe to start using ESM-only packages.

      If you are a user, please upgrade to Node 22. If you are a lib maintainer and see ESM vs CJS issues when running Jest tests, try using Vitest.

    • #10496 afaace6 Thanks @eddeee888! - BREAKING CHANGE: Drop Node 20 support

    • #10496 afaace6 Thanks @eddeee888! - BREAKING CHANGE: Set noSilentErrors: true by default

      When multiple files match documents pattern, and there are syntax errors in some but not others, then the operations with errors are not included in the loaded documents list by default (noSilentErrors: false). This is annoying for users as there is no feedback loop during development.

      noSilentErrors: true is used as the default for Codegen users to make the feedback loop faster. It can still overriden in Codegen Config if desired.

    Patch Changes

    Open source →
  45. 7.0.0-alpha-20260430125644-b20ffe821614c625689575ab43d971db7e7ab32730 Apr 2026pre-release

    Nothing published for this version

  46. 7.0.0-alpha-20260430123927-f9f47409689e4a0d1876914bfbbfed57e57740e530 Apr 2026pre-release

    Nothing published for this version

  47. 7.0.0-alpha-20260427113638-f8b9bb1c86523849d66ebdc98a38815dc9efe4eb27 Apr 2026pre-release

    Nothing published for this version

  48. 7.0.0-alpha-20260424115228-e349b914e4df251e8b0c98118a12b3740034f2b724 Apr 2026pre-release

    Nothing published for this version

  49. 7.0.0-alpha-20260422122602-fdc454ac0f4fe86baab0e0c4fa19b8ad1d24912422 Apr 2026pre-release

    Nothing published for this version

  50. 7.0.0-alpha-20260419102718-b51558732f8016c9d9f645501d1e06891d639dc419 Apr 2026pre-release

    Nothing published for this version

  51. 7.0.0-alpha-20260418131654-503ab6a01555d0981481d105f71b7685480bcb3c18 Apr 2026pre-release

    Nothing published for this version

  52. 7.0.0-alpha-20260413135420-eb41159d047f15f84648ca3282322ef660a92d6313 Apr 2026pre-release

    Nothing published for this version

  53. 7.0.0-alpha-20260413134408-61e21f4b1b8f8b029c7078874e088f7e34608c4d13 Apr 2026pre-release

    Nothing published for this version

  54. 7.0.0-alpha-20260413134044-219e6c60eb76b7ddbddd6681ff504fcd03e9722713 Apr 2026pre-release

    Nothing published for this version

  55. 7.0.0-alpha-20260413133253-405d8586497bf3936183822bddf74940ae72abe913 Apr 2026pre-release

    Nothing published for this version

  56. 7.0.0-alpha-20260413131710-0312d1fa627824dd432c55bb28404b073ce3383013 Apr 2026pre-release

    Nothing published for this version

  57. 7.0.0-alpha-20260413131420-7aed107788d15ef2a04c40291da32944fdae788813 Apr 2026pre-release

    Nothing published for this version

  58. 7.0.0-alpha-20260331131036-3103b7af1f0e6f15d6cf4d9521376fa82383845e31 Mar 2026pre-release

    Nothing published for this version

  59. 7.0.0-alpha-20260331125845-e6d2a4ce6d2c1f46380441d80f8a3b827fbac6d831 Mar 2026pre-release

    Nothing published for this version

  60. 7.0.0-alpha-20260330130133-91e5886d742ea13cf65e87b235232a6caefa6baa30 Mar 2026pre-release

    Nothing published for this version