[Snyk] Upgrade react-hook-form from 7.34.2 to 7.53.1 #132
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.
Snyk has created this PR to upgrade react-hook-form from 7.34.2 to 7.53.1.
ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
The recommended version is 84 versions ahead of your current version.
The recommended version was released on a month ago.
Release notes
Package name: react-hook-form
🐞 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 function with object type check (#12306)
🖐️ improve: resolve type of set function (#12145)
🔧 chore: upgrade eslint to v9 (#12150)
📖 fix: code example input field placeholder name (#12296)
📖 docs: fix typo in code example (#12271)
thanks to @ rasikhq @ abnud11 @ crypt0box @ developer-bandi @ matmannion @ hasancruk & @ vismay7
🌫️ feat: #12148 support isValid when mode is set to onBlur (#12194)
🐞 fix #12021 issue with disable prop not reflecting on re-render without trigger by useEffect (#12193)
👩🌾 close #12168 optimise re-render with validating fields subscription (#12192)
🐞 fix #12127 issue with compare object value changed with object input (#12185)
🎲 improve : break out of recursive loops on first focus (#11827)
📖 fix example of ObjectKeys type (#11965)
thanks to @ suke & @ DPflasterer
👍 close #12108 useController should subscribe to exact field name of form's state (#12109)
👍 chore: upgrade app deps
🩻 fix: add useCallback for ref callback (#12078)
🚀 fix: skip call executeBuiltInValidation if no sub-fields left (#12054)
thanks to @ newsiberian, @ Wendystraite and @ abnud11
🐞 fix #12024 dirty not update issue with values prop (#12041)
🐞 fix: field array validate rules shift errors (#12033)
thanks to @ JardelCheung
⚛️ close #11932 enable react 19 peer dependency (#11935)
👮♀️ close #11954 getFieldState remove unnessaried inValidating and touched subscription (#11995)
🐞 fix #11985 logic createFormControl check field before usage (#11986)
⌨️ fix: enforce type safety for deps property in RegisterOptions (#11969)
🐞 fix #11922 keep dirty on reset with dirty fields (#11958)
🚔 close #11937 add validation in the cleanup process in useController (#11938)
Revert "⌨️ close: correct type of error field in getFieldState return object (#11831)"
📖 fix: change info.values type in WatchObserver (#11917)
thanks to @ nakaakist, @ IdoBouskila, @ pincy and @ peinguin
📖 fix broken link to examples in README.md (#11805)
⌨️ close: correct type of error field in getFieldState return object (#11831)
🐞 fix #11842 radio buttons not disabled when multiple share a name (#11873)
🐞 fix #11821 set value with disabled false before mount (#11880)
🐞 fix setError to preserve existing errors elsewhere in the object (#11888)
⌨️ fix: add info.value type to WatchObserver (#11872)
🫡 fix issue with internal
set
api (#11915)thanks to @ mjr2595 @ erashu212 @ SimonJTurner and @ peinguin
👹 close #11778 improve unregister omit key with getValues method (#11779)
🐞 fix #11794 issue: Fields dirty state is not updated when passing values to useForm
🐞 fix #11773 regression on dirty check with reset (#11775)
🐞 fix #11719 validation stuck on true state (#11723)
🐛 bug(validatingFields, trigger): handle all fields validation trigger (#11624)
💚 ci: cleanup actions versions (#11629)
🐞 fix #11590 issue with trigger on validatingFields (#11613)
thanks to @ Moshyfawn
Important
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information: