Skip to content

Update graphqlcodegenerator monorepo (patch) - #2778

Open
renovate[bot] wants to merge 1 commit into
masterfrom
renovate/patch-graphqlcodegenerator-monorepo
Open

renovate[bot] wants to merge 1 commit into
masterfrom
renovate/patch-graphqlcodegenerator-monorepo

Conversation

@renovate

@renovate renovate Bot commented Aug 6, 2026 •

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
@graphql-codegen/typescript (source) 6.1.0 → 6.1.2 age confidence
@graphql-codegen/typescript-operations (source) 6.1.2 → 6.1.10 age confidence

Release Notes

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]:

v6.1.1

Compare Source

Patch Changes
  • #​11019
    eae0e62
    Thanks @​eddeee888! - Fix type errors in plugin-helpers under
    strict: true:

    • @graphql-codegen/plugin-helpers: ProfilerEvent.cat is optional, matching the Trace Event
      format and Profiler.run's optional cat. FederationMeta's reference selection sets are
      typed recursively ({ [field: string]: true | ReferenceSelectionSet }), matching the nested
      selections @key/@requires/@provides produce. oldVisit's visitor param is typed as
      OldVisitor: enter and leave maps keyed by AST node kind, whose callbacks receive the typed
      node plus graphql's key, parent, path and ancestors. Federation directives missing their
      fields argument, and operations whose root type is missing from the schema, throw a
      descriptive error.
    • @graphql-codegen/typescript and @graphql-codegen/typescript-operations: the
      InputValueDefinition visitor methods take path and ancestors as required params, since the
      visitor always passes them.

    Generated output is unchanged.

  • #​11014
    7a376ef
    Thanks @​eddeee888! - Fix type errors in typescript under
    strict: true by typing the shared visitor methods it overrides:

    • @graphql-codegen/visitor-plugin-common: adds NormalizedDeclarationKindConfig (every
      declaration kind set), used by normalizeDeclarationKind, DEFAULT_DECLARATION_KINDS and
      ParsedTypesConfig.declarationKind. BaseTypesVisitor's NamedType, ListType,
      FieldDefinition, InputValueDefinition and UnionTypeDefinition have typed visitor params
      (key and parent are required, since the visitor always passes them), and
      ObjectTypeDefinition, EnumTypeDefinition and DirectiveDefinition may return null.
    • @graphql-codegen/typescript: skips document files without a document when collecting
      introspection types, types the TsVisitor visitor params, and TsVisitor.EnumTypeDefinition
      may return null like 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.10

Compare Source

Patch Changes
  • #​11019
    eae0e62
    Thanks @​eddeee888! - Fix type errors in plugin-helpers under
    strict: true:

    • @graphql-codegen/plugin-helpers: ProfilerEvent.cat is optional, matching the Trace Event
      format and Profiler.run's optional cat. FederationMeta's reference selection sets are
      typed recursively ({ [field: string]: true | ReferenceSelectionSet }), matching the nested
      selections @key/@requires/@provides produce. oldVisit's visitor param is typed as
      OldVisitor: enter and leave maps keyed by AST node kind, whose callbacks receive the typed
      node plus graphql's key, parent, path and ancestors. Federation directives missing their
      fields argument, and operations whose root type is missing from the schema, throw a
      descriptive error.
    • @graphql-codegen/typescript and @graphql-codegen/typescript-operations: the
      InputValueDefinition visitor methods take path and ancestors as required params, since the
      visitor always passes them.

    Generated output is unchanged.

  • #​11009
    1f7566f
    Thanks @​eddeee888! - Fix type errors in typescript-operations
    under strict: true by widening the shared types it calls into:

    • @graphql-codegen/plugin-helpers: Types.ComplexPluginOutput's prepend and append now
      accept null items. Core already skipped them.
    • @graphql-codegen/visitor-plugin-common: DeclarationBlock.withComment accepts undefined,
      parseEnumValues's mapOrStr is optional (it already defaulted to {}),
      ImportSource.namespace accepts null, and optimizeOperations's includeFragments is
      optional.
    • @graphql-codegen/typescript-operations: skips document files without a document, and no
      longer throws when called without the plugin info argument.

    Generated output is unchanged.

  • Updated dependencies
    [43d0f65,
    82ebbb5,
    eae0e62,
    1f7566f,
    7a376ef,
    3caccd3,
    ccc0d5c]:

v6.1.9

Compare Source

