Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upcoming Release Changes #10165

Merged
merged 1 commit into from
Oct 28, 2024
Merged

Upcoming Release Changes #10165

merged 1 commit into from
Oct 28, 2024

Conversation

theguild-bot
Copy link
Collaborator

@theguild-bot theguild-bot commented Oct 7, 2024

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/visitor-plugin-common@5.5.0

Minor Changes

  • #9989 55a1e9e Thanks @eddeee888! - Add generateInternalResolversIfNeeded option

    This option can be used to generate more correct types for internal resolvers. For example, only generate __resolveReference if the federation object has a resolvable @key.

    In the future, this option can be extended to support other internal resolvers e.g. __isTypeOf is only generated for implementing types and union members.

  • #10141 a235051 Thanks @eddeee888! - Add avoidCheckingAbstractTypesRecursively to avoid checking and generating abstract types recursively

    For users that already sets recursive default mappers e.g. Partial<{T}> or DeepPartial<{T}>, having both options on will cause a nested loop which eventually crashes Codegen. In such case, setting avoidCheckingAbstractTypesRecursively: true allows users to continue to use recursive default mappers as before.

Patch Changes

  • Updated dependencies [55a1e9e]:
    • @graphql-codegen/plugin-helpers@5.1.0

@graphql-codegen/typescript-resolvers@4.4.0

Minor Changes

  • #9989 55a1e9e Thanks @eddeee888! - Add generateInternalResolversIfNeeded option

    This option can be used to generate more correct types for internal resolvers. For example, only generate __resolveReference if the federation object has a resolvable @key.

    In the future, this option can be extended to support other internal resolvers e.g. __isTypeOf is only generated for implementing types and union members.

  • #10141 a235051 Thanks @eddeee888! - Add avoidCheckingAbstractTypesRecursively to avoid checking and generating abstract types recursively

    For users that already sets recursive default mappers e.g. Partial<{T}> or DeepPartial<{T}>, having both options on will cause a nested loop which eventually crashes Codegen. In such case, setting avoidCheckingAbstractTypesRecursively: true allows users to continue to use recursive default mappers as before.

Patch Changes

  • Updated dependencies [55a1e9e, a235051]:
    • @graphql-codegen/visitor-plugin-common@5.5.0
    • @graphql-codegen/plugin-helpers@5.1.0
    • @graphql-codegen/typescript@4.1.1

@graphql-codegen/client-preset@4.5.0

Minor Changes

Patch Changes

  • #10182 effd875 Thanks @eddeee888! - Revert slimmer client preset output

  • Updated dependencies [55a1e9e, a235051, c7af639]:

    • @graphql-codegen/visitor-plugin-common@5.5.0
    • @graphql-codegen/plugin-helpers@5.1.0
    • @graphql-codegen/typed-document-node@5.0.11
    • @graphql-codegen/gql-tag-operations@4.0.11
    • @graphql-codegen/typescript-operations@4.3.1
    • @graphql-codegen/typescript@4.1.1

@graphql-codegen/plugin-helpers@5.1.0

Minor Changes

  • #9989 55a1e9e Thanks @eddeee888! - Add generateInternalResolversIfNeeded option

    This option can be used to generate more correct types for internal resolvers. For example, only generate __resolveReference if the federation object has a resolvable @key.

    In the future, this option can be extended to support other internal resolvers e.g. __isTypeOf is only generated for implementing types and union members.

@graphql-codegen/typescript-document-nodes@4.0.11

Patch Changes

  • Updated dependencies [55a1e9e, a235051]:
    • @graphql-codegen/visitor-plugin-common@5.5.0
    • @graphql-codegen/plugin-helpers@5.1.0

@graphql-codegen/gql-tag-operations@4.0.11

Patch Changes

  • Updated dependencies [55a1e9e, a235051]:
    • @graphql-codegen/visitor-plugin-common@5.5.0
    • @graphql-codegen/plugin-helpers@5.1.0

@graphql-codegen/typescript-operations@4.3.1

