Skip to content

Releases: dotansimha/graphql-code-generator

November 20, 2025

20 Nov 13:29
bec7e74

Choose a tag to compare

@graphql-codegen/[email protected]

Minor Changes

Patch Changes

@graphql-codegen/[email protected]

Minor Changes

Patch Changes

  • #10512 f821e8a Thanks @realies! - fix: allow mappers to override root types (Query, Mutation, Subscription)

    Previously, mappers configured for root types were ignored because root types were checked before mappers. This fix moves the mapper check before the root type check, allowing mappers to override rootValueType when configured.

  • Updated dependencies [9e70bcb]:

@graphql-codegen/[email protected]

Patch Changes

@graphql-codegen/[email protected]

Minor Changes

Patch Changes

@graphql-codegen/[email protected]

Patch Changes

@graphql-codegen/[email protected]

Patch Changes

@graphql-codegen/[email protected]

Patch Changes

@graphql-codegen/[email protected]

Patch Changes

@graphql-codegen/[email protected]

Minor Changes

Patch Changes

@graphql-codegen/[email protected]

Minor Changes

Patch Changes

@graphql-codegen/[email protected]

Minor Changes

November 13, 2025

13 Nov 15:19
b7f90b0

Choose a tag to compare

@graphql-codegen/[email protected]

Patch Changes

@graphql-codegen/[email protected]

Patch Changes

@graphql-codegen/[email protected]

Patch Changes

@graphql-codegen/[email protected]

Patch Changes

@graphql-codegen/[email protected]

Patch Changes

@graphql-codegen/[email protected]

Patch Changes

@graphql-codegen/[email protected]

Patch Changes

@graphql-codegen/[email protected]

Patch Changes

@graphql-codegen/[email protected]

Patch Changes

November 12, 2025

12 Nov 16:10
135ce4d

Choose a tag to compare

@graphql-codegen/[email protected]

Patch Changes

@graphql-codegen/[email protected]

Patch Changes

  • #10498 6715330 Thanks @ardatan! - Handle schema extension nodes correctly

    When a schema doesn't have an operation type defined but has schema extension definitions with directives like below,
    schema extensions are not converted to schema definitions by GraphQL Tools.
    So the visitor should handle schema extension nodes correctly.

    Follow-up to ardatan/graphql-tools#7679

    extend schema @link(url: "https://specs.apollo.dev/federation/v2.0", import: ["@key"])
    
    type Foo {
      id: ID! @key
      name: String
    }

@graphql-codegen/[email protected]

Patch Changes

@graphql-codegen/[email protected]

Patch Changes

@graphql-codegen/[email protected]

Patch Changes

@graphql-codegen/[email protected]

Patch Changes

@graphql-codegen/[email protected]

Patch Changes

@graphql-codegen/[email protected]

Patch Changes

@graphql-codegen/[email protected]

Patch Changes

@graphql-codegen/[email protected]

Patch Changes

October 30, 2025

30 Oct 14:30
76a71d9

Choose a tag to compare

@graphql-codegen/[email protected]

Minor Changes

  • #10456 655b91d Thanks @aovens-quantifi! - feat(typed-document-node): Allow importing operation types

    Adds the importOperationTypesFrom option, similar to many other codegen
    plugins. This allows importing the operation types rather than needing to
    generate them within this plugin config.

October 26, 2025

26 Oct 04:54
bcd8f2a

Choose a tag to compare

@graphql-codegen/[email protected]

Patch Changes

  • #10032 1debf51 Thanks @shota-tech! - Change map of operations from an empty array to an empty object when no operations are found

@graphql-codegen/[email protected]

Patch Changes

October 21, 2025

21 Oct 12:52
8fd495f

Choose a tag to compare

@graphql-codegen/[email protected]

Patch Changes

  • #10468 cb1b9d9 Thanks @eddeee888! - In watch mode, do not write output on failure

    Previously, on partial or full failure, watch mode still write to output. However, since the output'd be an empty array, it will then call removeStaleFiles internally to remove all previously generated files.

    This patch puts a temporary fix to avoid writing output on any failure to fix the described behaviour.

    This also means the config.allowPartialOutputs does not work in watch mode for now.

October 06, 2025

06 Oct 11:42
f1e5ae0

Choose a tag to compare

@graphql-codegen/[email protected]

Minor Changes

October 05, 2025

05 Oct 13:48
21dd6c8

Choose a tag to compare

@graphql-codegen/[email protected]

Minor Changes

  • #10449 8258f1f Thanks @eddeee888! - Add addInterfaceFieldResolverTypes option to support custom Interface resolver inheritance

@graphql-codegen/[email protected]

Patch Changes

@graphql-codegen/[email protected]

Patch Changes

@graphql-codegen/[email protected]

Patch Changes

@graphql-codegen/[email protected]

Minor Changes

Patch Changes

@graphql-codegen/[email protected]

Patch Changes

@graphql-codegen/[email protected]

Patch Changes

@graphql-codegen/[email protected]

Patch Changes

@graphql-codegen/[email protected]

Patch Changes

September 29, 2025

29 Sep 15:13
91c4bcd

Choose a tag to compare

@graphql-codegen/[email protected]

Patch Changes

  • #10412 accdab6 Thanks @thekevinbrown! - Add special handling for identifiers that consist entirely of _ characters when transformUnderscore is true. This prevents _ values in GraphQL enums from being emitted without identifers in the resulting types.

@graphql-codegen/[email protected]

Patch Changes

@graphql-codegen/[email protected]

Patch Changes

@graphql-codegen/[email protected]

Patch Changes

@graphql-codegen/[email protected]

Patch Changes

@graphql-codegen/[email protected]

Patch Changes

@graphql-codegen/[email protected]

Patch Changes

@graphql-codegen/[email protected]

Patch Changes

@graphql-codegen/[email protected]

Patch Changes

September 24, 2025

24 Sep 11:23
d63ed00

Choose a tag to compare

@graphql-codegen/[email protected]

Patch Changes

  • #10447 5dad86e Thanks @eddeee888! - Fix __isTypeOf wrongly picked on objects that are not implementing types or union members