vtex / shoreline

Design System for the VTEX Admin, previously called Admin UI
https://shoreline.vtex.com
15 stars 0 forks source link

chore(deps): update dependency react-hook-form to v7.52.1 #1688

Open renovate[bot] opened 1 week ago

renovate[bot] commented 1 week ago

Mend Renovate

This PR contains the following updates:

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

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.

vercel[bot] commented 1 week ago

The latest updates on your projects. Learn more about Vercel for Git ā†—ļøŽ

1 Skipped Deployment | Name | Status | Preview | Updated (UTC) | | :--- | :----- | :------ | :------ | | **shoreline-docs** | ā¬œļø Ignored ([Inspect](https://vercel.com/vtex/shoreline-docs/B8dDA75Jv5ohmaS51Rwhw6ybyPEM)) | [Visit Preview](https://shoreline-docs-git-renovate-react-hook-form-7x-vtex.vercel.app) | Jul 4, 2024 4:59pm |