diff --git a/.changeset/@graphql-codegen_cli-8302-dependencies.md b/.changeset/@graphql-codegen_cli-8302-dependencies.md deleted file mode 100644 index 27eb87962f5..00000000000 --- a/.changeset/@graphql-codegen_cli-8302-dependencies.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -"@graphql-codegen/cli": patch ---- -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`) diff --git a/.changeset/orange-hornets-thank.md b/.changeset/orange-hornets-thank.md deleted file mode 100644 index 0d3a7fc4525..00000000000 --- a/.changeset/orange-hornets-thank.md +++ /dev/null @@ -1,23 +0,0 @@ ---- -'@graphql-codegen/gql-tag-operations': minor -'@graphql-codegen/gql-tag-operations-preset': minor -"@graphql-codegen/cli": minor -'@graphql-codegen/client-preset': patch ---- - -**`@graphql-codegen/gql-tag-operations` and `@graphql-codegen/gql-tag-operations-preset`** - -Introduce a `gqlTagName` configuration option - ------ - -**`@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 - - ------ - -**`@graphql-codegen/cli`** - -Update init wizard with 3.0 recommendations (`codegen.ts`, `client` preset) diff --git a/examples/typescript-esm/package.json b/examples/typescript-esm/package.json index 1fddc9f10f5..186779cb17f 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.12.2", - "@graphql-codegen/gql-tag-operations-preset": "1.5.5" + "@graphql-codegen/cli": "2.13.0", + "@graphql-codegen/gql-tag-operations-preset": "1.6.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 94359dad72b..97d3080531b 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.12.2", - "@graphql-codegen/gql-tag-operations-preset": "1.5.5" + "@graphql-codegen/cli": "2.13.0", + "@graphql-codegen/gql-tag-operations-preset": "1.6.0" }, "dependencies": { "graphql": "16.6.0", diff --git a/examples/typescript-resolvers/package.json b/examples/typescript-resolvers/package.json index d5f46e77e22..327b18bbc9a 100644 --- a/examples/typescript-resolvers/package.json +++ b/examples/typescript-resolvers/package.json @@ -3,7 +3,7 @@ "version": "0.0.0", "private": true, "devDependencies": { - "@graphql-codegen/cli": "2.12.2", + "@graphql-codegen/cli": "2.13.0", "@graphql-codegen/typescript": "2.7.3", "@graphql-codegen/typescript-resolvers": "2.7.3" }, diff --git a/packages/graphql-cli-codegen-plugin/CHANGELOG.md b/packages/graphql-cli-codegen-plugin/CHANGELOG.md index da4ca418de6..e28df609cfc 100644 --- a/packages/graphql-cli-codegen-plugin/CHANGELOG.md +++ b/packages/graphql-cli-codegen-plugin/CHANGELOG.md @@ -1,5 +1,12 @@ # @graphql-cli/codegen +## 2.4.3 + +### Patch Changes + +- Updated dependencies [[`876844e76`](https://github.com/dotansimha/graphql-code-generator/commit/876844e7644a917172f09b3c4eb54a2f4c90e4c6), [`876844e76`](https://github.com/dotansimha/graphql-code-generator/commit/876844e7644a917172f09b3c4eb54a2f4c90e4c6)]: + - @graphql-codegen/cli@2.13.0 + ## 2.4.2 ### Patch Changes diff --git a/packages/graphql-cli-codegen-plugin/package.json b/packages/graphql-cli-codegen-plugin/package.json index 4acafb22758..48e09efd872 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.2", + "version": "2.4.3", "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.12.2", + "@graphql-codegen/cli": "2.13.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 9ebd56886c3..eac2e05a67b 100644 --- a/packages/graphql-codegen-cli/CHANGELOG.md +++ b/packages/graphql-codegen-cli/CHANGELOG.md @@ -1,5 +1,38 @@ # @graphql-codegen/cli +## 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`** + + Introduce a `gqlTagName` configuration option + + *** + + **`@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 + + *** + + **`@graphql-codegen/cli`** + + Update init wizard with 3.0 recommendations (`codegen.ts`, `client` preset) + +### 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)]: + - @graphql-codegen/client-preset@1.0.1 + ## 2.12.2 ### Patch Changes diff --git a/packages/graphql-codegen-cli/package.json b/packages/graphql-codegen-cli/package.json index 182e638be0e..a82d108fe4e 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.12.2", + "version": "2.13.0", "license": "MIT", "bin": { "gql-gen": "dist/cjs/bin.js", @@ -43,7 +43,7 @@ "@babel/generator": "^7.18.13", "@babel/template": "^7.18.10", "@babel/types": "^7.18.13", - "@graphql-codegen/client-preset": "1.0.1-alpha-20220823170145-c93d8aee3", + "@graphql-codegen/client-preset": "1.0.1", "@graphql-codegen/core": "2.6.2", "@graphql-codegen/plugin-helpers": "^2.6.2", "@graphql-tools/apollo-engine-loader": "^7.3.6", diff --git a/packages/plugins/typescript/gql-tag-operations/CHANGELOG.md b/packages/plugins/typescript/gql-tag-operations/CHANGELOG.md index f4131e27c65..51526f9037b 100644 --- a/packages/plugins/typescript/gql-tag-operations/CHANGELOG.md +++ b/packages/plugins/typescript/gql-tag-operations/CHANGELOG.md @@ -1,5 +1,25 @@ # @graphql-codegen/gql-tag-operations +## 1.5.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`** + + Introduce a `gqlTagName` configuration option + + *** + + **`@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 + + *** + + **`@graphql-codegen/cli`** + + Update init wizard with 3.0 recommendations (`codegen.ts`, `client` preset) + ## 1.4.1 ### Patch Changes diff --git a/packages/plugins/typescript/gql-tag-operations/package.json b/packages/plugins/typescript/gql-tag-operations/package.json index 313dc5c9bf8..e38adfbe7c5 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.4.1", + "version": "1.5.0", "description": "GraphQL Code Generator plugin for generating a typed gql tag function", "repository": { "type": "git", diff --git a/packages/presets/client/CHANGELOG.md b/packages/presets/client/CHANGELOG.md new file mode 100644 index 00000000000..59cd2062054 --- /dev/null +++ b/packages/presets/client/CHANGELOG.md @@ -0,0 +1,24 @@ +# @graphql-codegen/client-preset + +## 1.0.1 + +### 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)! - **`@graphql-codegen/gql-tag-operations` and `@graphql-codegen/gql-tag-operations-preset`** + + Introduce a `gqlTagName` configuration option + + *** + + **`@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 + + *** + + **`@graphql-codegen/cli`** + + Update init wizard with 3.0 recommendations (`codegen.ts`, `client` preset) + +- Updated dependencies [[`876844e76`](https://github.com/dotansimha/graphql-code-generator/commit/876844e7644a917172f09b3c4eb54a2f4c90e4c6)]: + - @graphql-codegen/gql-tag-operations@1.5.0 diff --git a/packages/presets/client/package.json b/packages/presets/client/package.json index 9de64ba3820..759c93510e7 100644 --- a/packages/presets/client/package.json +++ b/packages/presets/client/package.json @@ -1,6 +1,6 @@ { "name": "@graphql-codegen/client-preset", - "version": "1.0.0", + "version": "1.0.1", "description": "GraphQL Code Generator preset for client.", "repository": { "type": "git", @@ -23,7 +23,7 @@ "@graphql-codegen/typed-document-node": "^2.3.3", "@graphql-codegen/typescript": "^2.7.3", "@graphql-codegen/typescript-operations": "^2.5.3", - "@graphql-codegen/gql-tag-operations": "^1.4.1", + "@graphql-codegen/gql-tag-operations": "^1.5.0", "@graphql-codegen/plugin-helpers": "^2.6.2", "@graphql-codegen/visitor-plugin-common": "^2.12.1", "@graphql-typed-document-node/core": "3.1.1", diff --git a/packages/presets/gql-tag-operations/CHANGELOG.md b/packages/presets/gql-tag-operations/CHANGELOG.md index cca61eac3b3..ba23d5d311b 100644 --- a/packages/presets/gql-tag-operations/CHANGELOG.md +++ b/packages/presets/gql-tag-operations/CHANGELOG.md @@ -1,5 +1,30 @@ # @graphql-codegen/gql-tag-operations-preset +## 1.6.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`** + + Introduce a `gqlTagName` configuration option + + *** + + **`@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 + + *** + + **`@graphql-codegen/cli`** + + Update init wizard with 3.0 recommendations (`codegen.ts`, `client` preset) + +### Patch Changes + +- Updated dependencies [[`876844e76`](https://github.com/dotansimha/graphql-code-generator/commit/876844e7644a917172f09b3c4eb54a2f4c90e4c6)]: + - @graphql-codegen/gql-tag-operations@1.5.0 + ## 1.5.5 ### Patch Changes diff --git a/packages/presets/gql-tag-operations/package.json b/packages/presets/gql-tag-operations/package.json index 6e48ac09012..c9f22ae1654 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.5.5", + "version": "1.6.0", "description": "GraphQL Code Generator preset for gql magic.", "repository": { "type": "git", @@ -23,7 +23,7 @@ "@graphql-codegen/typed-document-node": "^2.3.3", "@graphql-codegen/typescript": "^2.7.3", "@graphql-codegen/typescript-operations": "^2.5.3", - "@graphql-codegen/gql-tag-operations": "^1.4.1", + "@graphql-codegen/gql-tag-operations": "^1.5.0", "@graphql-codegen/plugin-helpers": "^2.6.2", "@graphql-codegen/visitor-plugin-common": "^2.12.1", "@graphql-tools/utils": "^8.8.0", diff --git a/website/package.json b/website/package.json index 78f3ad6765a..fb551e6bb1a 100644 --- a/website/package.json +++ b/website/package.json @@ -29,7 +29,7 @@ "@graphql-codegen/add": "3.2.1", "@graphql-codegen/c-sharp": "4.3.1", "@graphql-codegen/c-sharp-operations": "2.3.1", - "@graphql-codegen/cli": "2.12.2", + "@graphql-codegen/cli": "2.13.0", "@graphql-codegen/core": "2.6.2", "@graphql-codegen/flow": "2.3.3", "@graphql-codegen/flow-operations": "2.3.3",