Update dependency react-hook-form to v7.79.0 #7
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
florian/scum-quest-web!7
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "renovate/react-hook-form-7.x-lockfile"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR contains the following updates:
7.58.1→7.79.0Release Notes
react-hook-form/react-hook-form (react-hook-form)
v7.79.0Compare Source
Added
disabledoption touseFieldArrayFixed
ControlleronChangepromise return typedeepEqualfalse positives with shared object referencesshouldUseNativeValidationbehavior for radio groupscreateFormControlstability with fast refresh in dev modeStrictModevalue preservation during remountformState.errorsreactivity with React compilerv7.78.0Compare Source
Fixed
Controllerfields afterresetwithout rerender (RN issue #13455)useFormState().isDirtyrace with async resolver inonChangemodevaluesprop overdefaultValueswhenshouldUnregisteris truedeepEqualfor empty non-plain objectsTypes
dirtyFieldstyping for field arrays with undefined entriesv7.77.0Compare Source
Added
resetDefaultValuesAPIFixed
isDirtyinsubscribepayload afterreset(..., { keepValues: true })shouldUnregisterreset({})behavior requiring double-call to take effectFieldArrayerrors overriding nested fieldsSecurity
get()against prototype-path traversal (__proto__/constructor/prototype)Performance
v7.76.1Compare Source
Fixed
setValueupdatesNaNas empty whenvalueAsNumberistrueinvalidateFieldsetValuespassoptionsparameter through to enable validationsetValuesemit whole-form change without stalename/typePerformance
setValuesskip redundant per-field deep clonessetValuesthreadskipClonethroughsetFieldValuev7.76.0Compare Source
Added
isDirtysync withdirtyFieldsstateFixed
formState.defaultValueswhenuseFieldArrayandwatchare used togethertrigger()setValueupdatesuseFieldArrayremoveleaves array with empty object when usingvaluespropControllerfields withshouldUnregistersetValuesupdates to mountedControllerfieldsappend({ obj: null })silently replaced bydefaultValuesafterremove()isValidatingreactivity whenvalidatingFieldsis not subscribedv7.75.0Compare Source
Added
getDirtyFieldsto prune empty fieldsFixed
setValuesinFormProvidercontext valueuseWatchre-render when unrelated field validation occursisDirtyafter re-registering a previously unregistered fieldv7.74.0Compare Source
Added
setValuesAPIFixed
useControllername changesNaNas empty whenvalueAsNumberistrueinvalidateFieldv7.73.1Compare Source
Fixed
setValuesthat was accidentally included in patch; fix build to exclude test filesv7.72.1Compare Source
Fixed
setValuewithshouldDirtyfrom polluting unrelated dirty fieldsHookFormControlContextto prevent render conflictsisNameInFieldArrayshould check all ancestor paths for nested field arraysformState.isValidincorrect onControllerre-mountv7.72.0Compare Source
Added
validateoptionformStateto track submit stateFixed
useFieldArrayfrom marking unrelated fields as dirtyv7.71.2Compare Source
Fixed
clearErrorsemit name signal for targeted field updatesDeepPartialSkipArrayKeyforWatchObservervalue parameterv7.71.1Compare Source
Fixed
booleans_as_integersvalue handlingv7.71.0Compare Source
Changed
FormProvidercontext value to prevent unnecessary rerendersFixed
isValidwhen fielddisabledstate changesv7.70.0Compare Source
Fixed
keepDirtyValueswatchreturn typesdeepEqualand validationDeepPartialsetValuev7.69.0Compare Source
Added
<Watch />API withuseWatchFixed
isValidstate whenkeepIsValidoption is usedcreateFormControl.subscribesubscription listens only to subscribed changesisValidatingstate updates with validation resultsetErrorandsetFocusv7.68.0Compare Source
Added
<FormStateSubscribe />componentFixed
reset()to fix Next.js 16 Server Actions issuev7.67.0Compare Source
Added
exactoption foruseControllerpropsFixed
undefinedvalue with asyncdefaultValuesinControllerPathValueImpltype inferencev7.66.1Compare Source
Performance
getDirtyFieldsFixed
setValid()during batch array updatesisValidafterresetwhen values update asynchronouslyObject.isindeepEqualv7.66.0Compare Source
Added
useWatchanduseControllernow react tonameprop changesFixed
watch()returningundefinedimmediately afterreset()<Watch />componentv7.65.0Compare Source
Added
<Watch />componentFixed
useFieldArrayrulesgetDirtyFieldssubmit fields withnullvalues when usinguseFormv7.64.0Compare Source
Added
PathValueImpltypeFixed
Controller'sdefaultValuewithshouldUnregisterpropv7.63.0Compare Source
Added
formStateFixed
isValidatingfieldsv7.62.0Compare Source
Fixed
defaultValuesafterresetwith newdefaultValuesFieldErrorsonBlurforreadOnlyfieldsdataincloneObjectv7.61.1Compare Source
Fixed
watchreturn type change based ondefaultValue(caused regressions)v7.61.0Compare Source
Added
computeprop foruseWatchsubscriptionFixed
defaultValuessetValuesubscription callbacks"multipart/form-data"encType in<Form />componentv7.60.0Compare Source
Added
resetwithkeepFieldsRefoption to keep fields referenceFixed
Setfrom clone objectv7.59.0Compare Source
Added
Fixed
formDatareference cloneundefinedvalue for submit datauseWatchobject variable param handlingConfiguration
📅 Schedule: (UTC)
🚦 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 command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.