diff --git a/.changeset/@graphql-codegen_client-preset-8885-dependencies.md b/.changeset/@graphql-codegen_client-preset-8885-dependencies.md deleted file mode 100644 index e8a4c6f85f43..000000000000 --- a/.changeset/@graphql-codegen_client-preset-8885-dependencies.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@graphql-codegen/client-preset": patch ---- -dependencies updates: - - Updated dependency [`@babel/helper-plugin-utils@^7.20.2` ↗︎](https://www.npmjs.com/package/@babel/helper-plugin-utils/v/7.20.2) (from `^7.14.5`, in `dependencies`) - - Updated dependency [`@babel/template@^7.20.7` ↗︎](https://www.npmjs.com/package/@babel/template/v/7.20.7) (from `^7.15.4`, in `dependencies`) diff --git a/.changeset/eight-mugs-pay.md b/.changeset/eight-mugs-pay.md deleted file mode 100644 index defffab514db..000000000000 --- a/.changeset/eight-mugs-pay.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -'@graphql-codegen/core': patch -'@graphql-codegen/visitor-plugin-common': patch -'@graphql-codegen/typescript-resolvers': patch -'@graphql-codegen/client-preset': patch -'@graphql-codegen/gql-tag-operations-preset': patch -'@graphql-codegen/graphql-modules-preset': patch -'@graphql-codegen/plugin-helpers': patch ---- - -eslint fixes diff --git a/.changeset/famous-pumas-travel.md b/.changeset/famous-pumas-travel.md deleted file mode 100644 index fb47542c792b..000000000000 --- a/.changeset/famous-pumas-travel.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@graphql-codegen/cli': patch ---- - -Fix PluckConfig overwrite problem. diff --git a/.changeset/hot-bikes-boil.md b/.changeset/hot-bikes-boil.md deleted file mode 100644 index 953ef1ae8248..000000000000 --- a/.changeset/hot-bikes-boil.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -'@graphql-cli/codegen': major -'@graphql-codegen/cli': major -'@graphql-codegen/core': major -'@graphql-codegen/add': major -'@graphql-codegen/fragment-matcher': major -'@graphql-codegen/introspection': major -'@graphql-codegen/schema-ast': major -'@graphql-codegen/time': major -'@graphql-codegen/visitor-plugin-common': major -'@graphql-codegen/typescript-document-nodes': major -'@graphql-codegen/gql-tag-operations': major -'@graphql-codegen/typescript-operations': major -'@graphql-codegen/typescript-resolvers': major -'@graphql-codegen/typed-document-node': major -'@graphql-codegen/typescript': major -'@graphql-codegen/client-preset': major -'@graphql-codegen/gql-tag-operations-preset': major -'@graphql-codegen/graphql-modules-preset': major -'@graphql-codegen/testing': major -'@graphql-codegen/plugin-helpers': major ---- - -drop Node.js 12 support diff --git a/examples/persisted-documents/package.json b/examples/persisted-documents/package.json index 350ab12bd809..b22b153d1eef 100644 --- a/examples/persisted-documents/package.json +++ b/examples/persisted-documents/package.json @@ -10,8 +10,8 @@ "@graphql-typed-document-node/core": "3.1.1", "jest": "28.1.3", "babel-jest": "28.1.3", - "@graphql-codegen/cli": "2.16.5", - "@graphql-codegen/client-preset": "1.3.0", + "@graphql-codegen/cli": "3.0.0", + "@graphql-codegen/client-preset": "2.0.0", "@babel/core": "7.19.0", "@babel/preset-env": "7.19.0", "@babel/preset-typescript": "7.18.6" diff --git a/examples/programmatic-typescript/package.json b/examples/programmatic-typescript/package.json index aa942d445306..24f9d6f2ce11 100644 --- a/examples/programmatic-typescript/package.json +++ b/examples/programmatic-typescript/package.json @@ -7,12 +7,12 @@ "start:mjs": "tsup --onSuccess \"node dist/index.mjs\"" }, "dependencies": { - "@graphql-codegen/core": "2.6.8", - "@graphql-codegen/plugin-helpers": "3.1.2", - "@graphql-codegen/typed-document-node": "2.3.13", - "@graphql-codegen/typescript": "2.8.8", - "@graphql-codegen/typescript-operations": "2.5.13", - "@graphql-codegen/typescript-resolvers": "2.7.13", + "@graphql-codegen/core": "3.0.0", + "@graphql-codegen/plugin-helpers": "4.0.0", + "@graphql-codegen/typed-document-node": "3.0.0", + "@graphql-codegen/typescript": "3.0.0", + "@graphql-codegen/typescript-operations": "3.0.0", + "@graphql-codegen/typescript-resolvers": "3.0.0", "@graphql-tools/graphql-file-loader": "7.5.14", "@graphql-tools/load": "7.8.10", "@graphql-tools/schema": "9.0.14", diff --git a/examples/typescript-esm/package.json b/examples/typescript-esm/package.json index 45719b60c77b..9371e9a8d784 100644 --- a/examples/typescript-esm/package.json +++ b/examples/typescript-esm/package.json @@ -3,8 +3,8 @@ "version": "0.0.0", "private": true, "devDependencies": { - "@graphql-codegen/cli": "2.16.5", - "@graphql-codegen/client-preset": "1.3.0" + "@graphql-codegen/cli": "3.0.0", + "@graphql-codegen/client-preset": "2.0.0" }, "dependencies": { "@graphql-typed-document-node/core": "3.1.1", diff --git a/examples/typescript-graphql-request/package.json b/examples/typescript-graphql-request/package.json index 66d517380c00..9c323984995e 100644 --- a/examples/typescript-graphql-request/package.json +++ b/examples/typescript-graphql-request/package.json @@ -3,8 +3,8 @@ "version": "0.0.0", "private": true, "devDependencies": { - "@graphql-codegen/cli": "2.16.5", - "@graphql-codegen/gql-tag-operations-preset": "1.7.4" + "@graphql-codegen/cli": "3.0.0", + "@graphql-codegen/gql-tag-operations-preset": "2.0.0" }, "dependencies": { "graphql": "16.6.0", diff --git a/examples/typescript-resolvers/package.json b/examples/typescript-resolvers/package.json index 1855f97837d2..fa4102e04aac 100644 --- a/examples/typescript-resolvers/package.json +++ b/examples/typescript-resolvers/package.json @@ -3,9 +3,9 @@ "version": "0.0.0", "private": true, "devDependencies": { - "@graphql-codegen/cli": "2.16.5", - "@graphql-codegen/typescript": "2.8.8", - "@graphql-codegen/typescript-resolvers": "2.7.13" + "@graphql-codegen/cli": "3.0.0", + "@graphql-codegen/typescript": "3.0.0", + "@graphql-codegen/typescript-resolvers": "3.0.0" }, "dependencies": { "graphql": "16.6.0", diff --git a/examples/yoga-tests/package.json b/examples/yoga-tests/package.json index 6dd3c95b7342..0392391a572f 100644 --- a/examples/yoga-tests/package.json +++ b/examples/yoga-tests/package.json @@ -9,8 +9,8 @@ "@graphql-typed-document-node/core": "3.1.1", "jest": "28.1.3", "babel-jest": "28.1.3", - "@graphql-codegen/cli": "2.16.5", - "@graphql-codegen/client-preset": "1.3.0", + "@graphql-codegen/cli": "3.0.0", + "@graphql-codegen/client-preset": "2.0.0", "@babel/core": "7.19.0", "@babel/preset-env": "7.19.0", "@babel/preset-typescript": "7.18.6" diff --git a/packages/graphql-cli-codegen-plugin/CHANGELOG.md b/packages/graphql-cli-codegen-plugin/CHANGELOG.md index 03e9dbf4b015..4543d05df831 100644 --- a/packages/graphql-cli-codegen-plugin/CHANGELOG.md +++ b/packages/graphql-cli-codegen-plugin/CHANGELOG.md @@ -1,5 +1,16 @@ # @graphql-cli/codegen +## 3.0.0 + +### 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 + +### Patch Changes + +- Updated dependencies [[`321d5112e`](https://github.com/dotansimha/graphql-code-generator/commit/321d5112e802fd1d96daf556095b102a81763804), [`fd0b0c813`](https://github.com/dotansimha/graphql-code-generator/commit/fd0b0c813015cae4f6f6bda5f4c5515e544eb76d)]: + - @graphql-codegen/cli@3.0.0 + ## 2.4.25 ### Patch Changes diff --git a/packages/graphql-cli-codegen-plugin/package.json b/packages/graphql-cli-codegen-plugin/package.json index 643daed5890d..33f4ee55ab67 100644 --- a/packages/graphql-cli-codegen-plugin/package.json +++ b/packages/graphql-cli-codegen-plugin/package.json @@ -1,6 +1,6 @@ { "name": "@graphql-cli/codegen", - "version": "2.4.25", + "version": "3.0.0", "description": "GraphQL Code Generator's GraphQL CLI plugin. GraphQL Code Generator is a tool that generates code from your GraphQL schema and documents for your backend or frontend with flexible support for custom plugins and templates.", "license": "MIT", "keywords": [ @@ -25,7 +25,7 @@ "graphql": "^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0" }, "dependencies": { - "@graphql-codegen/cli": "2.16.5", + "@graphql-codegen/cli": "3.0.0", "@graphql-cli/common": "4.1.0" }, "main": "dist/cjs/index.js", diff --git a/packages/graphql-codegen-cli/CHANGELOG.md b/packages/graphql-codegen-cli/CHANGELOG.md index e791711a7bd6..d775b0d710da 100644 --- a/packages/graphql-codegen-cli/CHANGELOG.md +++ b/packages/graphql-codegen-cli/CHANGELOG.md @@ -1,5 +1,19 @@ # @graphql-codegen/cli +## 3.0.0 + +### 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 + +### 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. + +- 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 + ## 2.16.5 ### Patch Changes diff --git a/packages/graphql-codegen-cli/package.json b/packages/graphql-codegen-cli/package.json index 572e07df4494..a715366e0816 100644 --- a/packages/graphql-codegen-cli/package.json +++ b/packages/graphql-codegen-cli/package.json @@ -1,6 +1,6 @@ { "name": "@graphql-codegen/cli", - "version": "2.16.5", + "version": "3.0.0", "license": "MIT", "bin": { "gql-gen": "dist/cjs/bin.js", @@ -43,8 +43,8 @@ "@babel/generator": "^7.18.13", "@babel/template": "^7.18.10", "@babel/types": "^7.18.13", - "@graphql-codegen/core": "^2.6.8", - "@graphql-codegen/plugin-helpers": "^3.1.2", + "@graphql-codegen/core": "^3.0.0", + "@graphql-codegen/plugin-helpers": "^4.0.0", "@graphql-tools/apollo-engine-loader": "^7.3.6", "@graphql-tools/code-file-loader": "^7.3.17", "@graphql-tools/git-loader": "^7.2.13", diff --git a/packages/graphql-codegen-core/CHANGELOG.md b/packages/graphql-codegen-core/CHANGELOG.md index 0fc3c3eeb23c..0937429d561c 100644 --- a/packages/graphql-codegen-core/CHANGELOG.md +++ b/packages/graphql-codegen-core/CHANGELOG.md @@ -1,5 +1,18 @@ # @graphql-codegen/core +## 3.0.0 + +### 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 + +### Patch Changes + +- [#8871](https://github.com/dotansimha/graphql-code-generator/pull/8871) [`fc79b65d4`](https://github.com/dotansimha/graphql-code-generator/commit/fc79b65d4914fd25ae6bd5d58ebc7ded573a08a5) Thanks [@B2o5T](https://github.com/B2o5T)! - eslint fixes + +- Updated dependencies [[`fc79b65d4`](https://github.com/dotansimha/graphql-code-generator/commit/fc79b65d4914fd25ae6bd5d58ebc7ded573a08a5), [`fd0b0c813`](https://github.com/dotansimha/graphql-code-generator/commit/fd0b0c813015cae4f6f6bda5f4c5515e544eb76d)]: + - @graphql-codegen/plugin-helpers@4.0.0 + ## 2.6.8 ### Patch Changes diff --git a/packages/graphql-codegen-core/package.json b/packages/graphql-codegen-core/package.json index abf8755b8b76..441a08270c28 100644 --- a/packages/graphql-codegen-core/package.json +++ b/packages/graphql-codegen-core/package.json @@ -1,6 +1,6 @@ { "name": "@graphql-codegen/core", - "version": "2.6.8", + "version": "3.0.0", "license": "MIT", "repository": { "type": "git", @@ -37,7 +37,7 @@ "graphql": "^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0" }, "dependencies": { - "@graphql-codegen/plugin-helpers": "^3.1.1", + "@graphql-codegen/plugin-helpers": "^4.0.0", "@graphql-tools/schema": "^9.0.0", "@graphql-tools/utils": "^9.1.1", "tslib": "~2.4.0" diff --git a/packages/plugins/other/add/CHANGELOG.md b/packages/plugins/other/add/CHANGELOG.md index bfe7cf3e333e..b360247fb8d4 100644 --- a/packages/plugins/other/add/CHANGELOG.md +++ b/packages/plugins/other/add/CHANGELOG.md @@ -1,5 +1,16 @@ # @graphql-codegen/add +## 4.0.0 + +### 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 + +### Patch Changes + +- Updated dependencies [[`fc79b65d4`](https://github.com/dotansimha/graphql-code-generator/commit/fc79b65d4914fd25ae6bd5d58ebc7ded573a08a5), [`fd0b0c813`](https://github.com/dotansimha/graphql-code-generator/commit/fd0b0c813015cae4f6f6bda5f4c5515e544eb76d)]: + - @graphql-codegen/plugin-helpers@4.0.0 + ## 3.2.3 ### Patch Changes diff --git a/packages/plugins/other/add/package.json b/packages/plugins/other/add/package.json index ed8d69068c1e..9dc93582f6bd 100644 --- a/packages/plugins/other/add/package.json +++ b/packages/plugins/other/add/package.json @@ -1,6 +1,6 @@ { "name": "@graphql-codegen/add", - "version": "3.2.3", + "version": "4.0.0", "description": "GraphQL Code Generator plugin for adding custom content to your output file", "repository": { "type": "git", @@ -12,7 +12,7 @@ "lint": "eslint **/*.ts" }, "dependencies": { - "@graphql-codegen/plugin-helpers": "^3.1.1", + "@graphql-codegen/plugin-helpers": "^4.0.0", "tslib": "~2.4.0" }, "peerDependencies": { diff --git a/packages/plugins/other/fragment-matcher/CHANGELOG.md b/packages/plugins/other/fragment-matcher/CHANGELOG.md index d2e483c16864..418aed9c8726 100644 --- a/packages/plugins/other/fragment-matcher/CHANGELOG.md +++ b/packages/plugins/other/fragment-matcher/CHANGELOG.md @@ -1,5 +1,16 @@ # @graphql-codegen/fragment-matcher +## 4.0.0 + +### 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 + +### Patch Changes + +- Updated dependencies [[`fc79b65d4`](https://github.com/dotansimha/graphql-code-generator/commit/fc79b65d4914fd25ae6bd5d58ebc7ded573a08a5), [`fd0b0c813`](https://github.com/dotansimha/graphql-code-generator/commit/fd0b0c813015cae4f6f6bda5f4c5515e544eb76d)]: + - @graphql-codegen/plugin-helpers@4.0.0 + ## 3.3.3 ### Patch Changes diff --git a/packages/plugins/other/fragment-matcher/package.json b/packages/plugins/other/fragment-matcher/package.json index a69ecb4b582a..5fd2c016ca23 100644 --- a/packages/plugins/other/fragment-matcher/package.json +++ b/packages/plugins/other/fragment-matcher/package.json @@ -1,6 +1,6 @@ { "name": "@graphql-codegen/fragment-matcher", - "version": "3.3.3", + "version": "4.0.0", "description": "graphql-code-generate plugin for generating fragments matcher introspection file", "repository": { "type": "git", @@ -13,7 +13,7 @@ "test": "jest --no-watchman --config ../../../../jest.config.js" }, "dependencies": { - "@graphql-codegen/plugin-helpers": "^3.1.1", + "@graphql-codegen/plugin-helpers": "^4.0.0", "tslib": "~2.4.0" }, "peerDependencies": { diff --git a/packages/plugins/other/introspection/CHANGELOG.md b/packages/plugins/other/introspection/CHANGELOG.md index f2e4ca3015ce..e29198d08436 100644 --- a/packages/plugins/other/introspection/CHANGELOG.md +++ b/packages/plugins/other/introspection/CHANGELOG.md @@ -1,5 +1,17 @@ # @graphql-codegen/introspection +## 3.0.0 + +### 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 + +### Patch Changes + +- Updated dependencies [[`fc79b65d4`](https://github.com/dotansimha/graphql-code-generator/commit/fc79b65d4914fd25ae6bd5d58ebc7ded573a08a5), [`fd0b0c813`](https://github.com/dotansimha/graphql-code-generator/commit/fd0b0c813015cae4f6f6bda5f4c5515e544eb76d)]: + - @graphql-codegen/visitor-plugin-common@3.0.0 + - @graphql-codegen/plugin-helpers@4.0.0 + ## 2.2.3 ### Patch Changes diff --git a/packages/plugins/other/introspection/package.json b/packages/plugins/other/introspection/package.json index f4d05e22adfb..0a59493cb8d3 100644 --- a/packages/plugins/other/introspection/package.json +++ b/packages/plugins/other/introspection/package.json @@ -1,6 +1,6 @@ { "name": "@graphql-codegen/introspection", - "version": "2.2.3", + "version": "3.0.0", "description": "GraphQL Code Generator plugin for generating an introspection JSON file for a GraphQLSchema", "repository": { "type": "git", @@ -13,8 +13,8 @@ "test": "jest --no-watchman --config ../../../../jest.config.js" }, "dependencies": { - "@graphql-codegen/plugin-helpers": "^3.1.1", - "@graphql-codegen/visitor-plugin-common": "^2.13.5", + "@graphql-codegen/plugin-helpers": "^4.0.0", + "@graphql-codegen/visitor-plugin-common": "^3.0.0", "tslib": "~2.4.0" }, "peerDependencies": { diff --git a/packages/plugins/other/schema-ast/CHANGELOG.md b/packages/plugins/other/schema-ast/CHANGELOG.md index 2b99885f2fd9..90d1e05bf7a2 100644 --- a/packages/plugins/other/schema-ast/CHANGELOG.md +++ b/packages/plugins/other/schema-ast/CHANGELOG.md @@ -1,5 +1,16 @@ # @graphql-codegen/schema-ast +## 3.0.0 + +### 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 + +### Patch Changes + +- Updated dependencies [[`fc79b65d4`](https://github.com/dotansimha/graphql-code-generator/commit/fc79b65d4914fd25ae6bd5d58ebc7ded573a08a5), [`fd0b0c813`](https://github.com/dotansimha/graphql-code-generator/commit/fd0b0c813015cae4f6f6bda5f4c5515e544eb76d)]: + - @graphql-codegen/plugin-helpers@4.0.0 + ## 2.6.1 ### Patch Changes diff --git a/packages/plugins/other/schema-ast/package.json b/packages/plugins/other/schema-ast/package.json index 441a64ec063c..09d3e7e29f2a 100644 --- a/packages/plugins/other/schema-ast/package.json +++ b/packages/plugins/other/schema-ast/package.json @@ -1,6 +1,6 @@ { "name": "@graphql-codegen/schema-ast", - "version": "2.6.1", + "version": "3.0.0", "description": "GraphQL Code Generator plugin for generating a .graphql file from a given schema", "repository": { "type": "git", @@ -13,7 +13,7 @@ "test": "jest --no-watchman --config ../../../../jest.config.js" }, "dependencies": { - "@graphql-codegen/plugin-helpers": "^3.1.2", + "@graphql-codegen/plugin-helpers": "^4.0.0", "@graphql-tools/utils": "^9.0.0", "tslib": "~2.4.0" }, diff --git a/packages/plugins/other/time/CHANGELOG.md b/packages/plugins/other/time/CHANGELOG.md index 350a36941b78..9f550d016597 100644 --- a/packages/plugins/other/time/CHANGELOG.md +++ b/packages/plugins/other/time/CHANGELOG.md @@ -1,5 +1,16 @@ # @graphql-codegen/time +## 4.0.0 + +### 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 + +### Patch Changes + +- Updated dependencies [[`fc79b65d4`](https://github.com/dotansimha/graphql-code-generator/commit/fc79b65d4914fd25ae6bd5d58ebc7ded573a08a5), [`fd0b0c813`](https://github.com/dotansimha/graphql-code-generator/commit/fd0b0c813015cae4f6f6bda5f4c5515e544eb76d)]: + - @graphql-codegen/plugin-helpers@4.0.0 + ## 3.2.3 ### Patch Changes diff --git a/packages/plugins/other/time/package.json b/packages/plugins/other/time/package.json index 7d6492358ffc..ff1e98f53218 100644 --- a/packages/plugins/other/time/package.json +++ b/packages/plugins/other/time/package.json @@ -1,6 +1,6 @@ { "name": "@graphql-codegen/time", - "version": "3.2.3", + "version": "4.0.0", "description": "GraphQL Code Generator plugin for adding the current time for an output file", "repository": { "type": "git", @@ -12,7 +12,7 @@ "lint": "eslint **/*.ts" }, "dependencies": { - "@graphql-codegen/plugin-helpers": "^3.1.1", + "@graphql-codegen/plugin-helpers": "^4.0.0", "moment": "~2.29.1" }, "devDependencies": { diff --git a/packages/plugins/other/visitor-plugin-common/CHANGELOG.md b/packages/plugins/other/visitor-plugin-common/CHANGELOG.md index bb82c0e1a7fc..25d8f9b095cf 100644 --- a/packages/plugins/other/visitor-plugin-common/CHANGELOG.md +++ b/packages/plugins/other/visitor-plugin-common/CHANGELOG.md @@ -1,5 +1,18 @@ # @graphql-codegen/visitor-plugin-common +## 3.0.0 + +### 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 + +### Patch Changes + +- [#8871](https://github.com/dotansimha/graphql-code-generator/pull/8871) [`fc79b65d4`](https://github.com/dotansimha/graphql-code-generator/commit/fc79b65d4914fd25ae6bd5d58ebc7ded573a08a5) Thanks [@B2o5T](https://github.com/B2o5T)! - eslint fixes + +- Updated dependencies [[`fc79b65d4`](https://github.com/dotansimha/graphql-code-generator/commit/fc79b65d4914fd25ae6bd5d58ebc7ded573a08a5), [`fd0b0c813`](https://github.com/dotansimha/graphql-code-generator/commit/fd0b0c813015cae4f6f6bda5f4c5515e544eb76d)]: + - @graphql-codegen/plugin-helpers@4.0.0 + ## 2.13.8 ### Patch Changes diff --git a/packages/plugins/other/visitor-plugin-common/package.json b/packages/plugins/other/visitor-plugin-common/package.json index c8e95fcea001..bc4a7b60113f 100644 --- a/packages/plugins/other/visitor-plugin-common/package.json +++ b/packages/plugins/other/visitor-plugin-common/package.json @@ -1,6 +1,6 @@ { "name": "@graphql-codegen/visitor-plugin-common", - "version": "2.13.8", + "version": "3.0.0", "license": "MIT", "repository": { "type": "git", @@ -13,7 +13,7 @@ }, "dependencies": { "@graphql-tools/optimize": "^1.3.0", - "@graphql-codegen/plugin-helpers": "^3.1.2", + "@graphql-codegen/plugin-helpers": "^4.0.0", "@graphql-tools/relay-operation-optimizer": "^6.5.0", "@graphql-tools/utils": "^9.0.0", "auto-bind": "~4.0.0", diff --git a/packages/plugins/typescript/document-nodes/CHANGELOG.md b/packages/plugins/typescript/document-nodes/CHANGELOG.md index 3c1844042e37..108f9ef8b2e6 100644 --- a/packages/plugins/typescript/document-nodes/CHANGELOG.md +++ b/packages/plugins/typescript/document-nodes/CHANGELOG.md @@ -1,5 +1,17 @@ # @graphql-codegen/typescript-document-nodes +## 3.0.0 + +### 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 + +### Patch Changes + +- Updated dependencies [[`fc79b65d4`](https://github.com/dotansimha/graphql-code-generator/commit/fc79b65d4914fd25ae6bd5d58ebc7ded573a08a5), [`fd0b0c813`](https://github.com/dotansimha/graphql-code-generator/commit/fd0b0c813015cae4f6f6bda5f4c5515e544eb76d)]: + - @graphql-codegen/visitor-plugin-common@3.0.0 + - @graphql-codegen/plugin-helpers@4.0.0 + ## 2.3.13 ### Patch Changes diff --git a/packages/plugins/typescript/document-nodes/package.json b/packages/plugins/typescript/document-nodes/package.json index 7bc04d88be2b..fb5c7e8c87c0 100644 --- a/packages/plugins/typescript/document-nodes/package.json +++ b/packages/plugins/typescript/document-nodes/package.json @@ -1,6 +1,6 @@ { "name": "@graphql-codegen/typescript-document-nodes", - "version": "2.3.13", + "version": "3.0.0", "description": "GraphQL Code Generator plugin for generating TypeScript modules with embedded GraphQL document nodes", "repository": { "type": "git", @@ -13,8 +13,8 @@ "test": "jest --no-watchman --config ../../../../jest.config.js" }, "dependencies": { - "@graphql-codegen/plugin-helpers": "^3.1.2", - "@graphql-codegen/visitor-plugin-common": "2.13.8", + "@graphql-codegen/plugin-helpers": "^4.0.0", + "@graphql-codegen/visitor-plugin-common": "3.0.0", "auto-bind": "~4.0.0", "tslib": "~2.4.0" }, diff --git a/packages/plugins/typescript/gql-tag-operations/CHANGELOG.md b/packages/plugins/typescript/gql-tag-operations/CHANGELOG.md index beaed23ec36c..2d7b0b938ed0 100644 --- a/packages/plugins/typescript/gql-tag-operations/CHANGELOG.md +++ b/packages/plugins/typescript/gql-tag-operations/CHANGELOG.md @@ -1,5 +1,17 @@ # @graphql-codegen/gql-tag-operations +## 2.0.0 + +### 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 + +### Patch Changes + +- Updated dependencies [[`fc79b65d4`](https://github.com/dotansimha/graphql-code-generator/commit/fc79b65d4914fd25ae6bd5d58ebc7ded573a08a5), [`fd0b0c813`](https://github.com/dotansimha/graphql-code-generator/commit/fd0b0c813015cae4f6f6bda5f4c5515e544eb76d)]: + - @graphql-codegen/visitor-plugin-common@3.0.0 + - @graphql-codegen/plugin-helpers@4.0.0 + ## 1.6.2 ### Patch Changes diff --git a/packages/plugins/typescript/gql-tag-operations/package.json b/packages/plugins/typescript/gql-tag-operations/package.json index 3c684e1e0fe2..7a44c380d4e7 100644 --- a/packages/plugins/typescript/gql-tag-operations/package.json +++ b/packages/plugins/typescript/gql-tag-operations/package.json @@ -1,6 +1,6 @@ { "name": "@graphql-codegen/gql-tag-operations", - "version": "1.6.2", + "version": "2.0.0", "description": "GraphQL Code Generator plugin for generating a typed gql tag function", "repository": { "type": "git", @@ -17,8 +17,8 @@ }, "dependencies": { "@graphql-tools/utils": "^9.0.0", - "@graphql-codegen/plugin-helpers": "^3.1.2", - "@graphql-codegen/visitor-plugin-common": "2.13.8", + "@graphql-codegen/plugin-helpers": "^4.0.0", + "@graphql-codegen/visitor-plugin-common": "3.0.0", "auto-bind": "~4.0.0", "tslib": "~2.4.0" }, diff --git a/packages/plugins/typescript/operations/CHANGELOG.md b/packages/plugins/typescript/operations/CHANGELOG.md index 34e2d0b1744f..722d14db1828 100644 --- a/packages/plugins/typescript/operations/CHANGELOG.md +++ b/packages/plugins/typescript/operations/CHANGELOG.md @@ -1,5 +1,18 @@ # @graphql-codegen/typescript-operations +## 3.0.0 + +### 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 + +### Patch Changes + +- Updated dependencies [[`fc79b65d4`](https://github.com/dotansimha/graphql-code-generator/commit/fc79b65d4914fd25ae6bd5d58ebc7ded573a08a5), [`fd0b0c813`](https://github.com/dotansimha/graphql-code-generator/commit/fd0b0c813015cae4f6f6bda5f4c5515e544eb76d)]: + - @graphql-codegen/visitor-plugin-common@3.0.0 + - @graphql-codegen/plugin-helpers@4.0.0 + - @graphql-codegen/typescript@3.0.0 + ## 2.5.13 ### Patch Changes diff --git a/packages/plugins/typescript/operations/package.json b/packages/plugins/typescript/operations/package.json index ef7aa3b3cadc..ede32ce6e582 100644 --- a/packages/plugins/typescript/operations/package.json +++ b/packages/plugins/typescript/operations/package.json @@ -1,6 +1,6 @@ { "name": "@graphql-codegen/typescript-operations", - "version": "2.5.13", + "version": "3.0.0", "description": "GraphQL Code Generator plugin for generating TypeScript types for GraphQL queries, mutations, subscriptions and fragments", "repository": { "type": "git", @@ -13,9 +13,9 @@ "test": "jest --no-watchman --config ../../../../jest.config.js" }, "dependencies": { - "@graphql-codegen/plugin-helpers": "^3.1.2", - "@graphql-codegen/typescript": "^2.8.8", - "@graphql-codegen/visitor-plugin-common": "2.13.8", + "@graphql-codegen/plugin-helpers": "^4.0.0", + "@graphql-codegen/typescript": "^3.0.0", + "@graphql-codegen/visitor-plugin-common": "3.0.0", "auto-bind": "~4.0.0", "tslib": "~2.4.0" }, diff --git a/packages/plugins/typescript/resolvers/CHANGELOG.md b/packages/plugins/typescript/resolvers/CHANGELOG.md index ae611a12c387..a306805af8e6 100644 --- a/packages/plugins/typescript/resolvers/CHANGELOG.md +++ b/packages/plugins/typescript/resolvers/CHANGELOG.md @@ -1,5 +1,20 @@ # @graphql-codegen/typescript-resolvers +## 3.0.0 + +### 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 + +### Patch Changes + +- [#8871](https://github.com/dotansimha/graphql-code-generator/pull/8871) [`fc79b65d4`](https://github.com/dotansimha/graphql-code-generator/commit/fc79b65d4914fd25ae6bd5d58ebc7ded573a08a5) Thanks [@B2o5T](https://github.com/B2o5T)! - eslint fixes + +- Updated dependencies [[`fc79b65d4`](https://github.com/dotansimha/graphql-code-generator/commit/fc79b65d4914fd25ae6bd5d58ebc7ded573a08a5), [`fd0b0c813`](https://github.com/dotansimha/graphql-code-generator/commit/fd0b0c813015cae4f6f6bda5f4c5515e544eb76d)]: + - @graphql-codegen/visitor-plugin-common@3.0.0 + - @graphql-codegen/plugin-helpers@4.0.0 + - @graphql-codegen/typescript@3.0.0 + ## 2.7.13 ### Patch Changes diff --git a/packages/plugins/typescript/resolvers/package.json b/packages/plugins/typescript/resolvers/package.json index a27339635cb8..e5b8694ce30f 100644 --- a/packages/plugins/typescript/resolvers/package.json +++ b/packages/plugins/typescript/resolvers/package.json @@ -1,6 +1,6 @@ { "name": "@graphql-codegen/typescript-resolvers", - "version": "2.7.13", + "version": "3.0.0", "description": "GraphQL Code Generator plugin for generating TypeScript types for resolvers signature", "repository": { "type": "git", @@ -13,9 +13,9 @@ "test": "jest --no-watchman --config ../../../../jest.config.js" }, "dependencies": { - "@graphql-codegen/plugin-helpers": "^3.1.2", - "@graphql-codegen/typescript": "^2.8.8", - "@graphql-codegen/visitor-plugin-common": "2.13.8", + "@graphql-codegen/plugin-helpers": "^4.0.0", + "@graphql-codegen/typescript": "^3.0.0", + "@graphql-codegen/visitor-plugin-common": "3.0.0", "@graphql-tools/utils": "^9.0.0", "auto-bind": "~4.0.0", "tslib": "~2.4.0" diff --git a/packages/plugins/typescript/typed-document-node/CHANGELOG.md b/packages/plugins/typescript/typed-document-node/CHANGELOG.md index 74df134c6568..bbef659e09aa 100644 --- a/packages/plugins/typescript/typed-document-node/CHANGELOG.md +++ b/packages/plugins/typescript/typed-document-node/CHANGELOG.md @@ -1,5 +1,17 @@ # @graphql-codegen/typed-document-node +## 3.0.0 + +### 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 + +### Patch Changes + +- Updated dependencies [[`fc79b65d4`](https://github.com/dotansimha/graphql-code-generator/commit/fc79b65d4914fd25ae6bd5d58ebc7ded573a08a5), [`fd0b0c813`](https://github.com/dotansimha/graphql-code-generator/commit/fd0b0c813015cae4f6f6bda5f4c5515e544eb76d)]: + - @graphql-codegen/visitor-plugin-common@3.0.0 + - @graphql-codegen/plugin-helpers@4.0.0 + ## 2.3.13 ### Patch Changes diff --git a/packages/plugins/typescript/typed-document-node/package.json b/packages/plugins/typescript/typed-document-node/package.json index a340e5868985..ff3cd104a937 100644 --- a/packages/plugins/typescript/typed-document-node/package.json +++ b/packages/plugins/typescript/typed-document-node/package.json @@ -1,6 +1,6 @@ { "name": "@graphql-codegen/typed-document-node", - "version": "2.3.13", + "version": "3.0.0", "description": "GraphQL Code Generator plugin for generating ready-to-use TypedDocumentNode based on GraphQL operations", "repository": { "type": "git", @@ -17,8 +17,8 @@ }, "dependencies": { "change-case-all": "1.0.15", - "@graphql-codegen/plugin-helpers": "^3.1.2", - "@graphql-codegen/visitor-plugin-common": "2.13.8", + "@graphql-codegen/plugin-helpers": "^4.0.0", + "@graphql-codegen/visitor-plugin-common": "3.0.0", "auto-bind": "~4.0.0", "tslib": "~2.4.0" }, diff --git a/packages/plugins/typescript/typescript/CHANGELOG.md b/packages/plugins/typescript/typescript/CHANGELOG.md index 695e77c534d2..a50b519af2d4 100644 --- a/packages/plugins/typescript/typescript/CHANGELOG.md +++ b/packages/plugins/typescript/typescript/CHANGELOG.md @@ -1,5 +1,18 @@ # @graphql-codegen/typescript +## 3.0.0 + +### 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 + +### Patch Changes + +- Updated dependencies [[`fc79b65d4`](https://github.com/dotansimha/graphql-code-generator/commit/fc79b65d4914fd25ae6bd5d58ebc7ded573a08a5), [`fd0b0c813`](https://github.com/dotansimha/graphql-code-generator/commit/fd0b0c813015cae4f6f6bda5f4c5515e544eb76d)]: + - @graphql-codegen/visitor-plugin-common@3.0.0 + - @graphql-codegen/plugin-helpers@4.0.0 + - @graphql-codegen/schema-ast@3.0.0 + ## 2.8.8 ### Patch Changes diff --git a/packages/plugins/typescript/typescript/package.json b/packages/plugins/typescript/typescript/package.json index 812f1a201e50..da4e04b6d7cc 100644 --- a/packages/plugins/typescript/typescript/package.json +++ b/packages/plugins/typescript/typescript/package.json @@ -1,6 +1,6 @@ { "name": "@graphql-codegen/typescript", - "version": "2.8.8", + "version": "3.0.0", "description": "GraphQL Code Generator plugin for generating TypeScript types", "repository": { "type": "git", @@ -13,9 +13,9 @@ "test": "jest --no-watchman --config ../../../../jest.config.js" }, "dependencies": { - "@graphql-codegen/plugin-helpers": "^3.1.2", - "@graphql-codegen/schema-ast": "^2.6.1", - "@graphql-codegen/visitor-plugin-common": "2.13.8", + "@graphql-codegen/plugin-helpers": "^4.0.0", + "@graphql-codegen/schema-ast": "^3.0.0", + "@graphql-codegen/visitor-plugin-common": "3.0.0", "auto-bind": "~4.0.0", "tslib": "~2.4.0" }, diff --git a/packages/presets/client/CHANGELOG.md b/packages/presets/client/CHANGELOG.md index 3c24cca6c82e..c0a2d27a4d08 100644 --- a/packages/presets/client/CHANGELOG.md +++ b/packages/presets/client/CHANGELOG.md @@ -1,5 +1,29 @@ # @graphql-codegen/client-preset +## 2.0.0 + +### 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 + +### Patch 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)! - dependencies updates: + + - Updated dependency [`@babel/helper-plugin-utils@^7.20.2` ↗︎](https://www.npmjs.com/package/@babel/helper-plugin-utils/v/7.20.2) (from `^7.14.5`, in `dependencies`) + - Updated dependency [`@babel/template@^7.20.7` ↗︎](https://www.npmjs.com/package/@babel/template/v/7.20.7) (from `^7.15.4`, in `dependencies`) + +- [#8871](https://github.com/dotansimha/graphql-code-generator/pull/8871) [`fc79b65d4`](https://github.com/dotansimha/graphql-code-generator/commit/fc79b65d4914fd25ae6bd5d58ebc7ded573a08a5) Thanks [@B2o5T](https://github.com/B2o5T)! - eslint fixes + +- Updated dependencies [[`fc79b65d4`](https://github.com/dotansimha/graphql-code-generator/commit/fc79b65d4914fd25ae6bd5d58ebc7ded573a08a5), [`fd0b0c813`](https://github.com/dotansimha/graphql-code-generator/commit/fd0b0c813015cae4f6f6bda5f4c5515e544eb76d)]: + - @graphql-codegen/visitor-plugin-common@3.0.0 + - @graphql-codegen/plugin-helpers@4.0.0 + - @graphql-codegen/add@4.0.0 + - @graphql-codegen/gql-tag-operations@2.0.0 + - @graphql-codegen/typescript-operations@3.0.0 + - @graphql-codegen/typed-document-node@3.0.0 + - @graphql-codegen/typescript@3.0.0 + ## 1.3.0 ### Minor Changes diff --git a/packages/presets/client/package.json b/packages/presets/client/package.json index dc210d730bdc..0fa75851c487 100644 --- a/packages/presets/client/package.json +++ b/packages/presets/client/package.json @@ -1,6 +1,6 @@ { "name": "@graphql-codegen/client-preset", - "version": "1.3.0", + "version": "2.0.0", "description": "GraphQL Code Generator preset for client.", "repository": { "type": "git", @@ -19,13 +19,13 @@ "dependencies": { "@babel/helper-plugin-utils": "^7.20.2", "@babel/template": "^7.20.7", - "@graphql-codegen/add": "^3.2.3", - "@graphql-codegen/typed-document-node": "^2.3.13", - "@graphql-codegen/typescript": "^2.8.8", - "@graphql-codegen/typescript-operations": "^2.5.13", - "@graphql-codegen/gql-tag-operations": "1.6.2", - "@graphql-codegen/plugin-helpers": "^3.1.2", - "@graphql-codegen/visitor-plugin-common": "^2.13.8", + "@graphql-codegen/add": "^4.0.0", + "@graphql-codegen/typed-document-node": "^3.0.0", + "@graphql-codegen/typescript": "^3.0.0", + "@graphql-codegen/typescript-operations": "^3.0.0", + "@graphql-codegen/gql-tag-operations": "2.0.0", + "@graphql-codegen/plugin-helpers": "^4.0.0", + "@graphql-codegen/visitor-plugin-common": "^3.0.0", "@graphql-typed-document-node/core": "3.1.1", "@graphql-tools/documents": "^0.1.0", "@graphql-tools/utils": "^9.0.0", diff --git a/packages/presets/gql-tag-operations/CHANGELOG.md b/packages/presets/gql-tag-operations/CHANGELOG.md index d319a5839d97..54db02e4ee86 100644 --- a/packages/presets/gql-tag-operations/CHANGELOG.md +++ b/packages/presets/gql-tag-operations/CHANGELOG.md @@ -1,5 +1,24 @@ # @graphql-codegen/gql-tag-operations-preset +## 2.0.0 + +### 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 + +### Patch Changes + +- [#8871](https://github.com/dotansimha/graphql-code-generator/pull/8871) [`fc79b65d4`](https://github.com/dotansimha/graphql-code-generator/commit/fc79b65d4914fd25ae6bd5d58ebc7ded573a08a5) Thanks [@B2o5T](https://github.com/B2o5T)! - eslint fixes + +- Updated dependencies [[`fc79b65d4`](https://github.com/dotansimha/graphql-code-generator/commit/fc79b65d4914fd25ae6bd5d58ebc7ded573a08a5), [`fd0b0c813`](https://github.com/dotansimha/graphql-code-generator/commit/fd0b0c813015cae4f6f6bda5f4c5515e544eb76d)]: + - @graphql-codegen/visitor-plugin-common@3.0.0 + - @graphql-codegen/plugin-helpers@4.0.0 + - @graphql-codegen/add@4.0.0 + - @graphql-codegen/gql-tag-operations@2.0.0 + - @graphql-codegen/typescript-operations@3.0.0 + - @graphql-codegen/typed-document-node@3.0.0 + - @graphql-codegen/typescript@3.0.0 + ## 1.7.4 ### Patch Changes diff --git a/packages/presets/gql-tag-operations/package.json b/packages/presets/gql-tag-operations/package.json index f2db10a9dc6a..3136d5eafa8e 100644 --- a/packages/presets/gql-tag-operations/package.json +++ b/packages/presets/gql-tag-operations/package.json @@ -1,6 +1,6 @@ { "name": "@graphql-codegen/gql-tag-operations-preset", - "version": "1.7.4", + "version": "2.0.0", "description": "GraphQL Code Generator preset for gql magic.", "repository": { "type": "git", @@ -19,13 +19,13 @@ "dependencies": { "@babel/helper-plugin-utils": "^7.14.5", "@babel/template": "^7.15.4", - "@graphql-codegen/add": "^3.2.3", - "@graphql-codegen/typed-document-node": "^2.3.11", - "@graphql-codegen/typescript": "^2.8.6", - "@graphql-codegen/typescript-operations": "^2.5.11", - "@graphql-codegen/gql-tag-operations": "^1.6.1", - "@graphql-codegen/plugin-helpers": "^3.1.2", - "@graphql-codegen/visitor-plugin-common": "^2.13.6", + "@graphql-codegen/add": "^4.0.0", + "@graphql-codegen/typed-document-node": "^3.0.0", + "@graphql-codegen/typescript": "^3.0.0", + "@graphql-codegen/typescript-operations": "^3.0.0", + "@graphql-codegen/gql-tag-operations": "^2.0.0", + "@graphql-codegen/plugin-helpers": "^4.0.0", + "@graphql-codegen/visitor-plugin-common": "^3.0.0", "@graphql-tools/utils": "^9.0.0", "tslib": "~2.4.0" }, diff --git a/packages/presets/graphql-modules/CHANGELOG.md b/packages/presets/graphql-modules/CHANGELOG.md index 1c8ebb270dac..03189a433a05 100644 --- a/packages/presets/graphql-modules/CHANGELOG.md +++ b/packages/presets/graphql-modules/CHANGELOG.md @@ -1,5 +1,19 @@ # @graphql-codegen/graphql-modules-preset +## 3.0.0 + +### 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 + +### Patch Changes + +- [#8871](https://github.com/dotansimha/graphql-code-generator/pull/8871) [`fc79b65d4`](https://github.com/dotansimha/graphql-code-generator/commit/fc79b65d4914fd25ae6bd5d58ebc7ded573a08a5) Thanks [@B2o5T](https://github.com/B2o5T)! - eslint fixes + +- Updated dependencies [[`fc79b65d4`](https://github.com/dotansimha/graphql-code-generator/commit/fc79b65d4914fd25ae6bd5d58ebc7ded573a08a5), [`fd0b0c813`](https://github.com/dotansimha/graphql-code-generator/commit/fd0b0c813015cae4f6f6bda5f4c5515e544eb76d)]: + - @graphql-codegen/visitor-plugin-common@3.0.0 + - @graphql-codegen/plugin-helpers@4.0.0 + ## 2.5.12 ### Patch Changes diff --git a/packages/presets/graphql-modules/package.json b/packages/presets/graphql-modules/package.json index 742e1b33ca99..49ac42f5b835 100644 --- a/packages/presets/graphql-modules/package.json +++ b/packages/presets/graphql-modules/package.json @@ -1,6 +1,6 @@ { "name": "@graphql-codegen/graphql-modules-preset", - "version": "2.5.12", + "version": "3.0.0", "description": "GraphQL Code Generator preset for modularized schema", "repository": { "type": "git", @@ -15,8 +15,8 @@ "@types/parse-filepath": "1.0.0" }, "dependencies": { - "@graphql-codegen/plugin-helpers": "^3.1.2", - "@graphql-codegen/visitor-plugin-common": "2.13.8", + "@graphql-codegen/plugin-helpers": "^4.0.0", + "@graphql-codegen/visitor-plugin-common": "3.0.0", "@graphql-tools/utils": "^9.0.0", "parse-filepath": "^1.0.2", "change-case-all": "1.0.15", diff --git a/packages/utils/graphql-codegen-testing/CHANGELOG.md b/packages/utils/graphql-codegen-testing/CHANGELOG.md index 9c8039dbebac..a13dcb882791 100644 --- a/packages/utils/graphql-codegen-testing/CHANGELOG.md +++ b/packages/utils/graphql-codegen-testing/CHANGELOG.md @@ -1,5 +1,16 @@ # @graphql-codegen/testing +## 2.0.0 + +### 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 + +### Patch Changes + +- Updated dependencies [[`fc79b65d4`](https://github.com/dotansimha/graphql-code-generator/commit/fc79b65d4914fd25ae6bd5d58ebc7ded573a08a5), [`fd0b0c813`](https://github.com/dotansimha/graphql-code-generator/commit/fd0b0c813015cae4f6f6bda5f4c5515e544eb76d)]: + - @graphql-codegen/plugin-helpers@4.0.0 + ## 1.18.3 ### Patch Changes diff --git a/packages/utils/graphql-codegen-testing/package.json b/packages/utils/graphql-codegen-testing/package.json index fc29de60bb52..b8063b0a6606 100644 --- a/packages/utils/graphql-codegen-testing/package.json +++ b/packages/utils/graphql-codegen-testing/package.json @@ -1,6 +1,6 @@ { "name": "@graphql-codegen/testing", - "version": "1.18.3", + "version": "2.0.0", "description": "GraphQL Codegen Testing Utils", "main": "dist/cjs/index.js", "module": "dist/esm/index.js", @@ -40,7 +40,7 @@ "typescript": ">=3.0.0" }, "dependencies": { - "@graphql-codegen/plugin-helpers": "^3.1.1", + "@graphql-codegen/plugin-helpers": "^4.0.0", "common-tags": "^1.8.0", "lz-string": "^1.4.4", "graphql-helix": "1.13.0", diff --git a/packages/utils/plugins-helpers/CHANGELOG.md b/packages/utils/plugins-helpers/CHANGELOG.md index 63b80bf1458a..75e6fbc99ff2 100644 --- a/packages/utils/plugins-helpers/CHANGELOG.md +++ b/packages/utils/plugins-helpers/CHANGELOG.md @@ -1,5 +1,15 @@ # @graphql-codegen/plugin-helpers +## 4.0.0 + +### 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 + +### Patch Changes + +- [#8871](https://github.com/dotansimha/graphql-code-generator/pull/8871) [`fc79b65d4`](https://github.com/dotansimha/graphql-code-generator/commit/fc79b65d4914fd25ae6bd5d58ebc7ded573a08a5) Thanks [@B2o5T](https://github.com/B2o5T)! - eslint fixes + ## 3.1.2 ### Patch Changes diff --git a/packages/utils/plugins-helpers/package.json b/packages/utils/plugins-helpers/package.json index c03b80dd9adb..ec6c95c8f04f 100644 --- a/packages/utils/plugins-helpers/package.json +++ b/packages/utils/plugins-helpers/package.json @@ -1,6 +1,6 @@ { "name": "@graphql-codegen/plugin-helpers", - "version": "3.1.2", + "version": "4.0.0", "description": "GraphQL Code Generator common utils and types", "repository": { "type": "git", diff --git a/website/package.json b/website/package.json index 5756d8b92fa2..dda9b0c64400 100644 --- a/website/package.json +++ b/website/package.json @@ -21,19 +21,19 @@ "prettier-plugin-tailwindcss": "0.2.0" }, "dependencies": { - "@graphql-codegen/add": "3.2.3", + "@graphql-codegen/add": "4.0.0", "@graphql-codegen/c-sharp": "4.3.1", "@graphql-codegen/c-sharp-operations": "2.3.1", - "@graphql-codegen/cli": "2.16.5", - "@graphql-codegen/core": "2.6.8", + "@graphql-codegen/cli": "3.0.0", + "@graphql-codegen/core": "3.0.0", "@graphql-codegen/flow": "2.3.6", "@graphql-codegen/flow-operations": "2.3.6", "@graphql-codegen/flow-resolvers": "2.4.4", "@graphql-codegen/flutter-freezed": "^3.0.1", - "@graphql-codegen/fragment-matcher": "3.3.3", + "@graphql-codegen/fragment-matcher": "4.0.0", "@graphql-codegen/hasura-allow-list": "2.0.0", "@graphql-codegen/import-types-preset": "2.2.6", - "@graphql-codegen/introspection": "2.2.3", + "@graphql-codegen/introspection": "3.0.0", "@graphql-codegen/java": "3.3.6", "@graphql-codegen/java-apollo-android": "2.3.6", "@graphql-codegen/java-resolvers": "2.3.6", @@ -41,10 +41,10 @@ "@graphql-codegen/kotlin": "2.3.6", "@graphql-codegen/named-operations-object": "2.3.1", "@graphql-codegen/near-operation-file-preset": "2.5.0", - "@graphql-codegen/schema-ast": "2.6.1", - "@graphql-codegen/time": "3.2.3", - "@graphql-codegen/typed-document-node": "2.3.13", - "@graphql-codegen/typescript": "2.8.8", + "@graphql-codegen/schema-ast": "3.0.0", + "@graphql-codegen/time": "4.0.0", + "@graphql-codegen/typed-document-node": "3.0.0", + "@graphql-codegen/typescript": "3.0.0", "@graphql-codegen/typescript-apollo-angular": "3.5.6", "@graphql-codegen/typescript-apollo-client-helpers": "2.2.6", "@graphql-codegen/typescript-generic-sdk": "3.0.4", @@ -52,10 +52,10 @@ "@graphql-codegen/typescript-graphql-request": "4.5.8", "@graphql-codegen/typescript-mongodb": "2.4.6", "@graphql-codegen/typescript-msw": "1.1.6", - "@graphql-codegen/typescript-operations": "2.5.13", + "@graphql-codegen/typescript-operations": "3.0.0", "@graphql-codegen/typescript-react-apollo": "3.3.7", "@graphql-codegen/typescript-react-query": "4.1.0", - "@graphql-codegen/typescript-resolvers": "2.7.13", + "@graphql-codegen/typescript-resolvers": "3.0.0", "@graphql-codegen/typescript-rtk-query": "2.3.7", "@graphql-codegen/typescript-stencil-apollo": "2.3.6", "@graphql-codegen/typescript-type-graphql": "2.3.6",