Repository navigation
chore(deps): update graphqlcodegenerator monorepo - #8
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
renovate
Bot
force-pushed
the
renovate/graphqlcodegenerator-monorepo
branch
from
June 1, 2026 23:06
f8bca68 to
836795a
Compare
renovate
Bot
force-pushed
the
renovate/graphqlcodegenerator-monorepo
branch
2 times, most recently
from
June 16, 2026 17:51
171b776 to
20fc6cb
Compare
renovate
Bot
force-pushed
the
renovate/graphqlcodegenerator-monorepo
branch
2 times, most recently
from
July 12, 2026 17:50
30e5b02 to
2951dcf
Compare
renovate
Bot
force-pushed
the
renovate/graphqlcodegenerator-monorepo
branch
2 times, most recently
from
July 24, 2026 20:17
40d399b to
c51ec68
Compare
renovate
Bot
force-pushed
the
renovate/graphqlcodegenerator-monorepo
branch
3 times, most recently
from
August 14, 2026 20:58
c79fe36 to
55644d3
Compare
renovate
Bot
force-pushed
the
renovate/graphqlcodegenerator-monorepo
branch
2 times, most recently
from
August 26, 2026 16:54
edfb8cb to
17f8553
Compare
renovate
Bot
force-pushed
the
renovate/graphqlcodegenerator-monorepo
branch
from
September 2, 2026 22:15
17f8553 to
27c2e81
Compare
renovate
Bot
force-pushed
the
renovate/graphqlcodegenerator-monorepo
branch
3 times, most recently
from
September 20, 2026 05:03
40bed05 to
d72e58f
Compare
renovate
Bot
force-pushed
the
renovate/graphqlcodegenerator-monorepo
branch
3 times, most recently
from
October 1, 2026 14:38
09cd5dc to
24d82cf
Compare
renovate
Bot
force-pushed
the
renovate/graphqlcodegenerator-monorepo
branch
3 times, most recently
from
October 9, 2026 13:51
17b532d to
e502a64
Compare
renovate
Bot
force-pushed
the
renovate/graphqlcodegenerator-monorepo
branch
from
October 13, 2026 17:25
e502a64 to
acd3ce8
Compare
renovate
Bot
force-pushed
the
renovate/graphqlcodegenerator-monorepo
branch
2 times, most recently
from
October 27, 2026 00:29
d682098 to
49e8c57
Compare
renovate
Bot
force-pushed
the
renovate/graphqlcodegenerator-monorepo
branch
from
November 2, 2026 18:47
49e8c57 to
12cc7e7
Compare
renovate
Bot
force-pushed
the
renovate/graphqlcodegenerator-monorepo
branch
from
November 5, 2026 21:06
12cc7e7 to
8676b06
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.
Note
This PR body was truncated due to platform limits.
This PR contains the following updates:
7.0.0→7.4.66.0.0→6.2.3Release Notes
dotansimha/graphql-code-generator (@graphql-codegen/cli)
v7.4.6Compare 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]:v7.4.5Compare Source
Patch Changes
#11043
31761f9Thanks @eddeee888! - dependencies updates:
@graphql-tools/apollo-engine-loader@^8.0.38↗︎(from
^8.0.28, independencies)@graphql-tools/code-file-loader@^8.1.41↗︎(from
^8.1.39, independencies)@graphql-tools/git-loader@^8.0.44↗︎(from
^8.0.32, independencies)@graphql-tools/github-loader@^9.1.11↗︎(from
^9.0.6, independencies)@graphql-tools/graphql-file-loader@^8.1.22↗︎(from
^8.1.11, independencies)@graphql-tools/json-file-loader@^8.0.36↗︎(from
^8.0.26, independencies)@graphql-tools/load@^8.1.19↗︎(from
^8.1.8, independencies)@graphql-tools/merge@^9.2.6↗︎(from
^9.2.4, independencies)@graphql-tools/url-loader@^9.1.12↗︎(from
^9.0.6, independencies)@graphql-tools/utils@^12.0.3↗︎(from
^11.2.0, independencies)graphql-config@^5.1.8↗︎ (from^5.1.6, independencies)#11043
31761f9Thanks @eddeee888! - Update
@graphql-tools/utilsto v12, andother
@graphql-tools/*dependencies andgraphql-configto releases that use it, to pick up thefix for GHSA-7mx3-vvmw-hjmv (prototype
pollution in
mergeDeep,@graphql-tools/utils<= 12.0.0).@graphql-codegen/clinow unwraps theAggregateErrorthat newer@graphql-tools/loadversionsthrow, so schema and document syntax errors still print the native
GraphQLErrorwith its filelocation.
Updated dependencies
[
31761f9,31761f9,31761f9,31761f9]:v7.4.4Compare Source
Patch Changes
#11025
43d0f65Thanks @BuddhaBing! - Widen
Types.SchemaWithLoaderOptions['loader']to accept a custom loader function(
CustomSchemaLoaderFn) in addition to a path string.A per-entry
schemacustom loader ({ '<pointer>': { loader, ...options } }) is resolved by@graphql-tools/load'suseCustomLoader, which already accepts either a path string (resolvedvia
require()) or a function value at runtime (typeof loaderPointer === 'function'). Only theTypeScript type restricted
loadertostring, forcing consumers who pass an imported loaderfunction (or a class instance exposing a bound
loaderproperty) to cast theschemaarray tobypass the type error, even though it worked correctly at runtime.
This is additive and backward compatible —
loader: stringcontinues to type-check exactly asbefore.
Also fixes a schema-cache collision for function loaders in
@graphql-codegen/cli: the cache keyis
JSON.stringify(schemaPointerMap), andJSON.stringifydrops functions, so twogeneratestargets using different loader functions for the same pointer
(
{ 'schema.graphql': { loader: fnA } }vs{ loader: fnB }) both keyed as{"schema.graphql":{}}and the second silently reused the first's schema. Function values are nowkeyed by object identity (via the existing
getJsObjectId), so distinct loaders load separatelywhile one function reused across targets still loads once.
#11020
82ebbb5Thanks @eddeee888! - Fix type errors in
cliunderstrict: true:@graphql-codegen/cli:loadCodegenConfigreturnsPromise<LoadCodegenConfigResult | null>,matching the
nullit resolves to when no config file is found.YamlCliFlagsincludes thekebab-case
ignore-no-documents,emit-legacy-common-js-importsandimport-extensionflagsthat the CLI reads.
CodegenContext.filepathis optional, and watch mode only watches theconfig file when the context has a
filepath.CodegenContext.getConfig()without an argumentreturns
Types.Config, andgetConfig(extraConfig)returnsT & Types.Config.CodegenContext.checkModeStaleFilesis typed asstring[]. Adds@types/yargs,@types/babel__generatorand@types/babel__templateas dev dependencies.@graphql-codegen/plugin-helpers:normalizeInstanceOrArrayandnormalizeConfigacceptnullandundefined, returning[].Generated output is unchanged.
Updated dependencies
[
43d0f65,82ebbb5,e972b6d,eae0e62,1f7566f]:v7.4.3Compare Source
Patch Changes
8512e51Thanks @eddeee888! - Add missing --check in CLI --help config
v7.4.2Compare Source
Patch Changes
#10956
cec9c1cThanks @eddeee888! - Fix dynamically-loaded plugins/presets in ESM
builds. Previously, ESM used the bare module specifier without resolving it relative to the
consuming project first, so a plugin only loaded if it happened to be reachable from the CLI
package's own
node_modules. Resolving it the same way the CJS build already does(
relativeRequire.resolve(mod)) fixes that, but the resolved absolute path also has to beconverted to a
file://URL (pathToFileURL(...).href) before being passed toimport()—otherwise, on Windows, the loader misparses a raw path like
C:\...as ac:protocol scheme andthrows
ERR_UNSUPPORTED_ESM_URL_SCHEME.#10966
3029b60Thanks @eddeee888! - Fix lifecycle hook scripts (e.g.
hooks: { afterAllFileWrite: ['prettier --write'] } }) failing on Windows when the file pathspassed to them contain a backslash or other POSIX shell-special character. Hook arguments were
always quoted using POSIX single-quoting, but
child_process.exec()runs throughcmd.exeonWindows by default, which doesn't strip single quotes — so the hook script received the literal
quote characters as part of its argument and failed to find the file. Arguments are now quoted
per-platform: POSIX quoting stays unchanged elsewhere, and Windows arguments are wrapped in double
quotes only when they actually need it, matching
cmd.exe's own convention.#10959
7dffaaeThanks @eddeee888! - Fix the CLI reporting success (exit code
0)when a
generatesoutput'spresetcan't be resolved. The error was shown in the terminal butnever counted toward the run's failure state, so
allowPartialOutputs: false(the default) nevertook effect for this case.
v7.4.1Compare Source
Patch Changes
#10935
fb1a7c4Thanks @eddeee888! - dependencies updates:
@graphql-tools/code-file-loader@^8.1.39↗︎(from
^8.1.28, independencies)#10942
57c3e7bThanks @eddeee888! - dependencies updates:
@graphql-tools/merge@^9.2.4↗︎(from
^9.0.6, independencies)#10942
57c3e7bThanks @eddeee888! - Bump
@graphql-tools/mergefrom^9.0.6to^9.2.4.#10935
fb1a7c4Thanks @eddeee888! - Fix a Windows-specific
import()failure onabsolute paths when loading a schema/document from a
.js/.cjs/.mjsfile (via@graphql-tools/code-file-loader), and when loading modules passed to that loader's ownrequireoption. Node's dynamic
import()rejects raw absolute Windows paths (the drive letter is parsedas a URL scheme). Fixed by bumping
@graphql-tools/code-file-loaderto8.1.39, which containsthe upstream fix
(ardatan/graphql-tools#8421).
#10936
9521c0cThanks @eddeee888! - Fix watch mode's generated
ignoreglobpatterns using the platform path separator (
\on Windows), which@parcel/watchernevermatched, so generated output files were watched (and could re-trigger builds) instead of being
ignored. Ignore patterns are now always forward-slash, as
@parcel/watcherexpects.Also fixes the test suite's
TempDir.clean()helper on Windows, whererimraf.sync()rejectedits own glob-style cleanup pattern as containing illegal path characters; now passes
{ glob: true }. This is a test-only change (tests/utils.tsis not part of the publishedpackage) included here since it was needed to get the suite green on Windows alongside the
watch-mode fix.
v7.4.0Compare Source
Minor Changes
#10928
90229a5Thanks @eddeee888! - Add
contentComparison?: 'cache-first' | 'disk'to control disk-vs-cache write comparison in watchmode.
In watch mode the CLI caches the hash of the content it last wrote per file and compares new
output against that cached hash to skip redundant writes. This assumes generated output is a pure
function of the codegen inputs. An output whose content depends on the file's existing content
(e.g. a preset that reads the file and rewrites part of it) breaks that assumption: if the file is
changed on disk and codegen regenerates content identical to a previous run, the cached hash still
matches and the write is skipped, so the on-disk change is never corrected.
contentComparison: 'disk'opts an output into comparing the generated content against the fileon disk instead of the in-memory record of what codegen last wrote, so the file is rewritten when
it was changed externally. It can be set:
GenerateOptionsit returns frombuildGeneratesSection, orgenerates[output].contentComparison) for any output, including plainplugin outputs without a preset.
When both are present, the preset's value takes precedence. The default,
'cache-first', keepsthe existing in-memory-cache behaviour for outputs that are a pure function of their inputs.
Patch Changes
#10930
448431aThanks @eddeee888! - Fix
overwritebeing ignored forpreset-based
generatesoutputs.A
generatesentry that used a preset and setoverwrite(e.g.overwrite: { removeStaleFiles: false }) had that setting silently ignored, so in watch mode itsgenerated files could still be deleted as stale.
The CLI resolved
overwriteper generated file by looking the file's path up inconfig.generates. That fails for a preset: itsgeneratesentry is keyed by the preset'sbaseOutputDir, not by any generated file's path (and a preset can emit files outside thatdirectory), and the lookup additionally required a
pluginskey that preset entries don't have.Both cases fell through to the global
config.overwrite(defaulttrue).Updated dependencies
[
90229a5,448431a]:v7.3.1Compare Source
Patch Changes
#10924
0c8f5baThanks @eddeee888! - Fix profiler output not being written to the
filesystem in watch mode (
--profile --watch)The profiler trace was only written on the non-watch code path, after the watch-mode early return,
so a profiled watch session never produced a
codegen-*.jsonfile.The profiler now writes a fresh trace file after the initial run and after every rebuild, with
each file containing only that run's events. A failed rebuild does not produce a trace and its
events are discarded so they don't leak into the next successful run.
The
Profilernow owns its own trace lifecycle:clear()method starts a new traceoutputNameproperty provides the filename for the current trace (nullfor the noopprofiler)
CodegenContextUpdated dependencies
[
0c8f5ba]:v7.3.0Compare Source
Minor Changes
#10921
58cdb31Thanks @eddeee888! - Extend
overwritewithoverwrite.removeStaleFilesandoverwrite.updateExistingFilesoverwritewas being used to both remove stale files in watch mode and update existing files.Some plugins such as Server Preset may dynamically return files to write between watch runs (for
performance purposes).
The
overwritecan now take an object withoverwrite.removeStaleFilesandoverwrite.updateExistingFilesfields to allow granular control over actions.This is not a breaking change because
overwrite=true|falsestill works.Patch Changes
[
58cdb31]:v7.2.0Compare Source
Minor Changes
959915fThanks @eddeee888! - dependencies updates:
@graphql-tools/utils@^11.2.0↗︎(from
^11.0.0, independencies)graphql@^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0↗︎(from
^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0,in
peerDependencies)Patch Changes
[
959915f,959915f,959915f]:v7.1.3Compare Source
Patch Changes
#10335
3280aceThanks @Diluka! - Fix graphql-config loading order to correctly
detect codegen projects
Previously, a
graphql-configfile like this failed:This is because the
defaultproject doesn't have acodegenextension, which caused previouslogic to short circuit before reading
project1's config.The fix reads every named project first, before reading the
defaultproject to exhaustively gothrough every single project.
v7.1.2Compare Source
Patch Changes
a2e1093Thanks @eddeee888! - Fix CLI's
requireflag when resolvingmodule issue in ESM in native Windows
v7.1.1Compare Source
Patch Changes
3fa901bThanks @eddeee888! - Fix --version flag
v7.1.0Compare Source
Minor Changes
cfc4fc3Thanks @eddeee888! - Add
disableFederationDirectiveAndScalarInjection config to better support Federation v2
Patch Changes
[
cbf9544]:v7.0.1Compare Source
Patch Changes
#10848
f3ce427Thanks @eddeee888! - dependencies updates:
@graphql-codegen/client-preset@workspace:^↗︎(from
^6.0.0, independencies)#10849
55a4742Thanks @eddeee888! - dependencies updates:
@graphql-codegen/core@workspace:^↗︎(from
^6.0.0, independencies)@graphql-codegen/plugin-helpers@workspace:^↗︎(from
^7.0.0, independencies)Updated dependencies
[
f3ce427,55a4742,55a4742,f3ce427]:dotansimha/graphql-code-generator (@graphql-codegen/client-preset)
v6.2.3Compare 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.2.2Compare Source
Patch Changes
#11043
31761f9Thanks @eddeee888! - dependencies updates:
@graphql-tools/utils@^12.0.3↗︎(from
^11.2.0, independencies)#11043
31761f9Thanks @eddeee888! - Update
@graphql-tools/utilsto v12, andother
@graphql-tools/*dependencies andgraphql-configto releases that use it, to pick up thefix for GHSA-7mx3-vvmw-hjmv (prototype
pollution in
mergeDeep,@graphql-tools/utils<= 12.0.0).@graphql-codegen/clinow unwraps theAggregateErrorthat newer@graphql-tools/loadversionsthrow, so schema and document syntax errors still print the native
GraphQLErrorwith its filelocation.
Updated dependencies
[
31761f9,31761f9,31761f9,31761f9,463e6ef]:v6.2.1Patch Changes
#10995
e972b6dThanks @eddeee888! - Fix type errors under
strict: true. Thepreset now throws a clear error when
schemaAstis missing from the preset options, and the babelplugin throws when a file has no filename. Both cases used to crash later with a less clear error.
Generated output is unchanged.
Updated dependencies
[
43d0f65,82ebbb5,eae0e62,1f7566f,7a376ef,3caccd3,ccc0d5c]:v6.2.0Minor Changes
a6a3348Thanks @eddeee888! - Add
skipIndexFilepreset config option toclient-presetto allow disabling generation of theindex.tsbarrel file that re-exports theother generated files. Defaults to
false(unchanged behavior); set totrueto skip generatingindex.ts, for example when your project avoids barrel files for tree-shaking or lint rulereasons.
Patch Changes
b545f6bThanks @eddeee888! - Add
/* eslint-disable */to the generatedindex.tsbarrel file, matching the other files generated byclient-preset(graphql.ts,gql.ts,fragment-masking.ts), which already had it.v6.1.3Compare Source
Patch Changes
#10918
6a3b734Thanks @eddeee888! - Fix union and conditional directives
resulting in no field types
Updated dependencies
[
6a3b734]:v6.1.2Compare Source
Patch Changes
#10916
d95d378Thanks @eddeee888! - Revert Partial handling when conditional
fragment and fragment masking are used
This is causing all masked fields to be optional due to how function type override works.
Updated dependencies
[
d95d378]:v6.1.1Compare Source
Patch Changes
#10904
2dd1531Thanks @eddeee888! - Fix fragment masking generation when
conditional directive is used
Updated dependencies
[
2dd1531,5a9f96c]:v6.1.0Compare Source
Minor Changes
959915fThanks @eddeee888! - dependencies updates:
@graphql-tools/utils@^11.2.0↗︎(from
^11.0.0, independencies)graphql@^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0↗︎(from
^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0,in
peerDependencies)Patch Changes
[
959915f,959915f,959915f,959915f,959915f,959915f,959915f]:v6.0.1Compare Source
Patch Changes
#10848
f3ce427Thanks @eddeee888! - dependencies updates:
@graphql-codegen/gql-tag-operations@^6.0.0↗︎(from
6.0.0, independencies)#10849
[
55a4742](https://redirect.github.com/dotansimha/graphql-code-generator/commit/55a4Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, 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.