Skip to content

chore(deps-dev): bump @graphql-codegen/typescript-operations from 5.1.0 to 6.0.2#6142

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/graphql-codegen/typescript-operations-6.0.0
Open

chore(deps-dev): bump @graphql-codegen/typescript-operations from 5.1.0 to 6.0.2#6142
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/graphql-codegen/typescript-operations-6.0.0

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github Apr 30, 2026

Bumps @graphql-codegen/typescript-operations from 5.1.0 to 6.0.2.

Changelog

Sourced from @​graphql-codegen/typescript-operations's changelog.

6.0.2

Patch Changes

6.0.1

Patch Changes

6.0.0

Major Changes

  • #10496 afaace6 Thanks @​eddeee888! - Fix nullable field optionality in operations

    Previously, a nullable Result field is generated as optional (marked by ? TypeScript modifier) by default. This is not correct, because generally at runtime such field can only be null, and not undefined (both missing from the object OR undefined). The only exceptions are when fields are deferred (using @defer directive) or marked as conditional (using @skip or @include).

    Now, a nullable Result field cannot be optional unless the exceptions are met. This also limits avoidOptionals to only target Variables input, since some users may want to force explicit null when providing operation variables.

  • #10496 afaace6 Thanks @​eddeee888! - BREAKING CHANGE: visitors' config option are moved based on their use case

    • addTypename/skipTypename: is only a types-visitor concern. This is moved to types-visitor from base-visitor
    • nonOptionalTypename: is a documents-visitor and types-visitor concern. Moved from base-visitor there
    • extractAllFieldsToTypes: is a documents-visitor concern. Moved from base-visitor there
    • enumPrefix and enumSuffix: need to be in base-visitor as all 3 types of visitors need this to correctly sync the enum type names. This is moved to base visitor

... (truncated)

Commits
  • 4a9e461 chore(release): update monorepo packages versions (#10793)
  • 297c896 [typescript-operations] Fix config.scalars not able to override native scal...
  • c55a8a2 chore(release): update monorepo packages versions (#10768)
  • 5f035cb Fix const enum type prefix/suffix misconfiguration (#10781)
  • 602df92 Run changeset version (#10765)
  • afaace6 [typescript-operations/client-preset] Next major version (#10496)
  • See full diff in compare view

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Apr 30, 2026
@cloudflare-workers-and-pages
Copy link
Copy Markdown

cloudflare-workers-and-pages Bot commented Apr 30, 2026

Deploying hey with  Cloudflare Pages  Cloudflare Pages

Latest commit: 325bfe4
Status: ✅  Deploy successful!
Preview URL: https://60c4c754.hey-dih.pages.dev
Branch Preview URL: https://dependabot-npm-and-yarn-grap-ud5o.hey-dih.pages.dev

View logs

Bumps [@graphql-codegen/typescript-operations](https://github.com/dotansimha/graphql-code-generator/tree/HEAD/packages/plugins/typescript/operations) from 5.1.0 to 6.0.2.
- [Release notes](https://github.com/dotansimha/graphql-code-generator/releases)
- [Changelog](https://github.com/dotansimha/graphql-code-generator/blob/master/packages/plugins/typescript/operations/CHANGELOG.md)
- [Commits](https://github.com/dotansimha/graphql-code-generator/commits/@graphql-codegen/typescript-operations@6.0.2/packages/plugins/typescript/operations)

---
updated-dependencies:
- dependency-name: "@graphql-codegen/typescript-operations"
  dependency-version: 6.0.0
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot changed the title chore(deps-dev): bump @graphql-codegen/typescript-operations from 5.0.7 to 6.0.0 chore(deps-dev): bump @graphql-codegen/typescript-operations from 5.1.0 to 6.0.2 May 13, 2026
@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/graphql-codegen/typescript-operations-6.0.0 branch from e86f90d to 325bfe4 Compare May 13, 2026 15:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants