-
#8796
902451601
Thanks @shmax! - remove extra asterisk and add missing semicolon in generated output -
Updated dependencies [
902451601
]:- @graphql-codegen/gql-tag-operations@1.6.1
- #8771
ed87c782b
Thanks @renovate! - dependencies updates:- Updated dependency
@graphql-tools/utils@^9.0.0
↗︎ (from^8.8.0
, independencies
)
- Updated dependency
- Updated dependencies [
ed87c782b
,ed87c782b
,ed87c782b
,6c6b6f2df
]:- @graphql-codegen/gql-tag-operations@1.5.12
- @graphql-codegen/plugin-helpers@3.1.2
- @graphql-codegen/visitor-plugin-common@2.13.6
- @graphql-codegen/typescript-operations@2.5.11
- @graphql-codegen/typed-document-node@2.3.11
- @graphql-codegen/typescript@2.8.6
-
46f75304a
Thanks @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/add@3.2.3
- @graphql-codegen/visitor-plugin-common@2.13.5
- @graphql-codegen/gql-tag-operations@1.5.11
- @graphql-codegen/typescript-operations@2.5.10
- @graphql-codegen/typed-document-node@2.3.10
- @graphql-codegen/typescript@2.8.5
- Updated dependencies [
a6c2097f4
,a6c2097f4
,a6c2097f4
,f79a00e8a
,c802a0c0b
]:- @graphql-codegen/plugin-helpers@3.0.0
- @graphql-codegen/typed-document-node@2.3.9
- @graphql-codegen/visitor-plugin-common@2.13.4
- @graphql-codegen/add@3.2.2
- @graphql-codegen/gql-tag-operations@1.5.10
- @graphql-codegen/typescript-operations@2.5.9
- @graphql-codegen/typescript@2.8.4
- #8498
a46b8d99c
Thanks @charlypoly! - Fragment masking$fragmentName
and$fragmentRefs
are optionals
- Updated dependencies [
a46b8d99c
]:- @graphql-codegen/visitor-plugin-common@2.13.0
- @graphql-codegen/gql-tag-operations@1.5.5
- @graphql-codegen/typescript-operations@2.5.5
- @graphql-codegen/typed-document-node@2.3.5
- @graphql-codegen/typescript@2.7.5
-
#8302
876844e76
Thanks @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: dotansimha#8296
@graphql-codegen/cli
Update init wizard with 3.0 recommendations (
codegen.ts
,client
preset)
- Updated dependencies [
876844e76
]:- @graphql-codegen/gql-tag-operations@1.5.0
- #8260
576d3ad01
Thanks @saihaj! - usetemplate.smart
instead of default import which should fix bable plugin loading issues invite
-
#8189
b408f8238
Thanks @n1ru4l! - Fix CommonJS TypeScript resolution withmoduleResolution
node16
ornodenext
-
Updated dependencies [
b408f8238
,47d0a57e2
]:- @graphql-codegen/add@3.2.1
- @graphql-codegen/visitor-plugin-common@2.12.1
- @graphql-codegen/gql-tag-operations@1.4.1
- @graphql-codegen/typescript-operations@2.5.3
- @graphql-codegen/typed-document-node@2.3.3
- @graphql-codegen/typescript@2.7.3
- @graphql-codegen/plugin-helpers@2.6.2
- 95db434b0: Add missing file extension for re-exports in ESM mode
- bc4b7eb24: Bumping to release for dotansimha#8067
- 525ad580b: Revert breaking change for Next.js applications that are incapable of resolving an import with a
.js
extension. - Updated dependencies [525ad580b]
- @graphql-codegen/visitor-plugin-common@2.11.1
- @graphql-codegen/gql-tag-operations@1.3.1
- @graphql-codegen/typescript-operations@2.5.1
- @graphql-codegen/typed-document-node@2.3.1
- @graphql-codegen/typescript@2.7.1
-
68bb30e19: Attach
.js
extension to relative file imports for compliance with ESM module resolution. Since in CommonJS the.js
extension is optional, this is not a breaking change.If you have path configuration within your configuration, consider attaching
.js
if you are migrating to ESM.mappers: MyOtherType: './my-file.js#MyCustomOtherType',
-
d84afec09: Support TypeScript ESM modules (
"module": "node16"
and"moduleResolution": "node16"
).
- Updated dependencies [68bb30e19]
- Updated dependencies [d84afec09]
- Updated dependencies [a4fe5006b]
- Updated dependencies [8e44df58b]
- @graphql-codegen/visitor-plugin-common@2.11.0
- @graphql-codegen/add@3.2.0
- @graphql-codegen/gql-tag-operations@1.3.0
- @graphql-codegen/typescript-operations@2.5.0
- @graphql-codegen/typed-document-node@2.3.0
- @graphql-codegen/typescript@2.7.0
- @graphql-codegen/plugin-helpers@2.5.0
- 9d0840951: Allow
useFragment
to take arrays and nullable values as arguments
- Updated dependencies [9312920a4]
- Updated dependencies [2966686e9]
- @graphql-codegen/typescript-operations@2.3.6
- @graphql-codegen/visitor-plugin-common@2.7.5
- @graphql-codegen/gql-tag-operations@1.2.12
- @graphql-codegen/typed-document-node@2.2.9
- @graphql-codegen/typescript@2.4.9
-
1479233df: The plugin now generates an
gql.ts
file for thegql
function, whose contents are re-exported from theindex.ts
file. In module augmentation mode theindex.ts
file is omitted and only agql.d.ts
file is generated.Support for fragment masking via the new
fragmentMasking
configuration option. Check out the Fragment Masking Documentation.
- Updated dependencies [1479233df]
- @graphql-codegen/visitor-plugin-common@2.7.0
- @graphql-codegen/gql-tag-operations@1.2.7
- @graphql-codegen/typescript-operations@2.3.1
- @graphql-codegen/typed-document-node@2.2.4
- @graphql-codegen/typescript@2.4.4
- 015d34451: fix: gql-tag-operations generates invalid types on Windows #7362
- 6002feb3d: Fix exports in package.json files for react-native projects
- Updated dependencies [8643b3bf3]
- Updated dependencies [6002feb3d]
- @graphql-codegen/add@3.1.1
- @graphql-codegen/visitor-plugin-common@2.5.2
- @graphql-codegen/gql-tag-operations@1.2.5
- @graphql-codegen/typescript-operations@2.2.2
- @graphql-codegen/typed-document-node@2.2.2
- @graphql-codegen/typescript@2.4.2
- @graphql-codegen/plugin-helpers@2.3.2
- 6c898efe5: list all dependencies used by the package in the package.json
- Updated dependencies [6c898efe5]
- @graphql-codegen/typescript@2.3.1
- 1e9a7e162: feat: support module augumentation for extending the types of gql functions from existing packages via the
augmentedModuleName
config option.
- Updated dependencies [1e9a7e162]
- @graphql-codegen/gql-tag-operations@1.2.0
- Updated dependencies [5c37b9d11]
- @graphql-codegen/typescript-operations@2.1.6
- 06dfd3958: fix: follow "useTypeImports" configuration
- 5394f19bb: prevent duplicate operations
- Updated dependencies [06dfd3958]
- Updated dependencies [25cd11d01]
- Updated dependencies [5394f19bb]
- @graphql-codegen/gql-tag-operations@1.1.5
- @graphql-codegen/typescript-operations@2.1.5
- @graphql-codegen/gql-tag-operations@1.1.4
- @graphql-codegen/typescript-operations@2.1.4
- @graphql-codegen/typed-document-node@2.1.4
- @graphql-codegen/typescript@2.2.2
- Updated dependencies [cfa0a8f80]
- @graphql-codegen/typescript@2.2.1
- Updated dependencies [d6c2d4c09]
- Updated dependencies [8261e4161]
- @graphql-codegen/typescript@2.2.0
- @graphql-codegen/gql-tag-operations@1.1.3
- @graphql-codegen/typescript-operations@2.1.3
- @graphql-codegen/typed-document-node@2.1.3
- @graphql-codegen/gql-tag-operations@1.1.2
- @graphql-codegen/typescript-operations@2.1.2
- @graphql-codegen/typed-document-node@2.1.2
- @graphql-codegen/typescript@2.1.2
- @graphql-codegen/gql-tag-operations@1.1.1
- @graphql-codegen/typescript-operations@2.1.1
- @graphql-codegen/typed-document-node@2.1.1
- @graphql-codegen/typescript@2.1.1
-
0c0c8a92b: export new utility type
DocumentType
, for accessing the document node type.import { gql, DocumentType } 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
- 290170262: ensure the generated identifier for referencing a document from the documents map is correct
- Updated dependencies [0c0c8a92b]
- Updated dependencies [24185985a]
- Updated dependencies [440172cfe]
- Updated dependencies [440172cfe]
- @graphql-codegen/gql-tag-operations@1.1.0
- @graphql-codegen/typed-document-node@2.1.0
- @graphql-codegen/add@3.1.0
- @graphql-codegen/typescript-operations@2.1.0
- @graphql-codegen/typescript@2.1.0
- Updated dependencies [e8c8e9c06]
- @graphql-codegen/typescript-operations@2.0.1
-
b0cb13df4: Update to latest
graphql-tools
andgraphql-config
version.‼️ ‼️ ‼️ 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.
- b0cb13df4: new plugin/preset gql-tag-operations
- Updated dependencies [d80efdec4]
- Updated dependencies [d80efdec4]
- Updated dependencies [b0cb13df4]
- Updated dependencies [b0cb13df4]
- Updated dependencies [bbdad95fd]
- @graphql-codegen/typescript-operations@2.0.0
- @graphql-codegen/gql-tag-operations@1.0.0
- @graphql-codegen/typed-document-node@2.0.0
- @graphql-codegen/typescript@2.0.0
- @graphql-codegen/add@3.0.0