From 0b794493b93f504637e0b84dabf819ea78a88d08 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Sun, 5 Apr 2026 21:13:05 +0000 Subject: [PATCH] chore(release): update monorepo packages versions --- ...@graphql-codegen_cli-10680-dependencies.md | 5 - ...@graphql-codegen_cli-10682-dependencies.md | 5 - ...@graphql-codegen_cli-10686-dependencies.md | 5 - ...@graphql-codegen_cli-10692-dependencies.md | 5 - .../package.json | 2 +- examples/persisted-documents/package.json | 2 +- .../react/apollo-client-defer/package.json | 2 +- .../apollo-client-swc-plugin/package.json | 2 +- examples/react/apollo-client/package.json | 2 +- examples/react/http-executor/package.json | 2 +- examples/react/nextjs-swr/package.json | 2 +- .../react/tanstack-react-query/package.json | 2 +- examples/react/urql/package.json | 2 +- examples/typescript-esm/package.json | 2 +- .../typescript-graphql-request/package.json | 2 +- examples/typescript-resolvers/package.json | 2 +- examples/vite/vite-react-cts/package.json | 2 +- examples/vite/vite-react-mts/package.json | 2 +- examples/vite/vite-react-ts/package.json | 2 +- examples/vue/apollo-composable/package.json | 2 +- examples/vue/urql/package.json | 2 +- examples/vue/villus/package.json | 2 +- examples/yoga-tests/package.json | 2 +- packages/graphql-codegen-cli/CHANGELOG.md | 1018 ++++++++++++----- packages/graphql-codegen-cli/package.json | 2 +- website/package.json | 2 +- 26 files changed, 771 insertions(+), 309 deletions(-) delete mode 100644 .changeset/@graphql-codegen_cli-10680-dependencies.md delete mode 100644 .changeset/@graphql-codegen_cli-10682-dependencies.md delete mode 100644 .changeset/@graphql-codegen_cli-10686-dependencies.md delete mode 100644 .changeset/@graphql-codegen_cli-10692-dependencies.md diff --git a/.changeset/@graphql-codegen_cli-10680-dependencies.md b/.changeset/@graphql-codegen_cli-10680-dependencies.md deleted file mode 100644 index e6363976b9b..00000000000 --- a/.changeset/@graphql-codegen_cli-10680-dependencies.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@graphql-codegen/cli": patch ---- -dependencies updates: - - Updated dependency [`debounce@^3.0.0` ↗︎](https://www.npmjs.com/package/debounce/v/3.0.0) (from `^2.0.0`, in `dependencies`) diff --git a/.changeset/@graphql-codegen_cli-10682-dependencies.md b/.changeset/@graphql-codegen_cli-10682-dependencies.md deleted file mode 100644 index a4f13c8273f..00000000000 --- a/.changeset/@graphql-codegen_cli-10682-dependencies.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@graphql-codegen/cli": patch ---- -dependencies updates: - - Updated dependency [`listr2@^10.0.0` ↗︎](https://www.npmjs.com/package/listr2/v/10.0.0) (from `^9.0.0`, in `dependencies`) diff --git a/.changeset/@graphql-codegen_cli-10686-dependencies.md b/.changeset/@graphql-codegen_cli-10686-dependencies.md deleted file mode 100644 index 64131977226..00000000000 --- a/.changeset/@graphql-codegen_cli-10686-dependencies.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@graphql-codegen/cli": patch ---- -dependencies updates: - - Updated dependency [`ts-log@^3.0.0` ↗︎](https://www.npmjs.com/package/ts-log/v/3.0.0) (from `^2.2.3`, in `dependencies`) diff --git a/.changeset/@graphql-codegen_cli-10692-dependencies.md b/.changeset/@graphql-codegen_cli-10692-dependencies.md deleted file mode 100644 index e2b61b95ac6..00000000000 --- a/.changeset/@graphql-codegen_cli-10692-dependencies.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@graphql-codegen/cli": patch ---- -dependencies updates: - - Updated dependency [`yargs@^18.0.0` ↗︎](https://www.npmjs.com/package/yargs/v/18.0.0) (from `^17.0.0`, in `dependencies`) diff --git a/examples/persisted-documents-string-mode/package.json b/examples/persisted-documents-string-mode/package.json index 2c49e78aa24..43ef2d54d31 100644 --- a/examples/persisted-documents-string-mode/package.json +++ b/examples/persisted-documents-string-mode/package.json @@ -16,7 +16,7 @@ "@babel/core": "7.25.2", "@babel/preset-env": "7.25.3", "@babel/preset-typescript": "7.28.5", - "@graphql-codegen/cli": "6.2.1", + "@graphql-codegen/cli": "6.2.2", "@graphql-typed-document-node/core": "3.2.0" }, "bob": false diff --git a/examples/persisted-documents/package.json b/examples/persisted-documents/package.json index 5cd8546a1c5..52098de6792 100644 --- a/examples/persisted-documents/package.json +++ b/examples/persisted-documents/package.json @@ -16,7 +16,7 @@ "@babel/core": "7.25.2", "@babel/preset-env": "7.25.3", "@babel/preset-typescript": "7.28.5", - "@graphql-codegen/cli": "6.2.1", + "@graphql-codegen/cli": "6.2.2", "@graphql-typed-document-node/core": "3.2.0" }, "bob": false diff --git a/examples/react/apollo-client-defer/package.json b/examples/react/apollo-client-defer/package.json index 137ea520c6a..21643667703 100644 --- a/examples/react/apollo-client-defer/package.json +++ b/examples/react/apollo-client-defer/package.json @@ -20,7 +20,7 @@ "react-dom": "^19.0.0" }, "devDependencies": { - "@graphql-codegen/cli": "^6.2.1", + "@graphql-codegen/cli": "^6.2.2", "@types/node": "^24.0.0", "@types/react": "^19.0.0", "@types/react-dom": "^19.0.0", diff --git a/examples/react/apollo-client-swc-plugin/package.json b/examples/react/apollo-client-swc-plugin/package.json index 1934bbb952f..0d5c3d54ba7 100644 --- a/examples/react/apollo-client-swc-plugin/package.json +++ b/examples/react/apollo-client-swc-plugin/package.json @@ -15,7 +15,7 @@ "react-dom": "19.2.4" }, "devDependencies": { - "@graphql-codegen/cli": "^6.2.1", + "@graphql-codegen/cli": "^6.2.2", "@graphql-codegen/client-preset-swc-plugin": "0.2.0", "@types/react": "19.2.14", "@types/react-dom": "19.2.3", diff --git a/examples/react/apollo-client/package.json b/examples/react/apollo-client/package.json index de191f71444..92a7ac21be9 100644 --- a/examples/react/apollo-client/package.json +++ b/examples/react/apollo-client/package.json @@ -17,7 +17,7 @@ "react-dom": "^19.0.0" }, "devDependencies": { - "@graphql-codegen/cli": "^6.2.1", + "@graphql-codegen/cli": "^6.2.2", "@types/node": "^24.0.0", "@types/react": "^19.0.0", "@types/react-dom": "^19.0.0", diff --git a/examples/react/http-executor/package.json b/examples/react/http-executor/package.json index 934eafb503f..40336f668ee 100644 --- a/examples/react/http-executor/package.json +++ b/examples/react/http-executor/package.json @@ -16,7 +16,7 @@ "react-dom": "^19.0.0" }, "devDependencies": { - "@graphql-codegen/cli": "^6.2.1", + "@graphql-codegen/cli": "^6.2.2", "@types/node": "^24.0.0", "@types/react": "^19.0.0", "@types/react-dom": "^19.0.0", diff --git a/examples/react/nextjs-swr/package.json b/examples/react/nextjs-swr/package.json index f42be862bd3..72cb3c82a74 100644 --- a/examples/react/nextjs-swr/package.json +++ b/examples/react/nextjs-swr/package.json @@ -19,7 +19,7 @@ "swr": "^2.0.0" }, "devDependencies": { - "@graphql-codegen/cli": "^6.2.1", + "@graphql-codegen/cli": "^6.2.2", "@graphql-codegen/client-preset-swc-plugin": "0.2.0", "@graphql-codegen/schema-ast": "5.0.1", "@types/node": "^24.0.0", diff --git a/examples/react/tanstack-react-query/package.json b/examples/react/tanstack-react-query/package.json index dc5328ebe24..510962e2e90 100644 --- a/examples/react/tanstack-react-query/package.json +++ b/examples/react/tanstack-react-query/package.json @@ -16,7 +16,7 @@ "react-dom": "^19.0.0" }, "devDependencies": { - "@graphql-codegen/cli": "^6.2.1", + "@graphql-codegen/cli": "^6.2.2", "@types/node": "^24.0.0", "@types/react": "^19.0.0", "@types/react-dom": "^19.0.0", diff --git a/examples/react/urql/package.json b/examples/react/urql/package.json index 8bde291d843..1c8676478be 100644 --- a/examples/react/urql/package.json +++ b/examples/react/urql/package.json @@ -16,7 +16,7 @@ "urql": "^3.0.0" }, "devDependencies": { - "@graphql-codegen/cli": "^6.2.1", + "@graphql-codegen/cli": "^6.2.2", "@types/react": "^19.0.0", "@types/react-dom": "^19.0.0", "@vitejs/plugin-react": "^6.0.0", diff --git a/examples/typescript-esm/package.json b/examples/typescript-esm/package.json index 955dce18dd4..971e015f375 100644 --- a/examples/typescript-esm/package.json +++ b/examples/typescript-esm/package.json @@ -14,7 +14,7 @@ "graphql": "16.9.0" }, "devDependencies": { - "@graphql-codegen/cli": "6.2.1" + "@graphql-codegen/cli": "6.2.2" }, "bob": false } diff --git a/examples/typescript-graphql-request/package.json b/examples/typescript-graphql-request/package.json index a8ed41ae7c5..30d111ee00f 100644 --- a/examples/typescript-graphql-request/package.json +++ b/examples/typescript-graphql-request/package.json @@ -15,7 +15,7 @@ "graphql-yoga": "5.7.0" }, "devDependencies": { - "@graphql-codegen/cli": "6.2.1" + "@graphql-codegen/cli": "6.2.2" }, "bob": false } diff --git a/examples/typescript-resolvers/package.json b/examples/typescript-resolvers/package.json index e556dc48dad..98d5ae2dda5 100644 --- a/examples/typescript-resolvers/package.json +++ b/examples/typescript-resolvers/package.json @@ -15,7 +15,7 @@ "graphql-yoga": "5.7.0" }, "devDependencies": { - "@graphql-codegen/cli": "6.2.1", + "@graphql-codegen/cli": "6.2.2", "@graphql-codegen/typescript": "5.0.9", "@graphql-codegen/typescript-resolvers": "5.1.7" }, diff --git a/examples/vite/vite-react-cts/package.json b/examples/vite/vite-react-cts/package.json index 917b2c01588..8cf5dd77618 100644 --- a/examples/vite/vite-react-cts/package.json +++ b/examples/vite/vite-react-cts/package.json @@ -21,7 +21,7 @@ "vite": "^8.0.0" }, "devDependencies": { - "@graphql-codegen/cli": "6.2.1", + "@graphql-codegen/cli": "6.2.2", "@types/react": "^19.0.0", "@types/react-dom": "^19.0.0", "cypress": "15.7.1", diff --git a/examples/vite/vite-react-mts/package.json b/examples/vite/vite-react-mts/package.json index 9704fe472c9..83749f3e935 100644 --- a/examples/vite/vite-react-mts/package.json +++ b/examples/vite/vite-react-mts/package.json @@ -21,7 +21,7 @@ "vite": "^8.0.0" }, "devDependencies": { - "@graphql-codegen/cli": "6.2.1", + "@graphql-codegen/cli": "6.2.2", "@types/react": "^19.0.0", "@types/react-dom": "^19.0.0", "cypress": "15.7.1", diff --git a/examples/vite/vite-react-ts/package.json b/examples/vite/vite-react-ts/package.json index cf5e9331100..837fd5ed152 100644 --- a/examples/vite/vite-react-ts/package.json +++ b/examples/vite/vite-react-ts/package.json @@ -21,7 +21,7 @@ "vite": "^8.0.0" }, "devDependencies": { - "@graphql-codegen/cli": "6.2.1", + "@graphql-codegen/cli": "6.2.2", "@types/react": "^19.0.0", "@types/react-dom": "^19.0.0", "cypress": "15.7.1", diff --git a/examples/vue/apollo-composable/package.json b/examples/vue/apollo-composable/package.json index 3dcc8d4f5ab..82a9d4ef017 100644 --- a/examples/vue/apollo-composable/package.json +++ b/examples/vue/apollo-composable/package.json @@ -17,7 +17,7 @@ "vue": "^3.2.37" }, "devDependencies": { - "@graphql-codegen/cli": "^6.2.1", + "@graphql-codegen/cli": "^6.2.2", "@vitejs/plugin-vue": "^6.0.0", "cypress": "15.7.1", "serve": "14.2.3", diff --git a/examples/vue/urql/package.json b/examples/vue/urql/package.json index 41cc89fdb8f..3b32ad28b82 100644 --- a/examples/vue/urql/package.json +++ b/examples/vue/urql/package.json @@ -16,7 +16,7 @@ "vue": "^3.2.45" }, "devDependencies": { - "@graphql-codegen/cli": "^6.2.1", + "@graphql-codegen/cli": "^6.2.2", "@vitejs/plugin-vue": "^6.0.0", "cypress": "15.7.1", "serve": "14.2.3", diff --git a/examples/vue/villus/package.json b/examples/vue/villus/package.json index 3abae3b897e..2c4a26b1ab6 100644 --- a/examples/vue/villus/package.json +++ b/examples/vue/villus/package.json @@ -16,7 +16,7 @@ "vue": "^3.2.37" }, "devDependencies": { - "@graphql-codegen/cli": "^6.2.1", + "@graphql-codegen/cli": "^6.2.2", "@vitejs/plugin-vue": "^6.0.0", "cypress": "15.7.1", "serve": "14.2.3", diff --git a/examples/yoga-tests/package.json b/examples/yoga-tests/package.json index d65f0196dc8..d838030eafb 100644 --- a/examples/yoga-tests/package.json +++ b/examples/yoga-tests/package.json @@ -15,7 +15,7 @@ "@babel/core": "7.25.2", "@babel/preset-env": "7.25.3", "@babel/preset-typescript": "7.28.5", - "@graphql-codegen/cli": "6.2.1", + "@graphql-codegen/cli": "6.2.2", "@graphql-typed-document-node/core": "3.2.0" }, "bob": false diff --git a/packages/graphql-codegen-cli/CHANGELOG.md b/packages/graphql-codegen-cli/CHANGELOG.md index 193c63c98e5..aee183179fd 100644 --- a/packages/graphql-codegen-cli/CHANGELOG.md +++ b/packages/graphql-codegen-cli/CHANGELOG.md @@ -1,38 +1,99 @@ # @graphql-codegen/cli +## 6.2.2 + +### Patch Changes + +- [#10680](https://github.com/dotansimha/graphql-code-generator/pull/10680) + [`6c9ca90`](https://github.com/dotansimha/graphql-code-generator/commit/6c9ca908ede370cf686c92793109e447c481ae97) + Thanks [@renovate](https://github.com/apps/renovate)! - dependencies updates: + - Updated dependency [`debounce@^3.0.0` ↗︎](https://www.npmjs.com/package/debounce/v/3.0.0) (from + `^2.0.0`, in `dependencies`) + +- [#10682](https://github.com/dotansimha/graphql-code-generator/pull/10682) + [`f49733f`](https://github.com/dotansimha/graphql-code-generator/commit/f49733f5ff77de4e8717e1e4d6eecac541d17a15) + Thanks [@renovate](https://github.com/apps/renovate)! - dependencies updates: + - Updated dependency [`listr2@^10.0.0` ↗︎](https://www.npmjs.com/package/listr2/v/10.0.0) (from + `^9.0.0`, in `dependencies`) + +- [#10686](https://github.com/dotansimha/graphql-code-generator/pull/10686) + [`ccd6182`](https://github.com/dotansimha/graphql-code-generator/commit/ccd6182bcf7b0c285b8a1957f1a4085bd59da892) + Thanks [@renovate](https://github.com/apps/renovate)! - dependencies updates: + - Updated dependency [`ts-log@^3.0.0` ↗︎](https://www.npmjs.com/package/ts-log/v/3.0.0) (from + `^2.2.3`, in `dependencies`) + +- [#10692](https://github.com/dotansimha/graphql-code-generator/pull/10692) + [`3720e73`](https://github.com/dotansimha/graphql-code-generator/commit/3720e734e4d173a4c3bf92f4c5950163d91b7532) + Thanks [@renovate](https://github.com/apps/renovate)! - dependencies updates: + - Updated dependency [`yargs@^18.0.0` ↗︎](https://www.npmjs.com/package/yargs/v/18.0.0) (from + `^17.0.0`, in `dependencies`) + ## 6.2.1 ### Patch Changes -- [#10618](https://github.com/dotansimha/graphql-code-generator/pull/10618) [`e804925`](https://github.com/dotansimha/graphql-code-generator/commit/e804925361f326fe2fc7a2ee3f6db950bcd79dab) Thanks [@PalmerTurley34](https://github.com/PalmerTurley34)! - Honor per-output preset `importExtension` and `emitLegacyCommonJSImports` config instead of always using the root config values. +- [#10618](https://github.com/dotansimha/graphql-code-generator/pull/10618) + [`e804925`](https://github.com/dotansimha/graphql-code-generator/commit/e804925361f326fe2fc7a2ee3f6db950bcd79dab) + Thanks [@PalmerTurley34](https://github.com/PalmerTurley34)! - Honor per-output preset + `importExtension` and `emitLegacyCommonJSImports` config instead of always using the root config + values. ## 6.2.0 ### Minor Changes -- [#10617](https://github.com/dotansimha/graphql-code-generator/pull/10617) [`8c4db2a`](https://github.com/dotansimha/graphql-code-generator/commit/8c4db2abd0578d7b1c9b4197dfa41dae3ef6252b) Thanks [@ikusakov2](https://github.com/ikusakov2)! - Allow GraphQLSchema to be passed directly to generate({schema: ...}) function +- [#10617](https://github.com/dotansimha/graphql-code-generator/pull/10617) + [`8c4db2a`](https://github.com/dotansimha/graphql-code-generator/commit/8c4db2abd0578d7b1c9b4197dfa41dae3ef6252b) + Thanks [@ikusakov2](https://github.com/ikusakov2)! - Allow GraphQLSchema to be passed directly to + generate({schema: ...}) function ### Patch Changes -- Updated dependencies [[`8c4db2a`](https://github.com/dotansimha/graphql-code-generator/commit/8c4db2abd0578d7b1c9b4197dfa41dae3ef6252b)]: +- Updated dependencies + [[`8c4db2a`](https://github.com/dotansimha/graphql-code-generator/commit/8c4db2abd0578d7b1c9b4197dfa41dae3ef6252b)]: - @graphql-codegen/plugin-helpers@6.2.0 ## 6.1.3 ### Patch Changes -- [#10619](https://github.com/dotansimha/graphql-code-generator/pull/10619) [`cdf5dc5`](https://github.com/dotansimha/graphql-code-generator/commit/cdf5dc56c5591cfe031e02cbc31deff761a40072) Thanks [@ardatan](https://github.com/ardatan)! - dependencies updates: - - Updated dependency [`@graphql-tools/apollo-engine-loader@^8.0.28` ↗︎](https://www.npmjs.com/package/@graphql-tools/apollo-engine-loader/v/8.0.28) (from `^8.0.0`, in `dependencies`) - - Updated dependency [`@graphql-tools/code-file-loader@^8.1.28` ↗︎](https://www.npmjs.com/package/@graphql-tools/code-file-loader/v/8.1.28) (from `^8.0.0`, in `dependencies`) - - Updated dependency [`@graphql-tools/git-loader@^8.0.32` ↗︎](https://www.npmjs.com/package/@graphql-tools/git-loader/v/8.0.32) (from `^8.0.0`, in `dependencies`) - - Updated dependency [`@graphql-tools/github-loader@^9.0.6` ↗︎](https://www.npmjs.com/package/@graphql-tools/github-loader/v/9.0.6) (from `^9.0.0`, in `dependencies`) - - Updated dependency [`@graphql-tools/graphql-file-loader@^8.1.11` ↗︎](https://www.npmjs.com/package/@graphql-tools/graphql-file-loader/v/8.1.11) (from `^8.0.0`, in `dependencies`) - - Updated dependency [`@graphql-tools/json-file-loader@^8.0.26` ↗︎](https://www.npmjs.com/package/@graphql-tools/json-file-loader/v/8.0.26) (from `^8.0.0`, in `dependencies`) - - Updated dependency [`@graphql-tools/load@^8.1.8` ↗︎](https://www.npmjs.com/package/@graphql-tools/load/v/8.1.8) (from `^8.1.0`, in `dependencies`) - - Updated dependency [`@graphql-tools/url-loader@^9.0.6` ↗︎](https://www.npmjs.com/package/@graphql-tools/url-loader/v/9.0.6) (from `^9.0.0`, in `dependencies`) - - Updated dependency [`@graphql-tools/utils@^11.0.0` ↗︎](https://www.npmjs.com/package/@graphql-tools/utils/v/11.0.0) (from `^10.0.0`, in `dependencies`) - - Updated dependency [`graphql-config@^5.1.6` ↗︎](https://www.npmjs.com/package/graphql-config/v/5.1.6) (from `^5.1.1`, in `dependencies`) -- Updated dependencies [[`cdf5dc5`](https://github.com/dotansimha/graphql-code-generator/commit/cdf5dc56c5591cfe031e02cbc31deff761a40072), [`cdf5dc5`](https://github.com/dotansimha/graphql-code-generator/commit/cdf5dc56c5591cfe031e02cbc31deff761a40072), [`cdf5dc5`](https://github.com/dotansimha/graphql-code-generator/commit/cdf5dc56c5591cfe031e02cbc31deff761a40072)]: +- [#10619](https://github.com/dotansimha/graphql-code-generator/pull/10619) + [`cdf5dc5`](https://github.com/dotansimha/graphql-code-generator/commit/cdf5dc56c5591cfe031e02cbc31deff761a40072) + Thanks [@ardatan](https://github.com/ardatan)! - dependencies updates: + - Updated dependency + [`@graphql-tools/apollo-engine-loader@^8.0.28` ↗︎](https://www.npmjs.com/package/@graphql-tools/apollo-engine-loader/v/8.0.28) + (from `^8.0.0`, in `dependencies`) + - Updated dependency + [`@graphql-tools/code-file-loader@^8.1.28` ↗︎](https://www.npmjs.com/package/@graphql-tools/code-file-loader/v/8.1.28) + (from `^8.0.0`, in `dependencies`) + - Updated dependency + [`@graphql-tools/git-loader@^8.0.32` ↗︎](https://www.npmjs.com/package/@graphql-tools/git-loader/v/8.0.32) + (from `^8.0.0`, in `dependencies`) + - Updated dependency + [`@graphql-tools/github-loader@^9.0.6` ↗︎](https://www.npmjs.com/package/@graphql-tools/github-loader/v/9.0.6) + (from `^9.0.0`, in `dependencies`) + - Updated dependency + [`@graphql-tools/graphql-file-loader@^8.1.11` ↗︎](https://www.npmjs.com/package/@graphql-tools/graphql-file-loader/v/8.1.11) + (from `^8.0.0`, in `dependencies`) + - Updated dependency + [`@graphql-tools/json-file-loader@^8.0.26` ↗︎](https://www.npmjs.com/package/@graphql-tools/json-file-loader/v/8.0.26) + (from `^8.0.0`, in `dependencies`) + - Updated dependency + [`@graphql-tools/load@^8.1.8` ↗︎](https://www.npmjs.com/package/@graphql-tools/load/v/8.1.8) + (from `^8.1.0`, in `dependencies`) + - Updated dependency + [`@graphql-tools/url-loader@^9.0.6` ↗︎](https://www.npmjs.com/package/@graphql-tools/url-loader/v/9.0.6) + (from `^9.0.0`, in `dependencies`) + - Updated dependency + [`@graphql-tools/utils@^11.0.0` ↗︎](https://www.npmjs.com/package/@graphql-tools/utils/v/11.0.0) + (from `^10.0.0`, in `dependencies`) + - Updated dependency + [`graphql-config@^5.1.6` ↗︎](https://www.npmjs.com/package/graphql-config/v/5.1.6) (from + `^5.1.1`, in `dependencies`) +- Updated dependencies + [[`cdf5dc5`](https://github.com/dotansimha/graphql-code-generator/commit/cdf5dc56c5591cfe031e02cbc31deff761a40072), + [`cdf5dc5`](https://github.com/dotansimha/graphql-code-generator/commit/cdf5dc56c5591cfe031e02cbc31deff761a40072), + [`cdf5dc5`](https://github.com/dotansimha/graphql-code-generator/commit/cdf5dc56c5591cfe031e02cbc31deff761a40072)]: - @graphql-codegen/client-preset@5.2.4 - @graphql-codegen/core@5.0.1 - @graphql-codegen/plugin-helpers@6.1.1 @@ -41,14 +102,20 @@ ### Patch Changes -- [#10590](https://github.com/dotansimha/graphql-code-generator/pull/10590) [`e173e11`](https://github.com/dotansimha/graphql-code-generator/commit/e173e113331cd279fb9dec51203d8c5a34915999) Thanks [@ya2s](https://github.com/ya2s)! - Fix GraphQL Config loading to forward nested `extensions.codegen.config` options - when loading schemas/documents, matching `codegen.ts` behavior. +- [#10590](https://github.com/dotansimha/graphql-code-generator/pull/10590) + [`e173e11`](https://github.com/dotansimha/graphql-code-generator/commit/e173e113331cd279fb9dec51203d8c5a34915999) + Thanks [@ya2s](https://github.com/ya2s)! - Fix GraphQL Config loading to forward nested + `extensions.codegen.config` options when loading schemas/documents, matching `codegen.ts` + behavior. ## 6.1.1 ### Patch Changes -- [#10569](https://github.com/dotansimha/graphql-code-generator/pull/10569) [`8cb7d43`](https://github.com/dotansimha/graphql-code-generator/commit/8cb7d4369d35bc6b71750d53385949ffddd072a7) Thanks [@etr2460](https://github.com/etr2460)! - fix(graphql-codegen-cli): Don't hang when 0 CPUs are found +- [#10569](https://github.com/dotansimha/graphql-code-generator/pull/10569) + [`8cb7d43`](https://github.com/dotansimha/graphql-code-generator/commit/8cb7d4369d35bc6b71750d53385949ffddd072a7) + Thanks [@etr2460](https://github.com/etr2460)! - fix(graphql-codegen-cli): Don't hang when 0 CPUs + are found Fixes generation when 0 CPUs are returned by os.cpus(), which occurs in sandbox environments. @@ -56,11 +123,14 @@ ### Minor Changes -- [#10510](https://github.com/dotansimha/graphql-code-generator/pull/10510) [`9e70bcb`](https://github.com/dotansimha/graphql-code-generator/commit/9e70bcbf5390e815a6844f1965b04056e5d8e670) Thanks [@nickmessing](https://github.com/nickmessing)! - add importExtension configuration option +- [#10510](https://github.com/dotansimha/graphql-code-generator/pull/10510) + [`9e70bcb`](https://github.com/dotansimha/graphql-code-generator/commit/9e70bcbf5390e815a6844f1965b04056e5d8e670) + Thanks [@nickmessing](https://github.com/nickmessing)! - add importExtension configuration option ### Patch Changes -- Updated dependencies [[`9e70bcb`](https://github.com/dotansimha/graphql-code-generator/commit/9e70bcbf5390e815a6844f1965b04056e5d8e670)]: +- Updated dependencies + [[`9e70bcb`](https://github.com/dotansimha/graphql-code-generator/commit/9e70bcbf5390e815a6844f1965b04056e5d8e670)]: - @graphql-codegen/plugin-helpers@6.1.0 - @graphql-codegen/client-preset@5.2.0 @@ -68,9 +138,15 @@ ### Patch Changes -- [#10430](https://github.com/dotansimha/graphql-code-generator/pull/10430) [`aad7f03`](https://github.com/dotansimha/graphql-code-generator/commit/aad7f03bf812d671d3c60ff21be0b3b8da55d79f) Thanks [@renovate](https://github.com/apps/renovate)! - dependencies updates: - - Updated dependency [`@graphql-tools/github-loader@^9.0.0` ↗︎](https://www.npmjs.com/package/@graphql-tools/github-loader/v/9.0.0) (from `^8.0.0`, in `dependencies`) - - Updated dependency [`@graphql-tools/url-loader@^9.0.0` ↗︎](https://www.npmjs.com/package/@graphql-tools/url-loader/v/9.0.0) (from `^8.0.0`, in `dependencies`) +- [#10430](https://github.com/dotansimha/graphql-code-generator/pull/10430) + [`aad7f03`](https://github.com/dotansimha/graphql-code-generator/commit/aad7f03bf812d671d3c60ff21be0b3b8da55d79f) + Thanks [@renovate](https://github.com/apps/renovate)! - dependencies updates: + - Updated dependency + [`@graphql-tools/github-loader@^9.0.0` ↗︎](https://www.npmjs.com/package/@graphql-tools/github-loader/v/9.0.0) + (from `^8.0.0`, in `dependencies`) + - Updated dependency + [`@graphql-tools/url-loader@^9.0.0` ↗︎](https://www.npmjs.com/package/@graphql-tools/url-loader/v/9.0.0) + (from `^8.0.0`, in `dependencies`) - Updated dependencies []: - @graphql-codegen/client-preset@5.1.2 @@ -78,11 +154,16 @@ ### Patch Changes -- [#10468](https://github.com/dotansimha/graphql-code-generator/pull/10468) [`cb1b9d9`](https://github.com/dotansimha/graphql-code-generator/commit/cb1b9d99c413a96fde6c9af0b2315b3ad721ee4e) Thanks [@eddeee888](https://github.com/eddeee888)! - In watch mode, do not write output on failure +- [#10468](https://github.com/dotansimha/graphql-code-generator/pull/10468) + [`cb1b9d9`](https://github.com/dotansimha/graphql-code-generator/commit/cb1b9d99c413a96fde6c9af0b2315b3ad721ee4e) + Thanks [@eddeee888](https://github.com/eddeee888)! - In watch mode, do not write output on failure - Previously, on partial or full failure, watch mode still write to output. However, since the output'd be an empty array, it will then call `removeStaleFiles` internally to remove all previously generated files. + Previously, on partial or full failure, watch mode still write to output. However, since the + output'd be an empty array, it will then call `removeStaleFiles` internally to remove all + previously generated files. - This patch puts a temporary fix to avoid writing output on any failure to fix the described behaviour. + This patch puts a temporary fix to avoid writing output on any failure to fix the described + behaviour. This also means the `config.allowPartialOutputs` does not work in watch mode for now. @@ -90,25 +171,48 @@ ### Major Changes -- [#10218](https://github.com/dotansimha/graphql-code-generator/pull/10218) [`140298a`](https://github.com/dotansimha/graphql-code-generator/commit/140298a33b257a0b7958e361971b5bc97bbc01c2) Thanks [@eddeee888](https://github.com/eddeee888)! - Drop @graphql-tools/prisma-loader - -- [#10218](https://github.com/dotansimha/graphql-code-generator/pull/10218) [`140298a`](https://github.com/dotansimha/graphql-code-generator/commit/140298a33b257a0b7958e361971b5bc97bbc01c2) Thanks [@eddeee888](https://github.com/eddeee888)! - Add `allowPartialOutputs` flag to partially write successful generation to files +- [#10218](https://github.com/dotansimha/graphql-code-generator/pull/10218) + [`140298a`](https://github.com/dotansimha/graphql-code-generator/commit/140298a33b257a0b7958e361971b5bc97bbc01c2) + Thanks [@eddeee888](https://github.com/eddeee888)! - Drop @graphql-tools/prisma-loader -- [#10218](https://github.com/dotansimha/graphql-code-generator/pull/10218) [`140298a`](https://github.com/dotansimha/graphql-code-generator/commit/140298a33b257a0b7958e361971b5bc97bbc01c2) Thanks [@eddeee888](https://github.com/eddeee888)! - Migrate inquirer to @inquirer/prompts +- [#10218](https://github.com/dotansimha/graphql-code-generator/pull/10218) + [`140298a`](https://github.com/dotansimha/graphql-code-generator/commit/140298a33b257a0b7958e361971b5bc97bbc01c2) + Thanks [@eddeee888](https://github.com/eddeee888)! - Add `allowPartialOutputs` flag to partially + write successful generation to files -- [#10218](https://github.com/dotansimha/graphql-code-generator/pull/10218) [`140298a`](https://github.com/dotansimha/graphql-code-generator/commit/140298a33b257a0b7958e361971b5bc97bbc01c2) Thanks [@eddeee888](https://github.com/eddeee888)! - Bump dependencies major versions: +- [#10218](https://github.com/dotansimha/graphql-code-generator/pull/10218) + [`140298a`](https://github.com/dotansimha/graphql-code-generator/commit/140298a33b257a0b7958e361971b5bc97bbc01c2) + Thanks [@eddeee888](https://github.com/eddeee888)! - Migrate inquirer to @inquirer/prompts +- [#10218](https://github.com/dotansimha/graphql-code-generator/pull/10218) + [`140298a`](https://github.com/dotansimha/graphql-code-generator/commit/140298a33b257a0b7958e361971b5bc97bbc01c2) + Thanks [@eddeee888](https://github.com/eddeee888)! - Bump dependencies major versions: - cosmiconfig v9 - debounce v2 - jiti v2.3 -- [#10218](https://github.com/dotansimha/graphql-code-generator/pull/10218) [`140298a`](https://github.com/dotansimha/graphql-code-generator/commit/140298a33b257a0b7958e361971b5bc97bbc01c2) Thanks [@eddeee888](https://github.com/eddeee888)! - Bump listr2 to v9 +- [#10218](https://github.com/dotansimha/graphql-code-generator/pull/10218) + [`140298a`](https://github.com/dotansimha/graphql-code-generator/commit/140298a33b257a0b7958e361971b5bc97bbc01c2) + Thanks [@eddeee888](https://github.com/eddeee888)! - Bump listr2 to v9 -- [#10218](https://github.com/dotansimha/graphql-code-generator/pull/10218) [`140298a`](https://github.com/dotansimha/graphql-code-generator/commit/140298a33b257a0b7958e361971b5bc97bbc01c2) Thanks [@eddeee888](https://github.com/eddeee888)! - Drop Node 18 support +- [#10218](https://github.com/dotansimha/graphql-code-generator/pull/10218) + [`140298a`](https://github.com/dotansimha/graphql-code-generator/commit/140298a33b257a0b7958e361971b5bc97bbc01c2) + Thanks [@eddeee888](https://github.com/eddeee888)! - Drop Node 18 support ### Patch Changes -- Updated dependencies [[`140298a`](https://github.com/dotansimha/graphql-code-generator/commit/140298a33b257a0b7958e361971b5bc97bbc01c2), [`140298a`](https://github.com/dotansimha/graphql-code-generator/commit/140298a33b257a0b7958e361971b5bc97bbc01c2), [`140298a`](https://github.com/dotansimha/graphql-code-generator/commit/140298a33b257a0b7958e361971b5bc97bbc01c2), [`140298a`](https://github.com/dotansimha/graphql-code-generator/commit/140298a33b257a0b7958e361971b5bc97bbc01c2), [`140298a`](https://github.com/dotansimha/graphql-code-generator/commit/140298a33b257a0b7958e361971b5bc97bbc01c2), [`140298a`](https://github.com/dotansimha/graphql-code-generator/commit/140298a33b257a0b7958e361971b5bc97bbc01c2), [`140298a`](https://github.com/dotansimha/graphql-code-generator/commit/140298a33b257a0b7958e361971b5bc97bbc01c2), [`140298a`](https://github.com/dotansimha/graphql-code-generator/commit/140298a33b257a0b7958e361971b5bc97bbc01c2), [`140298a`](https://github.com/dotansimha/graphql-code-generator/commit/140298a33b257a0b7958e361971b5bc97bbc01c2), [`140298a`](https://github.com/dotansimha/graphql-code-generator/commit/140298a33b257a0b7958e361971b5bc97bbc01c2), [`140298a`](https://github.com/dotansimha/graphql-code-generator/commit/140298a33b257a0b7958e361971b5bc97bbc01c2)]: +- Updated dependencies + [[`140298a`](https://github.com/dotansimha/graphql-code-generator/commit/140298a33b257a0b7958e361971b5bc97bbc01c2), + [`140298a`](https://github.com/dotansimha/graphql-code-generator/commit/140298a33b257a0b7958e361971b5bc97bbc01c2), + [`140298a`](https://github.com/dotansimha/graphql-code-generator/commit/140298a33b257a0b7958e361971b5bc97bbc01c2), + [`140298a`](https://github.com/dotansimha/graphql-code-generator/commit/140298a33b257a0b7958e361971b5bc97bbc01c2), + [`140298a`](https://github.com/dotansimha/graphql-code-generator/commit/140298a33b257a0b7958e361971b5bc97bbc01c2), + [`140298a`](https://github.com/dotansimha/graphql-code-generator/commit/140298a33b257a0b7958e361971b5bc97bbc01c2), + [`140298a`](https://github.com/dotansimha/graphql-code-generator/commit/140298a33b257a0b7958e361971b5bc97bbc01c2), + [`140298a`](https://github.com/dotansimha/graphql-code-generator/commit/140298a33b257a0b7958e361971b5bc97bbc01c2), + [`140298a`](https://github.com/dotansimha/graphql-code-generator/commit/140298a33b257a0b7958e361971b5bc97bbc01c2), + [`140298a`](https://github.com/dotansimha/graphql-code-generator/commit/140298a33b257a0b7958e361971b5bc97bbc01c2), + [`140298a`](https://github.com/dotansimha/graphql-code-generator/commit/140298a33b257a0b7958e361971b5bc97bbc01c2)]: - @graphql-codegen/plugin-helpers@6.0.0 - @graphql-codegen/client-preset@5.0.0 - @graphql-codegen/core@5.0.0 @@ -117,11 +221,20 @@ ### Patch Changes -- [#10150](https://github.com/dotansimha/graphql-code-generator/pull/10150) [`e324382`](https://github.com/dotansimha/graphql-code-generator/commit/e3243824cfe0d7ab463cf0d5a6455715510959be) Thanks [@ArminWiebigke](https://github.com/ArminWiebigke)! - Allow functions to be passed as valid values for `UrlSchemaOptions.customFetch`. This was already possible, but the type definitions did not reflect that correctly. +- [#10150](https://github.com/dotansimha/graphql-code-generator/pull/10150) + [`e324382`](https://github.com/dotansimha/graphql-code-generator/commit/e3243824cfe0d7ab463cf0d5a6455715510959be) + Thanks [@ArminWiebigke](https://github.com/ArminWiebigke)! - Allow functions to be passed as valid + values for `UrlSchemaOptions.customFetch`. This was already possible, but the type definitions did + not reflect that correctly. -- [#10358](https://github.com/dotansimha/graphql-code-generator/pull/10358) [`157c823`](https://github.com/dotansimha/graphql-code-generator/commit/157c8236320f00b06c470e2289315179119d4504) Thanks [@eddeee888](https://github.com/eddeee888)! - Remove extraneous error stacktrace if fails to load `@parcel/watcher` +- [#10358](https://github.com/dotansimha/graphql-code-generator/pull/10358) + [`157c823`](https://github.com/dotansimha/graphql-code-generator/commit/157c8236320f00b06c470e2289315179119d4504) + Thanks [@eddeee888](https://github.com/eddeee888)! - Remove extraneous error stacktrace if fails + to load `@parcel/watcher` -- Updated dependencies [[`e324382`](https://github.com/dotansimha/graphql-code-generator/commit/e3243824cfe0d7ab463cf0d5a6455715510959be), [`98392fc`](https://github.com/dotansimha/graphql-code-generator/commit/98392fc5d91035b5b5b0ffdefd78d0398762a523)]: +- Updated dependencies + [[`e324382`](https://github.com/dotansimha/graphql-code-generator/commit/e3243824cfe0d7ab463cf0d5a6455715510959be), + [`98392fc`](https://github.com/dotansimha/graphql-code-generator/commit/98392fc5d91035b5b5b0ffdefd78d0398762a523)]: - @graphql-codegen/plugin-helpers@5.1.1 - @graphql-codegen/client-preset@4.8.2 @@ -129,53 +242,82 @@ ### Patch Changes -- [#10338](https://github.com/dotansimha/graphql-code-generator/pull/10338) [`5d1c4e1`](https://github.com/dotansimha/graphql-code-generator/commit/5d1c4e127d860ff89590fd3a1d01493b3289ad00) Thanks [@eddeee888](https://github.com/eddeee888)! - Fix ignoreNoDocuments=true swallowing all errors +- [#10338](https://github.com/dotansimha/graphql-code-generator/pull/10338) + [`5d1c4e1`](https://github.com/dotansimha/graphql-code-generator/commit/5d1c4e127d860ff89590fd3a1d01493b3289ad00) + Thanks [@eddeee888](https://github.com/eddeee888)! - Fix ignoreNoDocuments=true swallowing all + errors -- [#10333](https://github.com/dotansimha/graphql-code-generator/pull/10333) [`10ab58d`](https://github.com/dotansimha/graphql-code-generator/commit/10ab58dbc183dff460c410ffc7cc759186f91d4c) Thanks [@eddeee888](https://github.com/eddeee888)! - Improve syntax error messages whilst loading schema/document +- [#10333](https://github.com/dotansimha/graphql-code-generator/pull/10333) + [`10ab58d`](https://github.com/dotansimha/graphql-code-generator/commit/10ab58dbc183dff460c410ffc7cc759186f91d4c) + Thanks [@eddeee888](https://github.com/eddeee888)! - Improve syntax error messages whilst loading + schema/document -- Updated dependencies [[`c5efba3`](https://github.com/dotansimha/graphql-code-generator/commit/c5efba34a7b422720be9ce32937dd19fb0784bae)]: +- Updated dependencies + [[`c5efba3`](https://github.com/dotansimha/graphql-code-generator/commit/c5efba34a7b422720be9ce32937dd19fb0784bae)]: - @graphql-codegen/client-preset@4.8.1 ## 5.0.5 ### Patch Changes -- [#10282](https://github.com/dotansimha/graphql-code-generator/pull/10282) [`7d7760d`](https://github.com/dotansimha/graphql-code-generator/commit/7d7760d55c21a99417c38ce5e77a6de22b5effcc) Thanks [@oprypkhantc](https://github.com/oprypkhantc)! - Fix watcher watching project root when schema URL is used +- [#10282](https://github.com/dotansimha/graphql-code-generator/pull/10282) + [`7d7760d`](https://github.com/dotansimha/graphql-code-generator/commit/7d7760d55c21a99417c38ce5e77a6de22b5effcc) + Thanks [@oprypkhantc](https://github.com/oprypkhantc)! - Fix watcher watching project root when + schema URL is used ## 5.0.4 ### Patch Changes -- [#10248](https://github.com/dotansimha/graphql-code-generator/pull/10248) [`72eb86f`](https://github.com/dotansimha/graphql-code-generator/commit/72eb86f49bd86da6308d80f9401bcc09478ca886) Thanks [@renovate](https://github.com/apps/renovate)! - dependencies updates: - - - Updated dependency [`@whatwg-node/fetch@^0.10.0` ↗︎](https://www.npmjs.com/package/@whatwg-node/fetch/v/0.10.0) (from `^0.9.20`, in `dependencies`) +- [#10248](https://github.com/dotansimha/graphql-code-generator/pull/10248) + [`72eb86f`](https://github.com/dotansimha/graphql-code-generator/commit/72eb86f49bd86da6308d80f9401bcc09478ca886) + Thanks [@renovate](https://github.com/apps/renovate)! - dependencies updates: + - Updated dependency + [`@whatwg-node/fetch@^0.10.0` ↗︎](https://www.npmjs.com/package/@whatwg-node/fetch/v/0.10.0) + (from `^0.9.20`, in `dependencies`) -- [#10227](https://github.com/dotansimha/graphql-code-generator/pull/10227) [`6f1741a`](https://github.com/dotansimha/graphql-code-generator/commit/6f1741af03689f8146178637ecabec18347e9331) Thanks [@eddeee888](https://github.com/eddeee888)! - Fix schema pointers type to allow an array of pointers +- [#10227](https://github.com/dotansimha/graphql-code-generator/pull/10227) + [`6f1741a`](https://github.com/dotansimha/graphql-code-generator/commit/6f1741af03689f8146178637ecabec18347e9331) + Thanks [@eddeee888](https://github.com/eddeee888)! - Fix schema pointers type to allow an array of + pointers -- Updated dependencies [[`8737dd8`](https://github.com/dotansimha/graphql-code-generator/commit/8737dd86b4ce3d14234a515fa494736bf7ec35dd), [`ed71811`](https://github.com/dotansimha/graphql-code-generator/commit/ed71811ace083be61c575609e361c629ed7c1740)]: +- Updated dependencies + [[`8737dd8`](https://github.com/dotansimha/graphql-code-generator/commit/8737dd86b4ce3d14234a515fa494736bf7ec35dd), + [`ed71811`](https://github.com/dotansimha/graphql-code-generator/commit/ed71811ace083be61c575609e361c629ed7c1740)]: - @graphql-codegen/client-preset@4.6.0 ## 5.0.3 ### Patch Changes -- [#10069](https://github.com/dotansimha/graphql-code-generator/pull/10069) [`8bb34e7`](https://github.com/dotansimha/graphql-code-generator/commit/8bb34e7cd23a8891313828291c9f2edd6a3b67bc) Thanks [@renovate](https://github.com/apps/renovate)! - dependencies updates: +- [#10069](https://github.com/dotansimha/graphql-code-generator/pull/10069) + [`8bb34e7`](https://github.com/dotansimha/graphql-code-generator/commit/8bb34e7cd23a8891313828291c9f2edd6a3b67bc) + Thanks [@renovate](https://github.com/apps/renovate)! - dependencies updates: + - Updated dependency + [`@whatwg-node/fetch@^0.9.20` ↗︎](https://www.npmjs.com/package/@whatwg-node/fetch/v/0.9.20) + (from `^0.8.0`, in `dependencies`) + - Updated dependency + [`graphql-config@^5.1.1` ↗︎](https://www.npmjs.com/package/graphql-config/v/5.1.1) (from + `^5.0.2`, in `dependencies`) - - Updated dependency [`@whatwg-node/fetch@^0.9.20` ↗︎](https://www.npmjs.com/package/@whatwg-node/fetch/v/0.9.20) (from `^0.8.0`, in `dependencies`) - - Updated dependency [`graphql-config@^5.1.1` ↗︎](https://www.npmjs.com/package/graphql-config/v/5.1.1) (from `^5.0.2`, in `dependencies`) +- [`e0092b5`](https://github.com/dotansimha/graphql-code-generator/commit/e0092b548f51c95be19c232515cf9a72873e7b83) + Thanks [@ardatan](https://github.com/ardatan)! - Bump whatwg-node and graphql-config -- [`e0092b5`](https://github.com/dotansimha/graphql-code-generator/commit/e0092b548f51c95be19c232515cf9a72873e7b83) Thanks [@ardatan](https://github.com/ardatan)! - Bump whatwg-node and graphql-config - -- Updated dependencies [[`8471a18`](https://github.com/dotansimha/graphql-code-generator/commit/8471a180cd61dc03dedace87876c5973b09b35f8), [`67e7556`](https://github.com/dotansimha/graphql-code-generator/commit/67e75561a3e862f26cfbb40e8ec5a08f821f9ddf)]: +- Updated dependencies + [[`8471a18`](https://github.com/dotansimha/graphql-code-generator/commit/8471a180cd61dc03dedace87876c5973b09b35f8), + [`67e7556`](https://github.com/dotansimha/graphql-code-generator/commit/67e75561a3e862f26cfbb40e8ec5a08f821f9ddf)]: - @graphql-codegen/client-preset@4.4.0 ## 5.0.2 ### Patch Changes -- [#9813](https://github.com/dotansimha/graphql-code-generator/pull/9813) [`4e69568`](https://github.com/dotansimha/graphql-code-generator/commit/4e6956899c96f8954cea8d5bbe32aa35a70cc653) Thanks [@saihaj](https://github.com/saihaj)! - bumping for a release +- [#9813](https://github.com/dotansimha/graphql-code-generator/pull/9813) + [`4e69568`](https://github.com/dotansimha/graphql-code-generator/commit/4e6956899c96f8954cea8d5bbe32aa35a70cc653) + Thanks [@saihaj](https://github.com/saihaj)! - bumping for a release -- Updated dependencies [[`4e69568`](https://github.com/dotansimha/graphql-code-generator/commit/4e6956899c96f8954cea8d5bbe32aa35a70cc653)]: +- Updated dependencies + [[`4e69568`](https://github.com/dotansimha/graphql-code-generator/commit/4e6956899c96f8954cea8d5bbe32aa35a70cc653)]: - @graphql-codegen/client-preset@4.2.2 - @graphql-codegen/core@4.0.2 - @graphql-codegen/plugin-helpers@5.0.3 @@ -184,19 +326,37 @@ ### Patch Changes -- [#9811](https://github.com/dotansimha/graphql-code-generator/pull/9811) [`d8364e045`](https://github.com/dotansimha/graphql-code-generator/commit/d8364e045a46ca6e8173583b5108d161c6832975) Thanks [@saihaj](https://github.com/saihaj)! - dependencies updates: - - - Added dependency [`@graphql-codegen/client-preset@^4.1.0` ↗︎](https://www.npmjs.com/package/@graphql-codegen/client-preset/v/4.1.0) (to `dependencies`) +- [#9811](https://github.com/dotansimha/graphql-code-generator/pull/9811) + [`d8364e045`](https://github.com/dotansimha/graphql-code-generator/commit/d8364e045a46ca6e8173583b5108d161c6832975) + Thanks [@saihaj](https://github.com/saihaj)! - dependencies updates: + - Added dependency + [`@graphql-codegen/client-preset@^4.1.0` ↗︎](https://www.npmjs.com/package/@graphql-codegen/client-preset/v/4.1.0) + (to `dependencies`) -- [#9811](https://github.com/dotansimha/graphql-code-generator/pull/9811) [`d8364e045`](https://github.com/dotansimha/graphql-code-generator/commit/d8364e045a46ca6e8173583b5108d161c6832975) Thanks [@saihaj](https://github.com/saihaj)! - ignore events in `.git` directory +- [#9811](https://github.com/dotansimha/graphql-code-generator/pull/9811) + [`d8364e045`](https://github.com/dotansimha/graphql-code-generator/commit/d8364e045a46ca6e8173583b5108d161c6832975) + Thanks [@saihaj](https://github.com/saihaj)! - ignore events in `.git` directory -- [#9811](https://github.com/dotansimha/graphql-code-generator/pull/9811) [`d8364e045`](https://github.com/dotansimha/graphql-code-generator/commit/d8364e045a46ca6e8173583b5108d161c6832975) Thanks [@saihaj](https://github.com/saihaj)! - Surface error occurring during import of @parcel/watcher +- [#9811](https://github.com/dotansimha/graphql-code-generator/pull/9811) + [`d8364e045`](https://github.com/dotansimha/graphql-code-generator/commit/d8364e045a46ca6e8173583b5108d161c6832975) + Thanks [@saihaj](https://github.com/saihaj)! - Surface error occurring during import of + @parcel/watcher -- [#9811](https://github.com/dotansimha/graphql-code-generator/pull/9811) [`d8364e045`](https://github.com/dotansimha/graphql-code-generator/commit/d8364e045a46ca6e8173583b5108d161c6832975) Thanks [@saihaj](https://github.com/saihaj)! - Include @graphql-codegen/client-preset in @graphql-codegen/cli by default +- [#9811](https://github.com/dotansimha/graphql-code-generator/pull/9811) + [`d8364e045`](https://github.com/dotansimha/graphql-code-generator/commit/d8364e045a46ca6e8173583b5108d161c6832975) + Thanks [@saihaj](https://github.com/saihaj)! - Include @graphql-codegen/client-preset in + @graphql-codegen/cli by default -- [#9811](https://github.com/dotansimha/graphql-code-generator/pull/9811) [`d8364e045`](https://github.com/dotansimha/graphql-code-generator/commit/d8364e045a46ca6e8173583b5108d161c6832975) Thanks [@saihaj](https://github.com/saihaj)! - fix watcher unable to find highest common directory on Windows +- [#9811](https://github.com/dotansimha/graphql-code-generator/pull/9811) + [`d8364e045`](https://github.com/dotansimha/graphql-code-generator/commit/d8364e045a46ca6e8173583b5108d161c6832975) + Thanks [@saihaj](https://github.com/saihaj)! - fix watcher unable to find highest common directory + on Windows -- Updated dependencies [[`d8364e045`](https://github.com/dotansimha/graphql-code-generator/commit/d8364e045a46ca6e8173583b5108d161c6832975), [`d8364e045`](https://github.com/dotansimha/graphql-code-generator/commit/d8364e045a46ca6e8173583b5108d161c6832975), [`d8364e045`](https://github.com/dotansimha/graphql-code-generator/commit/d8364e045a46ca6e8173583b5108d161c6832975), [`d8364e045`](https://github.com/dotansimha/graphql-code-generator/commit/d8364e045a46ca6e8173583b5108d161c6832975)]: +- Updated dependencies + [[`d8364e045`](https://github.com/dotansimha/graphql-code-generator/commit/d8364e045a46ca6e8173583b5108d161c6832975), + [`d8364e045`](https://github.com/dotansimha/graphql-code-generator/commit/d8364e045a46ca6e8173583b5108d161c6832975), + [`d8364e045`](https://github.com/dotansimha/graphql-code-generator/commit/d8364e045a46ca6e8173583b5108d161c6832975), + [`d8364e045`](https://github.com/dotansimha/graphql-code-generator/commit/d8364e045a46ca6e8173583b5108d161c6832975)]: - @graphql-codegen/client-preset@4.2.0 - @graphql-codegen/core@4.0.1 - @graphql-codegen/plugin-helpers@5.0.2 @@ -205,57 +365,110 @@ ### Major Changes -- [#9506](https://github.com/dotansimha/graphql-code-generator/pull/9506) [`dd9c7e148`](https://github.com/dotansimha/graphql-code-generator/commit/dd9c7e14872f48592e530ff0d646449a5cb722b4) Thanks [@valkum](https://github.com/valkum)! - Make @parcel/watcher optional +- [#9506](https://github.com/dotansimha/graphql-code-generator/pull/9506) + [`dd9c7e148`](https://github.com/dotansimha/graphql-code-generator/commit/dd9c7e14872f48592e530ff0d646449a5cb722b4) + Thanks [@valkum](https://github.com/valkum)! - Make @parcel/watcher optional ### Patch Changes -- [#9513](https://github.com/dotansimha/graphql-code-generator/pull/9513) [`fdd19d24d`](https://github.com/dotansimha/graphql-code-generator/commit/fdd19d24df21d3257f3e969b79856d18b6f73123) Thanks [@cichelero](https://github.com/cichelero)! - Update yaml dependency to 2.3.1 +- [#9513](https://github.com/dotansimha/graphql-code-generator/pull/9513) + [`fdd19d24d`](https://github.com/dotansimha/graphql-code-generator/commit/fdd19d24df21d3257f3e969b79856d18b6f73123) + Thanks [@cichelero](https://github.com/cichelero)! - Update yaml dependency to 2.3.1 -- Updated dependencies [[`bb1e0e96e`](https://github.com/dotansimha/graphql-code-generator/commit/bb1e0e96ed9d519684630cd7ea53869b48b4632e)]: +- Updated dependencies + [[`bb1e0e96e`](https://github.com/dotansimha/graphql-code-generator/commit/bb1e0e96ed9d519684630cd7ea53869b48b4632e)]: - @graphql-codegen/plugin-helpers@5.0.1 ## 4.0.1 ### Patch Changes -- [#9479](https://github.com/dotansimha/graphql-code-generator/pull/9479) [`0aa444b5d`](https://github.com/dotansimha/graphql-code-generator/commit/0aa444b5d092565c321643a55fb05c7301e303bf) Thanks [@gilgardosh](https://github.com/gilgardosh)! - dependencies updates: +- [#9479](https://github.com/dotansimha/graphql-code-generator/pull/9479) + [`0aa444b5d`](https://github.com/dotansimha/graphql-code-generator/commit/0aa444b5d092565c321643a55fb05c7301e303bf) + Thanks [@gilgardosh](https://github.com/gilgardosh)! - dependencies updates: + - Updated dependency + [`graphql-config@^5.0.2` ↗︎](https://www.npmjs.com/package/graphql-config/v/5.0.2) (from + `^5.0.1`, in `dependencies`) - - Updated dependency [`graphql-config@^5.0.2` ↗︎](https://www.npmjs.com/package/graphql-config/v/5.0.2) (from `^5.0.1`, in `dependencies`) - -- [#9479](https://github.com/dotansimha/graphql-code-generator/pull/9479) [`0aa444b5d`](https://github.com/dotansimha/graphql-code-generator/commit/0aa444b5d092565c321643a55fb05c7301e303bf) Thanks [@gilgardosh](https://github.com/gilgardosh)! - Update graphql-config to v^5.0.2 +- [#9479](https://github.com/dotansimha/graphql-code-generator/pull/9479) + [`0aa444b5d`](https://github.com/dotansimha/graphql-code-generator/commit/0aa444b5d092565c321643a55fb05c7301e303bf) + Thanks [@gilgardosh](https://github.com/gilgardosh)! - Update graphql-config to v^5.0.2 ## 4.0.0 ### Major Changes -- [`bb66c2a31`](https://github.com/dotansimha/graphql-code-generator/commit/bb66c2a31985c1375912ccd6b2b02933f313c9c0) Thanks [@n1ru4l](https://github.com/n1ru4l)! - Require Node.js `>= 16`. Drop support for Node.js 14 - -### Patch Changes - -- [#9449](https://github.com/dotansimha/graphql-code-generator/pull/9449) [`4d9ea1a5a`](https://github.com/dotansimha/graphql-code-generator/commit/4d9ea1a5a94cd3458c1bd868ce1ab1cb806257f2) Thanks [@n1ru4l](https://github.com/n1ru4l)! - dependencies updates: - - - Updated dependency [`graphql-config@^5.0.0` ↗︎](https://www.npmjs.com/package/graphql-config/v/5.0.0) (from `^4.5.0`, in `dependencies`) - -- [#9449](https://github.com/dotansimha/graphql-code-generator/pull/9449) [`4d9ea1a5a`](https://github.com/dotansimha/graphql-code-generator/commit/4d9ea1a5a94cd3458c1bd868ce1ab1cb806257f2) Thanks [@n1ru4l](https://github.com/n1ru4l)! - dependencies updates: - - - Updated dependency [`@graphql-tools/apollo-engine-loader@^8.0.0` ↗︎](https://www.npmjs.com/package/@graphql-tools/apollo-engine-loader/v/8.0.0) (from `^7.3.6`, in `dependencies`) - - Updated dependency [`@graphql-tools/code-file-loader@^8.0.0` ↗︎](https://www.npmjs.com/package/@graphql-tools/code-file-loader/v/8.0.0) (from `^7.3.17`, in `dependencies`) - - Updated dependency [`@graphql-tools/git-loader@^8.0.0` ↗︎](https://www.npmjs.com/package/@graphql-tools/git-loader/v/8.0.0) (from `^7.2.13`, in `dependencies`) - - Updated dependency [`@graphql-tools/github-loader@^8.0.0` ↗︎](https://www.npmjs.com/package/@graphql-tools/github-loader/v/8.0.0) (from `^7.3.28`, in `dependencies`) - - Updated dependency [`@graphql-tools/graphql-file-loader@^8.0.0` ↗︎](https://www.npmjs.com/package/@graphql-tools/graphql-file-loader/v/8.0.0) (from `^7.5.0`, in `dependencies`) - - Updated dependency [`@graphql-tools/json-file-loader@^8.0.0` ↗︎](https://www.npmjs.com/package/@graphql-tools/json-file-loader/v/8.0.0) (from `^7.4.1`, in `dependencies`) - - Updated dependency [`@graphql-tools/load@^8.0.0` ↗︎](https://www.npmjs.com/package/@graphql-tools/load/v/8.0.0) (from `^7.8.0`, in `dependencies`) - - Updated dependency [`@graphql-tools/prisma-loader@^8.0.0` ↗︎](https://www.npmjs.com/package/@graphql-tools/prisma-loader/v/8.0.0) (from `^7.2.69`, in `dependencies`) - - Updated dependency [`@graphql-tools/url-loader@^8.0.0` ↗︎](https://www.npmjs.com/package/@graphql-tools/url-loader/v/8.0.0) (from `^7.17.17`, in `dependencies`) - - Updated dependency [`@graphql-tools/utils@^10.0.0` ↗︎](https://www.npmjs.com/package/@graphql-tools/utils/v/10.0.0) (from `^9.0.0`, in `dependencies`) - - Updated dependency [`cosmiconfig@^8.1.3` ↗︎](https://www.npmjs.com/package/cosmiconfig/v/8.1.3) (from `^7.0.0`, in `dependencies`) - - Updated dependency [`graphql-config@^5.0.1` ↗︎](https://www.npmjs.com/package/graphql-config/v/5.0.1) (from `^4.5.0`, in `dependencies`) - -- [#9371](https://github.com/dotansimha/graphql-code-generator/pull/9371) [`d431f426e`](https://github.com/dotansimha/graphql-code-generator/commit/d431f426eb594b820ac712b9f5c616f4badf6bff) Thanks [@Axxxx0n](https://github.com/Axxxx0n)! - Fixed option ignoreNoDocuments when using graphql configs - -- [#9275](https://github.com/dotansimha/graphql-code-generator/pull/9275) [`2a5da5894`](https://github.com/dotansimha/graphql-code-generator/commit/2a5da589468eb5970587187adae9892ff1f13134) Thanks [@milesrichardson](https://github.com/milesrichardson)! - Trigger rebuilds in watch mode while respecting rules of precedence and negation, both in terms of global (top-level) config vs. local (per-output target) config, and in terms of watch patterns (higher priority) vs. documents/schemas (lower priority). This fixes an issue with overly-aggressive rebuilds during watch mode. - -- Updated dependencies [[`4d9ea1a5a`](https://github.com/dotansimha/graphql-code-generator/commit/4d9ea1a5a94cd3458c1bd868ce1ab1cb806257f2), [`4d9ea1a5a`](https://github.com/dotansimha/graphql-code-generator/commit/4d9ea1a5a94cd3458c1bd868ce1ab1cb806257f2), [`f46803a8c`](https://github.com/dotansimha/graphql-code-generator/commit/f46803a8c70840280529a52acbb111c865712af2), [`63827fabe`](https://github.com/dotansimha/graphql-code-generator/commit/63827fabede76b2380d40392aba2a3ccb099f0c4), [`bb66c2a31`](https://github.com/dotansimha/graphql-code-generator/commit/bb66c2a31985c1375912ccd6b2b02933f313c9c0)]: +- [`bb66c2a31`](https://github.com/dotansimha/graphql-code-generator/commit/bb66c2a31985c1375912ccd6b2b02933f313c9c0) + Thanks [@n1ru4l](https://github.com/n1ru4l)! - Require Node.js `>= 16`. Drop support for Node.js + 14 + +### Patch Changes + +- [#9449](https://github.com/dotansimha/graphql-code-generator/pull/9449) + [`4d9ea1a5a`](https://github.com/dotansimha/graphql-code-generator/commit/4d9ea1a5a94cd3458c1bd868ce1ab1cb806257f2) + Thanks [@n1ru4l](https://github.com/n1ru4l)! - dependencies updates: + - Updated dependency + [`graphql-config@^5.0.0` ↗︎](https://www.npmjs.com/package/graphql-config/v/5.0.0) (from + `^4.5.0`, in `dependencies`) + +- [#9449](https://github.com/dotansimha/graphql-code-generator/pull/9449) + [`4d9ea1a5a`](https://github.com/dotansimha/graphql-code-generator/commit/4d9ea1a5a94cd3458c1bd868ce1ab1cb806257f2) + Thanks [@n1ru4l](https://github.com/n1ru4l)! - dependencies updates: + - Updated dependency + [`@graphql-tools/apollo-engine-loader@^8.0.0` ↗︎](https://www.npmjs.com/package/@graphql-tools/apollo-engine-loader/v/8.0.0) + (from `^7.3.6`, in `dependencies`) + - Updated dependency + [`@graphql-tools/code-file-loader@^8.0.0` ↗︎](https://www.npmjs.com/package/@graphql-tools/code-file-loader/v/8.0.0) + (from `^7.3.17`, in `dependencies`) + - Updated dependency + [`@graphql-tools/git-loader@^8.0.0` ↗︎](https://www.npmjs.com/package/@graphql-tools/git-loader/v/8.0.0) + (from `^7.2.13`, in `dependencies`) + - Updated dependency + [`@graphql-tools/github-loader@^8.0.0` ↗︎](https://www.npmjs.com/package/@graphql-tools/github-loader/v/8.0.0) + (from `^7.3.28`, in `dependencies`) + - Updated dependency + [`@graphql-tools/graphql-file-loader@^8.0.0` ↗︎](https://www.npmjs.com/package/@graphql-tools/graphql-file-loader/v/8.0.0) + (from `^7.5.0`, in `dependencies`) + - Updated dependency + [`@graphql-tools/json-file-loader@^8.0.0` ↗︎](https://www.npmjs.com/package/@graphql-tools/json-file-loader/v/8.0.0) + (from `^7.4.1`, in `dependencies`) + - Updated dependency + [`@graphql-tools/load@^8.0.0` ↗︎](https://www.npmjs.com/package/@graphql-tools/load/v/8.0.0) + (from `^7.8.0`, in `dependencies`) + - Updated dependency + [`@graphql-tools/prisma-loader@^8.0.0` ↗︎](https://www.npmjs.com/package/@graphql-tools/prisma-loader/v/8.0.0) + (from `^7.2.69`, in `dependencies`) + - Updated dependency + [`@graphql-tools/url-loader@^8.0.0` ↗︎](https://www.npmjs.com/package/@graphql-tools/url-loader/v/8.0.0) + (from `^7.17.17`, in `dependencies`) + - Updated dependency + [`@graphql-tools/utils@^10.0.0` ↗︎](https://www.npmjs.com/package/@graphql-tools/utils/v/10.0.0) + (from `^9.0.0`, in `dependencies`) + - Updated dependency [`cosmiconfig@^8.1.3` ↗︎](https://www.npmjs.com/package/cosmiconfig/v/8.1.3) + (from `^7.0.0`, in `dependencies`) + - Updated dependency + [`graphql-config@^5.0.1` ↗︎](https://www.npmjs.com/package/graphql-config/v/5.0.1) (from + `^4.5.0`, in `dependencies`) + +- [#9371](https://github.com/dotansimha/graphql-code-generator/pull/9371) + [`d431f426e`](https://github.com/dotansimha/graphql-code-generator/commit/d431f426eb594b820ac712b9f5c616f4badf6bff) + Thanks [@Axxxx0n](https://github.com/Axxxx0n)! - Fixed option ignoreNoDocuments when using graphql + configs + +- [#9275](https://github.com/dotansimha/graphql-code-generator/pull/9275) + [`2a5da5894`](https://github.com/dotansimha/graphql-code-generator/commit/2a5da589468eb5970587187adae9892ff1f13134) + Thanks [@milesrichardson](https://github.com/milesrichardson)! - Trigger rebuilds in watch mode + while respecting rules of precedence and negation, both in terms of global (top-level) config vs. + local (per-output target) config, and in terms of watch patterns (higher priority) vs. + documents/schemas (lower priority). This fixes an issue with overly-aggressive rebuilds during + watch mode. + +- Updated dependencies + [[`4d9ea1a5a`](https://github.com/dotansimha/graphql-code-generator/commit/4d9ea1a5a94cd3458c1bd868ce1ab1cb806257f2), + [`4d9ea1a5a`](https://github.com/dotansimha/graphql-code-generator/commit/4d9ea1a5a94cd3458c1bd868ce1ab1cb806257f2), + [`f46803a8c`](https://github.com/dotansimha/graphql-code-generator/commit/f46803a8c70840280529a52acbb111c865712af2), + [`63827fabe`](https://github.com/dotansimha/graphql-code-generator/commit/63827fabede76b2380d40392aba2a3ccb099f0c4), + [`bb66c2a31`](https://github.com/dotansimha/graphql-code-generator/commit/bb66c2a31985c1375912ccd6b2b02933f313c9c0)]: - @graphql-codegen/core@4.0.0 - @graphql-codegen/plugin-helpers@5.0.0 @@ -263,21 +476,37 @@ ### Patch Changes -- [#9267](https://github.com/dotansimha/graphql-code-generator/pull/9267) [`183749346`](https://github.com/dotansimha/graphql-code-generator/commit/1837493464e0b661520deb38c1e5cbd5ed46f978) Thanks [@milesrichardson](https://github.com/milesrichardson)! - Fix watch mode to listen to longest common directory prefix of relevant files, rather than only files below the current working directory (fixes #9266). +- [#9267](https://github.com/dotansimha/graphql-code-generator/pull/9267) + [`183749346`](https://github.com/dotansimha/graphql-code-generator/commit/1837493464e0b661520deb38c1e5cbd5ed46f978) + Thanks [@milesrichardson](https://github.com/milesrichardson)! - Fix watch mode to listen to + longest common directory prefix of relevant files, rather than only files below the current + working directory (fixes #9266). -- [#9280](https://github.com/dotansimha/graphql-code-generator/pull/9280) [`ca1d72c40`](https://github.com/dotansimha/graphql-code-generator/commit/ca1d72c408a5f45ecdb17d556e1a3f7d6811cdf4) Thanks [@saihaj](https://github.com/saihaj)! - fix the default output directory for init command +- [#9280](https://github.com/dotansimha/graphql-code-generator/pull/9280) + [`ca1d72c40`](https://github.com/dotansimha/graphql-code-generator/commit/ca1d72c408a5f45ecdb17d556e1a3f7d6811cdf4) + Thanks [@saihaj](https://github.com/saihaj)! - fix the default output directory for init command ## 3.3.0 ### Minor Changes -- [#9151](https://github.com/dotansimha/graphql-code-generator/pull/9151) [`b7dacb21f`](https://github.com/dotansimha/graphql-code-generator/commit/b7dacb21fb0ed1173d1e45120dc072e29231ed29) Thanks [@'./user/schema.mappers#UserMapper',](https://github.com/'./user/schema.mappers#UserMapper',)! - Add `watchPattern` config option for `generates` sections. +- [#9151](https://github.com/dotansimha/graphql-code-generator/pull/9151) + [`b7dacb21f`](https://github.com/dotansimha/graphql-code-generator/commit/b7dacb21fb0ed1173d1e45120dc072e29231ed29) + Thanks + [@'./user/schema.mappers#UserMapper',](https://github.com/'./user/schema.mappers#UserMapper',)! - + Add `watchPattern` config option for `generates` sections. - By default, `watch` mode automatically watches all GraphQL schema and document files. This means when a change is detected, Codegen CLI is run. + By default, `watch` mode automatically watches all GraphQL schema and document files. This means + when a change is detected, Codegen CLI is run. - A user may want to run Codegen CLI when non-schema and non-document files are changed. Each `generates` section now has a `watchPattern` option to allow more file patterns to be added to the list of patterns to watch. + A user may want to run Codegen CLI when non-schema and non-document files are changed. Each + `generates` section now has a `watchPattern` option to allow more file patterns to be added to the + list of patterns to watch. - In the example below, mappers are exported from `schema.mappers.ts` files. We want to re-run Codegen if the content of `*.mappers.ts` files change because they change the generated types file. To solve this, we can add mapper file patterns to watch using the glob pattern used for schema and document files. + In the example below, mappers are exported from `schema.mappers.ts` files. We want to re-run + Codegen if the content of `*.mappers.ts` files change because they change the generated types + file. To solve this, we can add mapper file patterns to watch using the glob pattern used for + schema and document files. ```ts // codegen.ts @@ -310,53 +539,84 @@ ### Patch Changes -- Updated dependencies [[`b7dacb21f`](https://github.com/dotansimha/graphql-code-generator/commit/b7dacb21fb0ed1173d1e45120dc072e29231ed29), [`f104619ac`](https://github.com/dotansimha/graphql-code-generator/commit/f104619acd27c9d62a06bc577737500880731087)]: +- Updated dependencies + [[`b7dacb21f`](https://github.com/dotansimha/graphql-code-generator/commit/b7dacb21fb0ed1173d1e45120dc072e29231ed29), + [`f104619ac`](https://github.com/dotansimha/graphql-code-generator/commit/f104619acd27c9d62a06bc577737500880731087)]: - @graphql-codegen/plugin-helpers@4.2.0 ## 3.2.2 ### Patch Changes -- [#9086](https://github.com/dotansimha/graphql-code-generator/pull/9086) [`a34cef35b`](https://github.com/dotansimha/graphql-code-generator/commit/a34cef35b4cbbe83c54bd92f88882b325df173fd) Thanks [@beerose](https://github.com/beerose)! - dependencies updates: - - - Updated dependency [`graphql-config@^4.5.0` ↗︎](https://www.npmjs.com/package/graphql-config/v/4.5.0) (from `^4.4.0`, in `dependencies`) - - Added dependency [`jiti@^1.17.1` ↗︎](https://www.npmjs.com/package/jiti/v/1.17.1) (to `dependencies`) - - Removed dependency [`cosmiconfig-typescript-loader@^4.3.0` ↗︎](https://www.npmjs.com/package/cosmiconfig-typescript-loader/v/4.3.0) (from `dependencies`) - - Removed dependency [`ts-node@^10.9.1` ↗︎](https://www.npmjs.com/package/ts-node/v/10.9.1) (from `dependencies`) +- [#9086](https://github.com/dotansimha/graphql-code-generator/pull/9086) + [`a34cef35b`](https://github.com/dotansimha/graphql-code-generator/commit/a34cef35b4cbbe83c54bd92f88882b325df173fd) + Thanks [@beerose](https://github.com/beerose)! - dependencies updates: + - Updated dependency + [`graphql-config@^4.5.0` ↗︎](https://www.npmjs.com/package/graphql-config/v/4.5.0) (from + `^4.4.0`, in `dependencies`) + - Added dependency [`jiti@^1.17.1` ↗︎](https://www.npmjs.com/package/jiti/v/1.17.1) (to + `dependencies`) + - Removed dependency + [`cosmiconfig-typescript-loader@^4.3.0` ↗︎](https://www.npmjs.com/package/cosmiconfig-typescript-loader/v/4.3.0) + (from `dependencies`) + - Removed dependency [`ts-node@^10.9.1` ↗︎](https://www.npmjs.com/package/ts-node/v/10.9.1) (from + `dependencies`) -- [#9086](https://github.com/dotansimha/graphql-code-generator/pull/9086) [`a34cef35b`](https://github.com/dotansimha/graphql-code-generator/commit/a34cef35b4cbbe83c54bd92f88882b325df173fd) Thanks [@beerose](https://github.com/beerose)! - Support `codegen.ts` in ESM projects +- [#9086](https://github.com/dotansimha/graphql-code-generator/pull/9086) + [`a34cef35b`](https://github.com/dotansimha/graphql-code-generator/commit/a34cef35b4cbbe83c54bd92f88882b325df173fd) + Thanks [@beerose](https://github.com/beerose)! - Support `codegen.ts` in ESM projects ## 3.2.1 ### Patch Changes -- [#9051](https://github.com/dotansimha/graphql-code-generator/pull/9051) [`f7313f7ca`](https://github.com/dotansimha/graphql-code-generator/commit/f7313f7cabd81ee708e3345b2934aeeb978f65a3) Thanks [@saihaj](https://github.com/saihaj)! - dependencies updates: +- [#9051](https://github.com/dotansimha/graphql-code-generator/pull/9051) + [`f7313f7ca`](https://github.com/dotansimha/graphql-code-generator/commit/f7313f7cabd81ee708e3345b2934aeeb978f65a3) + Thanks [@saihaj](https://github.com/saihaj)! - dependencies updates: + - Added dependency [`micromatch@^4.0.5` ↗︎](https://www.npmjs.com/package/micromatch/v/4.0.5) (to + `dependencies`) - - Added dependency [`micromatch@^4.0.5` ↗︎](https://www.npmjs.com/package/micromatch/v/4.0.5) (to `dependencies`) - -- [#9051](https://github.com/dotansimha/graphql-code-generator/pull/9051) [`f7313f7ca`](https://github.com/dotansimha/graphql-code-generator/commit/f7313f7cabd81ee708e3345b2934aeeb978f65a3) Thanks [@saihaj](https://github.com/saihaj)! - only run generate for files that users have listed in config to avoid running this over every change that codegen is not supposed to execute +- [#9051](https://github.com/dotansimha/graphql-code-generator/pull/9051) + [`f7313f7ca`](https://github.com/dotansimha/graphql-code-generator/commit/f7313f7cabd81ee708e3345b2934aeeb978f65a3) + Thanks [@saihaj](https://github.com/saihaj)! - only run generate for files that users have listed + in config to avoid running this over every change that codegen is not supposed to execute ## 3.2.0 ### Minor Changes -- [#9009](https://github.com/dotansimha/graphql-code-generator/pull/9009) [`288ed0977`](https://github.com/dotansimha/graphql-code-generator/commit/288ed097745f9c06dd74a9398a050866caa3942a) Thanks [@saihaj](https://github.com/saihaj)! - use @parcel/watcher for improved watch functionality +- [#9009](https://github.com/dotansimha/graphql-code-generator/pull/9009) + [`288ed0977`](https://github.com/dotansimha/graphql-code-generator/commit/288ed097745f9c06dd74a9398a050866caa3942a) + Thanks [@saihaj](https://github.com/saihaj)! - use @parcel/watcher for improved watch + functionality ### Patch Changes -- [#9009](https://github.com/dotansimha/graphql-code-generator/pull/9009) [`288ed0977`](https://github.com/dotansimha/graphql-code-generator/commit/288ed097745f9c06dd74a9398a050866caa3942a) Thanks [@saihaj](https://github.com/saihaj)! - dependencies updates: - - Added dependency [`@parcel/watcher@^2.1.0` ↗︎](https://www.npmjs.com/package/@parcel/watcher/v/2.1.0) (to `dependencies`) - - Removed dependency [`chokidar@^3.5.2` ↗︎](https://www.npmjs.com/package/chokidar/v/3.5.2) (from `dependencies`) +- [#9009](https://github.com/dotansimha/graphql-code-generator/pull/9009) + [`288ed0977`](https://github.com/dotansimha/graphql-code-generator/commit/288ed097745f9c06dd74a9398a050866caa3942a) + Thanks [@saihaj](https://github.com/saihaj)! - dependencies updates: + - Added dependency + [`@parcel/watcher@^2.1.0` ↗︎](https://www.npmjs.com/package/@parcel/watcher/v/2.1.0) (to + `dependencies`) + - Removed dependency [`chokidar@^3.5.2` ↗︎](https://www.npmjs.com/package/chokidar/v/3.5.2) (from + `dependencies`) ## 3.1.0 ### Minor Changes -- [#8893](https://github.com/dotansimha/graphql-code-generator/pull/8893) [`a118c307a`](https://github.com/dotansimha/graphql-code-generator/commit/a118c307a35bbb97b7cbca0f178a88276032a26c) Thanks [@n1ru4l](https://github.com/n1ru4l)! - It is no longer mandatory to declare an empty plugins array when using a preset +- [#8893](https://github.com/dotansimha/graphql-code-generator/pull/8893) + [`a118c307a`](https://github.com/dotansimha/graphql-code-generator/commit/a118c307a35bbb97b7cbca0f178a88276032a26c) + Thanks [@n1ru4l](https://github.com/n1ru4l)! - It is no longer mandatory to declare an empty + plugins array when using a preset -- [#8723](https://github.com/dotansimha/graphql-code-generator/pull/8723) [`a3309e63e`](https://github.com/dotansimha/graphql-code-generator/commit/a3309e63efed880e6f74ce6fcbf82dd3d7857a15) Thanks [@kazekyo](https://github.com/kazekyo)! - Introduce a new feature called DocumentTransform. +- [#8723](https://github.com/dotansimha/graphql-code-generator/pull/8723) + [`a3309e63e`](https://github.com/dotansimha/graphql-code-generator/commit/a3309e63efed880e6f74ce6fcbf82dd3d7857a15) + Thanks [@kazekyo](https://github.com/kazekyo)! - Introduce a new feature called DocumentTransform. - DocumentTransform is a functionality that allows you to modify `documents` before they are processed by plugins. You can use functions passed to the `documentTransforms` option to make changes to GraphQL documents. + DocumentTransform is a functionality that allows you to modify `documents` before they are + processed by plugins. You can use functions passed to the `documentTransforms` option to make + changes to GraphQL documents. To use this feature, you can write `documentTransforms` as follows: @@ -383,7 +643,8 @@ export default config ``` - For instance, to remove a `@localOnlyDirective` directive from `documents`, you can write the following code: + For instance, to remove a `@localOnlyDirective` directive from `documents`, you can write the + following code: ```js import type { CodegenConfig } from '@graphql-codegen/cli' @@ -417,7 +678,8 @@ export default config ``` - DocumentTransform can also be specified by file name. You can create a custom file for a specific transformation and pass it to `documentTransforms`. + DocumentTransform can also be specified by file name. You can create a custom file for a specific + transformation and pass it to `documentTransforms`. Let's create the document transform as a file: @@ -450,9 +712,17 @@ ### Patch Changes -- [#9000](https://github.com/dotansimha/graphql-code-generator/pull/9000) [`4c422ccf6`](https://github.com/dotansimha/graphql-code-generator/commit/4c422ccf6384cfb0d0949ebe5567923973b1a044) Thanks [@renovate](https://github.com/apps/renovate)! - dependencies updates: - - Updated dependency [`@whatwg-node/fetch@^0.8.0` ↗︎](https://www.npmjs.com/package/@whatwg-node/fetch/v/0.8.0) (from `^0.6.0`, in `dependencies`) -- Updated dependencies [[`8206b268d`](https://github.com/dotansimha/graphql-code-generator/commit/8206b268dfb485a748fd7783a163cb0ee9931491), [`8206b268d`](https://github.com/dotansimha/graphql-code-generator/commit/8206b268dfb485a748fd7783a163cb0ee9931491), [`a118c307a`](https://github.com/dotansimha/graphql-code-generator/commit/a118c307a35bbb97b7cbca0f178a88276032a26c), [`a3309e63e`](https://github.com/dotansimha/graphql-code-generator/commit/a3309e63efed880e6f74ce6fcbf82dd3d7857a15)]: +- [#9000](https://github.com/dotansimha/graphql-code-generator/pull/9000) + [`4c422ccf6`](https://github.com/dotansimha/graphql-code-generator/commit/4c422ccf6384cfb0d0949ebe5567923973b1a044) + Thanks [@renovate](https://github.com/apps/renovate)! - dependencies updates: + - Updated dependency + [`@whatwg-node/fetch@^0.8.0` ↗︎](https://www.npmjs.com/package/@whatwg-node/fetch/v/0.8.0) (from + `^0.6.0`, in `dependencies`) +- Updated dependencies + [[`8206b268d`](https://github.com/dotansimha/graphql-code-generator/commit/8206b268dfb485a748fd7783a163cb0ee9931491), + [`8206b268d`](https://github.com/dotansimha/graphql-code-generator/commit/8206b268dfb485a748fd7783a163cb0ee9931491), + [`a118c307a`](https://github.com/dotansimha/graphql-code-generator/commit/a118c307a35bbb97b7cbca0f178a88276032a26c), + [`a3309e63e`](https://github.com/dotansimha/graphql-code-generator/commit/a3309e63efed880e6f74ce6fcbf82dd3d7857a15)]: - @graphql-codegen/core@3.1.0 - @graphql-codegen/plugin-helpers@4.1.0 @@ -460,13 +730,19 @@ ### Major Changes -- [#8885](https://github.com/dotansimha/graphql-code-generator/pull/8885) [`fd0b0c813`](https://github.com/dotansimha/graphql-code-generator/commit/fd0b0c813015cae4f6f6bda5f4c5515e544eb76d) Thanks [@n1ru4l](https://github.com/n1ru4l)! - drop Node.js 12 support +- [#8885](https://github.com/dotansimha/graphql-code-generator/pull/8885) + [`fd0b0c813`](https://github.com/dotansimha/graphql-code-generator/commit/fd0b0c813015cae4f6f6bda5f4c5515e544eb76d) + Thanks [@n1ru4l](https://github.com/n1ru4l)! - drop Node.js 12 support ### Patch Changes -- [#8883](https://github.com/dotansimha/graphql-code-generator/pull/8883) [`321d5112e`](https://github.com/dotansimha/graphql-code-generator/commit/321d5112e802fd1d96daf556095b102a81763804) Thanks [@Solo-steven](https://github.com/Solo-steven)! - Fix PluckConfig overwrite problem. +- [#8883](https://github.com/dotansimha/graphql-code-generator/pull/8883) + [`321d5112e`](https://github.com/dotansimha/graphql-code-generator/commit/321d5112e802fd1d96daf556095b102a81763804) + Thanks [@Solo-steven](https://github.com/Solo-steven)! - Fix PluckConfig overwrite problem. -- Updated dependencies [[`fc79b65d4`](https://github.com/dotansimha/graphql-code-generator/commit/fc79b65d4914fd25ae6bd5d58ebc7ded573a08a5), [`fd0b0c813`](https://github.com/dotansimha/graphql-code-generator/commit/fd0b0c813015cae4f6f6bda5f4c5515e544eb76d)]: +- Updated dependencies + [[`fc79b65d4`](https://github.com/dotansimha/graphql-code-generator/commit/fc79b65d4914fd25ae6bd5d58ebc7ded573a08a5), + [`fd0b0c813`](https://github.com/dotansimha/graphql-code-generator/commit/fd0b0c813015cae4f6f6bda5f4c5515e544eb76d)]: - @graphql-codegen/core@3.0.0 - @graphql-codegen/plugin-helpers@4.0.0 @@ -474,62 +750,101 @@ ### Patch Changes -- [#8865](https://github.com/dotansimha/graphql-code-generator/pull/8865) [`e4d073b16`](https://github.com/dotansimha/graphql-code-generator/commit/e4d073b16f904e0879a3d15774ddc9826b0ab5e5) Thanks [@n1ru4l](https://github.com/n1ru4l)! - dependencies updates: - - - Updated dependency [`@graphql-codegen/core@^2.6.8` ↗︎](https://www.npmjs.com/package/@graphql-codegen/core/v/2.6.8) (from `2.6.8`, in `dependencies`) - - Updated dependency [`@graphql-tools/load@^7.8.0` ↗︎](https://www.npmjs.com/package/@graphql-tools/load/v/7.8.0) (from `7.8.0`, in `dependencies`) - - Updated dependency [`cosmiconfig-typescript-loader@^4.3.0` ↗︎](https://www.npmjs.com/package/cosmiconfig-typescript-loader/v/4.3.0) (from `4.3.0`, in `dependencies`) - - Updated dependency [`graphql-config@^4.4.0` ↗︎](https://www.npmjs.com/package/graphql-config/v/4.4.0) (from `4.4.0`, in `dependencies`) - - Added dependency [`ts-node@^10.9.1` ↗︎](https://www.npmjs.com/package/ts-node/v/10.9.1) (to `dependencies`) - - Removed dependency [`ts-node@>=10` ↗︎](https://www.npmjs.com/package/ts-node/v/10.0.0) (from `peerDependencies`) - -- [#8808](https://github.com/dotansimha/graphql-code-generator/pull/8808) [`884d25c4e`](https://github.com/dotansimha/graphql-code-generator/commit/884d25c4edb099a46bffb23ffd935abec7d14f80) Thanks [@rwu823](https://github.com/rwu823)! - fix: `gqlMagicComment` type - -- [#8865](https://github.com/dotansimha/graphql-code-generator/pull/8865) [`e4d073b16`](https://github.com/dotansimha/graphql-code-generator/commit/e4d073b16f904e0879a3d15774ddc9826b0ab5e5) Thanks [@n1ru4l](https://github.com/n1ru4l)! - move ts-node from peer dependencies to dependencies +- [#8865](https://github.com/dotansimha/graphql-code-generator/pull/8865) + [`e4d073b16`](https://github.com/dotansimha/graphql-code-generator/commit/e4d073b16f904e0879a3d15774ddc9826b0ab5e5) + Thanks [@n1ru4l](https://github.com/n1ru4l)! - dependencies updates: + - Updated dependency + [`@graphql-codegen/core@^2.6.8` ↗︎](https://www.npmjs.com/package/@graphql-codegen/core/v/2.6.8) + (from `2.6.8`, in `dependencies`) + - Updated dependency + [`@graphql-tools/load@^7.8.0` ↗︎](https://www.npmjs.com/package/@graphql-tools/load/v/7.8.0) + (from `7.8.0`, in `dependencies`) + - Updated dependency + [`cosmiconfig-typescript-loader@^4.3.0` ↗︎](https://www.npmjs.com/package/cosmiconfig-typescript-loader/v/4.3.0) + (from `4.3.0`, in `dependencies`) + - Updated dependency + [`graphql-config@^4.4.0` ↗︎](https://www.npmjs.com/package/graphql-config/v/4.4.0) (from `4.4.0`, + in `dependencies`) + - Added dependency [`ts-node@^10.9.1` ↗︎](https://www.npmjs.com/package/ts-node/v/10.9.1) (to + `dependencies`) + - Removed dependency [`ts-node@>=10` ↗︎](https://www.npmjs.com/package/ts-node/v/10.0.0) (from + `peerDependencies`) + +- [#8808](https://github.com/dotansimha/graphql-code-generator/pull/8808) + [`884d25c4e`](https://github.com/dotansimha/graphql-code-generator/commit/884d25c4edb099a46bffb23ffd935abec7d14f80) + Thanks [@rwu823](https://github.com/rwu823)! - fix: `gqlMagicComment` type + +- [#8865](https://github.com/dotansimha/graphql-code-generator/pull/8865) + [`e4d073b16`](https://github.com/dotansimha/graphql-code-generator/commit/e4d073b16f904e0879a3d15774ddc9826b0ab5e5) + Thanks [@n1ru4l](https://github.com/n1ru4l)! - move ts-node from peer dependencies to dependencies ## 2.16.4 ### Patch Changes -- [#8770](https://github.com/dotansimha/graphql-code-generator/pull/8770) [`4774247e9`](https://github.com/dotansimha/graphql-code-generator/commit/4774247e9d29838075660d0e08c6b3c6ea57689f) Thanks [@renovate](https://github.com/apps/renovate)! - dependencies updates: - - - Updated dependency [`graphql-config@4.4.0` ↗︎](https://www.npmjs.com/package/graphql-config/v/4.4.0) (from `4.3.6`, in `dependencies`) +- [#8770](https://github.com/dotansimha/graphql-code-generator/pull/8770) + [`4774247e9`](https://github.com/dotansimha/graphql-code-generator/commit/4774247e9d29838075660d0e08c6b3c6ea57689f) + Thanks [@renovate](https://github.com/apps/renovate)! - dependencies updates: + - Updated dependency + [`graphql-config@4.4.0` ↗︎](https://www.npmjs.com/package/graphql-config/v/4.4.0) (from `4.3.6`, + in `dependencies`) -- [#8790](https://github.com/dotansimha/graphql-code-generator/pull/8790) [`fe12b4826`](https://github.com/dotansimha/graphql-code-generator/commit/fe12b4826d666ef69c38cd72bdd44f1bb262caf6) Thanks [@renovate](https://github.com/apps/renovate)! - dependencies updates: - - Updated dependency [`@whatwg-node/fetch@^0.6.0` ↗︎](https://www.npmjs.com/package/@whatwg-node/fetch/v/0.6.0) (from `^0.5.0`, in `dependencies`) +- [#8790](https://github.com/dotansimha/graphql-code-generator/pull/8790) + [`fe12b4826`](https://github.com/dotansimha/graphql-code-generator/commit/fe12b4826d666ef69c38cd72bdd44f1bb262caf6) + Thanks [@renovate](https://github.com/apps/renovate)! - dependencies updates: + - Updated dependency + [`@whatwg-node/fetch@^0.6.0` ↗︎](https://www.npmjs.com/package/@whatwg-node/fetch/v/0.6.0) (from + `^0.5.0`, in `dependencies`) ## 2.16.3 ### Patch Changes -- [#8779](https://github.com/dotansimha/graphql-code-generator/pull/8779) [`ad5d83313`](https://github.com/dotansimha/graphql-code-generator/commit/ad5d83313fe146f0593df7ae2efa3c35459e577a) Thanks [@louisscruz](https://github.com/louisscruz)! - add ts-node as a peerDependency +- [#8779](https://github.com/dotansimha/graphql-code-generator/pull/8779) + [`ad5d83313`](https://github.com/dotansimha/graphql-code-generator/commit/ad5d83313fe146f0593df7ae2efa3c35459e577a) + Thanks [@louisscruz](https://github.com/louisscruz)! - add ts-node as a peerDependency ## 2.16.2 ### Patch Changes -- [#8715](https://github.com/dotansimha/graphql-code-generator/pull/8715) [`b1512a59a`](https://github.com/dotansimha/graphql-code-generator/commit/b1512a59a0195c1f67a7e87d6a450e98d115df39) Thanks [@renovate](https://github.com/apps/renovate)! - dependencies updates: - - - Updated dependency [`cosmiconfig-typescript-loader@4.2.0` ↗︎](https://www.npmjs.com/package/cosmiconfig-typescript-loader/v/4.2.0) (from `4.1.1`, in `dependencies`) +- [#8715](https://github.com/dotansimha/graphql-code-generator/pull/8715) + [`b1512a59a`](https://github.com/dotansimha/graphql-code-generator/commit/b1512a59a0195c1f67a7e87d6a450e98d115df39) + Thanks [@renovate](https://github.com/apps/renovate)! - dependencies updates: + - Updated dependency + [`cosmiconfig-typescript-loader@4.2.0` ↗︎](https://www.npmjs.com/package/cosmiconfig-typescript-loader/v/4.2.0) + (from `4.1.1`, in `dependencies`) -- [#8729](https://github.com/dotansimha/graphql-code-generator/pull/8729) [`e6ff224fb`](https://github.com/dotansimha/graphql-code-generator/commit/e6ff224fb70cab38e30a963eb9135b2f6257e46c) Thanks [@renovate](https://github.com/apps/renovate)! - dependencies updates: +- [#8729](https://github.com/dotansimha/graphql-code-generator/pull/8729) + [`e6ff224fb`](https://github.com/dotansimha/graphql-code-generator/commit/e6ff224fb70cab38e30a963eb9135b2f6257e46c) + Thanks [@renovate](https://github.com/apps/renovate)! - dependencies updates: + - Updated dependency + [`cosmiconfig-typescript-loader@4.3.0` ↗︎](https://www.npmjs.com/package/cosmiconfig-typescript-loader/v/4.3.0) + (from `4.2.0`, in `dependencies`) - - Updated dependency [`cosmiconfig-typescript-loader@4.3.0` ↗︎](https://www.npmjs.com/package/cosmiconfig-typescript-loader/v/4.3.0) (from `4.2.0`, in `dependencies`) +- [#8771](https://github.com/dotansimha/graphql-code-generator/pull/8771) + [`ed87c782b`](https://github.com/dotansimha/graphql-code-generator/commit/ed87c782bf3292bfbee772c6962d6cbc43a9abe7) + Thanks [@renovate](https://github.com/apps/renovate)! - dependencies updates: + - Updated dependency + [`@graphql-tools/utils@^9.0.0` ↗︎](https://www.npmjs.com/package/@graphql-tools/utils/v/9.0.0) + (from `^8.9.0`, in `dependencies`) -- [#8771](https://github.com/dotansimha/graphql-code-generator/pull/8771) [`ed87c782b`](https://github.com/dotansimha/graphql-code-generator/commit/ed87c782bf3292bfbee772c6962d6cbc43a9abe7) Thanks [@renovate](https://github.com/apps/renovate)! - dependencies updates: +- [#8765](https://github.com/dotansimha/graphql-code-generator/pull/8765) + [`a9c5414d2`](https://github.com/dotansimha/graphql-code-generator/commit/a9c5414d2ca4d0138eed3d14b0c22046128607dc) + Thanks [@aniketdd](https://github.com/aniketdd)! - update @graphql-tools/prisma-loader - - Updated dependency [`@graphql-tools/utils@^9.0.0` ↗︎](https://www.npmjs.com/package/@graphql-tools/utils/v/9.0.0) (from `^8.9.0`, in `dependencies`) - -- [#8765](https://github.com/dotansimha/graphql-code-generator/pull/8765) [`a9c5414d2`](https://github.com/dotansimha/graphql-code-generator/commit/a9c5414d2ca4d0138eed3d14b0c22046128607dc) Thanks [@aniketdd](https://github.com/aniketdd)! - update @graphql-tools/prisma-loader - -- Updated dependencies [[`ed87c782b`](https://github.com/dotansimha/graphql-code-generator/commit/ed87c782bf3292bfbee772c6962d6cbc43a9abe7), [`6c6b6f2df`](https://github.com/dotansimha/graphql-code-generator/commit/6c6b6f2df88a3a37b437a25320dab5590f033316)]: +- Updated dependencies + [[`ed87c782b`](https://github.com/dotansimha/graphql-code-generator/commit/ed87c782bf3292bfbee772c6962d6cbc43a9abe7), + [`6c6b6f2df`](https://github.com/dotansimha/graphql-code-generator/commit/6c6b6f2df88a3a37b437a25320dab5590f033316)]: - @graphql-codegen/plugin-helpers@3.1.2 ## 2.16.1 ### Patch Changes -- Updated dependencies [[`307a5d350`](https://github.com/dotansimha/graphql-code-generator/commit/307a5d350643dd065d228b04ef3b4bd70cac0e81), [`46f75304a`](https://github.com/dotansimha/graphql-code-generator/commit/46f75304a69a13e8b5f58303f65c81b30a2ad96a)]: +- Updated dependencies + [[`307a5d350`](https://github.com/dotansimha/graphql-code-generator/commit/307a5d350643dd065d228b04ef3b4bd70cac0e81), + [`46f75304a`](https://github.com/dotansimha/graphql-code-generator/commit/46f75304a69a13e8b5f58303f65c81b30a2ad96a)]: - @graphql-codegen/plugin-helpers@3.1.1 - @graphql-codegen/core@2.6.8 @@ -537,30 +852,46 @@ ### Minor Changes -- [#8662](https://github.com/dotansimha/graphql-code-generator/pull/8662) [`c0183810f`](https://github.com/dotansimha/graphql-code-generator/commit/c0183810f0178aec6f49ab8a6f35f7adc4d9f13e) Thanks [@jantimon](https://github.com/jantimon)! - the life cycle hook beforeOneFileWrite is now able to modify the generated content +- [#8662](https://github.com/dotansimha/graphql-code-generator/pull/8662) + [`c0183810f`](https://github.com/dotansimha/graphql-code-generator/commit/c0183810f0178aec6f49ab8a6f35f7adc4d9f13e) + Thanks [@jantimon](https://github.com/jantimon)! - the life cycle hook beforeOneFileWrite is now + able to modify the generated content ### Patch Changes -- Updated dependencies [[`c0183810f`](https://github.com/dotansimha/graphql-code-generator/commit/c0183810f0178aec6f49ab8a6f35f7adc4d9f13e)]: +- Updated dependencies + [[`c0183810f`](https://github.com/dotansimha/graphql-code-generator/commit/c0183810f0178aec6f49ab8a6f35f7adc4d9f13e)]: - @graphql-codegen/plugin-helpers@3.1.0 ## 2.15.1 ### Patch Changes -- [#8673](https://github.com/dotansimha/graphql-code-generator/pull/8673) [`a07b6d6c1`](https://github.com/dotansimha/graphql-code-generator/commit/a07b6d6c1b05b2f77efb398b05d29130bae429e9) Thanks [@saihaj](https://github.com/saihaj)! - dependencies updates: - - - Removed dependency [`ansi-escapes@^4.3.1` ↗︎](https://www.npmjs.com/package/ansi-escapes/v/4.3.1) (from `dependencies`) +- [#8673](https://github.com/dotansimha/graphql-code-generator/pull/8673) + [`a07b6d6c1`](https://github.com/dotansimha/graphql-code-generator/commit/a07b6d6c1b05b2f77efb398b05d29130bae429e9) + Thanks [@saihaj](https://github.com/saihaj)! - dependencies updates: + - Removed dependency [`ansi-escapes@^4.3.1` ↗︎](https://www.npmjs.com/package/ansi-escapes/v/4.3.1) + (from `dependencies`) -- [#8706](https://github.com/dotansimha/graphql-code-generator/pull/8706) [`8ff9b41bd`](https://github.com/dotansimha/graphql-code-generator/commit/8ff9b41bd9323b6f3dde2014fecc4fd39c6a26fc) Thanks [@renovate](https://github.com/apps/renovate)! - dependencies updates: +- [#8706](https://github.com/dotansimha/graphql-code-generator/pull/8706) + [`8ff9b41bd`](https://github.com/dotansimha/graphql-code-generator/commit/8ff9b41bd9323b6f3dde2014fecc4fd39c6a26fc) + Thanks [@renovate](https://github.com/apps/renovate)! - dependencies updates: + - Updated dependency + [`@whatwg-node/fetch@^0.5.0` ↗︎](https://www.npmjs.com/package/@whatwg-node/fetch/v/0.5.0) (from + `^0.3.0`, in `dependencies`) - - Updated dependency [`@whatwg-node/fetch@^0.5.0` ↗︎](https://www.npmjs.com/package/@whatwg-node/fetch/v/0.5.0) (from `^0.3.0`, in `dependencies`) +- [#8661](https://github.com/dotansimha/graphql-code-generator/pull/8661) + [`f79a00e8a`](https://github.com/dotansimha/graphql-code-generator/commit/f79a00e8ae073eab426ca08795c924e716123482) + Thanks [@jantimon](https://github.com/jantimon)! - refactor hook execution -- [#8661](https://github.com/dotansimha/graphql-code-generator/pull/8661) [`f79a00e8a`](https://github.com/dotansimha/graphql-code-generator/commit/f79a00e8ae073eab426ca08795c924e716123482) Thanks [@jantimon](https://github.com/jantimon)! - refactor hook execution +- [#8652](https://github.com/dotansimha/graphql-code-generator/pull/8652) + [`c802a0c0b`](https://github.com/dotansimha/graphql-code-generator/commit/c802a0c0b775cfabc5ace3e7fb6655540c6c4d84) + Thanks [@jantimon](https://github.com/jantimon)! - improve typings for life cycle hooks -- [#8652](https://github.com/dotansimha/graphql-code-generator/pull/8652) [`c802a0c0b`](https://github.com/dotansimha/graphql-code-generator/commit/c802a0c0b775cfabc5ace3e7fb6655540c6c4d84) Thanks [@jantimon](https://github.com/jantimon)! - improve typings for life cycle hooks - -- Updated dependencies [[`a6c2097f4`](https://github.com/dotansimha/graphql-code-generator/commit/a6c2097f4789c0cce4296ce349790ce29943ed22), [`f79a00e8a`](https://github.com/dotansimha/graphql-code-generator/commit/f79a00e8ae073eab426ca08795c924e716123482), [`c802a0c0b`](https://github.com/dotansimha/graphql-code-generator/commit/c802a0c0b775cfabc5ace3e7fb6655540c6c4d84)]: +- Updated dependencies + [[`a6c2097f4`](https://github.com/dotansimha/graphql-code-generator/commit/a6c2097f4789c0cce4296ce349790ce29943ed22), + [`f79a00e8a`](https://github.com/dotansimha/graphql-code-generator/commit/f79a00e8ae073eab426ca08795c924e716123482), + [`c802a0c0b`](https://github.com/dotansimha/graphql-code-generator/commit/c802a0c0b775cfabc5ace3e7fb6655540c6c4d84)]: - @graphql-codegen/plugin-helpers@3.0.0 - @graphql-codegen/core@2.6.7 @@ -568,59 +899,89 @@ ### Minor Changes -- [#8590](https://github.com/dotansimha/graphql-code-generator/pull/8590) [`2c7fa51c6`](https://github.com/dotansimha/graphql-code-generator/commit/2c7fa51c628a0337f2abfe1b91fe00c6d5fbe749) Thanks [@Diizzayy](https://github.com/Diizzayy)! - register TypeScriptLoader when needed +- [#8590](https://github.com/dotansimha/graphql-code-generator/pull/8590) + [`2c7fa51c6`](https://github.com/dotansimha/graphql-code-generator/commit/2c7fa51c628a0337f2abfe1b91fe00c6d5fbe749) + Thanks [@Diizzayy](https://github.com/Diizzayy)! - register TypeScriptLoader when needed ## 2.14.1 ### Patch Changes -- [#8642](https://github.com/dotansimha/graphql-code-generator/pull/8642) [`5afa923e8`](https://github.com/dotansimha/graphql-code-generator/commit/5afa923e8e4e8db9bbd602e8abf6a193761a282d) Thanks [@jantimon](https://github.com/jantimon)! - faster type generation +- [#8642](https://github.com/dotansimha/graphql-code-generator/pull/8642) + [`5afa923e8`](https://github.com/dotansimha/graphql-code-generator/commit/5afa923e8e4e8db9bbd602e8abf6a193761a282d) + Thanks [@jantimon](https://github.com/jantimon)! - faster type generation -- [#8653](https://github.com/dotansimha/graphql-code-generator/pull/8653) [`d0bc51283`](https://github.com/dotansimha/graphql-code-generator/commit/d0bc51283bb7e496f8933511a8ff5ac2ba547bc8) Thanks [@saihaj](https://github.com/saihaj)! - fix bad concurrency config +- [#8653](https://github.com/dotansimha/graphql-code-generator/pull/8653) + [`d0bc51283`](https://github.com/dotansimha/graphql-code-generator/commit/d0bc51283bb7e496f8933511a8ff5ac2ba547bc8) + Thanks [@saihaj](https://github.com/saihaj)! - fix bad concurrency config ## 2.14.0 ### Minor Changes -- [#8647](https://github.com/dotansimha/graphql-code-generator/pull/8647) [`40a6761a6`](https://github.com/dotansimha/graphql-code-generator/commit/40a6761a602fca592c6f4f0653c819e8debe007b) Thanks [@charlypoly](https://github.com/charlypoly)! - Enable support for loading TS files with import assertions +- [#8647](https://github.com/dotansimha/graphql-code-generator/pull/8647) + [`40a6761a6`](https://github.com/dotansimha/graphql-code-generator/commit/40a6761a602fca592c6f4f0653c819e8debe007b) + Thanks [@charlypoly](https://github.com/charlypoly)! - Enable support for loading TS files with + import assertions ### Patch Changes -- [#8647](https://github.com/dotansimha/graphql-code-generator/pull/8647) [`40a6761a6`](https://github.com/dotansimha/graphql-code-generator/commit/40a6761a602fca592c6f4f0653c819e8debe007b) Thanks [@charlypoly](https://github.com/charlypoly)! - dependencies updates: - - Updated dependency [`@graphql-tools/code-file-loader@^7.3.13` ↗︎](https://www.npmjs.com/package/@graphql-tools/code-file-loader/v/7.3.13) (from `^7.3.1`, in `dependencies`) - - Updated dependency [`@graphql-tools/git-loader@^7.2.13` ↗︎](https://www.npmjs.com/package/@graphql-tools/git-loader/v/7.2.13) (from `^7.2.1`, in `dependencies`) - - Updated dependency [`@graphql-tools/github-loader@^7.3.20` ↗︎](https://www.npmjs.com/package/@graphql-tools/github-loader/v/7.3.20) (from `^7.3.6`, in `dependencies`) +- [#8647](https://github.com/dotansimha/graphql-code-generator/pull/8647) + [`40a6761a6`](https://github.com/dotansimha/graphql-code-generator/commit/40a6761a602fca592c6f4f0653c819e8debe007b) + Thanks [@charlypoly](https://github.com/charlypoly)! - dependencies updates: + - Updated dependency + [`@graphql-tools/code-file-loader@^7.3.13` ↗︎](https://www.npmjs.com/package/@graphql-tools/code-file-loader/v/7.3.13) + (from `^7.3.1`, in `dependencies`) + - Updated dependency + [`@graphql-tools/git-loader@^7.2.13` ↗︎](https://www.npmjs.com/package/@graphql-tools/git-loader/v/7.2.13) + (from `^7.2.1`, in `dependencies`) + - Updated dependency + [`@graphql-tools/github-loader@^7.3.20` ↗︎](https://www.npmjs.com/package/@graphql-tools/github-loader/v/7.3.20) + (from `^7.3.6`, in `dependencies`) ## 2.13.12 ### Patch Changes -- Updated dependencies [[`45eb2b18a`](https://github.com/dotansimha/graphql-code-generator/commit/45eb2b18adf25366248bf8d67ef696431db5ee0e), [`45eb2b18a`](https://github.com/dotansimha/graphql-code-generator/commit/45eb2b18adf25366248bf8d67ef696431db5ee0e)]: +- Updated dependencies + [[`45eb2b18a`](https://github.com/dotansimha/graphql-code-generator/commit/45eb2b18adf25366248bf8d67ef696431db5ee0e), + [`45eb2b18a`](https://github.com/dotansimha/graphql-code-generator/commit/45eb2b18adf25366248bf8d67ef696431db5ee0e)]: - @graphql-codegen/core@2.6.6 ## 2.13.11 ### Patch Changes -- [#8556](https://github.com/dotansimha/graphql-code-generator/pull/8556) [`64e553c3f`](https://github.com/dotansimha/graphql-code-generator/commit/64e553c3f62618a2aedf122d292e2700fd93d6e1) Thanks [@charlypoly](https://github.com/charlypoly)! - dependencies updates: - - Updated dependency [`@graphql-codegen/core@2.6.4` ↗︎](https://www.npmjs.com/package/@graphql-codegen/core/v/2.6.4) (from `2.6.3`, in `dependencies`) -- Updated dependencies [[`64e553c3f`](https://github.com/dotansimha/graphql-code-generator/commit/64e553c3f62618a2aedf122d292e2700fd93d6e1)]: +- [#8556](https://github.com/dotansimha/graphql-code-generator/pull/8556) + [`64e553c3f`](https://github.com/dotansimha/graphql-code-generator/commit/64e553c3f62618a2aedf122d292e2700fd93d6e1) + Thanks [@charlypoly](https://github.com/charlypoly)! - dependencies updates: + - Updated dependency + [`@graphql-codegen/core@2.6.4` ↗︎](https://www.npmjs.com/package/@graphql-codegen/core/v/2.6.4) + (from `2.6.3`, in `dependencies`) +- Updated dependencies + [[`64e553c3f`](https://github.com/dotansimha/graphql-code-generator/commit/64e553c3f62618a2aedf122d292e2700fd93d6e1)]: - @graphql-codegen/core@2.6.5 ## 2.13.10 ### Patch Changes -- Updated dependencies [[`516170ef6`](https://github.com/dotansimha/graphql-code-generator/commit/516170ef6cb636c950d560ddf12fa1d2f7ee1c57), [`516170ef6`](https://github.com/dotansimha/graphql-code-generator/commit/516170ef6cb636c950d560ddf12fa1d2f7ee1c57)]: +- Updated dependencies + [[`516170ef6`](https://github.com/dotansimha/graphql-code-generator/commit/516170ef6cb636c950d560ddf12fa1d2f7ee1c57), + [`516170ef6`](https://github.com/dotansimha/graphql-code-generator/commit/516170ef6cb636c950d560ddf12fa1d2f7ee1c57)]: - @graphql-codegen/core@2.6.4 ## 2.13.9 ### Patch Changes -- [#8525](https://github.com/dotansimha/graphql-code-generator/pull/8525) [`63dc8f205`](https://github.com/dotansimha/graphql-code-generator/commit/63dc8f2054e27b944f7d8dc59db8afa85760a127) Thanks [@charlypoly](https://github.com/charlypoly)! - remove `DetailledError`, not supported by Listr renderer +- [#8525](https://github.com/dotansimha/graphql-code-generator/pull/8525) + [`63dc8f205`](https://github.com/dotansimha/graphql-code-generator/commit/63dc8f2054e27b944f7d8dc59db8afa85760a127) + Thanks [@charlypoly](https://github.com/charlypoly)! - remove `DetailledError`, not supported by + Listr renderer -- Updated dependencies [[`63dc8f205`](https://github.com/dotansimha/graphql-code-generator/commit/63dc8f2054e27b944f7d8dc59db8afa85760a127)]: +- Updated dependencies + [[`63dc8f205`](https://github.com/dotansimha/graphql-code-generator/commit/63dc8f2054e27b944f7d8dc59db8afa85760a127)]: - @graphql-codegen/core@2.6.3 - @graphql-codegen/plugin-helpers@2.7.2 @@ -628,77 +989,122 @@ ### Patch Changes -- [#8535](https://github.com/dotansimha/graphql-code-generator/pull/8535) [`88aa38ff9`](https://github.com/dotansimha/graphql-code-generator/commit/88aa38ff9eb94b66d783a4af3116d9d3313fdbfd) Thanks [@charlypoly](https://github.com/charlypoly)! - dependencies updates: - - - Updated dependency [`@graphql-tools/load@7.8.0` ↗︎](https://www.npmjs.com/package/@graphql-tools/load/v/7.8.0) (from `^7.7.1`, in `dependencies`) +- [#8535](https://github.com/dotansimha/graphql-code-generator/pull/8535) + [`88aa38ff9`](https://github.com/dotansimha/graphql-code-generator/commit/88aa38ff9eb94b66d783a4af3116d9d3313fdbfd) + Thanks [@charlypoly](https://github.com/charlypoly)! - dependencies updates: + - Updated dependency + [`@graphql-tools/load@7.8.0` ↗︎](https://www.npmjs.com/package/@graphql-tools/load/v/7.8.0) (from + `^7.7.1`, in `dependencies`) -- [#8535](https://github.com/dotansimha/graphql-code-generator/pull/8535) [`88aa38ff9`](https://github.com/dotansimha/graphql-code-generator/commit/88aa38ff9eb94b66d783a4af3116d9d3313fdbfd) Thanks [@charlypoly](https://github.com/charlypoly)! - Upgrade `@graphql-tools/load` to get benefits of debug mode +- [#8535](https://github.com/dotansimha/graphql-code-generator/pull/8535) + [`88aa38ff9`](https://github.com/dotansimha/graphql-code-generator/commit/88aa38ff9eb94b66d783a4af3116d9d3313fdbfd) + Thanks [@charlypoly](https://github.com/charlypoly)! - Upgrade `@graphql-tools/load` to get + benefits of debug mode ## 2.13.7 ### Patch Changes -- [#8481](https://github.com/dotansimha/graphql-code-generator/pull/8481) [`8473682c4`](https://github.com/dotansimha/graphql-code-generator/commit/8473682c48559382b0a3edd4a494aeaf1c5b99ff) Thanks [@charlypoly](https://github.com/charlypoly)! - ensure to generate `codegen.ts` in a typescript setup +- [#8481](https://github.com/dotansimha/graphql-code-generator/pull/8481) + [`8473682c4`](https://github.com/dotansimha/graphql-code-generator/commit/8473682c48559382b0a3edd4a494aeaf1c5b99ff) + Thanks [@charlypoly](https://github.com/charlypoly)! - ensure to generate `codegen.ts` in a + typescript setup ## 2.13.6 ### Patch Changes -- [#8383](https://github.com/dotansimha/graphql-code-generator/pull/8383) [`c4d9566c7`](https://github.com/dotansimha/graphql-code-generator/commit/c4d9566c792413fa26a537bce268a547c61e5f13) Thanks [@vhenzl](https://github.com/vhenzl)! - Fix `executeHooks` to quote args for shell command +- [#8383](https://github.com/dotansimha/graphql-code-generator/pull/8383) + [`c4d9566c7`](https://github.com/dotansimha/graphql-code-generator/commit/c4d9566c792413fa26a537bce268a547c61e5f13) + Thanks [@vhenzl](https://github.com/vhenzl)! - Fix `executeHooks` to quote args for shell command ## 2.13.5 ### Patch Changes -- [#8452](https://github.com/dotansimha/graphql-code-generator/pull/8452) [`cb1f93618`](https://github.com/dotansimha/graphql-code-generator/commit/cb1f93618b3c92cd092b740973d2469c232c2c00) Thanks [@charlypoly](https://github.com/charlypoly)! - dependencies updates: +- [#8452](https://github.com/dotansimha/graphql-code-generator/pull/8452) + [`cb1f93618`](https://github.com/dotansimha/graphql-code-generator/commit/cb1f93618b3c92cd092b740973d2469c232c2c00) + Thanks [@charlypoly](https://github.com/charlypoly)! - dependencies updates: + - Updated dependency + [`graphql-config@4.3.6` ↗︎](https://www.npmjs.com/package/graphql-config/v/4.3.6) (from `^4.3.5`, + in `dependencies`) - - Updated dependency [`graphql-config@4.3.6` ↗︎](https://www.npmjs.com/package/graphql-config/v/4.3.6) (from `^4.3.5`, in `dependencies`) - -- [#8452](https://github.com/dotansimha/graphql-code-generator/pull/8452) [`cb1f93618`](https://github.com/dotansimha/graphql-code-generator/commit/cb1f93618b3c92cd092b740973d2469c232c2c00) Thanks [@charlypoly](https://github.com/charlypoly)! - conflict with `graphql-config` also using TypeScriptLoader(), causing a double `ts-node` register. +- [#8452](https://github.com/dotansimha/graphql-code-generator/pull/8452) + [`cb1f93618`](https://github.com/dotansimha/graphql-code-generator/commit/cb1f93618b3c92cd092b740973d2469c232c2c00) + Thanks [@charlypoly](https://github.com/charlypoly)! - conflict with `graphql-config` also using + TypeScriptLoader(), causing a double `ts-node` register. ## 2.13.4 ### Patch Changes -- [#8441](https://github.com/dotansimha/graphql-code-generator/pull/8441) [`6785f7f0d`](https://github.com/dotansimha/graphql-code-generator/commit/6785f7f0df6b3eb14d30abf37924791c45a4d586) Thanks [@charlypoly](https://github.com/charlypoly)! - dependencies updates: - - - Added dependency [`cosmiconfig-typescript-loader@4.1.1` ↗︎](https://www.npmjs.com/package/cosmiconfig-typescript-loader/v/4.1.1) (to `dependencies`) - - Removed dependency [`cosmiconfig-typescript-swc-loader@0.0.2` ↗︎](https://www.npmjs.com/package/cosmiconfig-typescript-swc-loader/v/0.0.2) (from `dependencies`) +- [#8441](https://github.com/dotansimha/graphql-code-generator/pull/8441) + [`6785f7f0d`](https://github.com/dotansimha/graphql-code-generator/commit/6785f7f0df6b3eb14d30abf37924791c45a4d586) + Thanks [@charlypoly](https://github.com/charlypoly)! - dependencies updates: + - Added dependency + [`cosmiconfig-typescript-loader@4.1.1` ↗︎](https://www.npmjs.com/package/cosmiconfig-typescript-loader/v/4.1.1) + (to `dependencies`) + - Removed dependency + [`cosmiconfig-typescript-swc-loader@0.0.2` ↗︎](https://www.npmjs.com/package/cosmiconfig-typescript-swc-loader/v/0.0.2) + (from `dependencies`) -- [#8441](https://github.com/dotansimha/graphql-code-generator/pull/8441) [`6785f7f0d`](https://github.com/dotansimha/graphql-code-generator/commit/6785f7f0df6b3eb14d30abf37924791c45a4d586) Thanks [@charlypoly](https://github.com/charlypoly)! - fix(cli): revert to `cosmiconfig-typescript-loader` +- [#8441](https://github.com/dotansimha/graphql-code-generator/pull/8441) + [`6785f7f0d`](https://github.com/dotansimha/graphql-code-generator/commit/6785f7f0df6b3eb14d30abf37924791c45a4d586) + Thanks [@charlypoly](https://github.com/charlypoly)! - fix(cli): revert to + `cosmiconfig-typescript-loader` ## 2.13.3 ### Patch Changes -- [#8415](https://github.com/dotansimha/graphql-code-generator/pull/8415) [`15d500776`](https://github.com/dotansimha/graphql-code-generator/commit/15d50077680ff96a8d09cc65acd2f82683e67fb5) Thanks [@charlypoly](https://github.com/charlypoly)! - dependencies updates: - - - Added dependency [`cosmiconfig-typescript-swc-loader@0.0.2` ↗︎](https://www.npmjs.com/package/cosmiconfig-typescript-swc-loader/v/0.0.2) (to `dependencies`) - - Removed dependency [`cosmiconfig-typescript-loader@4.0.0` ↗︎](https://www.npmjs.com/package/cosmiconfig-typescript-loader/v/4.0.0) (from `dependencies`) +- [#8415](https://github.com/dotansimha/graphql-code-generator/pull/8415) + [`15d500776`](https://github.com/dotansimha/graphql-code-generator/commit/15d50077680ff96a8d09cc65acd2f82683e67fb5) + Thanks [@charlypoly](https://github.com/charlypoly)! - dependencies updates: + - Added dependency + [`cosmiconfig-typescript-swc-loader@0.0.2` ↗︎](https://www.npmjs.com/package/cosmiconfig-typescript-swc-loader/v/0.0.2) + (to `dependencies`) + - Removed dependency + [`cosmiconfig-typescript-loader@4.0.0` ↗︎](https://www.npmjs.com/package/cosmiconfig-typescript-loader/v/4.0.0) + (from `dependencies`) -- [#8415](https://github.com/dotansimha/graphql-code-generator/pull/8415) [`15d500776`](https://github.com/dotansimha/graphql-code-generator/commit/15d50077680ff96a8d09cc65acd2f82683e67fb5) Thanks [@charlypoly](https://github.com/charlypoly)! - feat(cli): drop peerDep on "typescript" by using `cosmiconfig-typescript-swc-loader` +- [#8415](https://github.com/dotansimha/graphql-code-generator/pull/8415) + [`15d500776`](https://github.com/dotansimha/graphql-code-generator/commit/15d50077680ff96a8d09cc65acd2f82683e67fb5) + Thanks [@charlypoly](https://github.com/charlypoly)! - feat(cli): drop peerDep on "typescript" by + using `cosmiconfig-typescript-swc-loader` ## 2.13.2 ### Patch Changes -- [#8427](https://github.com/dotansimha/graphql-code-generator/pull/8427) [`5524ac447`](https://github.com/dotansimha/graphql-code-generator/commit/5524ac447612ff05bfd68f4b758dfcd0fa9e7356) Thanks [@charlypoly](https://github.com/charlypoly)! - Fix issue with `graphql-codegen init` installation wizard +- [#8427](https://github.com/dotansimha/graphql-code-generator/pull/8427) + [`5524ac447`](https://github.com/dotansimha/graphql-code-generator/commit/5524ac447612ff05bfd68f4b758dfcd0fa9e7356) + Thanks [@charlypoly](https://github.com/charlypoly)! - Fix issue with `graphql-codegen init` + installation wizard ## 2.13.1 ### Patch Changes -- [#8405](https://github.com/dotansimha/graphql-code-generator/pull/8405) [`7f7e52bc2`](https://github.com/dotansimha/graphql-code-generator/commit/7f7e52bc22749d1dd6946510856103ab683a1807) Thanks [@charlypoly](https://github.com/charlypoly)! - dependencies updates: +- [#8405](https://github.com/dotansimha/graphql-code-generator/pull/8405) + [`7f7e52bc2`](https://github.com/dotansimha/graphql-code-generator/commit/7f7e52bc22749d1dd6946510856103ab683a1807) + Thanks [@charlypoly](https://github.com/charlypoly)! - dependencies updates: + - Removed dependency + [`@graphql-codegen/client-preset@1.0.1` ↗︎](https://www.npmjs.com/package/@graphql-codegen/client-preset/v/1.0.1) + (from `dependencies`) - - Removed dependency [`@graphql-codegen/client-preset@1.0.1` ↗︎](https://www.npmjs.com/package/@graphql-codegen/client-preset/v/1.0.1) (from `dependencies`) - -- [#8405](https://github.com/dotansimha/graphql-code-generator/pull/8405) [`7f7e52bc2`](https://github.com/dotansimha/graphql-code-generator/commit/7f7e52bc22749d1dd6946510856103ab683a1807) Thanks [@charlypoly](https://github.com/charlypoly)! - remove `@graphql-codegen/client-preset` direct dependency +- [#8405](https://github.com/dotansimha/graphql-code-generator/pull/8405) + [`7f7e52bc2`](https://github.com/dotansimha/graphql-code-generator/commit/7f7e52bc22749d1dd6946510856103ab683a1807) + Thanks [@charlypoly](https://github.com/charlypoly)! - remove `@graphql-codegen/client-preset` + direct dependency ## 2.13.0 ### Minor Changes -- [#8302](https://github.com/dotansimha/graphql-code-generator/pull/8302) [`876844e76`](https://github.com/dotansimha/graphql-code-generator/commit/876844e7644a917172f09b3c4eb54a2f4c90e4c6) Thanks [@charlypoly](https://github.com/charlypoly)! - **`@graphql-codegen/gql-tag-operations` and `@graphql-codegen/gql-tag-operations-preset`** +- [#8302](https://github.com/dotansimha/graphql-code-generator/pull/8302) + [`876844e76`](https://github.com/dotansimha/graphql-code-generator/commit/876844e7644a917172f09b3c4eb54a2f4c90e4c6) + Thanks [@charlypoly](https://github.com/charlypoly)! - **`@graphql-codegen/gql-tag-operations` and + `@graphql-codegen/gql-tag-operations-preset`** Introduce a `gqlTagName` configuration option @@ -706,7 +1112,8 @@ **`@graphql-codegen/client-preset`** - New preset for GraphQL Code Generator v3, more information on the RFC: https://github.com/dotansimha/graphql-code-generator/issues/8296 + New preset for GraphQL Code Generator v3, more information on the RFC: + https://github.com/dotansimha/graphql-code-generator/issues/8296 *** @@ -716,93 +1123,145 @@ ### Patch Changes -- [#8302](https://github.com/dotansimha/graphql-code-generator/pull/8302) [`876844e76`](https://github.com/dotansimha/graphql-code-generator/commit/876844e7644a917172f09b3c4eb54a2f4c90e4c6) Thanks [@charlypoly](https://github.com/charlypoly)! - dependencies updates: - - Updated dependency [`@graphql-codegen/plugin-helpers@^2.6.2` ↗︎](https://www.npmjs.com/package/@graphql-codegen/plugin-helpers/v/2.6.2) (from `^2.7.1`, in `dependencies`) - - Updated dependency [`@whatwg-node/fetch@^0.3.0` ↗︎](https://www.npmjs.com/package/@whatwg-node/fetch/v/0.3.0) (from `^0.4.0`, in `dependencies`) - - Updated dependency [`cosmiconfig-typescript-loader@4.0.0` ↗︎](https://www.npmjs.com/package/cosmiconfig-typescript-loader/v/4.0.0) (from `^4.0.0`, in `dependencies`) - - Added dependency [`@babel/generator@^7.18.13` ↗︎](https://www.npmjs.com/package/@babel/generator/v/7.18.13) (to `dependencies`) - - Added dependency [`@babel/template@^7.18.10` ↗︎](https://www.npmjs.com/package/@babel/template/v/7.18.10) (to `dependencies`) - - Added dependency [`@babel/types@^7.18.13` ↗︎](https://www.npmjs.com/package/@babel/types/v/7.18.13) (to `dependencies`) - - Added dependency [`@graphql-codegen/client-preset@1.0.1-alpha-20220823170145-c93d8aee3` ↗︎](https://www.npmjs.com/package/@graphql-codegen/client-preset/v/1.0.1) (to `dependencies`) -- Updated dependencies [[`876844e76`](https://github.com/dotansimha/graphql-code-generator/commit/876844e7644a917172f09b3c4eb54a2f4c90e4c6)]: +- [#8302](https://github.com/dotansimha/graphql-code-generator/pull/8302) + [`876844e76`](https://github.com/dotansimha/graphql-code-generator/commit/876844e7644a917172f09b3c4eb54a2f4c90e4c6) + Thanks [@charlypoly](https://github.com/charlypoly)! - dependencies updates: + - Updated dependency + [`@graphql-codegen/plugin-helpers@^2.6.2` ↗︎](https://www.npmjs.com/package/@graphql-codegen/plugin-helpers/v/2.6.2) + (from `^2.7.1`, in `dependencies`) + - Updated dependency + [`@whatwg-node/fetch@^0.3.0` ↗︎](https://www.npmjs.com/package/@whatwg-node/fetch/v/0.3.0) (from + `^0.4.0`, in `dependencies`) + - Updated dependency + [`cosmiconfig-typescript-loader@4.0.0` ↗︎](https://www.npmjs.com/package/cosmiconfig-typescript-loader/v/4.0.0) + (from `^4.0.0`, in `dependencies`) + - Added dependency + [`@babel/generator@^7.18.13` ↗︎](https://www.npmjs.com/package/@babel/generator/v/7.18.13) (to + `dependencies`) + - Added dependency + [`@babel/template@^7.18.10` ↗︎](https://www.npmjs.com/package/@babel/template/v/7.18.10) (to + `dependencies`) + - Added dependency + [`@babel/types@^7.18.13` ↗︎](https://www.npmjs.com/package/@babel/types/v/7.18.13) (to + `dependencies`) + - Added dependency + [`@graphql-codegen/client-preset@1.0.1-alpha-20220823170145-c93d8aee3` ↗︎](https://www.npmjs.com/package/@graphql-codegen/client-preset/v/1.0.1) + (to `dependencies`) +- Updated dependencies + [[`876844e76`](https://github.com/dotansimha/graphql-code-generator/commit/876844e7644a917172f09b3c4eb54a2f4c90e4c6)]: - @graphql-codegen/client-preset@1.0.1 ## 2.12.2 ### Patch Changes -- [#8384](https://github.com/dotansimha/graphql-code-generator/pull/8384) [`9d3eedaea`](https://github.com/dotansimha/graphql-code-generator/commit/9d3eedaea6a5a505a8f693378bed44a1648a3a37) Thanks [@charlypoly](https://github.com/charlypoly)! - CLI: properly print error that occurred during hook execution +- [#8384](https://github.com/dotansimha/graphql-code-generator/pull/8384) + [`9d3eedaea`](https://github.com/dotansimha/graphql-code-generator/commit/9d3eedaea6a5a505a8f693378bed44a1648a3a37) + Thanks [@charlypoly](https://github.com/charlypoly)! - CLI: properly print error that occurred + during hook execution ## 2.12.1 ### Patch Changes -- [#8335](https://github.com/dotansimha/graphql-code-generator/pull/8335) [`3e121d92e`](https://github.com/dotansimha/graphql-code-generator/commit/3e121d92ebd563a82dbc367cd3e9194ebe5ca1ee) Thanks [@renovate](https://github.com/apps/renovate)! - dependencies updates: - - - Updated dependency [`@whatwg-node/fetch@^0.4.0` ↗︎](https://www.npmjs.com/package/@whatwg-node/fetch/v/null) (from `^0.3.0`, in `dependencies`) +- [#8335](https://github.com/dotansimha/graphql-code-generator/pull/8335) + [`3e121d92e`](https://github.com/dotansimha/graphql-code-generator/commit/3e121d92ebd563a82dbc367cd3e9194ebe5ca1ee) + Thanks [@renovate](https://github.com/apps/renovate)! - dependencies updates: + - Updated dependency + [`@whatwg-node/fetch@^0.4.0` ↗︎](https://www.npmjs.com/package/@whatwg-node/fetch/v/null) (from + `^0.3.0`, in `dependencies`) -- [#8368](https://github.com/dotansimha/graphql-code-generator/pull/8368) [`4113b1bd3`](https://github.com/dotansimha/graphql-code-generator/commit/4113b1bd39f3d32759c68a292e8492a0dd4f7371) Thanks [@charlypoly](https://github.com/charlypoly)! - fix(cli): support ApolloEngine loader in TypeScript config +- [#8368](https://github.com/dotansimha/graphql-code-generator/pull/8368) + [`4113b1bd3`](https://github.com/dotansimha/graphql-code-generator/commit/4113b1bd39f3d32759c68a292e8492a0dd4f7371) + Thanks [@charlypoly](https://github.com/charlypoly)! - fix(cli): support ApolloEngine loader in + TypeScript config -- Updated dependencies [[`4113b1bd3`](https://github.com/dotansimha/graphql-code-generator/commit/4113b1bd39f3d32759c68a292e8492a0dd4f7371)]: +- Updated dependencies + [[`4113b1bd3`](https://github.com/dotansimha/graphql-code-generator/commit/4113b1bd39f3d32759c68a292e8492a0dd4f7371)]: - @graphql-codegen/plugin-helpers@2.7.1 ## 2.12.0 ### Minor Changes -- [#8301](https://github.com/dotansimha/graphql-code-generator/pull/8301) [`2ed21a471`](https://github.com/dotansimha/graphql-code-generator/commit/2ed21a471f8de58ecafebf4bf64b3c32cee24d2f) Thanks [@charlypoly](https://github.com/charlypoly)! - Introduces support for TypeScript config file and a new preset lifecycle (required for `client-preset`) +- [#8301](https://github.com/dotansimha/graphql-code-generator/pull/8301) + [`2ed21a471`](https://github.com/dotansimha/graphql-code-generator/commit/2ed21a471f8de58ecafebf4bf64b3c32cee24d2f) + Thanks [@charlypoly](https://github.com/charlypoly)! - Introduces support for TypeScript config + file and a new preset lifecycle (required for `client-preset`) ### Patch Changes -- [#8291](https://github.com/dotansimha/graphql-code-generator/pull/8291) [`d8b4012e1`](https://github.com/dotansimha/graphql-code-generator/commit/d8b4012e1fdbdcff6f9e62365b57426cef578d9a) Thanks [@n1ru4l](https://github.com/n1ru4l)! - dependencies updates: +- [#8291](https://github.com/dotansimha/graphql-code-generator/pull/8291) + [`d8b4012e1`](https://github.com/dotansimha/graphql-code-generator/commit/d8b4012e1fdbdcff6f9e62365b57426cef578d9a) + Thanks [@n1ru4l](https://github.com/n1ru4l)! - dependencies updates: + - Updated dependency + [`graphql-config@^4.3.5` ↗︎](https://www.npmjs.com/package/graphql-config/v/null) (from `^4.3.4`, + in `dependencies`) - - Updated dependency [`graphql-config@^4.3.5` ↗︎](https://www.npmjs.com/package/graphql-config/v/null) (from `^4.3.4`, in `dependencies`) +- [#8301](https://github.com/dotansimha/graphql-code-generator/pull/8301) + [`2ed21a471`](https://github.com/dotansimha/graphql-code-generator/commit/2ed21a471f8de58ecafebf4bf64b3c32cee24d2f) + Thanks [@charlypoly](https://github.com/charlypoly)! - dependencies updates: + - Added dependency + [`cosmiconfig-typescript-loader@^4.0.0` ↗︎](https://www.npmjs.com/package/cosmiconfig-typescript-loader/v/null) + (to `dependencies`) -- [#8301](https://github.com/dotansimha/graphql-code-generator/pull/8301) [`2ed21a471`](https://github.com/dotansimha/graphql-code-generator/commit/2ed21a471f8de58ecafebf4bf64b3c32cee24d2f) Thanks [@charlypoly](https://github.com/charlypoly)! - dependencies updates: - - - Added dependency [`cosmiconfig-typescript-loader@^4.0.0` ↗︎](https://www.npmjs.com/package/cosmiconfig-typescript-loader/v/null) (to `dependencies`) - -- Updated dependencies [[`2ed21a471`](https://github.com/dotansimha/graphql-code-generator/commit/2ed21a471f8de58ecafebf4bf64b3c32cee24d2f)]: +- Updated dependencies + [[`2ed21a471`](https://github.com/dotansimha/graphql-code-generator/commit/2ed21a471f8de58ecafebf4bf64b3c32cee24d2f)]: - @graphql-codegen/plugin-helpers@2.7.0 ## 2.11.8 ### Patch Changes -- [#8289](https://github.com/dotansimha/graphql-code-generator/pull/8289) [`b5897fcad`](https://github.com/dotansimha/graphql-code-generator/commit/b5897fcad2832d9ffbed0eb2f59e6b7535f4b61c) Thanks [@n1ru4l](https://github.com/n1ru4l)! - dependencies updates: - - - Updated dependency [`graphql-config@^4.3.4` ↗︎](https://www.npmjs.com/package/graphql-config/v/null) (from `^4.3.1`, in `dependencies`) +- [#8289](https://github.com/dotansimha/graphql-code-generator/pull/8289) + [`b5897fcad`](https://github.com/dotansimha/graphql-code-generator/commit/b5897fcad2832d9ffbed0eb2f59e6b7535f4b61c) + Thanks [@n1ru4l](https://github.com/n1ru4l)! - dependencies updates: + - Updated dependency + [`graphql-config@^4.3.4` ↗︎](https://www.npmjs.com/package/graphql-config/v/null) (from `^4.3.1`, + in `dependencies`) -- [#8289](https://github.com/dotansimha/graphql-code-generator/pull/8289) [`b5897fcad`](https://github.com/dotansimha/graphql-code-generator/commit/b5897fcad2832d9ffbed0eb2f59e6b7535f4b61c) Thanks [@n1ru4l](https://github.com/n1ru4l)! - resolve issue for loading typescript configs +- [#8289](https://github.com/dotansimha/graphql-code-generator/pull/8289) + [`b5897fcad`](https://github.com/dotansimha/graphql-code-generator/commit/b5897fcad2832d9ffbed0eb2f59e6b7535f4b61c) + Thanks [@n1ru4l](https://github.com/n1ru4l)! - resolve issue for loading typescript configs ## 2.11.7 ### Patch Changes -- [#8274](https://github.com/dotansimha/graphql-code-generator/pull/8274) [`b18a0319f`](https://github.com/dotansimha/graphql-code-generator/commit/b18a0319f5f24f2675df8d12d9b440b67b0445bf) Thanks [@renovate](https://github.com/apps/renovate)! - dependencies updates: - - - Updated dependency [`@whatwg-node/fetch@^0.3.0` ↗︎](https://www.npmjs.com/package/@whatwg-node/fetch/v/null) (from `^0.2.3`, in `dependencies`) +- [#8274](https://github.com/dotansimha/graphql-code-generator/pull/8274) + [`b18a0319f`](https://github.com/dotansimha/graphql-code-generator/commit/b18a0319f5f24f2675df8d12d9b440b67b0445bf) + Thanks [@renovate](https://github.com/apps/renovate)! - dependencies updates: + - Updated dependency + [`@whatwg-node/fetch@^0.3.0` ↗︎](https://www.npmjs.com/package/@whatwg-node/fetch/v/null) (from + `^0.2.3`, in `dependencies`) ## 2.11.6 ### Patch Changes -- Updated dependencies [[`6c7d3e54b`](https://github.com/dotansimha/graphql-code-generator/commit/6c7d3e54bb3cb53d8bbbd25e31c45b66f29f4640)]: +- Updated dependencies + [[`6c7d3e54b`](https://github.com/dotansimha/graphql-code-generator/commit/6c7d3e54bb3cb53d8bbbd25e31c45b66f29f4640)]: - @graphql-codegen/core@2.6.2 ## 2.11.5 ### Patch Changes -- [#8198](https://github.com/dotansimha/graphql-code-generator/pull/8198) [`1c7a8c0ad`](https://github.com/dotansimha/graphql-code-generator/commit/1c7a8c0ade2cd1f505b303c742aa31b4489cc12d) Thanks [@charlypoly](https://github.com/charlypoly)! - fix(ci): regression on error output +- [#8198](https://github.com/dotansimha/graphql-code-generator/pull/8198) + [`1c7a8c0ad`](https://github.com/dotansimha/graphql-code-generator/commit/1c7a8c0ade2cd1f505b303c742aa31b4489cc12d) + Thanks [@charlypoly](https://github.com/charlypoly)! - fix(ci): regression on error output ## 2.11.4 ### Patch Changes -- [#8189](https://github.com/dotansimha/graphql-code-generator/pull/8189) [`b408f8238`](https://github.com/dotansimha/graphql-code-generator/commit/b408f8238c00bbb4cd448501093856c06cfde50f) Thanks [@n1ru4l](https://github.com/n1ru4l)! - Fix CommonJS TypeScript resolution with `moduleResolution` `node16` or `nodenext` +- [#8189](https://github.com/dotansimha/graphql-code-generator/pull/8189) + [`b408f8238`](https://github.com/dotansimha/graphql-code-generator/commit/b408f8238c00bbb4cd448501093856c06cfde50f) + Thanks [@n1ru4l](https://github.com/n1ru4l)! - Fix CommonJS TypeScript resolution with + `moduleResolution` `node16` or `nodenext` -- Updated dependencies [[`b408f8238`](https://github.com/dotansimha/graphql-code-generator/commit/b408f8238c00bbb4cd448501093856c06cfde50f)]: +- Updated dependencies + [[`b408f8238`](https://github.com/dotansimha/graphql-code-generator/commit/b408f8238c00bbb4cd448501093856c06cfde50f)]: - @graphql-codegen/core@2.6.1 - @graphql-codegen/plugin-helpers@2.6.2 @@ -840,7 +1299,8 @@ ### Minor Changes -- 273ad602f: Replace cross-undici-fetch with @whatwg-node/fetch to fix security vulnerability from undici +- 273ad602f: Replace cross-undici-fetch with @whatwg-node/fetch to fix security vulnerability from + undici ### Patch Changes @@ -856,7 +1316,9 @@ ### 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](https://github.com/dotansimha/graphql-code-generator/issues/8065). +- 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](https://github.com/dotansimha/graphql-code-generator/issues/8065). You can use the option in your config: @@ -875,10 +1337,12 @@ ### Patch Changes -- 32c1560f1: getPluginByName fails unexpectedly when plugin is not prefixed with @graphq-codegen in ESM context +- 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. + 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] - @graphql-codegen/plugin-helpers@2.6.0 @@ -887,17 +1351,20 @@ ### Patch Changes -- 147e801bf: Add `tslib` as a dependency. See https://github.com/dotansimha/graphql-code-generator/issues/8075 +- 147e801bf: Add `tslib` as a dependency. See + https://github.com/dotansimha/graphql-code-generator/issues/8075 ## 2.8.0 ### 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`. +- 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"`). +- d84afec09: Support TypeScript ESM modules (`"module": "node16"` and + `"moduleResolution": "node16"`). [More information on the TypeScript Release Notes.](https://devblogs.microsoft.com/typescript/announcing-typescript-4-7/#ecmascript-module-support-in-node-js) @@ -928,18 +1395,23 @@ ``` - 2e86ecb65: ### Summary - - Migrate to [`listr2`](https://listr2.kilic.dev) - Remove custom renderer for `listr` - Remove unused dependencies ### Why - [`listr`](https://github.com/SamVerschueren/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. + [`listr`](https://github.com/SamVerschueren/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](https://listr2.kilic.dev/getting-started/the-concept-of-context) to collect errors from all the tasks and then show them after all the tasks are finished. + 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](https://listr2.kilic.dev/getting-started/the-concept-of-context) to collect errors from + all the tasks and then show them after all the tasks are finished. - Updated dependencies [d84afec09] - Updated dependencies [a4fe5006b] @@ -957,8 +1429,10 @@ - dfd9f07dc: Fix/multi project - 2fb1d8b87: Remove unused `tryToBuildSchema` function -- 4dce44263: Bumps `@graphql-tools/url-loader` to the latest `cross-undici-fetch` version that has pinned `undici` to `~5.5.0` in order to fix a bug/breaking-change introduced with `undici@5.6.0` that causes a `GET/HEAD requests cannot have 'body'` error. - See https://github.com/ardatan/graphql-tools/pull/4559#issue-1292915844 for more details. +- 4dce44263: Bumps `@graphql-tools/url-loader` to the latest `cross-undici-fetch` version that has + pinned `undici` to `~5.5.0` in order to fix a bug/breaking-change introduced with `undici@5.6.0` + that causes a `GET/HEAD requests cannot have 'body'` error. See + https://github.com/ardatan/graphql-tools/pull/4559#issue-1292915844 for more details. ## 2.6.4 @@ -1057,7 +1531,8 @@ ### Minor Changes -- 3e38de399: enhance: sort the schema before processing to have more consistent results. You can disable it with `sort: false`. +- 3e38de399: enhance: sort the schema before processing to have more consistent results. You can + disable it with `sort: false`. ### Patch Changes @@ -1073,7 +1548,8 @@ ### Minor Changes -- 39773f59b: enhance(plugins): use getDocumentNodeFromSchema and other utilities from @graphql-tools/utils +- 39773f59b: enhance(plugins): use getDocumentNodeFromSchema and other utilities from + @graphql-tools/utils - 440172cfe: support ESM ### Patch Changes @@ -1090,7 +1566,8 @@ ### Patch Changes -- edd029e87: fix(graphql-modules-preset): do not parse SDL and use extendedSources that have parsed document already +- edd029e87: fix(graphql-modules-preset): do not parse SDL and use extendedSources that have parsed + document already ## 2.0.0 @@ -1100,7 +1577,8 @@ ‼️ ‼️ ‼️ Please note ‼️ ‼️ ‼️: - This is a breaking change since Node 10 is no longer supported in `graphql-tools`, and also no longer supported for Codegen packages. + This is a breaking change since Node 10 is no longer supported in `graphql-tools`, and also no + longer supported for Codegen packages. ### Patch Changes @@ -1113,13 +1591,15 @@ ### Patch Changes -- e1643e6d4: Fix exception `loader.loaderId is not a function` caused by conflict with an internal dependency of Codegen. +- e1643e6d4: Fix exception `loader.loaderId is not a function` caused by conflict with an internal + dependency of Codegen. ## 1.21.7 ### Patch Changes -- 470336a1: don't require plugins for for config if preset provides plugin. Instead the preset should throw if no plugins were provided. +- 470336a1: don't require plugins for for config if preset provides plugin. Instead the preset + should throw if no plugins were provided. - Updated dependencies [470336a1] - @graphql-codegen/plugin-helpers@1.18.8 @@ -1158,7 +1638,8 @@ ### Patch Changes -- 29b75b1e: enhance(namingConvention): use change-case-all instead of individual packages for naming convention +- 29b75b1e: enhance(namingConvention): use change-case-all instead of individual packages for naming + convention - Updated dependencies [29b75b1e] - @graphql-codegen/plugin-helpers@1.18.3 @@ -1258,7 +1739,8 @@ ### Patch Changes - 1d7c6432: Bump all packages to allow "^" in deps and fix compatibility issues -- 1d7c6432: Bump versions of @graphql-tools/ packages to fix issues with loading schemas and SDL comments +- 1d7c6432: Bump versions of @graphql-tools/ packages to fix issues with loading schemas and SDL + comments - Updated dependencies [1d7c6432] - Updated dependencies [1d7c6432] - Updated dependencies [ac067ea0] diff --git a/packages/graphql-codegen-cli/package.json b/packages/graphql-codegen-cli/package.json index e8f5945fa53..90214e1b55d 100644 --- a/packages/graphql-codegen-cli/package.json +++ b/packages/graphql-codegen-cli/package.json @@ -1,6 +1,6 @@ { "name": "@graphql-codegen/cli", - "version": "6.2.1", + "version": "6.2.2", "type": "module", "repository": { "type": "git", diff --git a/website/package.json b/website/package.json index ae6b03b116c..4c1168e0bc2 100644 --- a/website/package.json +++ b/website/package.json @@ -14,7 +14,7 @@ "@graphql-codegen/add": "6.0.0", "@graphql-codegen/c-sharp": "6.0.0", "@graphql-codegen/c-sharp-operations": "4.0.0", - "@graphql-codegen/cli": "6.2.1", + "@graphql-codegen/cli": "6.2.2", "@graphql-codegen/client-preset": "5.2.4", "@graphql-codegen/core": "5.0.1", "@graphql-codegen/flow": "3.0.1",