Open renovate[bot] opened 1 week ago
This PR contains the following updates:
7.48.2
7.52.1
š 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.
š 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.
The latest updates on your projects. Learn more about Vercel for Git āļø
This PR contains the following updates:
7.48.2
->7.52.1
Release Notes
react-hook-form/react-hook-form (react-hook-form)
### [`v7.52.1`](https://togithub.com/react-hook-form/react-hook-form/releases/tag/v7.52.1): v7.51.1 [Compare Source](https://togithub.com/react-hook-form/react-hook-form/compare/v7.52.0...v7.52.1) š fix [#12024](https://togithub.com/react-hook-form/react-hook-form/issues/12024) dirty not update issue with values prop ([#12041](https://togithub.com/react-hook-form/react-hook-form/issues/12041)) š fix: field array validate rules shift errors ([#12033](https://togithub.com/react-hook-form/react-hook-form/issues/12033)) thanks to [@JardelCheung](https://togithub.com/JardelCheung) ### [`v7.52.0`](https://togithub.com/react-hook-form/react-hook-form/releases/tag/v7.52.0) [Compare Source](https://togithub.com/react-hook-form/react-hook-form/compare/v7.51.5...v7.52.0) āļø close [#11932](https://togithub.com/react-hook-form/react-hook-form/issues/11932) enable react 19 peer dependency ([#11935](https://togithub.com/react-hook-form/react-hook-form/issues/11935)) š®āāļø close [#11954](https://togithub.com/react-hook-form/react-hook-form/issues/11954) getFieldState remove unnessaried inValidating and touched subscription ([#11995](https://togithub.com/react-hook-form/react-hook-form/issues/11995)) š fix [#11985](https://togithub.com/react-hook-form/react-hook-form/issues/11985) logic createFormControl check field before usage ([#11986](https://togithub.com/react-hook-form/react-hook-form/issues/11986)) āØļø fix: enforce type safety for deps property in RegisterOptions ([#11969](https://togithub.com/react-hook-form/react-hook-form/issues/11969)) š fix [#11922](https://togithub.com/react-hook-form/react-hook-form/issues/11922) keep dirty on reset with dirty fields ([#11958](https://togithub.com/react-hook-form/react-hook-form/issues/11958)) š close [#11937](https://togithub.com/react-hook-form/react-hook-form/issues/11937) add validation in the cleanup process in useController ([#11938](https://togithub.com/react-hook-form/react-hook-form/issues/11938)) Revert "āØļø close: correct type of error field in getFieldState return object ([#11831](https://togithub.com/react-hook-form/react-hook-form/issues/11831))" š fix: change info.values type in WatchObserver ([#11917](https://togithub.com/react-hook-form/react-hook-form/issues/11917)) thanks to [@nakaakist](https://togithub.com/nakaakist), [@IdoBouskila](https://togithub.com/IdoBouskila), [@pincy](https://togithub.com/pincy) and [@peinguin](https://togithub.com/peinguin) ### [`v7.51.5`](https://togithub.com/react-hook-form/react-hook-form/releases/tag/v7.51.5) [Compare Source](https://togithub.com/react-hook-form/react-hook-form/compare/v7.51.4...v7.51.5) š fix broken link to examples in README.md ([#11805](https://togithub.com/react-hook-form/react-hook-form/issues/11805)) āØļø close: correct type of error field in getFieldState return object ([#11831](https://togithub.com/react-hook-form/react-hook-form/issues/11831)) š fix [#11842](https://togithub.com/react-hook-form/react-hook-form/issues/11842) radio buttons not disabled when multiple share a name ([#11873](https://togithub.com/react-hook-form/react-hook-form/issues/11873)) š fix [#11821](https://togithub.com/react-hook-form/react-hook-form/issues/11821) set value with disabled false before mount ([#11880](https://togithub.com/react-hook-form/react-hook-form/issues/11880)) š fix setError to preserve existing errors elsewhere in the object ([#11888](https://togithub.com/react-hook-form/react-hook-form/issues/11888)) āØļø fix: add info.value type to WatchObserver ([#11872](https://togithub.com/react-hook-form/react-hook-form/issues/11872)) š«” fix issue with internal `set` api ([#11915](https://togithub.com/react-hook-form/react-hook-form/issues/11915)) thanks to [@mjr2595](https://togithub.com/mjr2595) [@erashu212](https://togithub.com/erashu212) [@SimonJTurner](https://togithub.com/SimonJTurner) and [@peinguin](https://togithub.com/peinguin) ### [`v7.51.4`](https://togithub.com/react-hook-form/react-hook-form/releases/tag/v7.51.4): Version 7.51.4 [Compare Source](https://togithub.com/react-hook-form/react-hook-form/compare/v7.51.3...v7.51.4) š¹ close [#11778](https://togithub.com/react-hook-form/react-hook-form/issues/11778) improve unregister omit key with getValues method ([#11779](https://togithub.com/react-hook-form/react-hook-form/issues/11779)) š fix [#11794](https://togithub.com/react-hook-form/react-hook-form/issues/11794) issue: Fields dirty state is not updated when passing values to useForm ### [`v7.51.3`](https://togithub.com/react-hook-form/react-hook-form/compare/v7.51.2...c1520742a4736be7a55edc8799d8060d1150c53b) [Compare Source](https://togithub.com/react-hook-form/react-hook-form/compare/v7.51.2...v7.51.3) ### [`v7.51.2`](https://togithub.com/react-hook-form/react-hook-form/releases/tag/v7.51.2): Version 7.51.2 [Compare Source](https://togithub.com/react-hook-form/react-hook-form/compare/v7.51.1...v7.51.2) š fix [#11719](https://togithub.com/react-hook-form/react-hook-form/issues/11719) validation stuck on true state ([#11723](https://togithub.com/react-hook-form/react-hook-form/issues/11723)) ### [`v7.51.1`](https://togithub.com/react-hook-form/react-hook-form/compare/v7.51.0...00ce24a0a3fc25c98606f673d79ae90c6d3de81a) [Compare Source](https://togithub.com/react-hook-form/react-hook-form/compare/v7.51.0...v7.51.1) ### [`v7.51.0`](https://togithub.com/react-hook-form/react-hook-form/blob/HEAD/CHANGELOG.md#7510---2024-3-2) [Compare Source](https://togithub.com/react-hook-form/react-hook-form/compare/v7.50.1...v7.51.0) ##### Added - added 'validateFields' to formState ```tsx const { formState: { validateFields } } = useForm(); ``` ### [`v7.50.1`](https://togithub.com/react-hook-form/react-hook-form/releases/tag/v7.50.1): Version v7.50.1 [Compare Source](https://togithub.com/react-hook-form/react-hook-form/compare/v7.50.0...v7.50.1) š„² Regression: Revert "āØļø 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))" ### [`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 }); ```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.
š 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.