wayofdev / next-starter-tpl

πŸ€– This is a microservices-ready template for building Next.js applications, used by Wayofdev. It comes bundled with Turbo and is managed as a monorepo using PNPM
https://next-starter-tpl-docs.wayof.dev
MIT License
63 stars 8 forks source link

fix(deps): update dependency react-hook-form to v7.50.0 #644

Closed renovate[bot] closed 10 months ago

renovate[bot] commented 10 months ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
react-hook-form (source) 7.46.1 -> 7.50.0 age adoption passing confidence

Release Notes

react-hook-form/react-hook-form (react-hook-form) ### [`v7.50.0`](https://togithub.com/react-hook-form/react-hook-form/releases/tag/v7.50.0): Versions 7.50.0 [Compare Source](https://togithub.com/react-hook-form/react-hook-form/compare/v7.49.3...v7.50.0) πŸ”§ fix data param in handleSubmit when TTransformedValues is a union type ([#​11420](https://togithub.com/react-hook-form/react-hook-form/issues/11420)) πŸ‘· build(Engines): remove pnpm dependency ([#​11425](https://togithub.com/react-hook-form/react-hook-form/issues/11425)) 🐞 fixes [#​11386](https://togithub.com/react-hook-form/react-hook-form/issues/11386) get new dirtyFields when reset keeping defaults and dirty values ([#​11401](https://togithub.com/react-hook-form/react-hook-form/issues/11401)) 🏷️ improve CustomElement type ([#​11309](https://togithub.com/react-hook-form/react-hook-form/issues/11309)) πŸ’« feat(useForm): leave formState flags in a consistent state when throwing in handleSubmit onValid ([#​11214](https://togithub.com/react-hook-form/react-hook-form/issues/11214)) ⌨️ fix: change DeepPartial to account for object union types & unknown ([#​11385](https://togithub.com/react-hook-form/react-hook-form/issues/11385)) ✨ feat(values): priorities values over defaultvalues ([#​11399](https://togithub.com/react-hook-form/react-hook-form/issues/11399)) 🐞 close [#​11246](https://togithub.com/react-hook-form/react-hook-form/issues/11246) skip root validation on action when mode and revalidate mode is onSubmit ([#​11395](https://togithub.com/react-hook-form/react-hook-form/issues/11395)) πŸ’© fix [#​11322](https://togithub.com/react-hook-form/react-hook-form/issues/11322) trigger extra re-render with useWatch plus shouldUnregister ([#​11394](https://togithub.com/react-hook-form/react-hook-form/issues/11394)) ⌨️ fix [#​10734](https://togithub.com/react-hook-form/react-hook-form/issues/10734) watch and useWatch without parameters return type ([#​11359](https://togithub.com/react-hook-form/react-hook-form/issues/11359)) πŸ§‘β€βœˆοΈ fix [#​11281](https://togithub.com/react-hook-form/react-hook-form/issues/11281) issue with upgrade node version ([#​11392](https://togithub.com/react-hook-form/react-hook-form/issues/11392)) 🐞 fix [#​11368](https://togithub.com/react-hook-form/react-hook-form/issues/11368) keep form state mounted when keeping values ([#​11384](https://togithub.com/react-hook-form/react-hook-form/issues/11384)) 🐞 fix [#​11374](https://togithub.com/react-hook-form/react-hook-form/issues/11374): Nested deep partial with unknown ([#​11373](https://togithub.com/react-hook-form/react-hook-form/issues/11373)) thanks to [@​Moshyfawn](https://togithub.com/Moshyfawn), [@​jonahallibone](https://togithub.com/jonahallibone), [@​eladattias1996](https://togithub.com/eladattias1996), [@​RulerOfCakes](https://togithub.com/RulerOfCakes), [@​anonkey](https://togithub.com/anonkey), [@​Ar4ys](https://togithub.com/Ar4ys), [@​IanVS](https://togithub.com/IanVS) and [@​r-kataoka11](https://togithub.com/r-kataoka11) ### [`v7.49.3`](https://togithub.com/react-hook-form/react-hook-form/releases/tag/v7.49.3): Version 7.49.3 [Compare Source](https://togithub.com/react-hook-form/react-hook-form/compare/v7.49.2...v7.49.3) πŸ› fix(formState, disabled): infer controlled disabled form state ([#​11361](https://togithub.com/react-hook-form/react-hook-form/issues/11361)) πŸ› fix(reset): remove global reset option flag ([#​11355](https://togithub.com/react-hook-form/react-hook-form/issues/11355)) πŸ› fix(useController): check if disabled state was set by user ([#​11353](https://togithub.com/react-hook-form/react-hook-form/issues/11353)) πŸ–¨οΈ fix: Change DeepPartial type definition to be compatible with unknown ([#​11333](https://togithub.com/react-hook-form/react-hook-form/issues/11333)) 🐞 fix [#​11328](https://togithub.com/react-hook-form/react-hook-form/issues/11328) resetField with object as defaultValue ([#​11329](https://togithub.com/react-hook-form/react-hook-form/issues/11329)) thanks to [@​Moshyfawn](https://togithub.com/Moshyfawn), [@​geeee](https://togithub.com/geeee) and [@​RulerOfCakes](https://togithub.com/RulerOfCakes) ### [`v7.49.2`](https://togithub.com/react-hook-form/react-hook-form/releases/tag/v7.49.2): Version 7.49.2 [Compare Source](https://togithub.com/react-hook-form/react-hook-form/compare/v7.49.1...v7.49.2) 🐞 fix [#​11292](https://togithub.com/react-hook-form/react-hook-form/issues/11292) issue with controller validation prop ([#​11294](https://togithub.com/react-hook-form/react-hook-form/issues/11294)) ### [`v7.49.1`](https://togithub.com/react-hook-form/react-hook-form/releases/tag/v7.49.1): Version 7.49.1 [Compare Source](https://togithub.com/react-hook-form/react-hook-form/compare/v7.49.0...v7.49.1) 🐞 fix [#​11276](https://togithub.com/react-hook-form/react-hook-form/issues/11276) issue with disabled omit on Controller ([#​11277](https://togithub.com/react-hook-form/react-hook-form/issues/11277)) 🐞 fix [#​11287](https://togithub.com/react-hook-form/react-hook-form/issues/11287) disabled prop cause const dirtyFields update ([#​11291](https://togithub.com/react-hook-form/react-hook-form/issues/11291)) ### [`v7.49.0`](https://togithub.com/react-hook-form/react-hook-form/blob/HEAD/CHANGELOG.md#7490---2023-12-10) [Compare Source](https://togithub.com/react-hook-form/react-hook-form/compare/v7.48.2...v7.49.0) ##### Added - add reactive `errors` prop at `useForm` ```tsx useForm({ errors, // Server errors }); ``` ### [`v7.48.2`](https://togithub.com/react-hook-form/react-hook-form/releases/tag/v7.48.2): Version 7.48.2 [Compare Source](https://togithub.com/react-hook-form/react-hook-form/compare/v7.48.1...v7.48.2) 🐞 [#​11106](https://togithub.com/react-hook-form/react-hook-form/issues/11106) fix disabled prop not update dirty formState ([#​11143](https://togithub.com/react-hook-form/react-hook-form/issues/11143)) 🐞 fix controller update with `disabled` prop from `useForm` ([#​11142](https://togithub.com/react-hook-form/react-hook-form/issues/11142)) ### [`v7.48.1`](https://togithub.com/react-hook-form/react-hook-form/releases/tag/v7.48.1): Version 7.48.1 [Compare Source](https://togithub.com/react-hook-form/react-hook-form/compare/v7.48.0...v7.48.1) 🐞 fix controller update with disabled prop from useForm ### [`v7.48.0`](https://togithub.com/react-hook-form/react-hook-form/blob/HEAD/CHANGELOG.md#7480---2023-11-05) [Compare Source](https://togithub.com/react-hook-form/react-hook-form/compare/v7.47.0...v7.48.0) ##### Added - added new `disabled` prop for `useForm` to disable the entire form const App = () => { const [disabled, setDisabled] = useState(false); const { handleSubmit } = useForm({ disabled }); return (
{ setDisabled(true); await sleep(100); setDisabled(false); })} / > ); } ### [`v7.47.0`](https://togithub.com/react-hook-form/react-hook-form/blob/HEAD/CHANGELOG.md#7470---2023-10-02) [Compare Source](https://togithub.com/react-hook-form/react-hook-form/compare/v7.46.2...v7.47.0) ### [`v7.46.2`](https://togithub.com/react-hook-form/react-hook-form/releases/tag/v7.46.2): Version 7.46.2 [Compare Source](https://togithub.com/react-hook-form/react-hook-form/compare/v7.46.1...v7.46.2) 🐞 fix implicit type coercion ([#​10949](https://togithub.com/react-hook-form/react-hook-form/issues/10949)) πŸ™„ close [#​10932](https://togithub.com/react-hook-form/react-hook-form/issues/10932) omit disabled prop when not defined ([#​10937](https://togithub.com/react-hook-form/react-hook-form/issues/10937)) πŸ”§ fix controller test is dirty ([#​10899](https://togithub.com/react-hook-form/react-hook-form/issues/10899)) thanks to [@​samimakicc](https://togithub.com/samimakicc) & [@​pierluigigiancola](https://togithub.com/pierluigigiancola)

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.

