Update dependency react-hook-form to v7.66.1 #31
+5
−5
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:
7.54.2->7.66.1Release Notes
react-hook-form/react-hook-form (react-hook-form)
v7.66.1Compare Source
v7.66.0Compare Source
v7.65.0: Version 7.65.0Compare Source
🧿 feat:
<Watch />component (#12986)🐞 fix: respect parent-provided
useFieldArrayrules (#13082) (#13083🐞 fix:
getDirtyFieldssubmit fields with null values when usinguseForm(#13079)thanks to @tesseractjh, @Han5991 & @jonathanarnault
v7.64.0: Version 7.64.0Compare Source
🚏 Support optional array fields in
PathValueImpltype (#13057)🐞 fix: preserve Controller's defaultValue with
shouldUnregisterprop (#13063)✂ chore: remove unused field ids ref in
useFieldArray(#13066)thanks to @MPrieur-chaps, @gynekolog & @uk960214
v7.63.0: Version 7.63.0Compare Source
🥢 feat: extract form values by form state (#12936)
🦍 feat: improve get dirty fields logic (#13049)
🐿️ chore: remove duplicated function isMessage (#13050)
🐞 fix: use field name to update isValidating fields (#13000)
🐞 fix: unregister previous field when switching conditional Controllers (#13041)
🐞 fix: only excuse trigger function when deps has a valid array (#13056)
thanks to @candymask0712, @GorkemKir, @kimtaejin3, @m2na7 & @abnud11
v7.62.0: Version 7.62.0Compare Source
👨🔧 prevent onBlur for readOnly fields (#12971)
🐞 fix #12988 sync two defaultValues after reset with new defaultValues (#12990)
🐞 fix: do not override prototype of data in cloneObject (#12985)
🐞 fix field name type conflict in nested FieldErrors (#12972)
thanks to @candymask0712, @Adityapradh, @Ty3uK & @kichikawa57
v7.61.1: Version 7.61.1Compare Source
Revert "⌨️ fix: watch return type based on defaultValue (#12896)"
v7.61.0: Version 7.61.0Compare Source
🧮 feat: compute prop for useWatch subscription (#12503)
👨🔧 trigger watch callbacks in response to value changes only (#12945)
🙏 track name with setValue subscription callbacks (#12946)
⌨️ fix: watch return type based on defaultValue (#12896)
🐞 fix #12959 subscribe with latest defaultValues #12961
🐞 fix: handle explicit "multipart/form-data" encType in Form Component (#12948)
🐞 fix(build): Remove React wildcard import to resolve ESM build issues (#12942)
🦭 chore: improve exclude patterns (#12935)
🐿️ chore: remove unused omit function (#12958)
Big thanks to @joshkel for helping with some of the subscription bugs! and also @kamja44, @mrazauskas, @codepunkt, @afontcu and @rururux
v7.60.0: Version 7.60.0Compare Source
🦘 feat:
resetnewkeepFieldsRefoptions keep fields reference (#12923)v7.59.0: Version 7.59.0Compare Source
🪱 feat: support deep equality checking with circular references (#12914)
🐞 fix #12900 issue with formData reference clone (#12906)
🐞 fix #12873 issue with undefined value for submit data (#12905)
🐞 fix case when useWatch accept object variable param (#12897)
🐞 fix: typo in UseFormSubscribe and missing event type for callback data in subscribe (#12904)
Revert "⌨️ rename to UseFormResetFieldOptions for type consistency" (#12907)
thanks to @aspirisen @n8pjl @SKOLZ @pushys & @candymask0712
v7.58.1: Version 7.58.1Compare Source
🔧 check window.crypto undefined (#12893)
v7.58.0: Version 7.58.0Compare Source
⌨️ feat: add FieldArrayPathByValue type (#12481)
📇 feat #12813 use stringToPath to prevent error at field name with quotes (#12858)
🧧 default to crypto.randomUUID in generateId (#12890)
🐞 close #12857 incorrect formControl return from useForm (#12878)
🐞 fix Initial useFieldArray fields (#12847)
🥷 chore: improve type import (#12879)
📇 chore: Added displayName to useFormContext (#11448)
✍️ chore: fix typo in assert-esm-exports.mjs (#12860)
thanks to @mastermatt, @clonemycode, @dusan233, @candymask0712, @tran-simon & @adnanalbeda
v7.57.0: Version 7.57.0Compare Source
🫚 feat: root errors count in schema error lookup (#12839)
👁️ feat: focus form field for errors supplied by errors prop (#12805)
⌨️ feat: add and export options config for resetField api (#12819)
🐞 close #12707 useController focus function runtime issue (#12843)
🐞 fix: add proper types to form.subscribe (#12850)
🐞 fix: add type info for callback args in subscribe (#12859)
🔄 close #12835 revert original fix on errors empty object check (#12846)
thanks to @candymask0712, @CertainlyAria, @jkbach, @chrisgarber and @evgeniyworkbel
v7.56.4: Version 7.56.4Compare Source
🐞 fix: Changes setValue to skip values that are not in ownProperties to prevent infinite call stack (#12731)
🐞 fix: checkbox duplication handling in useFieldArray (#12793)
🐞 fix: make mode and reValidateMode reactive (#12803)
v7.56.3: Version 7.56.3Compare Source
Revert "📭 close #12773 pass input ref instead partial (#12775)"
v7.56.2: Version 7.56.2Compare Source
🐞 fix #12785 regression on default value gets overwritten by values props (#12790)
🐞 fix: use layoutEffect in useWatch for subscription similar to useForm (#12786)
🐞 fix #12772 reset form useWatch to utilize ref for defaultValue and … (#12780)
📭 close #12773 pass input ref instead partial (#12775)
v7.56.1: Version 7.56.1Compare Source
🐞 fix #12761 #12762 issue with usage reset isReady formState (#12765)
🐞 fix #12763 import warning with named exports (#12764)
v7.56.0: Version 7.56.0Compare Source
⏰ feat: introduce isReady state for subscription (#12568)
🌗 feat: support reactive mode and reValidateMode (#12743)
🐞 fix #12741 regression on move/swap on useFieldArray input update (#12749)
🐞 fix: use useIsomorphicLayoutEffect to address warning in SSR (#12738)
v7.55.0: Version 7.55.0Compare Source
⚡️
createFormControl⚡️
subscribe🪲 fix #12680: Update Fieldarray Unmount Status (#12690)
🫡 fix: improve type inference for useFormContext (#12689)
👮♂️ feat: infer resolver output types (#12638)
🐞 fix(useForm): make values and defaultValues work correctly with createFormControl and useMemo (#12675)
🥹 close #12665 issue with values not populate form
🐞 fix #12665 regression on values over take default values
🫡 allow use of handleSubmit with native events (#12645)
🐞 fix #12631 revalidateMode issue with useFieldArray validation (#12646)
🦥 close #12634 allow components with useController hook be memoized (#12635)
🐞 fix #12580 setError in useEffect does not work when used inside the FormProvider context (#12642)
🛟 fix: add the condition to prevent infinite render with errors prop (#12622)
🐞 fix #12580 valid state update with onBlur mode (#12612)
🐞 fix #12572 disabled field value not get undefined in resolver (#12573)
🦾 feat: reference stable for useWatch defaultValue (#12564)
⏰ chore: remove typetest folder from build (#12555)
🐞 fix #12532 useController should unregister issue with strict mode (#12538)
👁️ feat: improve reference update with useWatch (#12537)
🦥 close #12531 disabled state issue with touched and dirty (#12536)
thanks to @jtomaszewski, @joshkel, @candymask0712, @kotarella1110, @jorisre, @jtomaszewski, @controversial and @jedahu
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, 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.