-
Notifications
You must be signed in to change notification settings - Fork 994
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(deps): update graphqlcodegenerator monorepo #10856
Merged
Merged
Conversation
This file contains 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
Josh-Walker-GM
added
release:chore
This PR is a chore (means nothing for users)
changesets-ok
Override the changesets check
labels
Jun 18, 2024
renovate
bot
force-pushed
the
renovate/graphqlcodegenerator-monorepo
branch
3 times, most recently
from
June 22, 2024 17:41
f0b73ee
to
4379735
Compare
renovate
bot
force-pushed
the
renovate/graphqlcodegenerator-monorepo
branch
from
June 24, 2024 18:57
4379735
to
d9b9a41
Compare
Josh-Walker-GM
pushed a commit
that referenced
this pull request
Jun 25, 2024
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@graphql-codegen/client-preset](https://togithub.com/dotansimha/graphql-code-generator) ([source](https://togithub.com/dotansimha/graphql-code-generator/tree/HEAD/packages/presets/client)) | [`4.2.5` -> `4.3.0`](https://renovatebot.com/diffs/npm/@graphql-codegen%2fclient-preset/4.2.5/4.3.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@graphql-codegen%2fclient-preset/4.3.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@graphql-codegen%2fclient-preset/4.3.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@graphql-codegen%2fclient-preset/4.2.5/4.3.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@graphql-codegen%2fclient-preset/4.2.5/4.3.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [@graphql-codegen/typed-document-node](https://togithub.com/dotansimha/graphql-code-generator) ([source](https://togithub.com/dotansimha/graphql-code-generator/tree/HEAD/packages/plugins/typescript/typed-document-node)) | [`5.0.6` -> `5.0.7`](https://renovatebot.com/diffs/npm/@graphql-codegen%2ftyped-document-node/5.0.6/5.0.7) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@graphql-codegen%2ftyped-document-node/5.0.7?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@graphql-codegen%2ftyped-document-node/5.0.7?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@graphql-codegen%2ftyped-document-node/5.0.6/5.0.7?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@graphql-codegen%2ftyped-document-node/5.0.6/5.0.7?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>dotansimha/graphql-code-generator (@​graphql-codegen/client-preset)</summary> ### [`v4.3.0`](https://togithub.com/dotansimha/graphql-code-generator/blob/HEAD/packages/presets/client/CHANGELOG.md#430) [Compare Source](https://togithub.com/dotansimha/graphql-code-generator/compare/@graphql-codegen/client-preset@4.2.6...@graphql-codegen/client-preset@4.3.0) ##### Minor Changes - [#​10001](https://togithub.com/dotansimha/graphql-code-generator/pull/10001) [`1be6e65`](https://togithub.com/dotansimha/graphql-code-generator/commit/1be6e65943b85162f3d465189d0a6df4b962df5d) Thanks [@​n1ru4l](https://togithub.com/n1ru4l)! - Support discriminating `null` and `undefined` within the `useFragment` function. ```ts function MyComponent(props: FragmentType<typeof MyFragment> | null) { const data = useFragment(MyFragment, props); // data is `MyFragment | null` } function MyComponent(props: FragmentType<typeof MyFragment> | undefined) { const data = useFragment(MyFragment, props); // data is `MyFragment | undefined` } ``` Before, the returned type from `useFragment` was always `TType | null | undefined`. - [#​9804](https://togithub.com/dotansimha/graphql-code-generator/pull/9804) [`5e594ef`](https://togithub.com/dotansimha/graphql-code-generator/commit/5e594ef8f39b9e1036b6bcaa977f914a66fec03e) Thanks [@​rachel-church](https://togithub.com/rachel-church)! - Preserving `Array<T>` or `ReadonlyArray<T>` in `useFragment()` return type. ##### Patch Changes - [#​9996](https://togithub.com/dotansimha/graphql-code-generator/pull/9996) [`99f449c`](https://togithub.com/dotansimha/graphql-code-generator/commit/99f449c8dcd645d49eda26e4ddfcb8ad7056ecbf) Thanks [@​nahn20](https://togithub.com/nahn20)! - Added configuration to allow for custom hash functions for persisted documents in the client preset ##### Example ```ts filename="codegen.ts" {10-12} import { type CodegenConfig } from '@​graphql-codegen/cli'; const config: CodegenConfig = { schema: 'schema.graphql', documents: ['src/**/*.tsx'], generates: { './src/gql/': { preset: 'client', presetConfig: { persistedDocuments: { hashAlgorithm: operation => { const shasum = crypto.createHash('sha512'); shasum.update(operation); return shasum.digest('hex'); }, }, }, }, }, }; ``` - Updated dependencies \[[`5501c62`](https://togithub.com/dotansimha/graphql-code-generator/commit/5501c621f19eb5ef8e703a21f7367e07e41f199c)]: - [@​graphql-codegen/add](https://togithub.com/graphql-codegen/add)[@​5](https://togithub.com/5).0.3 ### [`v4.2.6`](https://togithub.com/dotansimha/graphql-code-generator/blob/HEAD/packages/presets/client/CHANGELOG.md#426) [Compare Source](https://togithub.com/dotansimha/graphql-code-generator/compare/@graphql-codegen/client-preset@4.2.5...@graphql-codegen/client-preset@4.2.6) ##### Patch Changes - Updated dependencies \[[`dfc5310`](https://togithub.com/dotansimha/graphql-code-generator/commit/dfc5310ab476bed6deaefc608f311ff368722f7e), [`156cc2b`](https://togithub.com/dotansimha/graphql-code-generator/commit/156cc2b9a2a5129beba121cfa987b04e29899431), [`dfc5310`](https://togithub.com/dotansimha/graphql-code-generator/commit/dfc5310ab476bed6deaefc608f311ff368722f7e), [`b49457b`](https://togithub.com/dotansimha/graphql-code-generator/commit/b49457b5f29328d2dc23c642788a2e697cb8966e)]: - [@​graphql-codegen/plugin-helpers](https://togithub.com/graphql-codegen/plugin-helpers)[@​5](https://togithub.com/5).0.4 - [@​graphql-codegen/visitor-plugin-common](https://togithub.com/graphql-codegen/visitor-plugin-common)[@​5](https://togithub.com/5).2.0 - [@​graphql-codegen/gql-tag-operations](https://togithub.com/graphql-codegen/gql-tag-operations)[@​4](https://togithub.com/4).0.7 - [@​graphql-codegen/typescript-operations](https://togithub.com/graphql-codegen/typescript-operations)[@​4](https://togithub.com/4).2.1 - [@​graphql-codegen/typed-document-node](https://togithub.com/graphql-codegen/typed-document-node)[@​5](https://togithub.com/5).0.7 - [@​graphql-codegen/typescript](https://togithub.com/graphql-codegen/typescript)[@​4](https://togithub.com/4).0.7 </details> <details> <summary>dotansimha/graphql-code-generator (@​graphql-codegen/typed-document-node)</summary> ### [`v5.0.7`](https://togithub.com/dotansimha/graphql-code-generator/blob/HEAD/packages/plugins/typescript/typed-document-node/CHANGELOG.md#507) [Compare Source](https://togithub.com/dotansimha/graphql-code-generator/compare/@graphql-codegen/typed-document-node@5.0.6...@graphql-codegen/typed-document-node@5.0.7) ##### Patch Changes - Updated dependencies \[[`dfc5310`](https://togithub.com/dotansimha/graphql-code-generator/commit/dfc5310ab476bed6deaefc608f311ff368722f7e), [`156cc2b`](https://togithub.com/dotansimha/graphql-code-generator/commit/156cc2b9a2a5129beba121cfa987b04e29899431), [`dfc5310`](https://togithub.com/dotansimha/graphql-code-generator/commit/dfc5310ab476bed6deaefc608f311ff368722f7e), [`b49457b`](https://togithub.com/dotansimha/graphql-code-generator/commit/b49457b5f29328d2dc23c642788a2e697cb8966e)]: - [@​graphql-codegen/plugin-helpers](https://togithub.com/graphql-codegen/plugin-helpers)[@​5](https://togithub.com/5).0.4 - [@​graphql-codegen/visitor-plugin-common](https://togithub.com/graphql-codegen/visitor-plugin-common)[@​5](https://togithub.com/5).2.0 </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://togithub.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/redwoodjs/redwood). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MTAuMSIsInVwZGF0ZWRJblZlciI6IjM3LjQxMy4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
dac09
added a commit
to dac09/redwood
that referenced
this pull request
Jun 26, 2024
…e/p2-web-esm * 'chore/p2-web-esm' of github.com:dac09/redwood: fix(deps): update graphqlcodegenerator monorepo (redwoodjs#10856)
Josh-Walker-GM
added
release:dependency
This PR only updates dependencies
and removed
release:chore
This PR is a chore (means nothing for users)
labels
Jul 31, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
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:
4.2.5
->4.3.0
5.0.6
->5.0.7
Release Notes
dotansimha/graphql-code-generator (@graphql-codegen/client-preset)
v4.3.0
Compare Source
Minor Changes
#10001
1be6e65
Thanks @n1ru4l! - Support discriminatingnull
andundefined
within theuseFragment
function.Before, the returned type from
useFragment
was alwaysTType | null | undefined
.#9804
5e594ef
Thanks @rachel-church! - PreservingArray<T>
orReadonlyArray<T>
inuseFragment()
return type.Patch Changes
99f449c
Thanks @nahn20! - Added configuration to allow for custom hash functions for persisted documents in the client presetExample
5501c62
]:v4.2.6
Compare Source
Patch Changes
dfc5310
,156cc2b
,dfc5310
,b49457b
]:dotansimha/graphql-code-generator (@graphql-codegen/typed-document-node)
v5.0.7
Compare Source
Patch Changes
dfc5310
,156cc2b
,dfc5310
,b49457b
]:Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ 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 has been generated by Mend Renovate. View repository job log here.