Repository navigation
Upcoming Release Changes - #11049
Merged
Merged
Upcoming Release Changes#11049
Conversation
github-actions
Bot
force-pushed
the
changeset-release/master
branch
from
October 8, 2026 13:30
e5ff930 to
32d1046
Compare
eddeee888
requested
a balanced review from Copilot
and removed request for
Copilot
October 9, 2026 11:19
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/cli@7.4.6
Patch Changes
#10985
d8aa07fThanks @eddeee888! - Build with
strict: true, which changesthese emitted type declarations:
@graphql-codegen/cli:mkdirpreturnsPromise<string | undefined>, and therequire(-r)CLI option's
defaultis typednever[]instead ofany[].@graphql-codegen/visitor-plugin-common:BaseResolversVisitorandBaseTypesVisitorSchemaDefinition()/SchemaExtension()returnnullinstead ofany.@graphql-codegen/visitor-plugin-common:BaseSelectionSetProcessor.typeCacheis keyed byLocation | undefined.@graphql-codegen/visitor-plugin-common:SelectionSetToObject.buildSelectionSetreturnstypeInfoas{ name: string; type: string } | null.@graphql-codegen/visitor-plugin-common:getPossibleTypesacceptsnullas the type, whichgraphql 15's
schema.getType()can return.@graphql-codegen/visitor-plugin-common:removeDescriptionreturns nodes withdescription: undefinedinstead ofany.@graphql-codegen/typescript:TsIntrospectionVisitor's constructor takespluginConfigasTypeScriptPluginConfig | undefined,DirectiveDefinition()returnsnullandObjectTypeDefinition()returnsstring | null.@graphql-codegen/client-preset: the babel preset acceptsoptionsasClientBabelPresetOptions | null | undefined.@graphql-codegen/testing:mockGraphQLServerreturnsnock.Scope | null.@graphql-codegen/graphql-modules-preset: a schema withoutextensions(graphql 15) throws the"requires to use GraphQL SDL" error instead of a
TypeError.Generated output is unchanged.
Updated dependencies
[
d8aa07f]:@graphql-codegen/visitor-plugin-common@7.2.10
Patch Changes
#10985
d8aa07fThanks @eddeee888! - Build with
strict: true, which changesthese emitted type declarations:
@graphql-codegen/cli:mkdirpreturnsPromise<string | undefined>, and therequire(-r)CLI option's
defaultis typednever[]instead ofany[].@graphql-codegen/visitor-plugin-common:BaseResolversVisitorandBaseTypesVisitorSchemaDefinition()/SchemaExtension()returnnullinstead ofany.@graphql-codegen/visitor-plugin-common:BaseSelectionSetProcessor.typeCacheis keyed byLocation | undefined.@graphql-codegen/visitor-plugin-common:SelectionSetToObject.buildSelectionSetreturnstypeInfoas{ name: string; type: string } | null.@graphql-codegen/visitor-plugin-common:getPossibleTypesacceptsnullas the type, whichgraphql 15's
schema.getType()can return.@graphql-codegen/visitor-plugin-common:removeDescriptionreturns nodes withdescription: undefinedinstead ofany.@graphql-codegen/typescript:TsIntrospectionVisitor's constructor takespluginConfigasTypeScriptPluginConfig | undefined,DirectiveDefinition()returnsnullandObjectTypeDefinition()returnsstring | null.@graphql-codegen/client-preset: the babel preset acceptsoptionsasClientBabelPresetOptions | null | undefined.@graphql-codegen/testing:mockGraphQLServerreturnsnock.Scope | null.@graphql-codegen/graphql-modules-preset: a schema withoutextensions(graphql 15) throws the"requires to use GraphQL SDL" error instead of a
TypeError.Generated output is unchanged.
#11039
5078fafThanks @eddeee888! - Fix type errors in
visitor-plugin-common(
utils,imports,naming,mappers,types,variables-to-object,convert-schema-enum-to-declaration-block-string,selection-set-processor/baseandoptimize-operations) understrict: true:transformCommentacceptsundefinedandnull, which it already handles by returning anempty string.
blockdeclares its param asstring[] | null | undefined, which it already handles byreturning an empty string.
DeclarationBlock's fields are typed asstring | null(_nameasstring | NameNode | null), andwithBlockacceptsnull, which renders the same as no block.DeclarationBlockfalls back to returning the block unchanged whenblockTransformeris passedas
undefined, instead of throwing.buildScalarsaccepts anundefinedscalars mapping, which it already handles by using onlythe defaults and the schema.
buildTypeImportaccepts a nullishidentifierandsource, and throws a descriptive errorwhen either is missing.
ParsedEnumValuesMap'smappedValues,sourceIdentifier,sourceFileandimportIdentifieraccept
null, whichparseEnumValuesalready emits.transformMappersdefaultsrawMappersto{}.OperationVariablesToObject.getName,OperationVariablesToObject.transformandBaseSelectionSetProcessor.buildSelectionSetFromStringsmay returnnull, which they alreadyreturn.
buildEnumValuesBlockthrows a descriptive error when an enum value is not defined on theschema's enum.
optimizeOperationsthrows a descriptive error when a document file has no parsed document.unique's default key usesString(item).convertSchemaEnumToDeclarationBlockStringtreats an enum node withoutvaluesas emptyinstead of throwing.
generateFragmentImportStatementtreats a missingidentifiersas empty.getDeprecationReasonreturns the default reason for a@deprecateddirective withoutarguments.
isOneOfInputObjectTypereturnsfalseinstead ofundefined.buildEnumValuesBlocktreats a non-enum schema type with the enum's name as having no schemaenum.
OperationVariablesToObjectemits''instead of the textundefined/nullwhen a variablehas no name or no type identifier.
Generated output is unchanged, except in the cases above.
@graphql-codegen/typescript@6.1.2
Patch Changes
#10985
d8aa07fThanks @eddeee888! - Build with
strict: true, which changesthese emitted type declarations:
@graphql-codegen/cli:mkdirpreturnsPromise<string | undefined>, and therequire(-r)CLI option's
defaultis typednever[]instead ofany[].@graphql-codegen/visitor-plugin-common:BaseResolversVisitorandBaseTypesVisitorSchemaDefinition()/SchemaExtension()returnnullinstead ofany.@graphql-codegen/visitor-plugin-common:BaseSelectionSetProcessor.typeCacheis keyed byLocation | undefined.@graphql-codegen/visitor-plugin-common:SelectionSetToObject.buildSelectionSetreturnstypeInfoas{ name: string; type: string } | null.@graphql-codegen/visitor-plugin-common:getPossibleTypesacceptsnullas the type, whichgraphql 15's
schema.getType()can return.@graphql-codegen/visitor-plugin-common:removeDescriptionreturns nodes withdescription: undefinedinstead ofany.@graphql-codegen/typescript:TsIntrospectionVisitor's constructor takespluginConfigasTypeScriptPluginConfig | undefined,DirectiveDefinition()returnsnullandObjectTypeDefinition()returnsstring | null.@graphql-codegen/client-preset: the babel preset acceptsoptionsasClientBabelPresetOptions | null | undefined.@graphql-codegen/testing:mockGraphQLServerreturnsnock.Scope | null.@graphql-codegen/graphql-modules-preset: a schema withoutextensions(graphql 15) throws the"requires to use GraphQL SDL" error instead of a
TypeError.Generated output is unchanged.
Updated dependencies
[
d8aa07f,5078faf]:@graphql-codegen/client-preset@6.2.3
Patch Changes
#10985
d8aa07fThanks @eddeee888! - Build with
strict: true, which changesthese emitted type declarations:
@graphql-codegen/cli:mkdirpreturnsPromise<string | undefined>, and therequire(-r)CLI option's
defaultis typednever[]instead ofany[].@graphql-codegen/visitor-plugin-common:BaseResolversVisitorandBaseTypesVisitorSchemaDefinition()/SchemaExtension()returnnullinstead ofany.@graphql-codegen/visitor-plugin-common:BaseSelectionSetProcessor.typeCacheis keyed byLocation | undefined.@graphql-codegen/visitor-plugin-common:SelectionSetToObject.buildSelectionSetreturnstypeInfoas{ name: string; type: string } | null.@graphql-codegen/visitor-plugin-common:getPossibleTypesacceptsnullas the type, whichgraphql 15's
schema.getType()can return.@graphql-codegen/visitor-plugin-common:removeDescriptionreturns nodes withdescription: undefinedinstead ofany.@graphql-codegen/typescript:TsIntrospectionVisitor's constructor takespluginConfigasTypeScriptPluginConfig | undefined,DirectiveDefinition()returnsnullandObjectTypeDefinition()returnsstring | null.@graphql-codegen/client-preset: the babel preset acceptsoptionsasClientBabelPresetOptions | null | undefined.@graphql-codegen/testing:mockGraphQLServerreturnsnock.Scope | null.@graphql-codegen/graphql-modules-preset: a schema withoutextensions(graphql 15) throws the"requires to use GraphQL SDL" error instead of a
TypeError.Generated output is unchanged.
Updated dependencies
[
d8aa07f,5078faf]:@graphql-codegen/graphql-modules-preset@6.1.3
Patch Changes
#10985
d8aa07fThanks @eddeee888! - Build with
strict: true, which changesthese emitted type declarations:
@graphql-codegen/cli:mkdirpreturnsPromise<string | undefined>, and therequire(-r)CLI option's
defaultis typednever[]instead ofany[].@graphql-codegen/visitor-plugin-common:BaseResolversVisitorandBaseTypesVisitorSchemaDefinition()/SchemaExtension()returnnullinstead ofany.@graphql-codegen/visitor-plugin-common:BaseSelectionSetProcessor.typeCacheis keyed byLocation | undefined.@graphql-codegen/visitor-plugin-common:SelectionSetToObject.buildSelectionSetreturnstypeInfoas{ name: string; type: string } | null.@graphql-codegen/visitor-plugin-common:getPossibleTypesacceptsnullas the type, whichgraphql 15's
schema.getType()can return.@graphql-codegen/visitor-plugin-common:removeDescriptionreturns nodes withdescription: undefinedinstead ofany.@graphql-codegen/typescript:TsIntrospectionVisitor's constructor takespluginConfigasTypeScriptPluginConfig | undefined,DirectiveDefinition()returnsnullandObjectTypeDefinition()returnsstring | null.@graphql-codegen/client-preset: the babel preset acceptsoptionsasClientBabelPresetOptions | null | undefined.@graphql-codegen/testing:mockGraphQLServerreturnsnock.Scope | null.@graphql-codegen/graphql-modules-preset: a schema withoutextensions(graphql 15) throws the"requires to use GraphQL SDL" error instead of a
TypeError.Generated output is unchanged.
Updated dependencies
[
d8aa07f,5078faf]:@graphql-codegen/testing@5.0.6
Patch Changes
#10985
d8aa07fThanks @eddeee888! - Build with
strict: true, which changesthese emitted type declarations:
@graphql-codegen/cli:mkdirpreturnsPromise<string | undefined>, and therequire(-r)CLI option's
defaultis typednever[]instead ofany[].@graphql-codegen/visitor-plugin-common:BaseResolversVisitorandBaseTypesVisitorSchemaDefinition()/SchemaExtension()returnnullinstead ofany.@graphql-codegen/visitor-plugin-common:BaseSelectionSetProcessor.typeCacheis keyed byLocation | undefined.@graphql-codegen/visitor-plugin-common:SelectionSetToObject.buildSelectionSetreturnstypeInfoas{ name: string; type: string } | null.@graphql-codegen/visitor-plugin-common:getPossibleTypesacceptsnullas the type, whichgraphql 15's
schema.getType()can return.@graphql-codegen/visitor-plugin-common:removeDescriptionreturns nodes withdescription: undefinedinstead ofany.@graphql-codegen/typescript:TsIntrospectionVisitor's constructor takespluginConfigasTypeScriptPluginConfig | undefined,DirectiveDefinition()returnsnullandObjectTypeDefinition()returnsstring | null.@graphql-codegen/client-preset: the babel preset acceptsoptionsasClientBabelPresetOptions | null | undefined.@graphql-codegen/testing:mockGraphQLServerreturnsnock.Scope | null.@graphql-codegen/graphql-modules-preset: a schema withoutextensions(graphql 15) throws the"requires to use GraphQL SDL" error instead of a
TypeError.Generated output is unchanged.