fix(deps): update dependency react-hook-form to v6.15.7 #204
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:
6.10.1
->6.15.7
Release Notes
react-hook-form/react-hook-form
v6.15.7
Compare Source
🐞 V6: useFieldArray with nested useFieldArray renders with fields
v6.15.6
Compare Source
🐞 fix #4792 issue with nested field array append
v6.15.5
Compare Source
🐞 fix issue with setInternalValue() for array values (#4402)
🐞 fix: prevent cloning objects for class-based instances (#4400)
🐞 fixing Field Array's remove function (#4389)
v6.15.4
Compare Source
🐞 fix missing key for useFieldArray test
🐞 fix #4259 correct unset on field array values (#4262)
🐞 fix #4260 watch missing type for undefined as the first argument (#4261)
v6.15.3
Compare Source
🐞 fix #4251 issue with re-render during unmount field array (#4252)
🙏🏻 fix: the issue of unmounted component trying to set state after reset for field arrays (#4150)
v6.15.2
Compare Source
🐞 fix #4219 Add default values when validating by using resolver (#4229)
🐞 fix #4170 by removing field array @useEffect with shouldUnregister (#4172)
🐞 fix #4141 remove prod check at useEffect to fix dev/prod inconsistent behavior (#4149)
v6.15.1
Compare Source
🐞 fix #4084 useWatch react with typed value (#4085)
v6.15.0
Compare Source
Changed
null
instead of empty string''
valueAsNumber
with empty input will returnNaN
instead of0
v6.14.2
Compare Source
🎯 close #3908 with nested field value with deep equal (#3910)
🐞 fix #3875 with nested useFieldArray remount (#3900)
🥋 fix #3850 change method from pop to slice (#3866)
v6.14.1
Compare Source
🐞 fix #3851 with invalid formState type (#3854)
🐞 fix #3834 dirty fields reset after input unmount with shouldUnregister: false
🐞 fix #3819 issue with dirty fields during swop action (#3824)
v6.14.0
Compare Source
Changed
setValue
without shouldUnregister:false will no longer deep clone its value instead with shallow cloneAdded
isValidating
, this will set totrue
during validation.v6.13.1
Compare Source
🐞 fix #3689 missing id with nested child array (#3690)
🐞 fix #3684 issue validate pattern with value as null (#3685)
📦 close #3677 improve setValue with field array (#3688)
🙄 close #3664 with async useFieldArray remove (#3665)
v6.13.0
Compare Source
🌟 custom hook: useController (#3488)
👨🏻💻 fix #3613
shouldUnregister:false
withappend
deep clone object (#3614)🐞 fix #3617 remove fields from append dep (#3618)
👨🏻💻 close #3628
reset
inconsistency with differentshouldUnregister
mode (#3633)⌨️ fix #3593 Map type for NestedValue (#3616)
😿 #1680 fix unmount warning on dev build (#3645)
👻 fix #3651
setValue
withshouldUnregister:false
with deep clone object (#3652)🤖 change from deepClone to shallowClone with defaultValues's reset (#3607)
v6.12.2
Compare Source
🐞 fix 3577 issue with Controller register at FieldArray (#3583)
🤜 improve useFieldArray fast refresh (#3576)
🐞 fix input range max/min validation (#3575)
🤝 make cloneObject work in both Node & browsers (#3571)
v6.12.1
Compare Source
🐞 fix controller register issue with field array (#3561)
🐞 fix fast refresh (#3559)
🐞 fix #3539 issue with JSX deepEqual (#3558)
👨🏻💻 improve DX with field array and fast refresh (#3551)
v6.12.0
Compare Source
Changed
reset({ value })
value will be shallow clone value object which you have supplied instead of deepClone.Added
useController
: This custom hook is what powers Controller, and shares the same props and methods as Controller. It's useful to create reusable Controlled input, while Controller is the flexible option to drop into your page or form.v6.11.5
Compare Source
Revert "🔩 defaultValues test cases for useFieldArray (#3420)" (#3503)
v6.11.4
Compare Source
🐞 fix #3482 remove nested dirty fields (#3486)
👨🏻💻 reduce code + fix dirtyFields with field array + improve DX with fast refresh #1680 (#3474)
👨🏻💻 close #3642 issue with dev script (#3463)
👌 use
useField
internally for Controller (#3483)v6.11.3
Compare Source
🐞 fix #3460 issue with nested schema (#3461)
v6.11.2
Compare Source
🐞 fix #3450 append focus index (#3453)
v6.11.1
Compare Source
🐞 fix #3440 setError with concurrent isSubmitting (#3443)
🐞 fix setValue name type and checkbox with shouldUnregister:false (#3432)
🐞 fix #3416 date compare (#3419)
📦 [other] Reduce npm package size (#3413)
🐞 fix #3404 reset isValid with resolver (#3410)
👨🏻💻 add warning on ref.current.focus when it is not a function (#3407)
👨🏻💻 close #3329 useWatch return value to skip extra re-render
v6.11.0
Compare Source
Changed
defaultValues
is required to measureisDirty
, keep a single source of truth to avoid multiple issues raised aroundisDirty
watch
withuseFieldArray
,fields
object is no longer required as defaultValueConfiguration
📅 Schedule: 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 has been generated by WhiteSource Renovate. View repository job log here.