This repository has been archived by the owner on Oct 9, 2024. It is now read-only.
fix(deps): update dependency react-hook-form to v7 #169
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.15.7
->7.5.1
Release Notes
react-hook-form/react-hook-form
v7.5.1
Compare Source
🐞 fix #5096 clearErrors with empty arg (#5098)
v7.5.0
Compare Source
Changed
isSubmitSuccessful
will return false whenhandleSubmit
callback failed withError
orPromise
reject.shouldUnregister: false
v7.4.2
Compare Source
🐛 fix #5053 useFormState missing name (#5058)
🐞 fix #5051 trigger return with schema (#5052)
v7.4.1
Compare Source
🐞 fix [v7]: trigger function always returns false #5043
🐞 fix #5027 unmounted useFieldArray not remounted with existing values (#5028)
v7.4.0
Compare Source
Added
name
prop foruseFormState
to subscribe to individual inputs.v7.3.6
Compare Source
⌨️ fix #4994 typing for watch & getValues (#5005)
✌🏻 close #5001 fix unit test errors object issue
👌 fix use form trigger return type (#5000)
v7.3.5
Compare Source
🐞 fix #4966 controller input ref gets overwrite (#4970)
🎉 close #4988 for parse input value during setValue JS only
💪🏻 improve unregister to info state update (#4962)
v7.3.4
Compare Source
🐞 fix #4957 radio/checkbox gets unregistered until all unmounted (#4959)
v7.3.3
Compare Source
🐞 fix formState gets reset during shouldUnregister: true mode (#4949)
v7.3.2
Compare Source
🐞 fix #4947 with missing register options (#4948)
v7.3.1
Compare Source
Revert "🐛 fix toggle Controller value in useFieldArray (#4861)" (#4945)
👻 fix #4938 issue with watch internal measure against components mounted (#4939)
v7.3.0
Compare Source
🕺 trigger result validation output (#4856)
🐛 fix toggle Controller value in useFieldArray (#4861)
🐛 fix #4912 watch return undefined due to reset (#4921)
🐞 fix #4929 input freeze with shouldUnregister: true issue with watch useFieldArray (#4930)
👻 fix trigger with
every
filter and update unit tests (#4937)v7.2.3
Compare Source
⌨️ fix #4895 remove incorrect type for validation return messages
v7.2.2
Compare Source
Changes
shouldUnregister
totrue
will not shallow mergedefaultValues
v7.2.1
Compare Source
🐞 fix #4859 issue with reset trigger unregister subscription (#4860)
v7.2.0
Compare Source
Changes
shouldUnregister
config to remove input value after unmountv7.1.1
Compare Source
🙏🏻 fix register option for register validation inputs (#4805)
🐞 fix #4795 isValid not return correctly during onMount useEffect (#4804)
v7.1.0
Compare Source
✨ close #4120 useForm setFocus method (#4623)
🐞 fix #4772 reset at root level of registered field (#4784)
🐞 fix #4762 useWatch deep nested object watch (#4764)
🐞 fix #4752 defaultChecked for radio and checkbox (#4756)
v7.0.7
Compare Source
🐞 update package.json - fix exports (#4737)
☑️ fix #4375 inline defaultChecked (#4736)
v7.0.6
Compare Source
Changes
register
will retrieveonChange
's target value when component'ref is not a valid input element.v7.0.5
Compare Source
⌨️ fix #4705 watch type for defaultValue (#4707)
🐞 fix #4703 useWatch cache with previous name (#4706)
👻 close #4696 with ref callback type error (#4697)
💪🏻 reduce code check for error object and reduce re-render (#4689)
🏋🏻♀️ move error check file to inline and save size (#4685)
🐞 fix #4679 isValid with custom register (#4684)
🐞 fix #4665 input file required validation (#4666)
v7.0.4
Compare Source
🐛 fix 4653 valueAsNumber with required validation (#4660)
🐛 fix #4653 by prevent spread primitive data (#4658)
🤙 close #4646 useWatch infinite loop (#4656)
🕹 fix controller's rules type (#4645)
v7.0.3
Compare Source
🐞 fix #4627 validate for input number 0 (#4641)
🐞 fix #4617 input date type issue with React (#4640)
🐞 fix #4637 when reset field array with setValue (#4639)
v7.0.2
Compare Source
🐞 fix #4628 useController/controller issue with dirtyFields (#4635)
v7.0.1
Compare Source
💪🏻 #4603 Should return boolean value "true" for checkbox that has empty string value of attribute "value" (#4614)
🐞 fix #4597 watch intercept dirty return value (#4612)
🐞 fix #4599 useController/Controller type check with render prop (#4600)
💡 refactor: add eslint plugin to sort imports / exports (#4605)
v7.0.0
Compare Source
Changes
RefCallbackHandler
toUseFormRegisterReturn
for register callback's returnConfiguration
📅 Schedule: "before 3am on Monday" (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 WhiteSource Renovate. View repository job log here.