chore(deps): update dependency react-hook-form to v7.80.0#15
Open
renovate[bot] wants to merge 1 commit into
Open
chore(deps): update dependency react-hook-form to v7.80.0#15renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
7c96832 to
79cad3d
Compare
79cad3d to
372939b
Compare
372939b to
5e240b0
Compare
5e240b0 to
b56fec1
Compare
b56fec1 to
d59a738
Compare
d59a738 to
25d92b6
Compare
25d92b6 to
a6f3511
Compare
a6f3511 to
148676c
Compare
396d362 to
4de1a39
Compare
4de1a39 to
aef0720
Compare
aef0720 to
b2d97b9
Compare
b2d97b9 to
ef6e843
Compare
ef6e843 to
a7fa22d
Compare
a7fa22d to
859cf7c
Compare
859cf7c to
10f35d9
Compare
10f35d9 to
5313c60
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.55.0→7.80.0Release Notes
react-hook-form/react-hook-form (react-hook-form)
v7.80.0: Version 7.80.0Compare Source
🧄 feat: disable useFieldArray fields (#13535)
🛺 perf: make rhf more performant (#13524)
🐞 fix(deepEqual): empty array and empty plain object should not be equal (#13533)
thanks to @JSap0914
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
v7.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 handlingv7.58.1: Version 7.58.1Compare Source
🔧 check window.crypto undefined (#12893)
v7.58.0Compare Source
Added
FieldArrayPathByValuetypestringToPathto prevent errors at field names containing quotesFixed
formControlreturn fromuseFormuseFieldArrayfields populationv7.57.0Compare Source
Added
errorspropUseFormResetFieldOptionstype forresetFieldAPIFixed
subscribeform.subscribeuseControllerfocus function runtime issuesetValueskips values not in own properties (prevents infinite call stack with self-referencing proto)useFieldArraymodeandreValidateModereactivityvaluesprop regressionv7.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.0Compare Source
Added
modeandreValidateModesupportisReadystate for subscriptionFixed
useFieldArrayinput updateuseIsomorphicLayoutEffectto address SSR warningConfiguration
📅 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 was generated by Mend Renovate. View the repository job log.