πŸ”• Ignore: Close this PR and you won't be reminded about this update again.



This PR has been generated by Mend Renovate. View repository job log here.

vercel[bot] commented 10 months ago

The latest updates on your projects. Learn more about Vercel for Git β†—οΈŽ

Name Status Preview Comments Updated (UTC)
next-starter-tpl-docs βœ… Ready (Inspect) Visit Preview πŸ’¬ Add feedback Feb 2, 2024 9:36pm
next-starter-tpl-storybook βœ… Ready (Inspect) Visit Preview πŸ’¬ Add feedback Feb 2, 2024 9:36pm
next-starter-tpl-web βœ… Ready (Inspect) Visit Preview πŸ’¬ Add feedback Feb 2, 2024 9:36pm
changeset-bot[bot] commented 10 months ago

⚠️ No Changeset found

Latest commit: aac38b52c6056c4ae54b8e827edc957bff1adb58

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

codecov[bot] commented 10 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (779ed1d) 7.75% compared to head (aac38b5) 7.75%. Report is 220 commits behind head on master.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #644 +/- ## ====================================== Coverage 7.75% 7.75% ====================================== Files 32 32 Lines 245 245 Branches 36 37 +1 ====================================== Hits 19 19 Misses 226 226 ``` | [Flag](https://app.codecov.io/gh/wayofdev/next-starter-tpl/pull/644/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=wayofdev) | Coverage Ξ” | | |---|---|---| | [web](https://app.codecov.io/gh/wayofdev/next-starter-tpl/pull/644/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=wayofdev) | `7.75% <ΓΈ> (ΓΈ)` | | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=wayofdev#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.