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 #9531

Merged
merged 1 commit into from
Jul 25, 2023
Merged

Upcoming Release Changes #9531

merged 1 commit into from
Jul 25, 2023

Conversation

theguild-bot
Copy link
Collaborator

@theguild-bot theguild-bot commented Jul 7, 2023

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/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

@github-actions
Copy link
Contributor

github-actions bot commented Jul 7, 2023

🚀 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/cli 5.0.0-rc-20230725072443-6015e2664 npm ↗︎ unpkg ↗︎
@graphql-codegen/client-preset 4.1.0-rc-20230725072443-6015e2664 npm ↗︎ unpkg ↗︎
@graphql-codegen/plugin-helpers 5.0.1-rc-20230725072443-6015e2664 npm ↗︎ unpkg ↗︎

@github-actions
Copy link
Contributor

github-actions bot commented Jul 7, 2023

💻 Website Preview

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

@theguild-bot theguild-bot force-pushed the changeset-release/master branch 5 times, most recently from 8907e42 to 7d1170f Compare July 9, 2023 12:42
@n1ru4l n1ru4l merged commit 5829dd9 into master Jul 25, 2023
21 checks passed
@n1ru4l n1ru4l deleted the changeset-release/master branch July 25, 2023 09: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