Conversation
Snyk has created this PR to upgrade react-hook-form from 7.54.2 to 7.75.0. See this package in npm: react-hook-form See this project in Snyk: https://app.eu.snyk.io/org/lasuite-dinum-default/project/79c0937d-1ee2-48f1-8afc-366fdb5bf1cb?utm_source=github&utm_medium=referral&page=upgrade-pr
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.
Snyk has created this PR to upgrade react-hook-form from 7.54.2 to 7.75.0.
ℹ️ 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 44 versions ahead of your current version.
The recommended version was released a month ago.
Release notes
Package name: react-hook-form
-
7.75.0 - 2026-05-02
-
7.74.0 - 2026-04-25
setValues((data) => {
-
7.73.1 - 2026-04-20
-
7.72.1 - 2026-04-03
-
7.72.0 - 2026-03-22
useForm({
-
7.71.2 - 2026-02-20
-
7.71.1 - 2026-01-13
-
7.71.0 - 2026-01-11
-
7.70.0 - 2026-01-04
-
7.69.0 - 2025-12-20
-
7.68.0 - 2025-12-03
-
7.67.0 - 2025-11-28
-
7.66.1 - 2025-11-17
-
7.66.0 - 2025-10-31
-
7.65.0 - 2025-10-10
-
7.64.0 - 2025-10-04
-
7.63.0 - 2025-09-19
-
7.62.0 - 2025-08-01
-
7.61.1 - 2025-07-24
-
7.61.0 - 2025-07-23
-
7.60.0 - 2025-07-04
-
7.60.0-next.0 - 2025-07-01
-
7.59.0 - 2025-06-28
-
7.58.1 - 2025-06-17
-
7.58.0 - 2025-06-15
-
7.57.0 - 2025-06-01
-
7.57.0-next.0 - 2025-04-27
-
7.56.4 - 2025-05-17
-
7.56.3 - 2025-05-07
-
7.56.2 - 2025-05-03
-
7.56.1 - 2025-04-22
-
7.56.0 - 2025-04-20
-
7.56.0-next.0 - 2025-04-13
-
7.55.0 - 2025-03-28
-
7.55.0-next.9 - 2025-03-17
-
7.55.0-next.8 - 2025-03-13
-
7.55.0-next.7 - 2025-03-07
-
7.55.0-next.6 - 2025-03-05
-
7.55.0-next.5 - 2025-02-22
-
7.55.0-next.4 - 2025-02-08
-
7.55.0-next.3 - 2025-01-25
-
7.55.0-next.2 - 2025-01-18
-
7.55.0-next.1 - 2024-12-27
-
7.55.0-next.0 - 2024-12-24
-
7.54.2 - 2024-12-20
from react-hook-form GitHub release notes🦧 feat: improve get dirty fields prune empty fields (#13363)
🎹 typescript 6.0 (#13330)
🌡️ chore: minor improvement on setValue & reset (#13366)
🐞 fix #13403: include setValues in FormProvider context value (#13404)
🐞 fix: recompute isDirty after re-registering a previously unregistered field (#13399)
🐞 fix: preserve watch updates on field array unmount fixes #13375 (#13385)
🐞 fix: prevent useWatch re-render when unrelated field validation is … (#13398)
thanks to @ dfedoryshchev, @ cyky & @ gkarabelos
🪇 feat: setValues (#13201)
return {
...data,
name: 'test'
}
})
setValues(formValues);
🐞 fix: preserve previous field value when useController name changes (#13395)
🐞 fix: handle null parent when unregistering nested field (#13396)
🐞 fix: treat NaN as empty when valueAsNumber is true in validateField (#13388)
🪢 fix build to exclude test files (#13387)
thanks to @ Yihao-G & @ mixelburg
⚡perf: memoize submit (#13378)
🚉 perf: improve deepEqual performance (#13362)
👀 perf: skip re-render in setValue when value is unchanged (#13352)
✂️ remove unneeded flag check for shouldDirty
🚨 fix: safely access field._f during register (#13365)
🧹 close #13298: improve fieldState errors when resolver uses dot-notation string keys (#13350)
🐞 fix #13178: update state correctly in watch callback with Controller, trigger, and reset (#13180)
🐞 fix #13331: skip field array validation when mode is onBlur (#13333)
🐞 fix #13334 sDirty remains false after deletion an item with shouldDirty: true (#13357)
🐞 fix: handle nested field when parent defaultValue is null (#13348)
thanks to @ Prasadzoman, @ cyphercodes, @ lorenzoceglia, @ rizwan-rizu, @ tomeelog & @ ap0nia
🐞 fix: add isDirty check for numeric string keys in defaultValues (issue #13346) (#13347)
🐞 fix: prevent setValue with shouldDirty from polluting unrelated dirty fields (#13326)
🐞 fix: memoize control in HookFormControlContext to prevent render conflicts (#13272) (#13312)
🐞 fix: isNameInFieldArray should check all ancestor paths for nested field arrays (#13318)
🐞 fix: #13320 formState.isValid incorrect on Controller re-mount (#13324)
thanks to @ 6810779s, @ candymask0712, @ olagokemills, @ shahmir-oscilar & @ bae080311
⚓️ feat: built-in form level validate (#13195)
validate: async ({ formValues }: FormValidateResult) => {
if (formValues.test1.length > formValues.test.length) {
return {
type: 'formError',
message: 'something is wrong here',
};
}
},
});
🐞 fix: prevent useFieldArray from marking unrelated fields as dirty (#13299)
🐞 fix #13300 checkbox form validation ignored with native validation (#13310)
🌉 allow subscribe formState to track submit state (#13319)
thanks to @ WiXSL, @ BrendanC23 & @ 6810779s
🕵️♂️ fix: use DeepPartialSkipArrayKey for WatchObserver value parameter (#13278)
🧹 fix(clearErrors): emit name signal for targeted field updates (#13280)
thanks to @ veeceey, @ kaigritun, @ pgoslatara & @ seongbiny
🐞 fix #13250 issue with booleans_as_integers (#13252)
⚡ perf: memoize FormProvider context value to prevent unnecessary rerenders (#13235)
🚄 perf: separate control context to prevent unnecessary rerenders (#13234)
🐞 fix: update isValid when field disabled state changes (#13231)
👌 chore: optimize bundle size via safe terser options (#13243) (#13244)
thanks to @ kamja44, @ a28689604 & @ newsiberian
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: