Repository navigation
Update dependency react-hook-form to v7 - #21
Open
renovate[bot] wants to merge 1 commit into
Open
renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
renovate
Bot
force-pushed
the
renovate/react-hook-form-7.x
branch
5 times, most recently
from
April 15, 2021 12:23
46dcb40 to
1bb6ddc
Compare
renovate
Bot
force-pushed
the
renovate/react-hook-form-7.x
branch
8 times, most recently
from
April 26, 2021 07:46
7066431 to
1827fa0
Compare
renovate
Bot
force-pushed
the
renovate/react-hook-form-7.x
branch
3 times, most recently
from
May 4, 2021 08:56
d4ff151 to
85c0d5b
Compare
renovate
Bot
force-pushed
the
renovate/react-hook-form-7.x
branch
6 times, most recently
from
May 13, 2021 08:44
4e70e7f to
b7b0d01
Compare
renovate
Bot
force-pushed
the
renovate/react-hook-form-7.x
branch
5 times, most recently
from
May 21, 2021 09:17
e14f96e to
6596570
Compare
renovate
Bot
force-pushed
the
renovate/react-hook-form-7.x
branch
3 times, most recently
from
May 26, 2021 12:38
3ec7035 to
166ae4f
Compare
renovate
Bot
force-pushed
the
renovate/react-hook-form-7.x
branch
4 times, most recently
from
June 19, 2021 00:39
b7ea23e to
6168d2b
Compare
renovate
Bot
force-pushed
the
renovate/react-hook-form-7.x
branch
from
July 2, 2021 10:26
6168d2b to
3282a97
Compare
renovate
Bot
force-pushed
the
renovate/react-hook-form-7.x
branch
from
October 18, 2021 23:00
3282a97 to
d305882
Compare
renovate
Bot
force-pushed
the
renovate/react-hook-form-7.x
branch
from
March 7, 2022 13:11
d305882 to
4a1b0b0
Compare
renovate
Bot
force-pushed
the
renovate/react-hook-form-7.x
branch
from
March 26, 2022 13:22
4a1b0b0 to
a1cd118
Compare
renovate
Bot
force-pushed
the
renovate/react-hook-form-7.x
branch
from
April 24, 2022 22:40
a1cd118 to
6161d03
Compare
renovate
Bot
force-pushed
the
renovate/react-hook-form-7.x
branch
from
May 15, 2022 20:24
6161d03 to
65213f0
Compare
renovate
Bot
force-pushed
the
renovate/react-hook-form-7.x
branch
from
June 18, 2022 13:12
65213f0 to
7928fb1
Compare
renovate
Bot
force-pushed
the
renovate/react-hook-form-7.x
branch
from
September 25, 2022 11:20
7928fb1 to
615651a
Compare
renovate
Bot
force-pushed
the
renovate/react-hook-form-7.x
branch
from
November 20, 2022 09:54
615651a to
7eeab6c
Compare
renovate
Bot
force-pushed
the
renovate/react-hook-form-7.x
branch
from
March 16, 2023 09:00
7eeab6c to
7f3c2d5
Compare
renovate
Bot
force-pushed
the
renovate/react-hook-form-7.x
branch
2 times, most recently
from
March 30, 2023 22:36
1cb2c12 to
0284704
Compare
renovate
Bot
force-pushed
the
renovate/react-hook-form-7.x
branch
3 times, most recently
from
June 2, 2023 00:18
3593fb2 to
a6eae32
Compare
renovate
Bot
force-pushed
the
renovate/react-hook-form-7.x
branch
from
June 19, 2023 16:40
a6eae32 to
958ad23
Compare
renovate
Bot
force-pushed
the
renovate/react-hook-form-7.x
branch
from
June 28, 2023 11:53
958ad23 to
2a74bb1
Compare
renovate
Bot
force-pushed
the
renovate/react-hook-form-7.x
branch
from
July 17, 2023 15:42
2a74bb1 to
fd3b371
Compare
renovate
Bot
force-pushed
the
renovate/react-hook-form-7.x
branch
2 times, most recently
from
August 5, 2023 13:54
e0748c3 to
37677ae
Compare
renovate
Bot
force-pushed
the
renovate/react-hook-form-7.x
branch
2 times, most recently
from
September 4, 2023 22:29
b9a40f8 to
59bae02
Compare
renovate
Bot
force-pushed
the
renovate/react-hook-form-7.x
branch
from
September 21, 2023 11:09
59bae02 to
c6c88e1
Compare
renovate
Bot
force-pushed
the
renovate/react-hook-form-7.x
branch
from
October 2, 2023 08:07
c6c88e1 to
8387f1d
Compare
renovate
Bot
force-pushed
the
renovate/react-hook-form-7.x
branch
from
November 5, 2023 00:07
8387f1d to
69f2d75
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.
Note
This PR body was truncated due to platform limits.
This PR contains the following updates:
6.15.4→7.92.0Release Notes
react-hook-form/react-hook-form (react-hook-form)
v7.92.0: Version 7.92.0Compare Source
🐞 Fixes
useFormStateandControllerunnecessarily cloning form state during mount and unmount (#13945)setValuesnot updating dirty state for unregistered fields (#13946)setValuenot selecting checkbox options with empty string values (#13950)useFieldArrayapplyingreValidateMode: 'onSubmit'before submission (#13952)useControllerreading staleshouldUnregisteroptions (#13956, #13996)useWatchmissingreset()updates on mount in React Native (#13974)triggerlosing nested field array root errors (#13975)unregisterretaining descendant registrations when removing a parent (#13976)triggernot marking nested fields as touched whenshouldTouchtargets a parent (#13978)useWatchcompute cache not synchronizing whencomputeis removed (#13987)setValuesignoring options when values remain unchanged (#13989)handleSubmitincorrectly updating form state afterreset()during asynchronous callbacks (#13991)useFieldArrayretaining validation rules after the rules prop is removed (#13992)resetnot updatingisValidafter cancelling pending validation (#13994)undefined(#13995)<Form />not respectingencTypewhen constructing request bodies (#13997)handleSubmitnot supporting nullish and primitive transformed values with disabled fields (#13999, #14011)useControllerdirty tracking with controller-leveldefaultValue(#14001)registeroverwriting untouched range and color input defaults (#14007)unsetfailing on primitive values (#14014)isValidchecks (#14015)reset()calls and error focusing withkeepFieldsRefand memoized inputs (#14023)⚡ Performance Improvements
useFormStateandController(#13945)🧹 Refactors
🧪 Tests
reset,useController,useFieldArray, validation, dirty state and form submissions📦 Dependencies
fast-urifrom 3.1.8 to 3.1.9 (#13949)follow-redirectsfrom 1.16.1 to 1.16.2 (#13985)vitefrom 6.4.4 to 6.4.5 (#13983)joifrom 18.2.9 to 18.3.1 (#13986)❤️ Thank You
Thanks to @charan-rathore, @clean99, @KooYS, @dfedoryshchev, @maxymlyskov, @aumilkyeong, @hamarshehmhmd, @zigzagdev, @wozhenbang2004, @Aminark, @zendesk-robryan, @MomenSherif, @Shellghostt, @SatyamGangani, @yxshee, @timsnadden and @bluebill1049 for their contributions! 🎉
Special thanks to the Pennylane team for their incredible support! ❤️
v7.91.0Compare Source
Changed
Formby reading control from context to avoid unnecessary re-rendersgetValuesby avoiding unnecessary shallow copiesFixed
useFieldArraynot registering array rules again afterresetsetValuenot updating field array rows when a parent object is setcreateFormControlkeeping a newer change's error when an olderisValidpass settlesvalidatetreating an empty message array as validresetreleasingkeepIsValidon the next field change or field array operationregisteronly emitting the progressiverequiredattribute when the rule is oncreateFormControldropping the async result of a field unregistered while it validatescreateFormControlsupporting null-prototype objects insetValueFormhandling case-insensitive and parameterized multipartencTypecreateFormControlignoring a staleNaNorInvalid Datevalidation resultFormletting fetch set the multipart boundary for a multipart content-type headercreateFormControlignoring a stale built-in validity result afterresetuseFormrunning the initial validity check when a child subscribed firstFormsending atext/plainbody for atext/plaincontent typecreateFormControlcopying theerrorsprop instead of writing into ituseFormresettingresetOptionswhen removed from propscreateFormControlhandling falsy values correctly in_getDirtyandresetFieldunregisterdropping the field's rules whenkeepValuekeeps only its valueuseFormclearing errors when theerrorsoption is removed or set toundefineduseFieldArraydropping a validation result once the array has changedresetkeeping retained fields disableduseFormre-enabling the form when thedisabledoption is removedformStateproducing a newvalidatingFieldsreference when it changesvalidateFieldvalidating the stored value ofControllerfields with a DOM refuseFormresettingprogressiveoption when removed from propscloneObjectcopying plain objects that have aconstructorkeyuseFieldArrayreindexing row fields when the array has rulesFormmatching JSON content types case-insensitivelydeepEqualcomparing keys as own properties instead of viainregisterkeeping select options picked before the form is readyisReadytouseFormStatemounted with the formuseFieldArrayrevalidating array operations after submit inonBlurmodegetDirtyFieldshandlingnullorundefinedform values when clearing a fieldsetValueupdatingisDirtywhenshouldDirtyfills a field arraydelayErrorflushing the delayed error on blur when blur also validatesuseWatchusing the newdefaultValuewhen the watched name changesdeepEqualcomparing sparse array lengthsFormsending a url-encoded body for a url-encoded content typedeepEqualcomparing empty null-prototype objects by contentmaxLengthregisternot adding an array row when registered without a valueFormmatchingContent-Typeheader names case-insensitivelytriggerrecomputing preservedisValidafterresetuseFieldArrayunregistering on unmount unless a parent array is reindexingsetValuenotifying field arrays so their rows follow the new valuesv7.90.0Compare Source
Changed
watch,subscribe, scoped subscriptions, dirty field checks and form state fan-outFixed
Object.prototypemembers not being marked as touched on blur andsetValuehasOwnPropertycloneObjectdropping the length of sparse arrayscloneObjectfailing on objects with a null prototyperemove()mishandling duplicated indexes and mutating the indexes passed inuseFieldArrayunregistering fields while a parent array reindexesuseWatchnot updating watched objects after an<Activity>subtree reconnectsuseWatchpreferring its owndefaultValueover formdefaultValuesfor array namesresetwithout values andkeepDefaultValuessettingisDirtyto trueControllerblur validation not working afterresetwatchreading a staleshouldUnregisteroption when a field registersshouldUseNativeValidationoption when stopping at the first errorrefkey not being compared correctlysetError,clearErrorsand remaining error updates not producing a newerrorsreferencev7.89.0Compare Source
Changed
@types/reactpeer dependencyFixed
validateFieldcallingsetCustomValidityon refs that don't implement it under native validationvalidaterunning a stale function instead of the latest onevalidate) being applied afterresetinonChangeandhandleSubmitdelayErrortimers for nested paths not being cancelled when a parent validates clean or is reset viaresetFieldgetValues(names, { dirtyFields })returning every row of a field array instead of only the marked entriestouchedFieldsis not subscribeduseFieldArrayemittingtouchedFieldsin form state updates when unnecessaryuseFieldArraymarking the form dirty when the array default isnullsetValuewithshouldValidatenot revalidatingdepssetValuewithshouldValidatenot triggering validation for a field array rootregisteroptions at runtime still being applieduseControllervalidatingrequiredagainst the input value instead of the controlled valueisValidnot recomputing when theerrorsprop is emptiedgetFieldState(name, formState)with a resolver afterreset()v7.88.0Compare Source
Added
<ErrorMessage />component for rendering a field's validation errorFixed
setValuedirty state comparison ignoringvalueAs*/setValueAstransformsdelayErrortimers not being cancelled when a parent is cleared or unregistereddelayErrorerrors coming back once the pending timer firescriteriaModenot refreshing when form options are updated at runtimeresetFieldleaving stale validating state for the fieldresetnot clearingisValidatingandvalidatingFields, and ignoringkeepIsValidatingreplace()leaving errors and touched state for removed rowsremove()leaking deleted values onto surviving itemshandleSubmitapplying a stale resolver result afterresethandleSubmitdropping resolver-reported root errors on submitresettriggerdropping registered nested errors when targeting their parenttriggersetting a parent error when the target has only nested resolver errorsuseWatchcompute cache not being initialized with the initial outputflatten/jsonToFormDatanot preservingFileListand not skippingundefinedschemaErrorLookupreporting nested containers as exact-name errorsunregisternot recomputingisValidatingafter clearingvalidatingFieldsunregisterstripping a kept value from the submit payloaditerateFieldsByActiononly breaking out of one loop levelsetErrortypes from a previous validation surviving an overwritereact-serverbuild not being publishedvalidateFieldcallingsetCustomValidityper key in validate-object modeuseFieldArraynot focusing a checkbox or radio in the appended rowuseFieldArraynot reconciling stale fields after anActivitysubtree reconnectsuseFormnever reconciling when anActivitysubtree is hidden on its first rendergetFieldStatenot readingisValidatingfrom the supplied form stateuseFormStatenot re-subscribing whencontrolchangesresetwithkeepValuesleavingdirtyFieldsout of sync withisDirtycloneObjectnot guardingBlobbeforeinstanceofv7.87.0Compare Source
Added
shouldTouchoption fortrigger()OpaqueTypesregistry for opaque leaf typesFixed
useController().field.onChange()-like APIsControllerunder a null parent submittingundefinedinstead of a valueERR_MODULE_NOT_FOUNDresolvingreact-hook-formdue to areact-serverdeclaration (Next.js builds)useWatchnever reconciling when anActivitysubtree is hidden on its first renderresetFieldnot recomputingisValidfor subscribe-only consumersgenerateWatchOutputignoringdefaultValuefor an array of namesuseFormStatenever reconciling when anActivitysubtree is hidden on its first renderv7.86.0Compare Source
Added
getErrorsmethodPerformance
createFormControlunregisterwithout subscribersFixed
flattendiscardingFileandBlobvalues instead of treating them as leaf nodesvalidateFieldnot passing the field error tosetCustomValiditywhencriteriaModeisallhasValidationtreating falsy but valid values (min: 0,max: 0,minLength: 0,maxLength: 0,required: '') as no validationsetValuetargeting a nested leaf not notifying aControllerregistered on a field array item rootsetValuesnot updating fields registered under an object or array valueuseWatchreturning a stale value on name change when the new value isnullunregisterinvertingkeepDirtywhen broadcastingisDirtyv7.85.0Compare Source
Added
<Activity />Fixed
getFieldStateerror resolution from a field pathuseWatchdiscardinguseForm({ defaultValues })in favor of its owndefaultValuebefore the form mountssetValueemitting a duplicatevaluesstate notification for fields without a native input refuseFieldArrayroot-level error (errors.name.root) being lost onappend/prepend/insert/removemin/maxvalidation being skipped forvalueAsDatefieldsv7.84.0Compare Source
Improvements
handleSubmitreturns the typed result of theonValidcallback instead of discarding it<Form />supports a function-basedaction(Server Action style) in addition to URL-string actionsFixed
reset()withresetOptions.keepDirtyValuesfreezing clean sibling fields in a nested object when another field in that object is dirtyFieldArrayandFormStatetype exportssetValuesnot notifyinguseFieldArraysubscribers, leaving rendered fields stalev7.83.0Compare Source
Improvements
getEventValueto handle file inputsFixed
clearErrors()dirtyFieldsreference stabilityuseControllernot re-subscribingonChange/onBlurwhencontrolchangesundefinedv7.82.0Compare Source
Added
delayErroroption forsetValueto delay validation error updatesFixed
resetDefaultValuesthrough form contextsetValuewithshouldDirtynot updating dirty state correctly when the form is disableddirtyFieldsboolean values for registered array fieldsFieldArraycomponent exportPerformance
getDirtyFieldsperformance, especially for larger forms and deeply nested valuesv7.81.0Compare Source
Added
FieldArraycomponent built onuseFieldArrayfor controlled field-array renderingFixed
clearErrorschanging thenamevalue fromform.subscriberesettriggeringsubscribewith the latest name instead ofundefinedsetValuesleaving stale elements behind when shrinking a field arrayflattenpreservingDatevalues as leaf nodesuseFieldArraymin length validation error changing location in theerrorsobjectuseControllernot reflecting a cleared parent object in controlled fieldsSecurity
unset()against prototype-path traversal (__proto__/constructor/prototype), matching the existingset()guardPerformance
useFieldArrayresetv7.80.0Compare Source
Added
disabledprop support for individual fields withinuseFieldArrayFixed
deepEqualincorrectly treating empty array[]and empty plain object{}as equalPerformance
onChange,setValid, dirty checking,setValue, andsetValuesperformancev7.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 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 warningv7.55.0Compare Source
Added
createFormControlandsubscribefunctionuseControllerhook to be memoizeduseWatchdefaultValuehandleSubmitwith native events supportFixed
useFormContextvaluesanddefaultValueswork correctly withcreateFormControlanduseMemoonBlurmodedisabledfield value not returned asundefinedin resolverrevalidateModeissue withuseFieldArrayvalidationuseControllerunregister issue with strict modesetErrorinuseEffectnot working insideFormProvidercontextuseControllerreturn props reference stabilityv7.54.2: Version 7.54.2Compare Source
⚛️ fix #12478 issue should unregister input with controller (#12480)
⏰ close #12443 track disabled fields and only omit data on submit (#12491)
⚛️ upgrade e2e automation app to react 19 (#12482)
🧪 test(useWatch): destructure setValue from useForm
Thanks very much, @marcalexiei for your contribution to the documentation!
v7.54.1: Version 7.54.1Compare Source
Revert "🦥 fix: useForm should return a new object on formState changes (#12424)" (#12475)
v7.54.0Compare Source
Changed
useFormreturn methods will be memorized basedformStateupdatev7.53.2: Version 7.53.2Compare Source
🐞 fix #12398 staled disabled issue with resubmit form (#12403)
🐞 fix: add type guard to fieldRef.select (#12390)
Revert "🏺 watch reference update on formState update (#12326)" (#12391)
thanks to @developer-bandi
v7.53.1: Version 7.53.1Compare Source
🐞 fix: #12294 ensure Invalid Date is evaluated correctly (#12295)
🐞 fix #12316 setValue should work for arrays of primitives to handle checkboxes (#12316) (#12317)
🐞 fix #12097 Use dirty fields along with mount names for form reset with keepDirtyValues (#12211)
🫀 fix #12237 disabled state trigger formState dirty/dirtyFields to update (#12239)
🐞 fix #12291 field array remove cause undefined with FormData (#12305)
📝 improve flatten
Configuration
📅 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.