@graphql-codegen/gql-tag-operations
Changelog for @graphql-codegen/gql-tag-operations: every release with its changes and the pull requests behind them.
6.1.1
Patch Changes
-
#11043
31761f9Thanks @eddeee888! - dependencies updates:- Updated dependency
@graphql-tools/utils@^12.0.3↗︎ (from^11.2.0, independencies)
- Updated dependency
-
#11043
31761f9Thanks @eddeee888! - Update@graphql-tools/utilsto v12, and other@graphql-tools/*dependencies andgraphql-configto releases that use it, to pick up the fix for GHSA-7mx3-vvmw-hjmv (prototype pollution inmergeDeep,@graphql-tools/utils<= 12.0.0).@graphql-codegen/clinow unwraps theAggregateErrorthat newer@graphql-tools/loadversions throw, so schema and document syntax errors still print the nativeGraphQLErrorwith its file location. -
Updated dependencies [
31761f9,31761f9,31761f9,463e6ef]:- @graphql-codegen/plugin-helpers@7.4.2
- @graphql-codegen/visitor-plugin-common@7.2.9
6.1.0
Minor Changes
- #10866
959915fThanks @eddeee888! - dependencies updates:- Updated dependency
@graphql-tools/utils@^11.2.0↗︎ (from^11.0.0, independencies) - Updated dependency
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 || ^17.0.0↗︎ (from^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, inpeerDependencies)
- Updated dependency
Patch Changes
- Updated dependencies
[
959915f,959915f]:- @graphql-codegen/plugin-helpers@7.1.0
- @graphql-codegen/visitor-plugin-common@7.2.0
6.0.1
Patch Changes
- #10849
55a4742Thanks @eddeee888! - dependencies updates:- Updated dependency
@graphql-codegen/plugin-helpers@workspace:^↗︎ (from^7.0.0, independencies) - Updated dependency
@graphql-codegen/visitor-plugin-common@workspace:^↗︎ (from^7.0.0, independencies)
- Updated dependency
- Updated dependencies
[
55a4742]:- @graphql-codegen/visitor-plugin-common@7.0.3
6.0.0
Major Changes
-
#10496
afaace6Thanks @eddeee888! - BREAKING CHANGE: Update deps to latest, some only support ESMNode 20 support is dropped in this release. Node 22 comes with
require()support for ESM, which means it’s easier to integrate ES modules into applications. Therefore, it is safe to start using ESM-only packages.If you are a user, please upgrade to Node 22. If you are a lib maintainer and see ESM vs CJS issues when running Jest tests, try using Vitest.
-
#10496
afaace6Thanks @eddeee888! - BREAKING CHANGE: Drop Node 20 support
Patch Changes
-
#10496
afaace6Thanks @eddeee888! - dependencies updates:- Updated dependency
auto-bind@^5.0.0↗︎ (from~4.0.0, independencies)
- Updated dependency
-
#10496
afaace6Thanks @eddeee888! - dependencies updates:- Updated dependency
auto-bind@^5.0.0↗︎ (from~4.0.0, independencies)
- Updated dependency
-
Updated dependencies [
afaace6,afaace6,afaace6,afaace6,afaace6,afaace6,afaace6,afaace6,afaace6,afaace6,afaace6,afaace6,afaace6,afaace6,afaace6,afaace6,afaace6,afaace6,afaace6,afaace6,afaace6,afaace6,afaace6,afaace6]:- @graphql-codegen/plugin-helpers@7.0.0
- @graphql-codegen/visitor-plugin-common@7.0.0
5.2.0
Minor Changes
-
#10659
e65d303Thanks @ikusakov2! - Add support forexternalDocumentsexternalDocumentsdeclares GraphQL documents that will be read but will not have type files generated for them. These documents are available to plugins for type resolution (e.g. fragment types), but no output files will be generated based on them. Accepts the same formats asdocuments.This config option is useful for monorepos where each project may want to generate types for its own documents, but some may need to read shared fragments from across projects.
Patch Changes
- #10103
9a66574Thanks @renovate! - dependencies updates:- Updated dependency
tslib@^2.8.0↗︎ (from~2.6.0, independencies)
- Updated dependency
- Updated dependencies
[
9a66574,9a66574,e65d303]:- @graphql-codegen/plugin-helpers@6.3.0
- @graphql-codegen/visitor-plugin-common@6.3.0
5.1.4
Patch Changes
- #10619
cdf5dc5Thanks @ardatan! - dependencies updates:- Updated dependency
@graphql-tools/utils@^11.0.0↗︎ (from^10.0.0, independencies) - Updated dependency
@graphql-codegen/visitor-plugin-common@^6.2.3↗︎ (from6.2.3, independencies)
- Updated dependency
- Updated dependencies
[
cdf5dc5,cdf5dc5]:- @graphql-codegen/plugin-helpers@6.1.1
- @graphql-codegen/visitor-plugin-common@6.2.4
5.1.3
Patch Changes
- Updated dependencies
[
6038634]:- @graphql-codegen/visitor-plugin-common@6.2.3
5.1.2
Patch Changes
- Updated dependencies
[
f588d91]:- @graphql-codegen/visitor-plugin-common@6.2.2
5.1.1
Patch Changes
- Updated dependencies
[
b995ed1]:- @graphql-codegen/visitor-plugin-common@6.2.1
5.1.0
Minor Changes
- #10510
9e70bcbThanks @nickmessing! - add importExtension configuration option
Patch Changes
- Updated dependencies
[
f821e8a,9e70bcb]:- @graphql-codegen/visitor-plugin-common@6.2.0
- @graphql-codegen/plugin-helpers@6.1.0
5.0.5
Patch Changes
- Updated dependencies
[
51a1a72]:- @graphql-codegen/visitor-plugin-common@6.1.2
5.0.4
Patch Changes
- Updated dependencies
[
6715330]:- @graphql-codegen/visitor-plugin-common@6.1.1
5.0.3
Patch Changes
- #10032
1debf51Thanks @shota-tech! - Change map of operations from an empty array to an empty object when no operations are found
5.0.2
Patch Changes
- Updated dependencies
[
8258f1f]:- @graphql-codegen/visitor-plugin-common@6.1.0
5.0.1
Patch Changes
- Updated dependencies
[
accdab6]:- @graphql-codegen/visitor-plugin-common@6.0.1
5.0.0
Major Changes
- #10218
140298aThanks @eddeee888! - Drop Node 18 support
Patch Changes
- Updated dependencies
[
140298a,140298a,140298a,140298a,140298a,140298a,140298a,140298a,140298a,140298a,140298a,140298a,140298a,140298a]:- @graphql-codegen/visitor-plugin-common@6.0.0
- @graphql-codegen/plugin-helpers@6.0.0
4.0.17
Patch Changes
- Updated dependencies
[
f6909d1]:- @graphql-codegen/visitor-plugin-common@5.8.0
4.0.16
Patch Changes
- Updated dependencies
[
d8566c0]:- @graphql-codegen/visitor-plugin-common@5.7.1
4.0.15
Patch Changes
- Updated dependencies
[
6d7c1d7]:- @graphql-codegen/visitor-plugin-common@5.7.0
4.0.14
Patch Changes
- #10192
ec07018Thanks @brianhuang822! - Have gql-tag-operations generate the type for document registry
4.0.13
Patch Changes
- Updated dependencies
[
60dd72f]:- @graphql-codegen/visitor-plugin-common@5.6.1
4.0.12
Patch Changes
4.0.11
Patch Changes
- Updated dependencies
[
55a1e9e,a235051]:- @graphql-codegen/visitor-plugin-common@5.5.0
- @graphql-codegen/plugin-helpers@5.1.0
4.0.10
Patch Changes
-
#10075
67e7556Thanks @n1ru4l! - Add note about enabling bundle size reduction for the generatedgraphqltag file. -
Updated dependencies [
3f4f546]:- @graphql-codegen/visitor-plugin-common@5.4.0
4.0.9
Patch Changes
- Updated dependencies
[
79fee3c]:- @graphql-codegen/visitor-plugin-common@5.3.1
4.0.8
Patch Changes
4.0.7
Patch Changes
- Updated dependencies
[
dfc5310,156cc2b,dfc5310,b49457b]:- @graphql-codegen/plugin-helpers@5.0.4
- @graphql-codegen/visitor-plugin-common@5.2.0
4.0.6
Patch Changes
4.0.5
Patch Changes
- Updated dependencies
[
53f270a]:- @graphql-codegen/visitor-plugin-common@5.0.0
4.0.4
Patch Changes
-
Updated dependencies [
4e69568]:- @graphql-codegen/visitor-plugin-common@4.1.2
- @graphql-codegen/plugin-helpers@5.0.3
4.0.3
Patch Changes
- Updated dependencies
[
7718a8113]:- @graphql-codegen/visitor-plugin-common@4.1.1
4.0.2
Patch Changes
- #9811
d8364e045Thanks @saihaj! - dependencies updates:- Updated dependency
tslib@~2.6.0↗︎ (from~2.5.0, independencies)
- Updated dependency
- Updated dependencies
[
d8364e045,d8364e045,d8364e045,d8364e045]:- @graphql-codegen/plugin-helpers@5.0.2
- @graphql-codegen/visitor-plugin-common@4.1.0
4.0.1
Patch Changes
- Updated dependencies
[
2276708d0]:- @graphql-codegen/visitor-plugin-common@4.0.1
4.0.0
Major Changes
Patch Changes
- #9449
4d9ea1a5aThanks @n1ru4l! - dependencies updates:- Updated dependency
@graphql-tools/utils@^10.0.0↗︎ (from^9.0.0, independencies)
- Updated dependency
- Updated dependencies
[
4d9ea1a5a,4d9ea1a5a,f46803a8c,3848a2b73,ba84a3a27,63827fabe,50471e651,5aa95aa96,ca02ad172,e1dc75f3c,bb66c2a31,5950f5a68,5aa95aa96]:- @graphql-codegen/plugin-helpers@5.0.0
- @graphql-codegen/visitor-plugin-common@4.0.0
3.0.1
Patch Changes
3.0.0
Major Changes
- #9137
2256c8b5dThanks @beerose! - AddTypedDocumentNodestring alternative that doesn’t require GraphQL AST on the client. This change requires@graphql-typed-document-node/corein version3.2.0or higher.
Patch Changes
- Updated dependencies
[
e56790104,b7dacb21f,f104619ac,acb647e4e,9f4d9c5a4]:- @graphql-codegen/visitor-plugin-common@3.1.0
- @graphql-codegen/plugin-helpers@4.2.0
2.0.2
Patch Changes
- Updated dependencies
[
ba0610bbd,4b49f6fbe,b343626c9]:- @graphql-codegen/visitor-plugin-common@3.0.2
2.0.1
Patch Changes
-
#8879
8206b268dThanks @renovate! - dependencies updates:- Updated dependency
tslib@~2.5.0↗︎ (from~2.4.0, independencies)
- Updated dependency
-
#8995
fe2e9c7a5Thanks @charpeni! - UsegqlTagNamefor generated examples -
Updated dependencies [
8206b268d,8206b268d,a118c307a,6b6fe3cbc,a3309e63e]:- @graphql-codegen/plugin-helpers@4.1.0
- @graphql-codegen/visitor-plugin-common@3.0.1
2.0.0
Major Changes
Patch Changes
- Updated dependencies
[
fc79b65d4,fd0b0c813]:- @graphql-codegen/visitor-plugin-common@3.0.0
- @graphql-codegen/plugin-helpers@4.0.0
1.6.2
Patch Changes
- Updated dependencies
[
a98198524]:- @graphql-codegen/visitor-plugin-common@2.13.8
1.6.1
Patch Changes
- #8796
902451601Thanks @shmax! - remove extra asterisk and add missing semicolon in generated output
1.6.0
Minor Changes
- #8763
2a33fc774Thanks @ElvisUpUp! - change the client-preset generated template
Patch Changes
- Updated dependencies
[
eb454d06c]:- @graphql-codegen/visitor-plugin-common@2.13.7
1.5.12
Patch Changes
- #8771
ed87c782bThanks @renovate! - dependencies updates:- Updated dependency
@graphql-tools/utils@^9.0.0↗︎ (from^8.8.0, independencies)
- Updated dependency
- Updated dependencies
[
ed87c782b,ed87c782b,6c6b6f2df]:- @graphql-codegen/plugin-helpers@3.1.2
- @graphql-codegen/visitor-plugin-common@2.13.6
1.5.11
Patch Changes
-
46f75304aThanks @saihaj! - fix the version of@graphql-codegen/plugin-helpers@3.1.1 -
Updated dependencies [
307a5d350,46f75304a]:- @graphql-codegen/plugin-helpers@3.1.1
- @graphql-codegen/visitor-plugin-common@2.13.5
1.5.10
Patch Changes
- Updated dependencies
[
a6c2097f4,a6c2097f4,f79a00e8a,c802a0c0b]:- @graphql-codegen/plugin-helpers@3.0.0
- @graphql-codegen/visitor-plugin-common@2.13.4
1.5.9
Patch Changes
- Updated dependencies
[
62f655452]:- @graphql-codegen/visitor-plugin-common@2.13.3
1.5.8
Patch Changes
1.5.7
Patch Changes
- Updated dependencies
[
ef4c2c9c2]:- @graphql-codegen/visitor-plugin-common@2.13.2
1.5.6
Patch Changes
- Updated dependencies
[
63dc8f205]:- @graphql-codegen/visitor-plugin-common@2.13.1
- @graphql-codegen/plugin-helpers@2.7.2
1.5.5
Patch Changes
- Updated dependencies
[
a46b8d99c]:- @graphql-codegen/visitor-plugin-common@2.13.0
1.5.4
Patch Changes
- Updated dependencies
[
1bd7f771c]:- @graphql-codegen/visitor-plugin-common@2.12.2
1.5.3
Patch Changes
- #8443
e2d115146Thanks @charlypoly! - fix(gql-tag-operations): issues with “no documents” scenario
1.5.2
Patch Changes
- #8402
a76c606e3Thanks @charlypoly! - dependencies updates:- Removed dependency
graphql-tag@^2.0.0↗︎ (frompeerDependencies)
- Removed dependency
1.5.1
Patch Changes
-
#8401
4be3dc884Thanks @charlypoly! - dependencies updates:- Removed dependency
graphql-tag@^2.0.0↗︎ (frompeerDependencies)
- Removed dependency
-
#8401
4be3dc884Thanks @charlypoly! - Remove unusedgraphql-tagpeer dependency
1.5.0
Minor Changes
-
#8302
876844e76Thanks @charlypoly! -@graphql-codegen/gql-tag-operationsand@graphql-codegen/gql-tag-operations-presetIntroduce a
gqlTagNameconfiguration option
@graphql-codegen/client-presetNew preset for GraphQL Code Generator v3, more information on the RFC: https://github.com/dotansimha/graphql-code-generator/issues/8296
@graphql-codegen/cliUpdate init wizard with 3.0 recommendations (
codegen.ts,clientpreset)
1.4.1
Patch Changes
-
#8189
b408f8238Thanks @n1ru4l! - Fix CommonJS TypeScript resolution withmoduleResolutionnode16ornodenext -
Updated dependencies [
b408f8238,47d0a57e2]:- @graphql-codegen/visitor-plugin-common@2.12.1
- @graphql-codegen/plugin-helpers@2.6.2
1.4.0
Minor Changes
-
2cbcbb371: Add new flag to emit legacy common js imports. Default it will be
truethis way it ensure that generated code works with non-compliant bundlers.You can use the option in your config:
schema: 'schema.graphql' documents: - 'src/**/*.graphql' emitLegacyCommonJSImports: trueAlternative you can use the CLI to set this option:
$ codegen --config-file=config.yml --emit-legacy-common-js-imports
Patch Changes
- Updated dependencies [2cbcbb371]
- @graphql-codegen/visitor-plugin-common@2.12.0
- @graphql-codegen/plugin-helpers@2.6.0
1.3.1
Patch Changes
- 525ad580b: Revert breaking change for Next.js applications that are incapable of resolving an
import with a
.jsextension. - Updated dependencies [525ad580b]
- @graphql-codegen/visitor-plugin-common@2.11.1
1.3.0
Minor Changes
-
d84afec09: Support TypeScript ESM modules (
"module": "node16"and"moduleResolution": "node16").
Patch Changes
- Updated dependencies [68bb30e19]
- Updated dependencies [d84afec09]
- Updated dependencies [a4fe5006b]
- Updated dependencies [8e44df58b]
- @graphql-codegen/visitor-plugin-common@2.11.0
- @graphql-codegen/plugin-helpers@2.5.0
1.2.17
Patch Changes
- Updated dependencies [aa1e6eafd]
- Updated dependencies [a42fcbfe4]
- Updated dependencies [8b10f22be]
- @graphql-codegen/visitor-plugin-common@2.10.0
1.2.16
Patch Changes
- Updated dependencies [d16bebacb]
- @graphql-codegen/visitor-plugin-common@2.9.1
1.2.15
Patch Changes
- Updated dependencies [c3d7b7226]
- @graphql-codegen/visitor-plugin-common@2.9.0
1.2.14
Patch Changes
- Updated dependencies [f1fb77bd4]
- @graphql-codegen/visitor-plugin-common@2.8.0
1.2.13
Patch Changes
- Updated dependencies [9a5f31cb6]
- @graphql-codegen/visitor-plugin-common@2.7.6
1.2.12
Patch Changes
- Updated dependencies [2966686e9]
- @graphql-codegen/visitor-plugin-common@2.7.5
1.2.11
Patch Changes
- Updated dependencies [337fd4f77]
- @graphql-codegen/visitor-plugin-common@2.7.4
1.2.10
Patch Changes
- Updated dependencies [54718c039]
- @graphql-codegen/visitor-plugin-common@2.7.3
1.2.9
Patch Changes
- Updated dependencies [11d05e361]
- @graphql-codegen/visitor-plugin-common@2.7.2
1.2.8
Patch Changes
- Updated dependencies [fd55e2039]
- @graphql-codegen/visitor-plugin-common@2.7.1
1.2.7
Patch Changes
- Updated dependencies [1479233df]
- @graphql-codegen/visitor-plugin-common@2.7.0
1.2.6
Patch Changes
- Updated dependencies [c8ef37ae0]
- Updated dependencies [754a33715]
- Updated dependencies [bef4376d5]
- Updated dependencies [be7cb3a82]
- @graphql-codegen/visitor-plugin-common@2.6.0
- @graphql-codegen/plugin-helpers@2.4.0
1.2.5
Patch Changes
- 6002feb3d: Fix exports in package.json files for react-native projects
- Updated dependencies [6002feb3d]
- @graphql-codegen/visitor-plugin-common@2.5.2
- @graphql-codegen/plugin-helpers@2.3.2
1.2.4
Patch Changes
- Updated dependencies [a9f1f1594]
- Updated dependencies [9ea6621ec]
- @graphql-codegen/visitor-plugin-common@2.5.1
1.2.3
Patch Changes
- Updated dependencies [97ddb487a]
- @graphql-codegen/visitor-plugin-common@2.5.0
- @graphql-codegen/plugin-helpers@2.3.0
1.2.2
Patch Changes
- Updated dependencies [ad02cb9b8]
- @graphql-codegen/visitor-plugin-common@2.4.0
1.2.1
Patch Changes
- Updated dependencies [b9e85adae]
- Updated dependencies [7c60e5acc]
- Updated dependencies [3c2c847be]
- @graphql-codegen/visitor-plugin-common@2.3.0
- @graphql-codegen/plugin-helpers@2.2.0
1.2.0
Minor Changes
- 1e9a7e162: feat: support module augumentation for extending the types of gql functions from
existing packages via the
augmentedModuleNameconfig option.
1.1.5
Patch Changes
- 06dfd3958: fix: follow “useTypeImports” configuration
- 5394f19bb: prevent duplicate operations
1.1.4
Patch Changes
- Updated dependencies [0b090e31a]
- @graphql-codegen/visitor-plugin-common@2.2.1
1.1.3
Patch Changes
- Updated dependencies [d6c2d4c09]
- Updated dependencies [feeae1c66]
- Updated dependencies [5086791ac]
- @graphql-codegen/visitor-plugin-common@2.2.0
1.1.2
Patch Changes
- Updated dependencies [6470e6cc9]
- Updated dependencies [263570e50]
- Updated dependencies [35199dedf]
- @graphql-codegen/visitor-plugin-common@2.1.2
- @graphql-codegen/plugin-helpers@2.1.1
1.1.1
Patch Changes
- Updated dependencies [aabeff181]
- @graphql-codegen/visitor-plugin-common@2.1.1
1.1.0
Minor Changes
-
0c0c8a92b: export new utility type
DocumentType, for accessing the document node type.import { DocumentType, gql } from '../gql' const TweetFragment = gql(/* GraphQL */ ` fragment TweetFragment on Tweet { id body } `) const Tweet = (props: { tweet: DocumentType<typeof TweetFragment> }) => { return <div data-id={props.id}>{props.body}</div> } -
440172cfe: support ESM
Patch Changes
- 24185985a: bump graphql-tools package versions
- Updated dependencies [290170262]
- Updated dependencies [24185985a]
- Updated dependencies [39773f59b]
- Updated dependencies [440172cfe]
- @graphql-codegen/visitor-plugin-common@2.1.0
- @graphql-codegen/plugin-helpers@2.1.0
1.0.0
Major Changes
-
b0cb13df4: Update to latest
graphql-toolsandgraphql-configversion.‼️ ‼️ ‼️ 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.
Minor Changes
- b0cb13df4: new plugin/preset gql-tag-operations
Patch Changes
- Updated dependencies [d80efdec4]
- Updated dependencies [d80efdec4]
- Updated dependencies [b0cb13df4]
- @graphql-codegen/visitor-plugin-common@2.0.0
- @graphql-codegen/plugin-helpers@2.0.0