Skip to content

[typescript-operations/client-preset] Next major version#10496

Draft
eddeee888 wants to merge 66 commits intomasterfrom
master-next
Draft

[typescript-operations/client-preset] Next major version#10496
eddeee888 wants to merge 66 commits intomasterfrom
master-next

Conversation

@eddeee888
Copy link
Copy Markdown
Collaborator

@eddeee888 eddeee888 commented Nov 7, 2025

This is the feature branch for #10479

Checklist

typescript-operations

TODO/Cleanups

client-preset

Verify fixes

Issues to close

Documentation updates

@changeset-bot
Copy link
Copy Markdown

changeset-bot bot commented Nov 7, 2025

🦋 Changeset detected

Latest commit: 3103b7a

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 12 packages
Name Type
@graphql-codegen/cli Patch
@graphql-codegen/client-preset Major
@graphql-codegen/gql-tag-operations Patch
@graphql-codegen/graphql-modules-preset Patch
@graphql-codegen/plugin-helpers Patch
@graphql-codegen/typed-document-node Patch
@graphql-codegen/typescript Major
@graphql-codegen/typescript-document-nodes Patch
@graphql-codegen/typescript-operations Major
@graphql-codegen/typescript-resolvers Major
@graphql-codegen/visitor-plugin-common Major
@graphql-codegen/introspection Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@eddeee888 eddeee888 force-pushed the master-next branch 2 times, most recently from 48ef01e to c2be6b3 Compare January 6, 2026 13:16
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Jan 7, 2026

💻 Website Preview

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

eddeee888 and others added 2 commits March 22, 2026 19:05
* Bump ESM packages

- detect-indent v7
- auto-bind v5
- chalk v5
- log-symbols v7
- debounce v3

* Bum all package deps to latest

* chore(dependencies): updated changesets for modified dependencies

* Revert @inquirer/prompts to v7 to be handled later

* chore(dependencies): updated changesets for modified dependencies

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
eddeee888 and others added 2 commits March 23, 2026 00:30
* Bump inquirer

* chore(dependencies): updated changesets for modified dependencies

* WIP fix test

* Swap bddstd for inquirer/testing

* Fix spec tsconfig to fix ts import issue in tests ESM

* Fix unnecessary Promise

* Update init tests to use @inquirer/testing

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
… and follow recommended format (#10652)

* Update default hash to be sha256 for persisted documents

* Add changeset

* chore(dependencies): updated changesets for modified dependencies

* Update tests

* chore(dependencies): updated changesets for modified dependencies

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* typescript-operations: Add support for declarationKind option

* Drive-by: add fixme

* Add changeset
…rationKind config (#10655)

* move normalizeAvoidOptionals to visitor-plugin-common

* Make normalizeOperationDeclarationKind similar to normalizeOperationAvoidOptionals

* Fix issue where extractAllFieldsToTypes always causes console to warn

* Fix compilation issues
…on in certain scenarios (#10656)

* Set up test

* Refactor naming functions to visitor-plugin-common/naming

* Parse EnumValues with applying namingConvention on the schema type and use it for imports

* Ensure converted enum type is used across imports, exports and Result

* Fix enum-values.spec tests

* Update implementation to match expected

* Update enumValues tests

* Ensure correct naming convention being applied to Input, Variables and Result types

* Create a section for enumValues

* add changeset
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Mar 30, 2026

🚀 Snapshot Release (alpha)

The latest changes of this PR are available as alpha on npm (based on the declared changesets):

Package Version Info
@graphql-codegen/cli 7.0.0-alpha-20260331131036-3103b7af1f0e6f15d6cf4d9521376fa82383845e npm ↗︎ unpkg ↗︎
@graphql-codegen/core 6.0.0-alpha-20260331131036-3103b7af1f0e6f15d6cf4d9521376fa82383845e npm ↗︎ unpkg ↗︎
@graphql-codegen/add 7.0.0-alpha-20260331131036-3103b7af1f0e6f15d6cf4d9521376fa82383845e npm ↗︎ unpkg ↗︎
@graphql-codegen/fragment-matcher 7.0.0-alpha-20260331131036-3103b7af1f0e6f15d6cf4d9521376fa82383845e npm ↗︎ unpkg ↗︎
@graphql-codegen/introspection 6.0.0-alpha-20260331131036-3103b7af1f0e6f15d6cf4d9521376fa82383845e npm ↗︎ unpkg ↗︎
@graphql-codegen/schema-ast 6.0.0-alpha-20260331131036-3103b7af1f0e6f15d6cf4d9521376fa82383845e npm ↗︎ unpkg ↗︎
@graphql-codegen/time 7.0.0-alpha-20260331131036-3103b7af1f0e6f15d6cf4d9521376fa82383845e npm ↗︎ unpkg ↗︎
@graphql-codegen/visitor-plugin-common 7.0.0-alpha-20260331131036-3103b7af1f0e6f15d6cf4d9521376fa82383845e npm ↗︎ unpkg ↗︎
@graphql-codegen/typescript-document-nodes 6.0.0-alpha-20260331131036-3103b7af1f0e6f15d6cf4d9521376fa82383845e npm ↗︎ unpkg ↗︎
@graphql-codegen/gql-tag-operations 6.0.0-alpha-20260331131036-3103b7af1f0e6f15d6cf4d9521376fa82383845e npm ↗︎ unpkg ↗︎
@graphql-codegen/typescript-operations 6.0.0-alpha-20260331131036-3103b7af1f0e6f15d6cf4d9521376fa82383845e npm ↗︎ unpkg ↗︎
@graphql-codegen/typescript-resolvers 6.0.0-alpha-20260331131036-3103b7af1f0e6f15d6cf4d9521376fa82383845e npm ↗︎ unpkg ↗︎
@graphql-codegen/typed-document-node 7.0.0-alpha-20260331131036-3103b7af1f0e6f15d6cf4d9521376fa82383845e npm ↗︎ unpkg ↗︎
@graphql-codegen/typescript 6.0.0-alpha-20260331131036-3103b7af1f0e6f15d6cf4d9521376fa82383845e npm ↗︎ unpkg ↗︎
@graphql-codegen/client-preset 6.0.0-alpha-20260331131036-3103b7af1f0e6f15d6cf4d9521376fa82383845e npm ↗︎ unpkg ↗︎
@graphql-codegen/graphql-modules-preset 6.0.0-alpha-20260331131036-3103b7af1f0e6f15d6cf4d9521376fa82383845e npm ↗︎ unpkg ↗︎
@graphql-codegen/testing 5.0.0-alpha-20260331131036-3103b7af1f0e6f15d6cf4d9521376fa82383845e npm ↗︎ unpkg ↗︎
@graphql-codegen/plugin-helpers 7.0.0-alpha-20260331131036-3103b7af1f0e6f15d6cf4d9521376fa82383845e npm ↗︎ unpkg ↗︎

…ingConvention in certain scenarios (2) (#10657)

* Ensure enumValues is consistent in typescript and typescript-resolvers

* Add a note to default alias import not doing anything

* Add changeset
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