Patch Changes
  • #​11001
    65e5599
    Thanks @​eddeee888! - Fix typescript-operations generating
    invalid interface declarations for @oneOf inputs when declarationKind is interface
    (#​10996).

    A @oneOf input with multiple fields is a union, so it is always generated as a type alias; a
    single-field @oneOf input keeps the configured declarationKind.input. typescript and
    typescript-operations share this rule through the new getOneOfInputDeclarationKind export from
    @graphql-codegen/visitor-plugin-common.

  • Updated dependencies
    [65e5599]:

v6.1.8

Compare Source

Patch Changes
  • #​10982
    e5361bc
    Thanks @​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 getFieldNames helper from @graphql-codegen/visitor-plugin-common,
    which built those expanded paths, is removed.

  • Updated dependencies
    [e5361bc,
    1d1153b,
    be69e9d]:

v6.1.7

Compare Source

Patch Changes
  • #​10954
    2deb08f
    Thanks @​eddeee888! - Fix typescript-operations emitting an
    unused import type * as Types from '...' (with importSchemaTypesFrom) or an unused local
    enum/input declaration (without it) when inlineFragmentTypes is 'combine' or 'mask' and the
    generated file only ever references a schema type through a fragment spread that collapses to a
    bare FooFragment reference, never naming the type itself. The schema-type import/declaration
    decision, 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.6

Compare Source

Patch Changes

v6.1.5

Compare Source

Patch Changes

v6.1.4

Compare Source

Patch Changes
  • #​10910
    1624c8a
    Thanks @​eddeee888! - Fix performance issue when
    config.importSchemaTypesFrom is set, and the provided schema is still unnecessarily visited

v6.1.3

Compare Source

Patch Changes

Configuration

📅 Schedule: (in timezone Asia/Shanghai)

  • Branch creation
    • "after 2am and before 8am on friday"
  • 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 commented Aug 6, 2026 •

Copy link
Copy Markdown
Contributor Author

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: package-lock.json
npm warn Unknown env config "store". This will stop working in the next major version of npm. See `npm help npmrc` for supported config options.
npm error code ERESOLVE
npm error ERESOLVE unable to resolve dependency tree
npm error
npm error While resolving: eesast-web@2024.0.0
npm error Found: graphql@17.0.2
npm error node_modules/graphql
npm error   graphql@"17.0.2" from the root project
npm error
npm error Could not resolve dependency:
npm error peer graphql@"^15.0.0 || ^16.0.0" from @apollo/client@3.14.1
npm error node_modules/@apollo/client
npm error   @apollo/client@"3.14.1" from the root project
npm error
npm error Fix the upstream dependency conflict, or retry this command with --force or --legacy-peer-deps to accept an incorrect (and potentially broken) dependency resolution.
npm error
npm error
npm error For a full report see:
npm error /runner/cache/others/npm/_logs/2026-10-09T12_31_12_208Z-eresolve-report.txt
npm error A complete log of this run can be found in: /runner/cache/others/npm/_logs/2026-10-09T12_31_12_208Z-debug-0.log

renovate-approve[bot]
renovate-approve Bot previously approved these changes Aug 6, 2026
@mergify mergify Bot added the dependencies Pull requests that update a dependency file label Aug 6, 2026
@renovate
renovate Bot force-pushed the renovate/patch-graphqlcodegenerator-monorepo branch from f3c69aa to b99a6e0 Compare August 11, 2026 23:28
renovate-approve[bot]
renovate-approve Bot previously approved these changes Aug 11, 2026
@mergify

mergify Bot commented Aug 11, 2026 •

Copy link
Copy Markdown

Tick the box to add this pull request to the merge queue (same as @mergifyio queue).

  • Queue this pull request

@renovate
renovate Bot force-pushed the renovate/patch-graphqlcodegenerator-monorepo branch from b99a6e0 to 5508ce7 Compare August 13, 2026 01:05
renovate-approve[bot]
renovate-approve Bot previously approved these changes Aug 13, 2026
@renovate renovate Bot changed the title Update dependency @graphql-codegen/typescript-operations to v6.1.5 Update dependency @graphql-codegen/typescript-operations to v6.1.6 Aug 13, 2026
@renovate
renovate Bot force-pushed the renovate/patch-graphqlcodegenerator-monorepo branch 2 times, most recently from 025687b to df3b1cd Compare September 14, 2026 14:16
@renovate
renovate Bot force-pushed the renovate/patch-graphqlcodegenerator-monorepo branch 2 times, most recently from 63c8d04 to d83c2a7 Compare September 20, 2026 03:56
@renovate
renovate Bot force-pushed the renovate/patch-graphqlcodegenerator-monorepo branch from d83c2a7 to 8ac0d9c Compare September 20, 2026 06:57
renovate-approve[bot]
renovate-approve Bot previously approved these changes Sep 20, 2026
@renovate renovate Bot changed the title Update dependency @graphql-codegen/typescript-operations to v6.1.6 Update dependency @graphql-codegen/typescript-operations to v6.1.7 Sep 20, 2026
@renovate
renovate Bot force-pushed the renovate/patch-graphqlcodegenerator-monorepo branch from 8ac0d9c to bc5579d Compare September 28, 2026 20:03
@renovate renovate Bot changed the title Update dependency @graphql-codegen/typescript-operations to v6.1.7 Update dependency @graphql-codegen/typescript-operations to v6.1.8 Sep 28, 2026
renovate-approve[bot]
renovate-approve Bot previously approved these changes Sep 28, 2026
@renovate
renovate Bot force-pushed the renovate/patch-graphqlcodegenerator-monorepo branch from bc5579d to 86d18f9 Compare September 29, 2026 20:15
renovate-approve[bot]
renovate-approve Bot previously approved these changes Sep 29, 2026
@renovate renovate Bot changed the title Update dependency @graphql-codegen/typescript-operations to v6.1.8 Update dependency @graphql-codegen/typescript-operations to v6.1.9 Sep 29, 2026
@renovate
renovate Bot force-pushed the renovate/patch-graphqlcodegenerator-monorepo branch from 86d18f9 to bad854d Compare October 5, 2026 18:43
renovate-approve[bot]
renovate-approve Bot previously approved these changes Oct 5, 2026
@renovate renovate Bot changed the title Update dependency @graphql-codegen/typescript-operations to v6.1.9 Update graphqlcodegenerator monorepo (patch) Oct 5, 2026
@renovate
renovate Bot force-pushed the renovate/patch-graphqlcodegenerator-monorepo branch from bad854d to b9436ba Compare October 9, 2026 12:31

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants