Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to master, this PR will be updated.
Releases
@graphql-codegen/[email protected]
Minor Changes
#8757
4f290aa72
Thanks @n1ru4l! - Add support for persisted documents.You can now generate and embed a persisted documents hash for the executable documents.
This will generate
./src/gql/persisted-documents.json
(dictionary of hashes with their operation string).In addition to that each generated document node will have a
__meta__.hash
property.#8757
4f290aa72
Thanks @n1ru4l! - Add support for embedding metadata in the document AST.It is now possible to embed metadata (e.g. for your GraphQL client within the emitted code).
You can then access the metadata via the
__meta__
property on the document node.Patch Changes
4f290aa72
Thanks @n1ru4l! - dependencies updates:@graphql-tools/documents@^0.1.0
↗︎ (todependencies
)a98198524
]:@graphql-cli/[email protected]
Patch Changes
e4d073b16
,884d25c4e
,e4d073b16
]:@graphql-codegen/[email protected]
Patch Changes
#8865
e4d073b16
Thanks @n1ru4l! - dependencies updates:@graphql-codegen/core@^2.6.8
↗︎ (from2.6.8
, independencies
)@graphql-tools/load@^7.8.0
↗︎ (from7.8.0
, independencies
)cosmiconfig-typescript-loader@^4.3.0
↗︎ (from4.3.0
, independencies
)graphql-config@^4.4.0
↗︎ (from4.4.0
, independencies
)ts-node@^10.9.1
↗︎ (todependencies
)ts-node@>=10
↗︎ (frompeerDependencies
)#8808
884d25c4e
Thanks @rwu823! - fix:gqlMagicComment
type#8865
e4d073b16
Thanks @n1ru4l! - move ts-node from peer dependencies to dependencies@graphql-codegen/[email protected]
Patch Changes
a98198524
Thanks @charle692! - Fix issue where visitor-plugin-common emitted ESM imports for Operations when emitLegacyCommonJSImports is true@graphql-codegen/[email protected]
Patch Changes
a98198524
]:@graphql-codegen/[email protected]
Patch Changes
a98198524
]:@graphql-codegen/[email protected]
Patch Changes
a98198524
]:@graphql-codegen/[email protected]
Patch Changes
a98198524
]:@graphql-codegen/[email protected]
Patch Changes
a98198524
]:@graphql-codegen/[email protected]
Patch Changes
a98198524
]:@graphql-codegen/[email protected]
Patch Changes
a98198524
]: