Repository navigation
Update graphqlcodegenerator monorepo (patch) - #2778
Open
renovate[bot] wants to merge 1 commit into
Open
renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
Contributor
Author
|
renovate
Bot
force-pushed
the
renovate/patch-graphqlcodegenerator-monorepo
branch
from
August 11, 2026 23:28
f3c69aa to
b99a6e0
Compare
|
Tick the box to add this pull request to the merge queue (same as
|
renovate
Bot
force-pushed
the
renovate/patch-graphqlcodegenerator-monorepo
branch
from
August 13, 2026 01:05
b99a6e0 to
5508ce7
Compare
renovate
Bot
force-pushed
the
renovate/patch-graphqlcodegenerator-monorepo
branch
2 times, most recently
from
September 14, 2026 14:16
025687b to
df3b1cd
Compare
renovate
Bot
force-pushed
the
renovate/patch-graphqlcodegenerator-monorepo
branch
2 times, most recently
from
September 20, 2026 03:56
63c8d04 to
d83c2a7
Compare
renovate
Bot
force-pushed
the
renovate/patch-graphqlcodegenerator-monorepo
branch
from
September 20, 2026 06:57
d83c2a7 to
8ac0d9c
Compare
renovate
Bot
force-pushed
the
renovate/patch-graphqlcodegenerator-monorepo
branch
from
September 28, 2026 20:03
8ac0d9c to
bc5579d
Compare
renovate
Bot
force-pushed
the
renovate/patch-graphqlcodegenerator-monorepo
branch
from
September 29, 2026 20:15
bc5579d to
86d18f9
Compare
renovate
Bot
force-pushed
the
renovate/patch-graphqlcodegenerator-monorepo
branch
from
October 5, 2026 18:43
86d18f9 to
bad854d
Compare
renovate
Bot
force-pushed
the
renovate/patch-graphqlcodegenerator-monorepo
branch
from
October 9, 2026 12:31
bad854d to
b9436ba
Compare
This branch has not been deployed
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 contains the following updates:
6.1.0→6.1.26.1.2→6.1.10Release Notes
dotansimha/graphql-code-generator (@graphql-codegen/typescript)
v6.1.2Compare Source
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]:v6.1.1Compare Source
Patch Changes
#11019
eae0e62Thanks @eddeee888! - Fix type errors in
plugin-helpersunderstrict: true:@graphql-codegen/plugin-helpers:ProfilerEvent.catis optional, matching the Trace Eventformat and
Profiler.run's optionalcat.FederationMeta's reference selection sets aretyped recursively (
{ [field: string]: true | ReferenceSelectionSet }), matching the nestedselections
@key/@requires/@providesproduce.oldVisit'svisitorparam is typed asOldVisitor:enterandleavemaps keyed by AST node kind, whose callbacks receive the typednode plus graphql's
key,parent,pathandancestors. Federation directives missing theirfieldsargument, and operations whose root type is missing from the schema, throw adescriptive error.
@graphql-codegen/typescriptand@graphql-codegen/typescript-operations: theInputValueDefinitionvisitor methods takepathandancestorsas required params, since thevisitor always passes them.
Generated output is unchanged.
#11014
7a376efThanks @eddeee888! - Fix type errors in
typescriptunderstrict: trueby typing the shared visitor methods it overrides:@graphql-codegen/visitor-plugin-common: addsNormalizedDeclarationKindConfig(everydeclaration kind set), used by
normalizeDeclarationKind,DEFAULT_DECLARATION_KINDSandParsedTypesConfig.declarationKind.BaseTypesVisitor'sNamedType,ListType,FieldDefinition,InputValueDefinitionandUnionTypeDefinitionhave typed visitor params(
keyandparentare required, since the visitor always passes them), andObjectTypeDefinition,EnumTypeDefinitionandDirectiveDefinitionmay returnnull.@graphql-codegen/typescript: skips document files without adocumentwhen collectingintrospection types, types the
TsVisitorvisitor params, andTsVisitor.EnumTypeDefinitionmay return
nulllike the introspection visitor's override.Generated output is unchanged.
Updated dependencies
[
43d0f65,82ebbb5,eae0e62,1f7566f,7a376ef,3caccd3,ccc0d5c]:dotansimha/graphql-code-generator (@graphql-codegen/typescript-operations)
v6.1.10Compare Source
Patch Changes
#11019
eae0e62Thanks @eddeee888! - Fix type errors in
plugin-helpersunderstrict: true:@graphql-codegen/plugin-helpers:ProfilerEvent.catis optional, matching the Trace Eventformat and
Profiler.run's optionalcat.FederationMeta's reference selection sets aretyped recursively (
{ [field: string]: true | ReferenceSelectionSet }), matching the nestedselections
@key/@requires/@providesproduce.oldVisit'svisitorparam is typed asOldVisitor:enterandleavemaps keyed by AST node kind, whose callbacks receive the typednode plus graphql's
key,parent,pathandancestors. Federation directives missing theirfieldsargument, and operations whose root type is missing from the schema, throw adescriptive error.
@graphql-codegen/typescriptand@graphql-codegen/typescript-operations: theInputValueDefinitionvisitor methods takepathandancestorsas required params, since thevisitor always passes them.
Generated output is unchanged.
#11009
1f7566fThanks @eddeee888! - Fix type errors in
typescript-operationsunder
strict: trueby widening the shared types it calls into:@graphql-codegen/plugin-helpers:Types.ComplexPluginOutput'sprependandappendnowaccept
nullitems. Core already skipped them.@graphql-codegen/visitor-plugin-common:DeclarationBlock.withCommentacceptsundefined,parseEnumValues'smapOrStris optional (it already defaulted to{}),ImportSource.namespaceacceptsnull, andoptimizeOperations'sincludeFragmentsisoptional.
@graphql-codegen/typescript-operations: skips document files without adocument, and nolonger throws when called without the plugin info argument.
Generated output is unchanged.
Updated dependencies
[
43d0f65,82ebbb5,eae0e62,1f7566f,7a376ef,3caccd3,ccc0d5c]:v6.1.9Compare Source
Patch Changes
#11001
65e5599Thanks @eddeee888! - Fix
typescript-operationsgeneratinginvalid
interfacedeclarations for@oneOfinputs whendeclarationKindisinterface(#10996).
A
@oneOfinput with multiple fields is a union, so it is always generated as atypealias; asingle-field
@oneOfinput keeps the configureddeclarationKind.input.typescriptandtypescript-operationsshare this rule through the newgetOneOfInputDeclarationKindexport from@graphql-codegen/visitor-plugin-common.Updated dependencies
[
65e5599]:v6.1.8Compare Source
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]:v6.1.7Compare Source
Patch Changes
2deb08fThanks @eddeee888! - Fix
typescript-operationsemitting anunused
import type * as Types from '...'(withimportSchemaTypesFrom) or an unused localenum/input declaration (without it) when
inlineFragmentTypesis'combine'or'mask'and thegenerated file only ever references a schema type through a fragment spread that collapses to a
bare
FooFragmentreference, never naming the type itself. The schema-type import/declarationdecision, and the enum/scalar re-export decisions, are now based on the schema types actually
named by this file's own generated output, rather than every schema type reachable through the
document (including via fragments defined elsewhere).
v6.1.6Compare Source
Patch Changes
#10918
6a3b734Thanks @eddeee888! - Fix union and conditional directives
resulting in no field types
Updated dependencies
[
6a3b734]:v6.1.5Compare Source
Patch Changes
b36c084Thanks @jaydenseric! - Added missing types and tests for the
TypeScript operations plugin option
disableDescriptions.v6.1.4Compare Source
Patch Changes
1624c8aThanks @eddeee888! - Fix performance issue when
config.importSchemaTypesFrom is set, and the provided schema is still unnecessarily visited
v6.1.3Compare Source
Patch Changes
#10905
5a9f96cThanks @eddeee888! - Fix types when introspection is used and
values are not generated or imported correctly
Updated dependencies
[
2dd1531]:Configuration
📅 Schedule: (in timezone Asia/Shanghai)
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR was generated by Mend Renovate. View the repository job log.