Skip to content

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Sep 8, 2025

This PR contains the following updates:

Package Change Age Confidence
@graphql-codegen/cli (source) 5.0.7 -> 6.0.0 age confidence
@graphql-codegen/plugin-helpers (source) ^5.0.0 -> ^6.0.0 age confidence
@graphql-codegen/schema-ast (source) 4.1.0 -> 5.0.0 age confidence
@graphql-codegen/typescript (source) ^4.0.0 -> ^5.0.0 age confidence
@graphql-codegen/visitor-plugin-common (source) ^5.0.0 -> ^6.0.0 age confidence

Release Notes

dotansimha/graphql-code-generator (@​graphql-codegen/cli)

v6.0.0

Compare Source

Major Changes
Patch Changes
dotansimha/graphql-code-generator (@​graphql-codegen/plugin-helpers)

v6.0.0

Compare Source

Major Changes
  • #​10218 140298a Thanks @​eddeee888! - BREAKING CHANGES: Do not generate __isTypeOf for non-implementing types or non-union members

  • #​10218 140298a Thanks @​eddeee888! - Remove deprecated option watchConfig

  • #​10218 140298a Thanks @​eddeee888! - Ensure Federation Interfaces have __resolveReference if they are resolvable entities

    BREAKING CHANGES: Deprecate onlyResolveTypeForInterfaces because majority of use cases cannot implement resolvers in Interfaces.
    BREAKING CHANGES: Deprecate generateInternalResolversIfNeeded.__resolveReference because types do not have __resolveReference if they are not Federation entities or are not resolvable. Users should not have to manually set this option. This option was put in to wait for this major version.

  • #​10218 140298a Thanks @​eddeee888! - BREAKING CHANGE: Improve Federation Entity's resolvers' parent param type: These types were using reference types inline. This makes it hard to handle mappers. The Parent type now all comes from ParentResolverTypes to make handling mappers and parent types simpler.

  • #​10218 140298a Thanks @​eddeee888! - Fix mappers usage with Federation

    mappers was previously used as __resolveReference's first param (usually called "reference"). However, this is incorrect because reference interface comes directly from @key and @requires directives. This patch fixes the issue by creating a new FederationTypes type and use it as the base for federation entity types when being used to type entity references.

    BREAKING CHANGES: No longer generate UnwrappedObject utility type, as this was used to support the wrong previously generated type.

  • #​10218 140298a Thanks @​eddeee888! - Drop Node 18 support

Minor Changes
Patch Changes
dotansimha/graphql-code-generator (@​graphql-codegen/schema-ast)

v5.0.0

Compare Source

Major Changes
Patch Changes
dotansimha/graphql-code-generator (@​graphql-codegen/typescript)

v5.0.0

Compare Source

Major Changes
Patch Changes
dotansimha/graphql-code-generator (@​graphql-codegen/visitor-plugin-common)

v6.0.0

Compare Source

Major Changes
  • #​10218 140298a Thanks @​eddeee888! - BREAKING CHANGES: Do not generate __isTypeOf for non-implementing types or non-union members

  • #​10218 140298a Thanks @​eddeee888! - Remove deprecated config option dedupeFragments

  • #​10218 140298a Thanks @​eddeee888! - Remove NameNode override

  • #​10218 140298a Thanks @​eddeee888! - BREAKING CHANGE: Use Record<PropertyKey, never> instead of {} for empty object type

  • #​10218 140298a Thanks @​eddeee888! - Ensure Federation Interfaces have __resolveReference if they are resolvable entities

    BREAKING CHANGES: Deprecate onlyResolveTypeForInterfaces because majority of use cases cannot implement resolvers in Interfaces.
    BREAKING CHANGES: Deprecate generateInternalResolversIfNeeded.__resolveReference because types do not have __resolveReference if they are not Federation entities or are not resolvable. Users should not have to manually set this option. This option was put in to wait for this major version.

  • #​10218 140298a Thanks @​eddeee888! - BREAKING CHANGE: Improve Federation Entity's resolvers' parent param type: These types were using reference types inline. This makes it hard to handle mappers. The Parent type now all comes from ParentResolverTypes to make handling mappers and parent types simpler.

  • #​10218 140298a Thanks @​eddeee888! - Bump dependencies major versions:

    • dependency-graph to v1
  • #​10218 140298a Thanks @​eddeee888! - Fix mappers usage with Federation

    mappers was previously used as __resolveReference's first param (usually called "reference"). However, this is incorrect because reference interface comes directly from @key and @requires directives. This patch fixes the issue by creating a new FederationTypes type and use it as the base for federation entity types when being used to type entity references.

    BREAKING CHANGES: No longer generate UnwrappedObject utility type, as this was used to support the wrong previously generated type.

  • #​10218 140298a Thanks @​eddeee888! - Drop Node 18 support

Minor Changes
Patch Changes

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot enabled auto-merge (squash) September 8, 2025 06:46
@renovate renovate bot force-pushed the renovate/major-graphqlcodegenerator-monorepo branch from 8b3611c to d7494b5 Compare September 8, 2025 10:49
@renovate renovate bot merged commit 0f30683 into main Sep 8, 2025
2 checks passed
@renovate renovate bot deleted the renovate/major-graphqlcodegenerator-monorepo branch September 8, 2025 10:49
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.

0 participants