hirokisakabe / tascal-old

Simple todo list app
https://tascal.vercel.app
MIT License
0 stars 0 forks source link

Update dependency react-hook-form to v7.53.2 #137

Open renovate[bot] opened 1 year ago

renovate[bot] commented 1 year ago

This PR contains the following updates:

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

Release Notes

react-hook-form/react-hook-form (react-hook-form) ### [`v7.53.2`](https://redirect.github.com/react-hook-form/react-hook-form/releases/tag/v7.53.2): Version 7.53.2 [Compare Source](https://redirect.github.com/react-hook-form/react-hook-form/compare/v7.53.1...v7.53.2) ๐Ÿž fix [#​12398](https://redirect.github.com/react-hook-form/react-hook-form/issues/12398) staled disabled issue with resubmit form ([#​12403](https://redirect.github.com/react-hook-form/react-hook-form/issues/12403)) ๐Ÿž fix: add type guard to fieldRef.select ([#​12390](https://redirect.github.com/react-hook-form/react-hook-form/issues/12390)) Revert "๐Ÿบ watch reference update on formState update ([#​12326](https://redirect.github.com/react-hook-form/react-hook-form/issues/12326))" ([#​12391](https://redirect.github.com/react-hook-form/react-hook-form/issues/12391)) thanks to [@​developer-bandi](https://redirect.github.com/developer-bandi) ### [`v7.53.1`](https://redirect.github.com/react-hook-form/react-hook-form/releases/tag/v7.53.1): Version 7.53.1 [Compare Source](https://redirect.github.com/react-hook-form/react-hook-form/compare/v7.53.0...v7.53.1) ๐Ÿ”ง chore: upgrade eslint to v9 ([#​12150](https://redirect.github.com/react-hook-form/react-hook-form/issues/12150)) ๐Ÿž fix: [#​12294](https://redirect.github.com/react-hook-form/react-hook-form/issues/12294) ensure Invalid Date is evaluated correctly ([#​12295](https://redirect.github.com/react-hook-form/react-hook-form/issues/12295)) ๐Ÿž fix [#​12316](https://redirect.github.com/react-hook-form/react-hook-form/issues/12316) setValue should work for arrays of primitives to handle checkboxes ([#​12316](https://redirect.github.com/react-hook-form/react-hook-form/issues/12316)) ([#​12317](https://redirect.github.com/react-hook-form/react-hook-form/issues/12317)) ๐Ÿž fix [#​12097](https://redirect.github.com/react-hook-form/react-hook-form/issues/12097) Use dirty fields along with mount names for form reset with keepDirtyValues ([#​12211](https://redirect.github.com/react-hook-form/react-hook-form/issues/12211)) ๐Ÿซ€ fix [#​12237](https://redirect.github.com/react-hook-form/react-hook-form/issues/12237) disabled state trigger formState dirty/dirtyFields to update ([#​12239](https://redirect.github.com/react-hook-form/react-hook-form/issues/12239)) ๐Ÿ“ improve flatten function with object type check ([#​12306](https://redirect.github.com/react-hook-form/react-hook-form/issues/12306)) ๐Ÿž fix [#​12291](https://redirect.github.com/react-hook-form/react-hook-form/issues/12291) field array remove cause undefined with FormData ([#​12305](https://redirect.github.com/react-hook-form/react-hook-form/issues/12305)) ๐Ÿ–๏ธ improve: resolve type of set function ([#​12145](https://redirect.github.com/react-hook-form/react-hook-form/issues/12145)) ๐Ÿ“– fix: code example input field placeholder name ([#​12296](https://redirect.github.com/react-hook-form/react-hook-form/issues/12296)) ๐Ÿ“– docs: fix typo in code example ([#​12271](https://redirect.github.com/react-hook-form/react-hook-form/issues/12271)) thanks to [@​rasikhq](https://redirect.github.com/rasikhq) [@​abnud11](https://redirect.github.com/abnud11) [@​crypt0box](https://redirect.github.com/crypt0box) [@​developer-bandi](https://redirect.github.com/developer-bandi) [@​matmannion](https://redirect.github.com/matmannion) [@​hasancruk](https://redirect.github.com/hasancruk) & [@​vismay7](https://redirect.github.com/vismay7) ### [`v7.53.0`](https://redirect.github.com/react-hook-form/react-hook-form/compare/v7.52.2...35e2d7744c250b2844717b753bc48a81c9ac4e56) [Compare Source](https://redirect.github.com/react-hook-form/react-hook-form/compare/v7.52.2...v7.53.0) ### [`v7.52.2`](https://redirect.github.com/react-hook-form/react-hook-form/releases/tag/v7.52.2) [Compare Source](https://redirect.github.com/react-hook-form/react-hook-form/compare/v7.52.1...v7.52.2) ๐Ÿ‘ close [#​12108](https://redirect.github.com/react-hook-form/react-hook-form/issues/12108) useController should subscribe to exact field name of form's state ([#​12109](https://redirect.github.com/react-hook-form/react-hook-form/issues/12109)) ๐Ÿ‘ chore: upgrade app deps ๐Ÿฉป fix: add useCallback for ref callback ([#​12078](https://redirect.github.com/react-hook-form/react-hook-form/issues/12078)) ๐Ÿš€ fix: skip call executeBuiltInValidation if no sub-fields left ([#​12054](https://redirect.github.com/react-hook-form/react-hook-form/issues/12054)) thanks to [@​newsiberian](https://redirect.github.com/newsiberian), [@​Wendystraite](https://redirect.github.com/Wendystraite) and [@​abnud11](https://redirect.github.com/abnud11) ### [`v7.52.1`](https://redirect.github.com/react-hook-form/react-hook-form/releases/tag/v7.52.1): v7.51.1 [Compare Source](https://redirect.github.com/react-hook-form/react-hook-form/compare/v7.52.0...v7.52.1) ๐Ÿž fix [#​12024](https://redirect.github.com/react-hook-form/react-hook-form/issues/12024) dirty not update issue with values prop ([#​12041](https://redirect.github.com/react-hook-form/react-hook-form/issues/12041)) ๐Ÿž fix: field array validate rules shift errors ([#​12033](https://redirect.github.com/react-hook-form/react-hook-form/issues/12033)) thanks to [@​JardelCheung](https://redirect.github.com/JardelCheung) ### [`v7.52.0`](https://redirect.github.com/react-hook-form/react-hook-form/releases/tag/v7.52.0) [Compare Source](https://redirect.github.com/react-hook-form/react-hook-form/compare/v7.51.5...v7.52.0) โš›๏ธ close [#​11932](https://redirect.github.com/react-hook-form/react-hook-form/issues/11932) enable react 19 peer dependency ([#​11935](https://redirect.github.com/react-hook-form/react-hook-form/issues/11935)) ๐Ÿ‘ฎโ€โ™€๏ธ close [#​11954](https://redirect.github.com/react-hook-form/react-hook-form/issues/11954) getFieldState remove unnessaried inValidating and touched subscription ([#​11995](https://redirect.github.com/react-hook-form/react-hook-form/issues/11995)) ๐Ÿž fix [#​11985](https://redirect.github.com/react-hook-form/react-hook-form/issues/11985) logic createFormControl check field before usage ([#​11986](https://redirect.github.com/react-hook-form/react-hook-form/issues/11986)) โŒจ๏ธ fix: enforce type safety for deps property in RegisterOptions ([#​11969](https://redirect.github.com/react-hook-form/react-hook-form/issues/11969)) ๐Ÿž fix [#​11922](https://redirect.github.com/react-hook-form/react-hook-form/issues/11922) keep dirty on reset with dirty fields ([#​11958](https://redirect.github.com/react-hook-form/react-hook-form/issues/11958)) ๐Ÿš” close [#​11937](https://redirect.github.com/react-hook-form/react-hook-form/issues/11937) add validation in the cleanup process in useController ([#​11938](https://redirect.github.com/react-hook-form/react-hook-form/issues/11938)) Revert "โŒจ๏ธ close: correct type of error field in getFieldState return object ([#​11831](https://redirect.github.com/react-hook-form/react-hook-form/issues/11831))" ๐Ÿ“– fix: change info.values type in WatchObserver ([#​11917](https://redirect.github.com/react-hook-form/react-hook-form/issues/11917)) thanks to [@​nakaakist](https://redirect.github.com/nakaakist), [@​IdoBouskila](https://redirect.github.com/IdoBouskila), [@​pincy](https://redirect.github.com/pincy) and [@​peinguin](https://redirect.github.com/peinguin) ### [`v7.51.5`](https://redirect.github.com/react-hook-form/react-hook-form/releases/tag/v7.51.5) [Compare Source](https://redirect.github.com/react-hook-form/react-hook-form/compare/v7.51.4...v7.51.5) ๐Ÿ“– fix broken link to examples in README.md ([#​11805](https://redirect.github.com/react-hook-form/react-hook-form/issues/11805)) โŒจ๏ธ close: correct type of error field in getFieldState return object ([#​11831](https://redirect.github.com/react-hook-form/react-hook-form/issues/11831)) ๐Ÿž fix [#​11842](https://redirect.github.com/react-hook-form/react-hook-form/issues/11842) radio buttons not disabled when multiple share a name ([#​11873](https://redirect.github.com/react-hook-form/react-hook-form/issues/11873)) ๐Ÿž fix [#​11821](https://redirect.github.com/react-hook-form/react-hook-form/issues/11821) set value with disabled false before mount ([#​11880](https://redirect.github.com/react-hook-form/react-hook-form/issues/11880)) ๐Ÿž fix setError to preserve existing errors elsewhere in the object ([#​11888](https://redirect.github.com/react-hook-form/react-hook-form/issues/11888)) โŒจ๏ธ fix: add info.value type to WatchObserver ([#​11872](https://redirect.github.com/react-hook-form/react-hook-form/issues/11872)) ๐Ÿซก fix issue with internal `set` api ([#​11915](https://redirect.github.com/react-hook-form/react-hook-form/issues/11915)) thanks to [@​mjr2595](https://redirect.github.com/mjr2595) [@​erashu212](https://redirect.github.com/erashu212) [@​SimonJTurner](https://redirect.github.com/SimonJTurner) and [@​peinguin](https://redirect.github.com/peinguin) ### [`v7.51.4`](https://redirect.github.com/react-hook-form/react-hook-form/releases/tag/v7.51.4): Version 7.51.4 [Compare Source](https://redirect.github.com/react-hook-form/react-hook-form/compare/v7.51.3...v7.51.4) ๐Ÿ‘น close [#​11778](https://redirect.github.com/react-hook-form/react-hook-form/issues/11778) improve unregister omit key with getValues method ([#​11779](https://redirect.github.com/react-hook-form/react-hook-form/issues/11779)) ๐Ÿž fix [#​11794](https://redirect.github.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://redirect.github.com/react-hook-form/react-hook-form/compare/v7.51.2...c1520742a4736be7a55edc8799d8060d1150c53b) [Compare Source](https://redirect.github.com/react-hook-form/react-hook-form/compare/v7.51.2...v7.51.3) ### [`v7.51.2`](https://redirect.github.com/react-hook-form/react-hook-form/releases/tag/v7.51.2): Version 7.51.2 [Compare Source](https://redirect.github.com/react-hook-form/react-hook-form/compare/v7.51.1...v7.51.2) ๐Ÿž fix [#​11719](https://redirect.github.com/react-hook-form/react-hook-form/issues/11719) validation stuck on true state ([#​11723](https://redirect.github.com/react-hook-form/react-hook-form/issues/11723)) ### [`v7.51.1`](https://redirect.github.com/react-hook-form/react-hook-form/compare/v7.51.0...00ce24a0a3fc25c98606f673d79ae90c6d3de81a) [Compare Source](https://redirect.github.com/react-hook-form/react-hook-form/compare/v7.51.0...v7.51.1) ### [`v7.51.0`](https://redirect.github.com/react-hook-form/react-hook-form/blob/HEAD/CHANGELOG.md#7510---2024-3-2) [Compare Source](https://redirect.github.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://redirect.github.com/react-hook-form/react-hook-form/releases/tag/v7.50.1): Version v7.50.1 [Compare Source](https://redirect.github.com/react-hook-form/react-hook-form/compare/v7.50.0...v7.50.1) ๐Ÿฅฒ Regression: Revert "โŒจ๏ธ fix [#​10734](https://redirect.github.com/react-hook-form/react-hook-form/issues/10734) watch and useWatch without parameters return type ([#​11359](https://redirect.github.com/react-hook-form/react-hook-form/issues/11359))" ### [`v7.50.0`](https://redirect.github.com/react-hook-form/react-hook-form/releases/tag/v7.50.0): Versions 7.50.0 [Compare Source](https://redirect.github.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://redirect.github.com/react-hook-form/react-hook-form/issues/11420)) ๐Ÿ‘ท build(Engines): remove pnpm dependency ([#​11425](https://redirect.github.com/react-hook-form/react-hook-form/issues/11425)) ๐Ÿž fixes [#​11386](https://redirect.github.com/react-hook-form/react-hook-form/issues/11386) get new dirtyFields when reset keeping defaults and dirty values ([#​11401](https://redirect.github.com/react-hook-form/react-hook-form/issues/11401)) ๐Ÿท๏ธ improve CustomElement type ([#​11309](https://redirect.github.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://redirect.github.com/react-hook-form/react-hook-form/issues/11214)) โŒจ๏ธ fix: change DeepPartial to account for object union types & unknown ([#​11385](https://redirect.github.com/react-hook-form/react-hook-form/issues/11385)) โœจ feat(values): priorities values over defaultvalues ([#​11399](https://redirect.github.com/react-hook-form/react-hook-form/issues/11399)) ๐Ÿž close [#​11246](https://redirect.github.com/react-hook-form/react-hook-form/issues/11246) skip root validation on action when mode and revalidate mode is onSubmit ([#​11395](https://redirect.github.com/react-hook-form/react-hook-form/issues/11395)) ๐Ÿ’ฉ fix [#​11322](https://redirect.github.com/react-hook-form/react-hook-form/issues/11322) trigger extra re-render with useWatch plus shouldUnregister ([#​11394](https://redirect.github.com/react-hook-form/react-hook-form/issues/11394)) โŒจ๏ธ fix [#​10734](https://redirect.github.com/react-hook-form/react-hook-form/issues/10734) watch and useWatch without parameters return type ([#​11359](https://redirect.github.com/react-hook-form/react-hook-form/issues/11359)) ๐Ÿง‘โ€โœˆ๏ธ fix [#​11281](https://redirect.github.com/react-hook-form/react-hook-form/issues/11281) issue with upgrade node version ([#​11392](https://redirect.github.com/react-hook-form/react-hook-form/issues/11392)) ๐Ÿž fix [#​11368](https://redirect.github.com/react-hook-form/react-hook-form/issues/11368) keep form state mounted when keeping values ([#​11384](https://redirect.github.com/react-hook-form/react-hook-form/issues/11384)) ๐Ÿž fix [#​11374](https://redirect.github.com/react-hook-form/react-hook-form/issues/11374): Nested deep partial with unknown ([#​11373](https://redirect.github.com/react-hook-form/react-hook-form/issues/11373)) thanks to [@​Moshyfawn](https://redirect.github.com/Moshyfawn), [@​jonahallibone](https://redirect.github.com/jonahallibone), [@​eladattias1996](https://redirect.github.com/eladattias1996), [@​RulerOfCakes](https://redirect.github.com/RulerOfCakes), [@​anonkey](https://redirect.github.com/anonkey), [@​Ar4ys](https://redirect.github.com/Ar4ys), [@​IanVS](https://redirect.github.com/IanVS) and [@​r-kataoka11](https://redirect.github.com/r-kataoka11) ### [`v7.49.3`](https://redirect.github.com/react-hook-form/react-hook-form/releases/tag/v7.49.3): Version 7.49.3 [Compare Source](https://redirect.github.com/react-hook-form/react-hook-form/compare/v7.49.2...v7.49.3) ๐Ÿ› fix(formState, disabled): infer controlled disabled form state ([#​11361](https://redirect.github.com/react-hook-form/react-hook-form/issues/11361)) ๐Ÿ› fix(reset): remove global reset option flag ([#​11355](https://redirect.github.com/react-hook-form/react-hook-form/issues/11355)) ๐Ÿ› fix(useController): check if disabled state was set by user ([#​11353](https://redirect.github.com/react-hook-form/react-hook-form/issues/11353)) ๐Ÿ–จ๏ธ fix: Change DeepPartial type definition to be compatible with unknown ([#​11333](https://redirect.github.com/react-hook-form/react-hook-form/issues/11333)) ๐Ÿž fix [#​11328](https://redirect.github.com/react-hook-form/react-hook-form/issues/11328) resetField with object as defaultValue ([#​11329](https://redirect.github.com/react-hook-form/react-hook-form/issues/11329)) thanks to [@​Moshyfawn](https://redirect.github.com/Moshyfawn), [@​geeee](https://redirect.github.com/geeee) and [@​RulerOfCakes](https://redirect.github.com/RulerOfCakes) ### [`v7.49.2`](https://redirect.github.com/react-hook-form/react-hook-form/releases/tag/v7.49.2): Version 7.49.2 [Compare Source](https://redirect.github.com/react-hook-form/react-hook-form/compare/v7.49.1...v7.49.2) ๐Ÿž fix [#​11292](https://redirect.github.com/react-hook-form/react-hook-form/issues/11292) issue with controller validation prop ([#​11294](https://redirect.github.com/react-hook-form/react-hook-form/issues/11294)) ### [`v7.49.1`](https://redirect.github.com/react-hook-form/react-hook-form/releases/tag/v7.49.1): Version 7.49.1 [Compare Source](https://redirect.github.com/react-hook-form/react-hook-form/compare/v7.49.0...v7.49.1) ๐Ÿž fix [#​11276](https://redirect.github.com/react-hook-form/react-hook-form/issues/11276) issue with disabled omit on Controller ([#​11277](https://redirect.github.com/react-hook-form/react-hook-form/issues/11277)) ๐Ÿž fix [#​11287](https://redirect.github.com/react-hook-form/react-hook-form/issues/11287) disabled prop cause const dirtyFields update ([#​11291](https://redirect.github.com/react-hook-form/react-hook-form/issues/11291)) ### [`v7.49.0`](https://redirect.github.com/react-hook-form/react-hook-form/blob/HEAD/CHANGELOG.md#7490---2023-12-10) [Compare Source](https://redirect.github.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://redirect.github.com/react-hook-form/react-hook-form/releases/tag/v7.48.2): Version 7.48.2 [Compare Source](https://redirect.github.com/react-hook-form/react-hook-form/compare/v7.48.1...v7.48.2) ๐Ÿž [#​11106](https://redirect.github.com/react-hook-form/react-hook-form/issues/11106) fix disabled prop not update dirty formState ([#​11143](https://redirect.github.com/react-hook-form/react-hook-form/issues/11143)) ๐Ÿž fix controller update with `disabled` prop from `useForm` ([#​11142](https://redirect.github.com/react-hook-form/react-hook-form/issues/11142)) ### [`v7.48.1`](https://redirect.github.com/react-hook-form/react-hook-form/releases/tag/v7.48.1): Version 7.48.1 [Compare Source](https://redirect.github.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://redirect.github.com/react-hook-form/react-hook-form/blob/HEAD/CHANGELOG.md#7480---2023-11-05) [Compare Source](https://redirect.github.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://redirect.github.com/react-hook-form/react-hook-form/blob/HEAD/CHANGELOG.md#7470---2023-10-02) [Compare Source](https://redirect.github.com/react-hook-form/react-hook-form/compare/v7.46.2...v7.47.0) ### [`v7.46.2`](https://redirect.github.com/react-hook-form/react-hook-form/releases/tag/v7.46.2): Version 7.46.2 [Compare Source](https://redirect.github.com/react-hook-form/react-hook-form/compare/v7.46.1...v7.46.2) ๐Ÿž fix implicit type coercion ([#​10949](https://redirect.github.com/react-hook-form/react-hook-form/issues/10949)) ๐Ÿ™„ close [#​10932](https://redirect.github.com/react-hook-form/react-hook-form/issues/10932) omit disabled prop when not defined ([#​10937](https://redirect.github.com/react-hook-form/react-hook-form/issues/10937)) ๐Ÿ”ง fix controller test is dirty ([#​10899](https://redirect.github.com/react-hook-form/react-hook-form/issues/10899)) thanks to [@​samimakicc](https://redirect.github.com/samimakicc) & [@​pierluigigiancola](https://redirect.github.com/pierluigigiancola)

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 was generated by Mend Renovate. View the repository job log.

vercel[bot] commented 1 year ago

The latest updates on your projects. Learn more about Vercel for Git โ†—๏ธŽ

Name Status Preview Comments Updated (UTC)
tascal โœ… Ready (Inspect) Visit Preview ๐Ÿ’ฌ Add feedback Apr 12, 2024 1:52am