Skip to content

Releases: dotansimha/graphql-code-generator

May 17, 2024

17 May 10:27
21fbf0d
Compare
Choose a tag to compare

@graphql-codegen/visitor-plugin-common@5.2.0

Minor Changes

  • #9961 dfc5310 Thanks @eddeee888! - Update typescript-resolvers to report generated resolver types in the run to meta field in the output

Patch Changes

  • #9944 156cc2b Thanks @eddeee888! - Add _ prefix to generated RefType in ResolversInterfaceTypes and ResolversUnionTypes as it is sometimes unused

  • #9962 b49457b Thanks @eddeee888! - Fix interface mappers not working in nested/self-referencing scenarios

  • Updated dependencies [dfc5310]:

    • @graphql-codegen/plugin-helpers@5.0.4

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

Patch Changes

  • Updated dependencies [dfc5310, 156cc2b, dfc5310, b49457b]:
    • @graphql-codegen/plugin-helpers@5.0.4
    • @graphql-codegen/visitor-plugin-common@5.2.0

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

Patch Changes

  • Updated dependencies [dfc5310, 156cc2b, dfc5310, b49457b]:
    • @graphql-codegen/plugin-helpers@5.0.4
    • @graphql-codegen/visitor-plugin-common@5.2.0

@graphql-codegen/typescript-operations@4.2.1

Patch Changes

  • Updated dependencies [dfc5310, 156cc2b, dfc5310, b49457b]:
    • @graphql-codegen/plugin-helpers@5.0.4
    • @graphql-codegen/visitor-plugin-common@5.2.0
    • @graphql-codegen/typescript@4.0.7

@graphql-codegen/typescript-resolvers@4.1.0

Minor Changes

  • #9961 dfc5310 Thanks @eddeee888! - Update typescript-resolvers to report generated resolver types in the run to meta field in the output

Patch Changes

  • #9944 156cc2b Thanks @eddeee888! - Add _ prefix to generated RefType in ResolversInterfaceTypes and ResolversUnionTypes as it is sometimes unused

  • #9962 b49457b Thanks @eddeee888! - Fix interface mappers not working in nested/self-referencing scenarios

  • Updated dependencies [dfc5310, 156cc2b, dfc5310, b49457b]:

    • @graphql-codegen/plugin-helpers@5.0.4
    • @graphql-codegen/visitor-plugin-common@5.2.0
    • @graphql-codegen/typescript@4.0.7

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

Patch Changes

  • Updated dependencies [dfc5310, 156cc2b, dfc5310, b49457b]:
    • @graphql-codegen/plugin-helpers@5.0.4
    • @graphql-codegen/visitor-plugin-common@5.2.0

@graphql-codegen/typescript@4.0.7

Patch Changes

  • Updated dependencies [dfc5310, 156cc2b, dfc5310, b49457b]:
    • @graphql-codegen/plugin-helpers@5.0.4
    • @graphql-codegen/visitor-plugin-common@5.2.0

@graphql-codegen/client-preset@4.2.6

Patch Changes

  • Updated dependencies [dfc5310, 156cc2b, dfc5310, b49457b]:
    • @graphql-codegen/plugin-helpers@5.0.4
    • @graphql-codegen/visitor-plugin-common@5.2.0
    • @graphql-codegen/gql-tag-operations@4.0.7
    • @graphql-codegen/typescript-operations@4.2.1
    • @graphql-codegen/typed-document-node@5.0.7
    • @graphql-codegen/typescript@4.0.7

@graphql-codegen/graphql-modules-preset@4.0.7

Patch Changes

  • Updated dependencies [dfc5310, 156cc2b, dfc5310, b49457b]:
    • @graphql-codegen/plugin-helpers@5.0.4
    • @graphql-codegen/visitor-plugin-common@5.2.0

@graphql-codegen/plugin-helpers@5.0.4

Patch Changes

March 27, 2024

27 Mar 11:16
c693722
Compare
Choose a tag to compare

@graphql-codegen/time@5.0.1

Patch Changes

@graphql-codegen/client-preset@4.2.5

Patch Changes

February 22, 2024

22 Feb 19:44
83a586a
Compare
Choose a tag to compare

@graphql-codegen/visitor-plugin-common@5.1.0

Minor Changes

Patch Changes

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

Patch Changes

  • Updated dependencies [920b443, ed9c205]:
    • @graphql-codegen/visitor-plugin-common@5.1.0

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

Patch Changes

  • Updated dependencies [920b443, ed9c205]:
    • @graphql-codegen/visitor-plugin-common@5.1.0

@graphql-codegen/typescript-operations@4.2.0

Minor Changes

Patch Changes

  • #9842 ed9c205 Thanks @henryqdineen! - properly handle aliased conditionals

  • Updated dependencies [920b443, ed9c205]:

    • @graphql-codegen/visitor-plugin-common@5.1.0
    • @graphql-codegen/typescript@4.0.6

@graphql-codegen/typescript-resolvers@4.0.6

Patch Changes

  • Updated dependencies [920b443, ed9c205]:
    • @graphql-codegen/visitor-plugin-common@5.1.0
    • @graphql-codegen/typescript@4.0.6

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

Patch Changes

  • Updated dependencies [920b443, ed9c205]:
    • @graphql-codegen/visitor-plugin-common@5.1.0

@graphql-codegen/typescript@4.0.6

Patch Changes

  • Updated dependencies [920b443, ed9c205]:
    • @graphql-codegen/visitor-plugin-common@5.1.0

@graphql-codegen/client-preset@4.2.4

Patch Changes

  • Updated dependencies [920b443, ed9c205]:
    • @graphql-codegen/visitor-plugin-common@5.1.0
    • @graphql-codegen/typescript-operations@4.2.0
    • @graphql-codegen/gql-tag-operations@4.0.6
    • @graphql-codegen/typed-document-node@5.0.6
    • @graphql-codegen/typescript@4.0.6

@graphql-codegen/graphql-modules-preset@4.0.6

Patch Changes

  • Updated dependencies [920b443, ed9c205]:
    • @graphql-codegen/visitor-plugin-common@5.1.0

@graphql-codegen/testing@3.0.3

Patch Changes

February 20, 2024

20 Feb 17:55
8c40cdf
Compare
Choose a tag to compare

@graphql-codegen/introspection@4.0.3

Patch Changes

  • Updated dependencies [53f270a]:
    • @graphql-codegen/visitor-plugin-common@5.0.0

@graphql-codegen/visitor-plugin-common@5.0.0

Major Changes

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

Patch Changes

  • Updated dependencies [53f270a]:
    • @graphql-codegen/visitor-plugin-common@5.0.0

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

Patch Changes

  • Updated dependencies [53f270a]:
    • @graphql-codegen/visitor-plugin-common@5.0.0

@graphql-codegen/typescript-operations@4.1.3

Patch Changes

  • Updated dependencies [53f270a]:
    • @graphql-codegen/visitor-plugin-common@5.0.0
    • @graphql-codegen/typescript@4.0.5

@graphql-codegen/typescript-resolvers@4.0.5

Patch Changes

  • Updated dependencies [53f270a]:
    • @graphql-codegen/visitor-plugin-common@5.0.0
    • @graphql-codegen/typescript@4.0.5

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

Patch Changes

  • Updated dependencies [53f270a]:
    • @graphql-codegen/visitor-plugin-common@5.0.0

@graphql-codegen/typescript@4.0.5

Patch Changes

  • Updated dependencies [53f270a]:
    • @graphql-codegen/visitor-plugin-common@5.0.0

@graphql-codegen/client-preset@4.2.3

Patch Changes

  • Updated dependencies [53f270a]:
    • @graphql-codegen/visitor-plugin-common@5.0.0
    • @graphql-codegen/gql-tag-operations@4.0.5
    • @graphql-codegen/typescript-operations@4.1.3
    • @graphql-codegen/typed-document-node@5.0.5
    • @graphql-codegen/typescript@4.0.5

@graphql-codegen/graphql-modules-preset@4.0.5

Patch Changes

  • Updated dependencies [53f270a]:
    • @graphql-codegen/visitor-plugin-common@5.0.0

February 06, 2024

06 Feb 14:57
56882d2
Compare
Choose a tag to compare

@graphql-codegen/cli@5.0.2

Patch Changes

  • #9813 4e69568 Thanks @saihaj! - bumping for a release

  • Updated dependencies [4e69568]:

    • @graphql-codegen/client-preset@4.2.2
    • @graphql-codegen/core@4.0.2
    • @graphql-codegen/plugin-helpers@5.0.3

@graphql-codegen/core@4.0.2

Patch Changes

@graphql-codegen/add@5.0.2

Patch Changes

@graphql-codegen/fragment-matcher@5.0.2

Patch Changes

@graphql-codegen/introspection@4.0.2

Patch Changes

  • #9813 4e69568 Thanks @saihaj! - bumping for a release

  • Updated dependencies [4e69568]:

    • @graphql-codegen/visitor-plugin-common@4.1.2
    • @graphql-codegen/plugin-helpers@5.0.3

@graphql-codegen/schema-ast@4.0.2

Patch Changes

@graphql-codegen/visitor-plugin-common@4.1.2

Patch Changes

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

Patch Changes

  • #9813 4e69568 Thanks @saihaj! - bumping for a release

  • Updated dependencies [4e69568]:

    • @graphql-codegen/visitor-plugin-common@4.1.2
    • @graphql-codegen/plugin-helpers@5.0.3

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

Patch Changes

  • #9813 4e69568 Thanks @saihaj! - bumping for a release

  • Updated dependencies [4e69568]:

    • @graphql-codegen/visitor-plugin-common@4.1.2
    • @graphql-codegen/plugin-helpers@5.0.3

@graphql-codegen/typescript-operations@4.1.2

Patch Changes

  • #9813 4e69568 Thanks @saihaj! - bumping for a release

  • Updated dependencies [4e69568]:

    • @graphql-codegen/visitor-plugin-common@4.1.2
    • @graphql-codegen/typescript@4.0.4
    • @graphql-codegen/plugin-helpers@5.0.3

@graphql-codegen/typescript-resolvers@4.0.4

Patch Changes

  • #9813 4e69568 Thanks @saihaj! - bumping for a release

  • Updated dependencies [4e69568]:

    • @graphql-codegen/visitor-plugin-common@4.1.2
    • @graphql-codegen/typescript@4.0.4
    • @graphql-codegen/plugin-helpers@5.0.3

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

Patch Changes

  • #9813 4e69568 Thanks @saihaj! - bumping for a release

  • Updated dependencies [4e69568]:

    • @graphql-codegen/visitor-plugin-common@4.1.2
    • @graphql-codegen/plugin-helpers@5.0.3

@graphql-codegen/typescript@4.0.4

Patch Changes

  • #9813 4e69568 Thanks @saihaj! - bumping for a release

  • Updated dependencies [4e69568]:

    • @graphql-codegen/visitor-plugin-common@4.1.2
    • @graphql-codegen/schema-ast@4.0.2
    • @graphql-codegen/plugin-helpers@5.0.3

@graphql-codegen/client-preset@4.2.2

Patch Changes

  • #9813 4e69568 Thanks @saihaj! - bumping for a release

  • Updated dependencies [4e69568]:

    • @graphql-codegen/visitor-plugin-common@4.1.2
    • @graphql-codegen/typescript-operations@4.1.2
    • @graphql-codegen/add@5.0.2
    • @graphql-codegen/gql-tag-operations@4.0.4
    • @graphql-codegen/typed-document-node@5.0.4
    • @graphql-codegen/typescript@4.0.4
    • @graphql-codegen/plugin-helpers@5.0.3

@graphql-codegen/graphql-modules-preset@4.0.4

Patch Changes

  • #9813 4e69568 Thanks @saihaj! - bumping for a release

  • Updated dependencies [4e69568]:

    • @graphql-codegen/visitor-plugin-common@4.1.2
    • @graphql-codegen/plugin-helpers@5.0.3

@graphql-codegen/testing@3.0.2

Patch Changes

@graphql-codegen/plugin-helpers@5.0.3

Patch Changes

February 06, 2024

06 Feb 14:11
ebd0817
Compare
Choose a tag to compare

@graphql-codegen/visitor-plugin-common@4.1.1

Patch Changes

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

Patch Changes

  • Updated dependencies [7718a8113]:
    • @graphql-codegen/visitor-plugin-common@4.1.1

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

Patch Changes

  • Updated dependencies [7718a8113]:
    • @graphql-codegen/visitor-plugin-common@4.1.1

@graphql-codegen/typescript-operations@4.1.1

Patch Changes

  • Updated dependencies [7718a8113]:
    • @graphql-codegen/visitor-plugin-common@4.1.1
    • @graphql-codegen/typescript@4.0.3

@graphql-codegen/typescript-resolvers@4.0.3

Patch Changes

  • #9673 7718a8113 Thanks @maclockard! - Respect avoidOptionals when all arguments are optional

  • Updated dependencies [7718a8113]:

    • @graphql-codegen/visitor-plugin-common@4.1.1
    • @graphql-codegen/typescript@4.0.3

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

Patch Changes

  • Updated dependencies [7718a8113]:
    • @graphql-codegen/visitor-plugin-common@4.1.1

@graphql-codegen/typescript@4.0.3

Patch Changes

  • Updated dependencies [7718a8113]:
    • @graphql-codegen/visitor-plugin-common@4.1.1

@graphql-codegen/client-preset@4.2.1

Patch Changes

  • #9557 48ddaeae1 Thanks @konomae! - Add eslint-disable comment to fragment-masking.ts

  • Updated dependencies [7718a8113]:

    • @graphql-codegen/visitor-plugin-common@4.1.1
    • @graphql-codegen/gql-tag-operations@4.0.3
    • @graphql-codegen/typescript-operations@4.1.1
    • @graphql-codegen/typed-document-node@5.0.3
    • @graphql-codegen/typescript@4.0.3

@graphql-codegen/graphql-modules-preset@4.0.3

Patch Changes

  • Updated dependencies [7718a8113]:
    • @graphql-codegen/visitor-plugin-common@4.1.1

July 25, 2023

25 Jul 09:20
5829dd9
Compare
Choose a tag to compare

@graphql-codegen/cli@5.0.0

Major Changes

Patch Changes

@graphql-codegen/client-preset@4.1.0

Minor Changes

  • #9562 5beee9794 Thanks @n1ru4l! - Add the addTypenameSelectionDocumentTransform for automatically adding __typename selections to all objct type selection sets.

    This is useful for GraphQL Clients such as Apollo Client or urql that need typename information for their cache to function.

    Example Usage

    import { addTypenameSelectionDocumentTransform } from '@graphql-codegen/client-preset';
    import { CodegenConfig } from "@graphql-codegen/cli";
    
    const config: CodegenConfig = {
      schema: "YOUR_GRAPHQL_ENDPOINT",
      documents: ["./**/*.{ts,tsx}"],
      ignoreNoDocuments: true,
      generates: {
        "./gql/": {
          preset: "client",
          plugins: [],
          presetConfig: {
            persistedDocuments: true,
          },
          documentTransforms: [addTypenameSelectionDocumentTransform],
        },
      },
    };
    
    export default config;
    

Patch Changes

  • Updated dependencies [bb1e0e96e]:
    • @graphql-codegen/plugin-helpers@5.0.1

@graphql-codegen/plugin-helpers@5.0.1

Patch Changes

June 19, 2023

19 Jun 07:32
a509268
Compare
Choose a tag to compare

@graphql-codegen/visitor-plugin-common@4.0.1

Patch Changes

  • #9497 2276708d0 Thanks @eddeee888! - Revert default ID scalar input type to string

    We changed the ID Scalar input type from string to string | number in the latest major version of typescript plugin. This causes issues for server plugins (e.g. typescript-resolvers) that depends on typescript plugin. This is because the scalar type needs to be manually inverted on setup which is confusing.

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

Patch Changes

  • Updated dependencies [2276708d0]:
    • @graphql-codegen/visitor-plugin-common@4.0.1

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

Patch Changes

  • Updated dependencies [2276708d0]:
    • @graphql-codegen/visitor-plugin-common@4.0.1

@graphql-codegen/typescript-operations@4.0.1

Patch Changes

  • #9497 2276708d0 Thanks @eddeee888! - Revert default ID scalar input type to string

    We changed the ID Scalar input type from string to string | number in the latest major version of typescript plugin. This causes issues for server plugins (e.g. typescript-resolvers) that depends on typescript plugin. This is because the scalar type needs to be manually inverted on setup which is confusing.

  • Updated dependencies [2276708d0]:

    • @graphql-codegen/visitor-plugin-common@4.0.1
    • @graphql-codegen/typescript@4.0.1

@graphql-codegen/typescript-resolvers@4.0.1

Patch Changes

  • #9497 2276708d0 Thanks @eddeee888! - Revert default ID scalar input type to string

    We changed the ID Scalar input type from string to string | number in the latest major version of typescript plugin. This causes issues for server plugins (e.g. typescript-resolvers) that depends on typescript plugin. This is because the scalar type needs to be manually inverted on setup which is confusing.

  • Updated dependencies [2276708d0]:

    • @graphql-codegen/visitor-plugin-common@4.0.1
    • @graphql-codegen/typescript@4.0.1

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

Patch Changes

  • Updated dependencies [2276708d0]:
    • @graphql-codegen/visitor-plugin-common@4.0.1

@graphql-codegen/typescript@4.0.1

Patch Changes

  • #9497 2276708d0 Thanks @eddeee888! - Revert default ID scalar input type to string

    We changed the ID Scalar input type from string to string | number in the latest major version of typescript plugin. This causes issues for server plugins (e.g. typescript-resolvers) that depends on typescript plugin. This is because the scalar type needs to be manually inverted on setup which is confusing.

  • Updated dependencies [2276708d0]:

    • @graphql-codegen/visitor-plugin-common@4.0.1

@graphql-codegen/client-preset@4.0.1

Patch Changes

  • #9497 2276708d0 Thanks @eddeee888! - Revert default ID scalar input type to string

    We changed the ID Scalar input type from string to string | number in the latest major version of typescript plugin. This causes issues for server plugins (e.g. typescript-resolvers) that depends on typescript plugin. This is because the scalar type needs to be manually inverted on setup which is confusing.

  • Updated dependencies [2276708d0]:

    • @graphql-codegen/visitor-plugin-common@4.0.1
    • @graphql-codegen/typescript-operations@4.0.1
    • @graphql-codegen/typescript@4.0.1
    • @graphql-codegen/gql-tag-operations@4.0.1
    • @graphql-codegen/typed-document-node@5.0.1

@graphql-codegen/graphql-modules-preset@4.0.1

Patch Changes

  • Updated dependencies [2276708d0]:
    • @graphql-codegen/visitor-plugin-common@4.0.1

June 01, 2023

01 Jun 14:56
8bdcc66
Compare
Choose a tag to compare

@graphql-codegen/cli@4.0.1

Patch Changes

May 24, 2023

24 May 08:16
5c7b3b3
Compare
Choose a tag to compare

@graphql-codegen/cli@4.0.0

Major Changes

  • bb66c2a31 Thanks @n1ru4l! - Require Node.js >= 16. Drop support for Node.js 14

Patch Changes

@graphql-codegen/core@4.0.0

Major Changes

  • bb66c2a31 Thanks @n1ru4l! - Require Node.js >= 16. Drop support for Node.js 14

Patch Changes

@graphql-codegen/add@5.0.0

Major Changes

  • bb66c2a31 Thanks @n1ru4l! - Require Node.js >= 16. Drop support for Node.js 14

Patch Changes

@graphql-codegen/fragment-matcher@5.0.0

Major Changes

  • bb66c2a31 Thanks @n1ru4l! - Require Node.js >= 16. Drop support for Node.js 14

Patch Changes

@graphql-codegen/introspection@4.0.0

Major Changes

  • bb66c2a31 Thanks @n1ru4l! - Require Node.js >= 16. Drop support for Node.js 14

Patch Changes

@graphql-codegen/schema-ast@4.0.0

Major Changes

  • bb66c2a31 Thanks @n1ru4l! - Require Node.js >= 16. Drop support for Node.js 14

Patch Changes

Read more