Patch Changes

  • Updated dependencies [55a1e9e, a235051]:
    • @graphql-codegen/visitor-plugin-common@5.5.0
    • @graphql-codegen/plugin-helpers@5.1.0
    • @graphql-codegen/typescript@4.1.1

@graphql-codegen/typed-document-node@5.0.11

Patch Changes

  • #10160 c7af639 Thanks @jyasskin! - Allow explicit undefined in additional to optional arguments

  • Updated dependencies [55a1e9e, a235051]:

    • @graphql-codegen/visitor-plugin-common@5.5.0
    • @graphql-codegen/plugin-helpers@5.1.0

@graphql-codegen/typescript@4.1.1

Patch Changes

  • Updated dependencies [55a1e9e, a235051]:
    • @graphql-codegen/visitor-plugin-common@5.5.0
    • @graphql-codegen/plugin-helpers@5.1.0

@graphql-codegen/graphql-modules-preset@4.0.11

Patch Changes

  • Updated dependencies [55a1e9e, a235051]:
    • @graphql-codegen/visitor-plugin-common@5.5.0
    • @graphql-codegen/plugin-helpers@5.1.0

Copy link
Contributor

github-actions bot commented Oct 7, 2024

🚀 Snapshot Release (rc)

The latest changes of this PR are available as rc on npm (based on the declared changesets):

Package Version Info
@graphql-codegen/visitor-plugin-common 5.5.0-rc-20241028095517-366a703dc91b2e7684f13186974d1136c7a100d8 npm ↗︎ unpkg ↗︎
@graphql-codegen/typescript-document-nodes 4.0.11-rc-20241028095517-366a703dc91b2e7684f13186974d1136c7a100d8 npm ↗︎ unpkg ↗︎
@graphql-codegen/gql-tag-operations 4.0.11-rc-20241028095517-366a703dc91b2e7684f13186974d1136c7a100d8 npm ↗︎ unpkg ↗︎
@graphql-codegen/typescript-operations 4.3.1-rc-20241028095517-366a703dc91b2e7684f13186974d1136c7a100d8 npm ↗︎ unpkg ↗︎
@graphql-codegen/typescript-resolvers 4.4.0-rc-20241028095517-366a703dc91b2e7684f13186974d1136c7a100d8 npm ↗︎ unpkg ↗︎
@graphql-codegen/typed-document-node 5.0.11-rc-20241028095517-366a703dc91b2e7684f13186974d1136c7a100d8 npm ↗︎ unpkg ↗︎
@graphql-codegen/typescript 4.1.1-rc-20241028095517-366a703dc91b2e7684f13186974d1136c7a100d8 npm ↗︎ unpkg ↗︎
@graphql-codegen/client-preset 4.5.0-rc-20241028095517-366a703dc91b2e7684f13186974d1136c7a100d8 npm ↗︎ unpkg ↗︎
@graphql-codegen/graphql-modules-preset 4.0.11-rc-20241028095517-366a703dc91b2e7684f13186974d1136c7a100d8 npm ↗︎ unpkg ↗︎
@graphql-codegen/plugin-helpers 5.1.0-rc-20241028095517-366a703dc91b2e7684f13186974d1136c7a100d8 npm ↗︎ unpkg ↗︎

Copy link
Contributor

github-actions bot commented Oct 7, 2024

💻 Website Preview

The latest changes are available as preview in: https://41235459.graphql-code-generator.pages.dev

@theguild-bot theguild-bot force-pushed the changeset-release/master branch 3 times, most recently from 6fee621 to 941fe18 Compare October 14, 2024 23:44
@theguild-bot theguild-bot force-pushed the changeset-release/master branch from 941fe18 to 5f12eba Compare October 21, 2024 14:01
@theguild-bot theguild-bot force-pushed the changeset-release/master branch from 5f12eba to 366a703 Compare October 28, 2024 09:53
@eddeee888 eddeee888 merged commit 876ea0c into master Oct 28, 2024
20 checks passed
@eddeee888 eddeee888 deleted the changeset-release/master branch October 28, 2024 12:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants