Repository navigation
Upcoming Release Changes - #10987
Merged
Merged
Upcoming Release Changes#10987
Conversation
github-actions
Bot
force-pushed
the
changeset-release/master
branch
7 times, most recently
from
September 27, 2026 12:42
2f2196e to
6f39984
Compare
github-actions
Bot
force-pushed
the
changeset-release/master
branch
from
September 28, 2026 13:24
6f39984 to
c777574
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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/plugin-helpers@7.4.0
Minor Changes
#10994
1d1153bThanks @eddeee888! - Type
oldVisit's return value instead ofreturning
any. For aDocumentNode, the result is nowOldVisitDocumentResult, whosedefinitionsareunknown[]because leave visitors can replace each definition with any value(usually a string), and definitions without a leave visitor stay as AST nodes. When a
Documentleave visitor returns its own value, pass its type as
oldVisit<TResult>(...). For other roots,the result is
unknownunlessTResultis given.Code that used the result as
any, for exampleconst definitions: string[] = result.definitions, now needs to filter for strings, cast(
result.definitions as string[]), or passoldVisit<any>(...). Runtime behavior and generatedoutput are unchanged.
@graphql-codegen/core@6.2.1
Patch Changes
#10991
dc70125Thanks @eddeee888! - Skip documents without a
documentAST whenvalidating documents against the schema, instead of passing
undefinedto validation. Generatedoutput from the CLI is unchanged.
Updated dependencies
[
1d1153b]:@graphql-codegen/add@7.1.1
Patch Changes
#10986
9597b5bThanks @eddeee888! - The plugin output's
contentis now an emptystring (
'') instead ofnullwhenplacementisprependorappend. This matches theComplexPluginOutputtype (content: string). Code that calls the plugin directly and checkscontent === nullshould check for an empty string instead. Generated files are unchanged.Updated dependencies
[
1d1153b]:@graphql-codegen/visitor-plugin-common@7.2.6
Patch Changes
#10982
e5361bcThanks @eddeee888! - Fix out-of-memory errors with deeply nested,
widely reused fragments
(#10940).
The type cache used while generating selection set types was keyed by every fragment-expanded
field path, so its keys grew exponentially with fragment nesting. Keys are now built from the
selection set as written, referencing fragment spreads by name, so they stay linear in the size of
the documents. The exported
getFieldNameshelper from@graphql-codegen/visitor-plugin-common,which built those expanded paths, is removed.
#10993
be69e9dThanks @eddeee888! - Type
getConfigValue'svalueparameter asT | null | undefined, so the result is non-nullable when a non-nullable default is given.Updated dependencies
[
1d1153b]:@graphql-codegen/typescript-document-nodes@6.1.1
Patch Changes
#10990
df288d8Thanks @eddeee888! - Skip documents without a
documentASTinstead of throwing from
concatASTwhen the plugin is called directly with one. Generated outputfrom the CLI is unchanged.
Updated dependencies
[
e5361bc,1d1153b,be69e9d]:@graphql-codegen/typescript-operations@6.1.8
Patch Changes
#10982
e5361bcThanks @eddeee888! - Fix out-of-memory errors with deeply nested,
widely reused fragments
(#10940).
The type cache used while generating selection set types was keyed by every fragment-expanded
field path, so its keys grew exponentially with fragment nesting. Keys are now built from the
selection set as written, referencing fragment spreads by name, so they stay linear in the size of
the documents. The exported
getFieldNameshelper from@graphql-codegen/visitor-plugin-common,which built those expanded paths, is removed.
Updated dependencies
[
e5361bc,1d1153b,be69e9d]:@graphql-codegen/typed-document-node@7.1.1
Patch Changes
#10994
1d1153bThanks @eddeee888! - Skip documents without a
documentASTinstead of throwing from
concatASTwhen the plugin is called directly with one, and don't add anempty import when
documentNodeImporthas no module. Generated output from the CLI is unchanged.Updated dependencies
[
e5361bc,1d1153b,be69e9d]:@graphql-codegen/graphql-modules-preset@6.1.1
Patch Changes
#10993
be69e9dThanks @eddeee888! - Skip sources without a
locationwhengrouping sources by module, instead of throwing from
path.normalize, and skip sources without adocumentAST when building each module's document. Generated output from the CLI is unchanged.Updated dependencies
[
e5361bc,1d1153b,be69e9d]:@graphql-codegen/testing@5.0.5
Patch Changes
#10992
024fa34Thanks @eddeee888! - Make
validateTs/compileTstype-checkunder
strict: true: fall back to the compiler host's script target when the passed options haveno
target, and only compute a diagnostic's line/column when it has astartposition. Adds@types/common-tagsas a devDependency.Updated dependencies
[
1d1153b]: