chore(deps): update graphqlcodegenerator monorepo (major) - #96
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/major-graphqlcodegenerator-monorepo
branch
from
August 6, 2021 16:52
be7c02a to
28a8751
Compare
renovate
Bot
force-pushed
the
renovate/major-graphqlcodegenerator-monorepo
branch
3 times, most recently
from
August 20, 2021 09:41
ba0f498 to
eb4dd8c
Compare
renovate
Bot
force-pushed
the
renovate/major-graphqlcodegenerator-monorepo
branch
3 times, most recently
from
August 25, 2021 20:02
34dad81 to
b8b0833
Compare
renovate
Bot
force-pushed
the
renovate/major-graphqlcodegenerator-monorepo
branch
4 times, most recently
from
September 7, 2021 12:15
3d2c608 to
867c571
Compare
renovate
Bot
force-pushed
the
renovate/major-graphqlcodegenerator-monorepo
branch
3 times, most recently
from
September 17, 2021 15:43
b1146b0 to
846e9d9
Compare
renovate
Bot
force-pushed
the
renovate/major-graphqlcodegenerator-monorepo
branch
2 times, most recently
from
September 29, 2021 15:41
27e30d9 to
2a41189
Compare
renovate
Bot
force-pushed
the
renovate/major-graphqlcodegenerator-monorepo
branch
2 times, most recently
from
October 3, 2021 13:41
0d2362d to
f361c53
Compare
renovate
Bot
force-pushed
the
renovate/major-graphqlcodegenerator-monorepo
branch
5 times, most recently
from
October 15, 2021 17:01
ed82939 to
366f66c
Compare
renovate
Bot
force-pushed
the
renovate/major-graphqlcodegenerator-monorepo
branch
from
October 22, 2021 17:20
366f66c to
f08b4e6
Compare
renovate
Bot
force-pushed
the
renovate/major-graphqlcodegenerator-monorepo
branch
5 times, most recently
from
November 5, 2021 17:25
2a3b06d to
959cc61
Compare
renovate
Bot
force-pushed
the
renovate/major-graphqlcodegenerator-monorepo
branch
4 times, most recently
from
February 17, 2022 09:17
810e9c2 to
dcafca0
Compare
renovate
Bot
force-pushed
the
renovate/major-graphqlcodegenerator-monorepo
branch
from
March 26, 2022 15:27
dcafca0 to
fbc9977
Compare
renovate
Bot
force-pushed
the
renovate/major-graphqlcodegenerator-monorepo
branch
from
May 15, 2022 20:11
fbc9977 to
66a52b5
Compare
renovate
Bot
force-pushed
the
renovate/major-graphqlcodegenerator-monorepo
branch
from
June 18, 2022 16:48
66a52b5 to
156ae63
Compare
renovate
Bot
force-pushed
the
renovate/major-graphqlcodegenerator-monorepo
branch
from
September 25, 2022 19:07
156ae63 to
01b0b72
Compare
renovate
Bot
force-pushed
the
renovate/major-graphqlcodegenerator-monorepo
branch
from
November 20, 2022 16:50
01b0b72 to
732d3fd
Compare
renovate
Bot
force-pushed
the
renovate/major-graphqlcodegenerator-monorepo
branch
3 times, most recently
from
November 30, 2022 13:09
382369e to
9ac47e5
Compare
renovate
Bot
force-pushed
the
renovate/major-graphqlcodegenerator-monorepo
branch
2 times, most recently
from
December 7, 2022 23:48
f5cc959 to
d8eba09
Compare
renovate
Bot
force-pushed
the
renovate/major-graphqlcodegenerator-monorepo
branch
from
December 27, 2022 21:25
d8eba09 to
81bab5e
Compare
renovate
Bot
force-pushed
the
renovate/major-graphqlcodegenerator-monorepo
branch
2 times, most recently
from
January 10, 2023 22:59
9759a43 to
055f51e
Compare
renovate
Bot
force-pushed
the
renovate/major-graphqlcodegenerator-monorepo
branch
from
January 14, 2023 07:50
055f51e to
22d5967
Compare
renovate
Bot
force-pushed
the
renovate/major-graphqlcodegenerator-monorepo
branch
from
March 16, 2023 23:57
22d5967 to
71ac11f
Compare
renovate
Bot
force-pushed
the
renovate/major-graphqlcodegenerator-monorepo
branch
from
April 17, 2023 12:25
71ac11f to
5491e56
Compare
renovate
Bot
force-pushed
the
renovate/major-graphqlcodegenerator-monorepo
branch
from
May 28, 2023 11:27
5491e56 to
a0036ad
Compare
renovate
Bot
force-pushed
the
renovate/major-graphqlcodegenerator-monorepo
branch
from
June 2, 2023 17:31
a0036ad to
9934119
Compare
|
Important Review skippedBot user detected. To trigger a single review, invoke the ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Advanced Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
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:
1.21.8→7.4.21.18.2→6.1.01.23.0→6.1.01.18.4→6.1.72.3.1→5.0.0Release Notes
dotansimha/graphql-code-generator (@graphql-codegen/cli)
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]:v7.0.0Compare Source
Major Changes
#10496
afaace6Thanks @eddeee888! - BREAKING CHANGE: Update deps to latest, some
only support ESM
Node 20 support is dropped in this release. Node 22 comes with
require()support for ESM, whichmeans it's easier to integrate ES modules into applications. Therefore, it is safe to start using
ESM-only packages.
If you are a user, please upgrade to Node 22. If you are a lib maintainer and see ESM vs CJS
issues when running Jest tests, try using Vitest.
#10496
afaace6Thanks @eddeee888! - BREAKING CHANGE: Drop Node 20 support
#10496
afaace6Thanks @eddeee888! - BREAKING CHANGE: Set
noSilentErrors: trueby default
When multiple files match documents pattern, and there are syntax errors in some but not others,
then the operations with errors are not included in the loaded documents list by default
(
noSilentErrors: false). This is annoying for users as there is no feedback loop duringdevelopment.
noSilentErrors: trueis used as the default for Codegen users to make the feedback loop faster.It can still overriden in Codegen Config if desired.
Patch Changes
#10496
afaace6Thanks @eddeee888! - dependencies updates:
@inquirer/prompts@^8.3.2↗︎ (from^7.8.2, independencies)chalk@^5.6.0↗︎ (from^4.1.0, independencies)debounce@^3.0.0↗︎ (from^2.0.0, independencies)detect-indent@^7.0.0↗︎ (from^6.0.0,in
dependencies)listr2@^10.2.1↗︎ (from^9.0.0, independencies)log-symbols@^7.0.0↗︎(from
^4.0.0, independencies)ts-log@^3.0.0↗︎ (from^2.2.3, independencies)yargs@^18.0.0↗︎ (from^17.0.0, independencies)#10496
afaace6Thanks @eddeee888! - dependencies updates:
chalk@^5.6.0↗︎ (from^4.1.0, independencies)debounce@^3.0.0↗︎ (from^2.0.0, independencies)detect-indent@^7.0.0↗︎ (from^6.0.0,in
dependencies)listr2@^10.2.1↗︎ (from^9.0.0, independencies)log-symbols@^7.0.0↗︎(from
^4.0.0, independencies)ts-log@^3.0.0↗︎ (from^2.2.3, independencies)yargs@^18.0.0↗︎ (from^17.0.0, independencies)#10496
afaace6Thanks @eddeee888! - dependencies updates:
@inquirer/prompts@^8.3.2↗︎ (from^7.8.2, independencies)#10496
afaace6Thanks @eddeee888! - Use ESM for CLI instead of CJS;
For backwards compatibility;
graphql-codegen-esmis reserved, and alsographql-codegen-cjsisadded for users who want to use CJS.
So the commands are;
graphql-codegen- ESM version, defaultgraphql-codegen-esm- ESM version, same as above, but reserved for backwards compatibilitygraphql-codegen-cjs- CJS version, for users who want to use CJS, but not recommended for newusers. Will be removed in the future.
gql-gen- ESM version, same asgraphql-codegengraphql-code-generator- ESM version, same asgraphql-codegenandgql-genUpdated dependencies
[
afaace6,afaace6,afaace6,afaace6,afaace6,afaace6,afaace6,afaace6,afaace6,afaace6,afaace6,afaace6,afaace6,afaace6,afaace6]:v6.3.1Compare Source
Patch Changes
be85118Thanks @eddeee888! - Fix issue where same SDL in different
documents are ignored when handling documents vs externalDocuments
v6.3.0Compare Source
Minor Changes
#10659
e65d303Thanks @ikusakov2! - Add support for
externalDocumentsexternalDocumentsdeclares GraphQL documents that will be read but will not have type filesgenerated for them. These documents are available to plugins for type resolution (e.g. fragment
types), but no output files will be generated based on them. Accepts the same formats as
documents.This config option is useful for monorepos where each project may want to generate types for its
own documents, but some may need to read shared fragments from across projects.
Patch Changes
[
9a66574,9a66574,9a66574,e65d303]:v6.2.1Compare Source
Patch Changes
e804925Thanks @PalmerTurley34! - Honor per-output preset
importExtensionandemitLegacyCommonJSImportsconfig instead of always using the root configvalues.
v6.2.0Compare Source
Minor Changes
8c4db2aThanks @ikusakov2! - Allow GraphQLSchema to be passed directly to
generate({schema: ...}) function
Patch Changes
[
8c4db2a]:v6.1.3Compare Source
Patch Changes
cdf5dc5Thanks @ardatan! - dependencies updates:
@graphql-tools/apollo-engine-loader@^8.0.28↗︎(from
^8.0.0, independencies)@graphql-tools/code-file-loader@^8.1.28↗︎(from
^8.0.0, independencies)@graphql-tools/git-loader@^8.0.32↗︎(from
^8.0.0, independencies)@graphql-tools/github-loader@^9.0.6↗︎(from
^9.0.0, independencies)@graphql-tools/graphql-file-loader@^8.1.11↗︎(from
^8.0.0, independencies)@graphql-tools/json-file-loader@^8.0.26↗︎(from
^8.0.0, independencies)@graphql-tools/load@^8.1.8↗︎(from
^8.1.0, independencies)@graphql-tools/url-loader@^9.0.6↗︎(from
^9.0.0, independencies)@graphql-tools/utils@^11.0.0↗︎(from
^10.0.0, independencies)graphql-config@^5.1.6↗︎ (from^5.1.1, independencies)[
cdf5dc5,cdf5dc5,cdf5dc5]:v6.1.2Compare Source
Patch Changes
e173e11Thanks @ya2s! - Fix GraphQL Config loading to forward nested
extensions.codegen.configoptions when loading schemas/documents, matchingcodegen.tsbehavior.
v6.1.1Compare Source
Patch Changes
#10569
8cb7d43Thanks @etr2460! - fix(graphql-codegen-cli): Don't hang when 0 CPUs
are found
Fixes generation when 0 CPUs are returned by os.cpus(), which occurs in sandbox environments.
v6.1.0Compare Source
Minor Changes
9e70bcbThanks @nickmessing! - add importExtension configuration option
Patch Changes
[
9e70bcb]:v6.0.2Compare Source
Patch Changes
aad7f03Thanks @renovate! - dependencies updates:
@graphql-tools/github-loader@^9.0.0↗︎(from
^8.0.0, independencies)@graphql-tools/url-loader@^9.0.0↗︎(from
^8.0.0, independencies)v6.0.1Compare Source
Patch Changes
#10468
cb1b9d9Thanks @eddeee888! - In watch mode, do not write output on failure
Previously, on partial or full failure, watch mode still write to output. However, since the
output'd be an empty array, it will then call
removeStaleFilesinternally to remove allpreviously generated files.
This patch puts a temporary fix to avoid writing output on any failure to fix the described
behaviour.
This also means the
config.allowPartialOutputsdoes not work in watch mode for now.v6.0.0Compare Source
Major Changes
#10218
140298aThanks @eddeee888! - Drop @graphql-tools/prisma-loader
#10218
140298aThanks @eddeee888! - Add
allowPartialOutputsflag to partiallywrite successful generation to files
#10218
140298aThanks @eddeee888! - Migrate inquirer to @inquirer/prompts
#10218
140298aThanks @eddeee888! - Bump dependencies major versions:
#10218
140298aThanks @eddeee888! - Bump listr2 to v9
#10218
140298aThanks @eddeee888! - Drop Node 18 support
Patch Changes
[
140298a,140298a,140298a,140298a,140298a,140298a,140298a,140298a,140298a,140298a,140298a]:v5.0.7Compare Source
Patch Changes
#10150
e324382Thanks @ArminWiebigke! - Allow functions to be passed as valid
values for
UrlSchemaOptions.customFetch. This was already possible, but the type definitions didnot reflect that correctly.
#10358
157c823Thanks @eddeee888! - Remove extraneous error stacktrace if fails
to load
@parcel/watcherUpdated dependencies
[
e324382,98392fc]:v5.0.6Compare Source
Patch Changes
#10338
5d1c4e1Thanks @eddeee888! - Fix ignoreNoDocuments=true swallowing all
errors
#10333
10ab58dThanks @eddeee888! - Improve syntax error messages whilst loading
schema/document
Updated dependencies
[
c5efba3]:v5.0.5Compare Source
Patch Changes
7d7760dThanks @oprypkhantc! - Fix watcher watching project root when
schema URL is used
v5.0.4Compare Source
Patch Changes
#10248
72eb86fThanks @renovate! - dependencies updates:
@whatwg-node/fetch@^0.10.0↗︎(from
^0.9.20, independencies)#10227
6f1741aThanks @eddeee888! - Fix schema pointers type to allow an array of
pointers
Updated dependencies
[
8737dd8,ed71811]:v5.0.3Compare Source
Patch Changes
#10069
8bb34e7Thanks @renovate! - dependencies updates:
@whatwg-node/fetch@^0.9.20↗︎(from
^0.8.0, independencies)graphql-config@^5.1.1↗︎ (from^5.0.2, independencies)e0092b5Thanks @ardatan! - Bump whatwg-node and graphql-config
Updated dependencies
[
8471a18,67e7556]:v5.0.2Compare Source
Patch Changes
#9813
4e69568Thanks @saihaj! - bumping for a release
Updated dependencies
[
4e69568]:v5.0.1Compare Source
Patch Changes
#9811
d8364e045Thanks @saihaj! - dependencies updates:
@graphql-codegen/client-preset@^4.1.0↗︎(to
dependencies)#9811
d8364e045Thanks @saihaj! - ignore events in
.gitdirectory#9811
[`d8364e04
Configuration
📅 Schedule: (in timezone Asia/Tokyo)
🚦 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.