Skip to content

chore(deps): update graphqlcodegenerator monorepo - #1598

Merged
renovate[bot] merged 1 commit into
mainfrom
renovate/graphqlcodegenerator-monorepo
Oct 9, 2026
Merged

renovate[bot] merged 1 commit into
mainfrom
renovate/graphqlcodegenerator-monorepo

Conversation

@renovate

@renovate renovate Bot commented Oct 9, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
@graphql-codegen/cli (source) 7.4.5 → 7.4.6 age confidence
@graphql-codegen/typescript (source) 6.1.1 → 6.1.2 age confidence
@graphql-codegen/visitor-plugin-common (source) 7.2.9 → 7.2.10 age confidence

Release Notes

dotansimha/graphql-code-generator (@​graphql-codegen/cli)

v7.4.6

Compare Source

Patch Changes
  • #​10985
    d8aa07f
    Thanks @​eddeee888! - Build with strict: true, which changes
    these emitted type declarations:

    • @graphql-codegen/cli: mkdirp returns Promise<string | undefined>, and the require (-r)
      CLI option's default is typed never[] instead of any[].
    • @graphql-codegen/visitor-plugin-common: BaseResolversVisitor and BaseTypesVisitor
      SchemaDefinition()/SchemaExtension() return null instead of any.
    • @graphql-codegen/visitor-plugin-common: BaseSelectionSetProcessor.typeCache is keyed by
      Location | undefined.
    • @graphql-codegen/visitor-plugin-common: SelectionSetToObject.buildSelectionSet returns
      typeInfo as { name: string; type: string } | null.
    • @graphql-codegen/visitor-plugin-common: getPossibleTypes accepts null as the type, which
      graphql 15's schema.getType() can return.
    • @graphql-codegen/visitor-plugin-common: removeDescription returns nodes with
      description: undefined instead of any.
    • @graphql-codegen/typescript: TsIntrospectionVisitor's constructor takes pluginConfig as
      TypeScriptPluginConfig | undefined, DirectiveDefinition() returns null and
      ObjectTypeDefinition() returns string | null.
    • @graphql-codegen/client-preset: the babel preset accepts options as
      ClientBabelPresetOptions | null | undefined.
    • @graphql-codegen/testing: mockGraphQLServer returns nock.Scope | null.
    • @graphql-codegen/graphql-modules-preset: a schema without extensions (graphql 15) throws the
      "requires to use GraphQL SDL" error instead of a TypeError.

    Generated output is unchanged.

  • Updated dependencies
    [d8aa07f]:

dotansimha/graphql-code-generator (@​graphql-codegen/typescript)

v6.1.2

Compare Source

Patch Changes
  • #​10985
    d8aa07f
    Thanks @​eddeee888! - Build with strict: true, which changes
    these emitted type declarations:

    • @graphql-codegen/cli: mkdirp returns Promise<string | undefined>, and the require (-r)
      CLI option's default is typed never[] instead of any[].
    • @graphql-codegen/visitor-plugin-common: BaseResolversVisitor and BaseTypesVisitor
      SchemaDefinition()/SchemaExtension() return null instead of any.
    • @graphql-codegen/visitor-plugin-common: BaseSelectionSetProcessor.typeCache is keyed by
      Location | undefined.
    • @graphql-codegen/visitor-plugin-common: SelectionSetToObject.buildSelectionSet returns
      typeInfo as { name: string; type: string } | null.
    • @graphql-codegen/visitor-plugin-common: getPossibleTypes accepts null as the type, which
      graphql 15's schema.getType() can return.
    • @graphql-codegen/visitor-plugin-common: removeDescription returns nodes with
      description: undefined instead of any.
    • @graphql-codegen/typescript: TsIntrospectionVisitor's constructor takes pluginConfig as
      TypeScriptPluginConfig | undefined, DirectiveDefinition() returns null and
      ObjectTypeDefinition() returns string | null.
    • @graphql-codegen/client-preset: the babel preset accepts options as
      ClientBabelPresetOptions | null | undefined.
    • @graphql-codegen/testing: mockGraphQLServer returns nock.Scope | null.
    • @graphql-codegen/graphql-modules-preset: a schema without extensions (graphql 15) throws the
      "requires to use GraphQL SDL" error instead of a TypeError.

    Generated output is unchanged.

  • Updated dependencies
    [d8aa07f,
    5078faf]:

dotansimha/graphql-code-generator (@​graphql-codegen/visitor-plugin-common)

v7.2.10

Compare Source

Patch Changes
  • #​10985
    d8aa07f
    Thanks @​eddeee888! - Build with strict: true, which changes
    these emitted type declarations:

    • @graphql-codegen/cli: mkdirp returns Promise<string | undefined>, and the require (-r)
      CLI option's default is typed never[] instead of any[].
    • @graphql-codegen/visitor-plugin-common: BaseResolversVisitor and BaseTypesVisitor
      SchemaDefinition()/SchemaExtension() return null instead of any.
    • @graphql-codegen/visitor-plugin-common: BaseSelectionSetProcessor.typeCache is keyed by
      Location | undefined.
    • @graphql-codegen/visitor-plugin-common: SelectionSetToObject.buildSelectionSet returns
      typeInfo as { name: string; type: string } | null.
    • @graphql-codegen/visitor-plugin-common: getPossibleTypes accepts null as the type, which
      graphql 15's schema.getType() can return.
    • @graphql-codegen/visitor-plugin-common: removeDescription returns nodes with
      description: undefined instead of any.
    • @graphql-codegen/typescript: TsIntrospectionVisitor's constructor takes pluginConfig as
      TypeScriptPluginConfig | undefined, DirectiveDefinition() returns null and
      ObjectTypeDefinition() returns string | null.
    • @graphql-codegen/client-preset: the babel preset accepts options as
      ClientBabelPresetOptions | null | undefined.
    • @graphql-codegen/testing: mockGraphQLServer returns nock.Scope | null.
    • @graphql-codegen/graphql-modules-preset: a schema without extensions (graphql 15) throws the
      "requires to use GraphQL SDL" error instead of a TypeError.

    Generated output is unchanged.

  • #​11039
    5078faf
    Thanks @​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/base and
    optimize-operations) under strict: true:

    • transformComment accepts undefined and null, which it already handles by returning an
      empty string.
    • block declares its param as string[] | null | undefined, which it already handles by
      returning an empty string.
    • DeclarationBlock's fields are typed as string | null (_name as
      string | NameNode | null), and withBlock accepts null, which renders the same as no block.
    • DeclarationBlock falls back to returning the block unchanged when blockTransformer is passed
      as undefined, instead of throwing.
    • buildScalars accepts an undefined scalars mapping, which it already handles by using only
      the defaults and the schema.
    • buildTypeImport accepts a nullish identifier and source, and throws a descriptive error
      when either is missing.
    • ParsedEnumValuesMap's mappedValues, sourceIdentifier, sourceFile and importIdentifier
      accept null, which parseEnumValues already emits.
    • transformMappers defaults rawMappers to {}.
    • OperationVariablesToObject.getName, OperationVariablesToObject.transform and
      BaseSelectionSetProcessor.buildSelectionSetFromStrings may return null, which they already
      return.
    • buildEnumValuesBlock throws a descriptive error when an enum value is not defined on the
      schema's enum.
    • optimizeOperations throws a descriptive error when a document file has no parsed document.
    • unique's default key uses String(item).
    • convertSchemaEnumToDeclarationBlockString treats an enum node without values as empty
      instead of throwing.
    • generateFragmentImportStatement treats a missing identifiers as empty.
    • getDeprecationReason returns the default reason for a @deprecated directive without
      arguments.
    • isOneOfInputObjectType returns false instead of undefined.
    • buildEnumValuesBlock treats a non-enum schema type with the enum's name as having no schema
      enum.
    • OperationVariablesToObject emits '' instead of the text undefined/null when a variable
      has no name or no type identifier.

    Generated output is unchanged, except in the cases above.


Configuration

📅 Schedule: (in timezone Asia/Tokyo)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 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.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate
renovate Bot enabled auto-merge (squash) October 9, 2026 13:56
@renovate
renovate Bot merged commit 5ff27c2 into main Oct 9, 2026
0 of 2 checks passed
@renovate
renovate Bot deleted the renovate/graphqlcodegenerator-monorepo branch October 9, 2026 13:58
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.

0 participants