chore(deps): update graphql-codegen (major) #60
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:
2.13.1
->5.0.3
1.6.0
->2.1.0
Release Notes
dotansimha/graphql-code-generator (@graphql-codegen/cli)
v5.0.3
Compare Source
Patch Changes
#10069
8bb34e7
Thanks @renovate! - dependencies updates:@whatwg-node/fetch@^0.9.20
↗︎ (from^0.8.0
, independencies
)graphql-config@^5.1.1
↗︎ (from^5.0.2
, independencies
)e0092b5
Thanks @ardatan! - Bump whatwg-node and graphql-configUpdated dependencies [
8471a18
,67e7556
]:v5.0.2
Compare Source
Patch Changes
#9813
4e69568
Thanks @saihaj! - bumping for a releaseUpdated dependencies [
4e69568
]:v5.0.1
Compare Source
Patch Changes
#9811
d8364e045
Thanks @saihaj! - dependencies updates:@graphql-codegen/client-preset@^4.1.0
↗︎ (todependencies
)#9811
d8364e045
Thanks @saihaj! - ignore events in.git
directory#9811
d8364e045
Thanks @saihaj! - Surface error occurring during import of @parcel/watcher#9811
d8364e045
Thanks @saihaj! - Include @graphql-codegen/client-preset in @graphql-codegen/cli by default#9811
d8364e045
Thanks @saihaj! - fix watcher unable to find highest common directory on WindowsUpdated dependencies [
d8364e045
,d8364e045
,d8364e045
,d8364e045
]:v5.0.0
Compare Source
Major Changes
dd9c7e148
Thanks @valkum! - Make @parcel/watcher optionalPatch Changes
#9513
fdd19d24d
Thanks @cichelero! - Update yaml dependency to 2.3.1Updated dependencies [
bb1e0e96e
]:v4.0.1
Compare Source
Patch Changes
#9479
0aa444b5d
Thanks @gilgardosh! - dependencies updates:graphql-config@^5.0.2
↗︎ (from^5.0.1
, independencies
)#9479
0aa444b5d
Thanks @gilgardosh! - Update graphql-config to v^5.0.2v4.0.0
Compare Source
Major Changes
bb66c2a31
Thanks @n1ru4l! - Require Node.js>= 16
. Drop support for Node.js 14Patch Changes
#9449
4d9ea1a5a
Thanks @n1ru4l! - dependencies updates:graphql-config@^5.0.0
↗︎ (from^4.5.0
, independencies
)#9449
4d9ea1a5a
Thanks @n1ru4l! - dependencies updates:@graphql-tools/apollo-engine-loader@^8.0.0
↗︎ (from^7.3.6
, independencies
)@graphql-tools/code-file-loader@^8.0.0
↗︎ (from^7.3.17
, independencies
)@graphql-tools/git-loader@^8.0.0
↗︎ (from^7.2.13
, independencies
)@graphql-tools/github-loader@^8.0.0
↗︎ (from^7.3.28
, independencies
)@graphql-tools/graphql-file-loader@^8.0.0
↗︎ (from^7.5.0
, independencies
)@graphql-tools/json-file-loader@^8.0.0
↗︎ (from^7.4.1
, independencies
)@graphql-tools/load@^8.0.0
↗︎ (from^7.8.0
, independencies
)@graphql-tools/prisma-loader@^8.0.0
↗︎ (from^7.2.69
, independencies
)@graphql-tools/url-loader@^8.0.0
↗︎ (from^7.17.17
, independencies
)@graphql-tools/utils@^10.0.0
↗︎ (from^9.0.0
, independencies
)cosmiconfig@^8.1.3
↗︎ (from^7.0.0
, independencies
)graphql-config@^5.0.1
↗︎ (from^4.5.0
, independencies
)#9371
d431f426e
Thanks @Axxxx0n! - Fixed option ignoreNoDocuments when using graphql configs#9275
2a5da5894
Thanks @milesrichardson! - Trigger rebuilds in watch mode while respecting rules of precedence and negation, both in terms of global (top-level) config vs. local (per-output target) config, and in terms of watch patterns (higher priority) vs. documents/schemas (lower priority). This fixes an issue with overly-aggressive rebuilds during watch mode.Updated dependencies [
4d9ea1a5a
,4d9ea1a5a
,f46803a8c
,63827fabe
,bb66c2a31
]:v3.3.1
Compare Source
Patch Changes
#9267
183749346
Thanks @milesrichardson! - Fix watch mode to listen to longest common directory prefix of relevant files, rather than only files below the current working directory (fixes #9266).#9280
ca1d72c40
Thanks @saihaj! - fix the default output directory for init commandv3.3.0
Compare Source
Minor Changes
#9151
b7dacb21f
Thanks @'./user/schema.mappers#UserMapper',! - AddwatchPattern
config option forgenerates
sections.By default,
watch
mode automatically watches all GraphQL schema and document files. This means when a change is detected, Codegen CLI is run.A user may want to run Codegen CLI when non-schema and non-document files are changed. Each
generates
section now has awatchPattern
option to allow more file patterns to be added to the list of patterns to watch.In the example below, mappers are exported from
schema.mappers.ts
files. We want to re-run Codegen if the content of*.mappers.ts
files change because they change the generated types file. To solve this, we can add mapper file patterns to watch using the glob pattern used for schema and document files.Then, run Codegen CLI in
watch
mode:Now, updating
*.mappers.ts
files re-runs Codegen! 🎉Note:
watchPattern
is only used inwatch
mode i.e. running CLI with--watch
flag.Patch Changes
b7dacb21f
,f104619ac
]:v3.2.2
Compare Source
Patch Changes
#9086
a34cef35b
Thanks @beerose! - dependencies updates:graphql-config@^4.5.0
↗︎ (from^4.4.0
, independencies
)jiti@^1.17.1
↗︎ (todependencies
)cosmiconfig-typescript-loader@^4.3.0
↗︎ (fromdependencies
)ts-node@^10.9.1
↗︎ (fromdependencies
)#9086
a34cef35b
Thanks @beerose! - Supportcodegen.ts
in ESM projectsv3.2.1
Compare Source
Patch Changes
#9051
f7313f7ca
Thanks @saihaj! - dependencies updates:micromatch@^4.0.5
↗︎ (todependencies
)#9051
f7313f7ca
Thanks @saihaj! - only run generate for files that users have listed in config to avoid running this over every change that codegen is not supposed to executev3.2.0
Compare Source
Minor Changes
288ed0977
Thanks @saihaj! - use @parcel/watcher for improved watch functionalityPatch Changes
288ed0977
Thanks @saihaj! - dependencies updates:@parcel/watcher@^2.1.0
↗︎ (todependencies
)chokidar@^3.5.2
↗︎ (fromdependencies
)v3.1.0
Compare Source
Minor Changes
#8893
a118c307a
Thanks @n1ru4l! - It is no longer mandatory to declare an empty plugins array when using a preset#8723
a3309e63e
Thanks @kazekyo! - Introduce a new feature called DocumentTransform.DocumentTransform is a functionality that allows you to modify
documents
before they are processed by plugins. You can use functions passed to thedocumentTransforms
option to make changes to GraphQL documents.To use this feature, you can write
documentTransforms
as follows:For instance, to remove a
@localOnlyDirective
directive fromdocuments
, you can write the following code:DocumentTransform can also be specified by file name. You can create a custom file for a specific transformation and pass it to
documentTransforms
.Let's create the document transform as a file:
Then, you can specify the file name as follows:
Patch Changes
4c422ccf6
Thanks @renovate! - dependencies updates:@whatwg-node/fetch@^0.8.0
↗︎ (from^0.6.0
, independencies
)8206b268d
,8206b268d
,a118c307a
,a3309e63e
]:v3.0.0
Compare Source
Major Changes
fd0b0c813
Thanks @n1ru4l! - drop Node.js 12 supportPatch Changes
#8883
321d5112e
Thanks @Solo-steven! - Fix PluckConfig overwrite problem.Updated dependencies [
fc79b65d4
,fd0b0c813
]:v2.16.5
Compare Source
Patch Changes
#8865
e4d073b16
Thanks @n1ru4l! - dependencies updates:@graphql-codegen/core@^2.6.8
↗︎ (from2.6.8
, independencies
)@graphql-tools/load@^7.8.0
↗︎ (from7.8.0
, independencies
)cosmiconfig-typescript-loader@^4.3.0
↗︎ (from4.3.0
, independencies
)graphql-config@^4.4.0
↗︎ (from4.4.0
, independencies
)ts-node@^10.9.1
↗︎ (todependencies
)ts-node@>=10
↗︎ (frompeerDependencies
)#8808
884d25c4e
Thanks @rwu823! - fix:gqlMagicComment
type#8865
e4d073b16
Thanks @n1ru4l! - move ts-node from peer dependencies to dependenciesv2.16.4
Compare Source
Patch Changes
#8770
4774247e9
Thanks @renovate! - dependencies updates:[email protected]
↗︎ (from4.3.6
, independencies
)#8790
fe12b4826
Thanks @renovate! - dependencies updates:@whatwg-node/fetch@^0.6.0
↗︎ (from^0.5.0
, independencies
)v2.16.3
Compare Source
Patch Changes
ad5d83313
Thanks @louisscruz! - add ts-node as a peerDependencyv2.16.2
Compare Source
Patch Changes
#8715
b1512a59a
Thanks @renovate! - dependencies updates:[email protected]
↗︎ (from4.1.1
, independencies
)#8729
e6ff224fb
Thanks @renovate! - dependencies updates:[email protected]
↗︎ (from4.2.0
, independencies
)#8771
ed87c782b
Thanks @renovate! - dependencies updates:@graphql-tools/utils@^9.0.0
↗︎ (from^8.9.0
, independencies
)#8765
a9c5414d2
Thanks @aniketdd! - update @graphql-tools/prisma-loaderUpdated dependencies [
ed87c782b
,6c6b6f2df
]:v2.16.1
Compare Source
Patch Changes
307a5d350
,46f75304a
]:v2.16.0
Compare Source
Minor Changes
c0183810f
Thanks @jantimon! - the life cycle hook beforeOneFileWrite is now able to modify the generated contentPatch Changes
c0183810f
]:v2.15.0
Compare Source
Minor Changes
2c7fa51c6
Thanks @Diizzayy! - register TypeScriptLoader when neededv2.14.1
Compare Source
Patch Changes
#8642
5afa923e8
Thanks @jantimon! - faster type generation#8653
d0bc51283
Thanks @saihaj! - fix bad concurrency configv2.14.0
Compare Source
Minor Changes
40a6761a6
Thanks @charlypoly! - Enable support for loading TS files with import assertionsPatch Changes
40a6761a6
Thanks @charlypoly! - dependencies updates:@graphql-tools/code-file-loader@^7.3.13
↗︎ (from^7.3.1
, independencies
)@graphql-tools/git-loader@^7.2.13
↗︎ (from^7.2.1
, independencies
)@graphql-tools/github-loader@^7.3.20
↗︎ (from^7.3.6
, independencies
)v2.13.12
Compare Source
Patch Changes
45eb2b18a
,45eb2b18a
]:v2.13.11
Compare Source
Patch Changes
64e553c3f
Thanks @charlypoly! - dependencies updates:@graphql-codegen/[email protected]
↗︎ (from2.6.3
, independencies
)64e553c3f
]:v2.13.10
Compare Source
Patch Changes
516170ef6
,516170ef6
]:v2.13.9
Compare Source
Patch Changes
#8525
63dc8f205
Thanks @charlypoly! - removeDetailledError
, not supported by Listr rendererUpdated dependencies [
63dc8f205
]:v2.13.8
Compare Source
Patch Changes
#8535
88aa38ff9
Thanks @charlypoly! - dependencies updates:@graphql-tools/[email protected]
↗︎ (from^7.7.1
, independencies
)#8535
88aa38ff9
Thanks @charlypoly! - Upgrade@graphql-tools/load
to get benefits of debug modev2.13.7
Compare Source
Patch Changes
8473682c4
Thanks @charlypoly! - ensure to generatecodegen.ts
in a typescript setupv2.13.6
Compare Source
Patch Changes
c4d9566c7
Thanks @vhenzl! - FixexecuteHooks
to quote args for shell commandv2.13.5
Compare Source
Patch Changes
#8452
cb1f93618
Thanks @charlypoly! - dependencies updates:[email protected]
↗︎ (from^4.3.5
, independencies
)#8452
cb1f93618
Thanks @charlypoly! - conflict withgraphql-config
also using TypeScriptLoader(), causing a doublets-node
register.v2.13.4
Compare Source
Patch Changes
#8441
6785f7f0d
Thanks @charlypoly! - dependencies updates:[email protected]
↗︎ (todependencies
)[email protected]
↗︎ (fromdependencies
)#8441
6785f7f0d
Thanks @charlypoly! - fix(cli): revert tocosmiconfig-typescript-loader
v2.13.3
Compare Source
Patch Changes
#8415
15d500776
Thanks @charlypoly! - dependencies updates:[email protected]
↗︎ (todependencies
)[email protected]
↗︎ (fromdependencies
)#8415
15d500776
Thanks @charlypoly! - feat(cli): drop peerDep on "typescript" by usingcosmiconfig-typescript-swc-loader
v2.13.2
Compare Source
Patch Changes
5524ac447
Thanks @charlypoly! - Fix issue withgraphql-codegen init
installation wizarddotansimha/graphql-code-generator (@graphql-codegen/gql-tag-operations-preset)
v2.1.0
Compare Source
v2.0.0
Compare Source
v1.7.4
Compare Source
v1.7.3
Compare Source
v1.7.2
Compare Source
v1.7.1
Compare Source
v1.7.0
Compare Source
core/cli
require.cache
that caused loading from schema to remain the same without updating.typescript
scalars:
config like you can for enumValues (#2418, thanks @ForbesLindesay)typescript-operations
__typename
with immutableTypes (#2459)typescript-react-apollo
flow-operations
__typename
with immutableTypes (#2459)flow
scalars:
config like you can for enumValues (#2418, thanks @ForbesLindesay)near-operation-files
typescript-type-graphql
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 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.