Skip to content

Conversation

ctison
Copy link
Owner

@ctison ctison commented Sep 8, 2025

This PR contains the following updates:

Package Type Update Change
@graphql-codegen/cli (source) devDependencies major 5.0.7 -> 6.0.0
@graphql-codegen/plugin-helpers (source) dependencies major 5.1.1 -> 6.0.0

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

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.

🔕 Ignore: Close this PR and you won't be reminded about these updates again.


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

This PR has been generated by Renovate Bot.

@ctison ctison self-assigned this Sep 8, 2025
@ctison ctison force-pushed the renovate/major-6-graphqlcodegenerator-monorepo branch from 6069a21 to 53405ba Compare September 9, 2025 06:04
@ctison ctison merged commit a955fb9 into main Sep 10, 2025
1 check passed
@ctison ctison deleted the renovate/major-6-graphqlcodegenerator-monorepo branch September 10, 2025 06:03
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