Repository navigation
chore(deps): update graphqlcodegenerator monorepo (major) - #496
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
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This branch was successfully 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:
^7→^8.0.0^7.4.1→^8.0.0^6.2.0→^7.0.0Release Notes
dotansimha/graphql-code-generator (@graphql-codegen/cli)
v8.0.0Compare Source
Major Changes
#11075
fa49a37Thanks @eddeee888! - BREAKING CHANGE: GraphQL 14 and 15 are no
longer supported. The
graphqlpeer dependency is now^16.0.0 || ^17.0.0, so upgradegraphqlto version 16 or 17 before updating to this version.
#11075
fa49a37Thanks @eddeee888! - BREAKING CHANGE: Node.js versions below
22.18.0 are no longer supported. Upgrade to Node.js 22.18.0 or later before updating to this
version.
#11075
fa49a37Thanks @eddeee888! -
generate()now returnsPromise<FileOutput[] | void>instead ofPromise<FileOutput[] | any>. The result is no longerany, so consumers using the result as an array must narrow it first.Refs #11071
#11075
fa49a37Thanks @eddeee888! - BREAKING CHANGE: Remove the deprecated
emitLegacyCommonJSImportsconfig option and the--emit-legacy-common-js-importsCLI flagUse
importExtension(or--import-extension) to set the extension appended to relative imports.When
importExtensionis not set, no extension is appended.@graphql-codegen/plugin-helpersno longer exportsnormalizeImportExtension. UseimportExtension ?? ''instead.Migration:
const config: CodegenConfig = { - emitLegacyCommonJSImports: false, + importExtension: '.js', };#11075
fa49a37Thanks @eddeee888! - BREAKING CHANGE:
@graphql-tools/*dependencies are updated to their latest majors, which require Node.js 22.18.0 or later and
GraphQL 16 or 17. If you import
@graphql-tools/*packages in your own code, update them to thesame majors to avoid duplicate installs.
@graphql-tools/code-file-loader@9now extracts#graphql-marked template literals by default, so code files that contain such templates canproduce newly found documents; check your generated output after upgrading. To keep the previous
behavior, set
pluckConfig: { gqlHashComment: '' }.#11075
fa49a37Thanks @eddeee888! - BREAKING CHANGE -
config.generatesnolonger takes
ConfiguredPlugin[], takesConfiguredOutput[]insteadconfig.generates's previous typing allowed a value to be an array e.g.However, this never worked because this config is eventually passed into
normalizeOutputParamwhich previously had this bug in the implementation:
Now, an array is still accepted, but as
ConfiguredOutput[]instead. For this major versionrelease, only the first array element is used, and
@graphql-codegen/clilogs a warning whenthere is more than one element.
normalizeOutputParamnow returnsConfiguredOutput[]instead of a singleConfiguredOutput.@graphql-codegen/clialso throws its "Invalid Codegen Configuration" error when ageneratesarray is empty or its first element is not a config object. This error is now a single generic
message, no longer naming the output file, and it shows a TypeScript
CodegenConfigexample withthe
ConfiguredOutputshape instead of the old YAML plugin-list example.Patch Changes
#11075
fa49a37Thanks @eddeee888! - dependencies updates:
@graphql-tools/apollo-engine-loader@^9.0.2↗︎(from
^8.0.38, independencies)@graphql-tools/code-file-loader@^9.0.3↗︎(from
^8.1.41, independencies)@graphql-tools/git-loader@^9.0.3↗︎(from
^8.0.44, independencies)@graphql-tools/github-loader@^10.0.3↗︎(from
^9.1.11, independencies)@graphql-tools/graphql-file-loader@^9.0.2↗︎(from
^8.1.22, independencies)@graphql-tools/json-file-loader@^9.0.2↗︎(from
^8.0.36, independencies)@graphql-tools/load@^9.0.2↗︎(from
^8.1.19, independencies)@graphql-tools/merge@^10.0.2↗︎(from
^9.2.6, independencies)@graphql-tools/url-loader@^10.0.2↗︎(from
^9.1.12, independencies)@graphql-tools/utils@^13.0.2↗︎(from
^12.0.3, independencies)graphql-config@^6.0.0↗︎ (from^5.1.8, independencies)graphql@^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 || ^17.0.0,in
peerDependencies)#11075
fa49a37Thanks @eddeee888! - dependencies updates:
@graphql-tools/apollo-engine-loader@^9.0.2↗︎(from
^8.0.38, independencies)@graphql-tools/code-file-loader@^9.0.3↗︎(from
^8.1.41, independencies)@graphql-tools/git-loader@^9.0.3↗︎(from
^8.0.44, independencies)@graphql-tools/github-loader@^10.0.3↗︎(from
^9.1.11, independencies)@graphql-tools/graphql-file-loader@^9.0.2↗︎(from
^8.1.22, independencies)@graphql-tools/json-file-loader@^9.0.2↗︎(from
^8.0.36, independencies)@graphql-tools/load@^9.0.2↗︎(from
^8.1.19, independencies)@graphql-tools/merge@^10.0.2↗︎(from
^9.2.6, independencies)@graphql-tools/url-loader@^10.0.2↗︎(from
^9.1.12, independencies)@graphql-tools/utils@^13.0.2↗︎(from
^12.0.3, independencies)graphql-config@^6.0.0↗︎ (from^5.1.8, independencies)graphql@^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 || ^17.0.0,in
peerDependencies)#11075
fa49a37Thanks @eddeee888! - dependencies updates:
graphql-config@^6.0.0↗︎ (from^5.1.8, independencies)Updated dependencies
[
fa49a37,fa49a37,fa49a37,fa49a37,fa49a37,fa49a37,fa49a37,fa49a37,fa49a37,fa49a37,fa49a37,409ffbf,fa49a37,fa49a37,7366c63,fa49a37,fa49a37]:dotansimha/graphql-code-generator (@graphql-codegen/client-preset)
v7.0.0Compare Source
Major Changes
#11075
fa49a37Thanks @eddeee888! - BREAKING CHANGE: GraphQL 14 and 15 are no
longer supported. The
graphqlpeer dependency is now^16.0.0 || ^17.0.0, so upgradegraphqlto version 16 or 17 before updating to this version.
#11075
fa49a37Thanks @eddeee888! - BREAKING CHANGE: Node.js versions below
22.18.0 are no longer supported. Upgrade to Node.js 22.18.0 or later before updating to this
version.
#11075
fa49a37Thanks @eddeee888! - BREAKING CHANGE: Remove the deprecated
emitLegacyCommonJSImportsconfig option and the--emit-legacy-common-js-importsCLI flagUse
importExtension(or--import-extension) to set the extension appended to relative imports.When
importExtensionis not set, no extension is appended.@graphql-codegen/plugin-helpersno longer exportsnormalizeImportExtension. UseimportExtension ?? ''instead.Migration:
const config: CodegenConfig = { - emitLegacyCommonJSImports: false, + importExtension: '.js', };#11075
fa49a37Thanks @eddeee888! - BREAKING CHANGE:
@graphql-tools/*dependencies are updated to their latest majors, which require Node.js 22.18.0 or later and
GraphQL 16 or 17. If you import
@graphql-tools/*packages in your own code, update them to thesame majors to avoid duplicate installs.
@graphql-tools/code-file-loader@9now extracts#graphql-marked template literals by default, so code files that contain such templates canproduce newly found documents; check your generated output after upgrading. To keep the previous
behavior, set
pluckConfig: { gqlHashComment: '' }.Minor Changes
#11103
409ffbfThanks @jerelmiller! - Add support for graphql v17 fragment
arguments (
experimentalFragmentArguments).To use fragment arguments, set the parser option in the root
config:Patch Changes
#11075
fa49a37Thanks @eddeee888! - dependencies updates:
@graphql-tools/documents@^2.0.0↗︎(from
^1.0.0, independencies)@graphql-tools/utils@^13.0.2↗︎(from
^12.0.3, independencies)graphql@^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 || ^17.0.0,in
peerDependencies)#11075
fa49a37Thanks @eddeee888! - dependencies updates:
@graphql-tools/documents@^2.0.0↗︎(from
^1.0.0, independencies)@graphql-tools/utils@^13.0.2↗︎(from
^12.0.3, independencies)graphql@^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 || ^17.0.0,in
peerDependencies)#11106
7366c63Thanks @mohsinaliwork686-rgb! - Import
DocumentTypeDecorationwhendocumentModeisstringand there are no documentsUpdated dependencies
[
fa49a37,fa49a37,fa49a37,fa49a37,fa49a37,fa49a37,fa49a37,fa49a37,fa49a37,fa49a37,fa49a37,fa49a37,fa49a37,fa49a37,fa49a37,fa49a37,fa49a37,fa49a37,fa49a37,409ffbf,fa49a37,fa49a37,fa49a37,7366c63,fa49a37,fa49a37]:Configuration
📅 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.