Repository navigation
Comparing changes
Open a pull request
base repository: react-hook-form/react-hook-form
base: v7.76.1
head repository: react-hook-form/react-hook-form
compare: v7.77.0
- 16 commits
- 31 files changed
- 7 contributors
Commits on May 23, 2026
-
Configuration menu - View commit details
-
Copy full SHA for 30d2c4a - Browse repository at this point
Copy the full SHA 30d2c4aView commit details -
🤮 chore: fix ci build (#13469)
* save bundle size * remove workspace * remove * remove --frozen-lockfile * direct export * test * remove the npm install * try again
Configuration menu - View commit details
-
Copy full SHA for 63c974d - Browse repository at this point
Copy the full SHA 63c974dView commit details -
* save bundle size * remove workspace * remove * remove --frozen-lockfile * direct export * test * update ci * test * test * use isWeb * save prop deconstruct * update api contract * update e2e script * update e2e script * revert back * revert back to 9 * revert back to 9 * revert to master
Configuration menu - View commit details
-
Copy full SHA for c60e4f0 - Browse repository at this point
Copy the full SHA c60e4f0View commit details -
🐞 fix stale
isDirtyinsubscribepayload after `reset(..., { keep……Values: true })` (#13461) * Initial plan * fix: keep isDirty accurate on reset with keepValues * fix lint * Update subscribe.test.tsx * Update subscribe.test.tsx --------- Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: Beier Luo <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 831721f - Browse repository at this point
Copy the full SHA 831721fView commit details -
🐞 fix: preserve values with shouldUnregister (#13464)
* fix: preserve values with shouldUnregister * test: align valueAsNumber NaN validation expectation * Potential fix for pull request finding Co-authored-by: Copilot Autofix powered by AI <[email protected]> * Update useForm.test.tsx --------- Co-authored-by: Deepak kudi <[email protected]> Co-authored-by: Bill <[email protected]> Co-authored-by: Copilot Autofix powered by AI <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d058812 - Browse repository at this point
Copy the full SHA d058812View commit details
Commits on May 24, 2026
-
🔧 fix: override rpt2 include patterns broken by picomatch v2 extglob
rollup-plugin-typescript2's default include uses extglob syntax ("*.ts+(|x)") that picomatch v2 (via @rollup/[email protected]) does not support — picomatch v2 treats +(|x) as literal characters so the filter never matches any .ts/.tsx file. Override with plain globs. Co-Authored-By: Claude Sonnet 4.6 <[email protected]>Configuration menu - View commit details
-
Copy full SHA for 9ac8a60 - Browse repository at this point
Copy the full SHA 9ac8a60View commit details -
* upgrade deps * fix build * 🔧 fix: override rpt2 include patterns broken by picomatch v2 extglob rollup-plugin-typescript2's default include uses extglob syntax ("*.ts+(|x)") that picomatch v2 (via @rollup/[email protected]) does not support — it treats +(|x) as literal characters so the filter never matches any .ts/.tsx file. Override with plain globs. Co-Authored-By: Claude Sonnet 4.6 <[email protected]> * update --------- Co-authored-by: Claude Sonnet 4.6 <[email protected]>Configuration menu - View commit details
-
Copy full SHA for f8eb2d7 - Browse repository at this point
Copy the full SHA f8eb2d7View commit details -
🐞 fix inconsistent reset({}) behavior requiring double-call to take e…
…ffect (#13473) * Initial plan * Fix inconsistent reset({}) behavior - use provided values instead of old defaultValues * Delete pnpm-workspace.yaml --------- Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: Bill <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 581321c - Browse repository at this point
Copy the full SHA 581321cView commit details -
🧪 add regression coverage for dynamic nested names with useController…
… and watch APIs (#13474) * Initial plan * test: cover dynamic nested controller watch behavior Agent-Logs-Url: https://github.com/react-hook-form/react-hook-form/sessions/67405d17-6ee3-4636-9155-37a3959c2448 --------- Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: Bill <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 889c752 - Browse repository at this point
Copy the full SHA 889c752View commit details -
🐞 fix FieldArray errors overriding nested fields (#13476)
* Initial plan * fix: preserve nested field array errors when root error and trigger coexist When a resolver returns mixed errors (both root-level and nested indexed errors) for a field array, calling trigger() alongside a field array action (like remove()) could cause nested field errors to be wiped out. Root cause: executeSchemaAndUpdateState() was calling updateFieldArrayRootError() for all plain-object field array errors. updateFieldArrayRootError() used convertToArrayPayload() to coerce the existing errors, but when those errors were already a plain object (set by the useFieldArray useEffect), this wrapped the entire plain object as index 0 of an array — causing all the correctly-indexed nested errors to become inaccessible. Fix 1 (createFormControl.ts): Only call updateFieldArrayRootError() for field array errors that are root-only plain objects (no numeric/index keys). When the error has numeric keys (mixed root + nested), set it directly so both root info (via .type/.message) and nested errors (via [i]) are preserved. Fix 2 (updateFieldArrayRootError.ts): Replace convertToArrayPayload() with an Array.isArray() check so that non-array existing errors are not wrapped. This prevents a scenario where a second trigger() with a root-only error wraps a previously-set plain object, losing its nested entries. * update lint --------- Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: bill <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 645478b - Browse repository at this point
Copy the full SHA 645478bView commit details
Commits on May 25, 2026
-
🐚 harden
get()against prototype-path traversal (__proto__/ `con……structor` / `prototype`) (#13479) * Initial plan * fix: block prototype path traversal in get utility Agent-Logs-Url: https://github.com/react-hook-form/react-hook-form/sessions/e68bef2f-a1ad-41e4-9f8c-115c3d0677c4 * refactor: share prototype keyword guard constant Agent-Logs-Url: https://github.com/react-hook-form/react-hook-form/sessions/724cb05a-d110-42d1-ae6f-6597ff2acbcc --------- Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6aa81f9 - Browse repository at this point
Copy the full SHA 6aa81f9View commit details
Commits on May 27, 2026
-
Configuration menu - View commit details
-
Copy full SHA for fe8276e - Browse repository at this point
Copy the full SHA fe8276eView commit details -
🥡 feat: add
resetDefaultValuesAPI (#13427)* Initial plan * feat: add resetDefaultValues API to update defaults without changing form values Agent-Logs-Url: https://github.com/react-hook-form/react-hook-form/sessions/1f8797d4-65d5-465e-87b5-1b099e4b4d48 * update api contract --------- Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: bill <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 54198d9 - Browse repository at this point
Copy the full SHA 54198d9View commit details
Commits on May 29, 2026
-
Configuration menu - View commit details
-
Copy full SHA for ba88c3d - Browse repository at this point
Copy the full SHA ba88c3dView commit details
Commits on May 30, 2026
-
🧪 add regression coverage for createFormControl + useController remou…
…nt defaults (#13487) * Initial plan * test: add remount regression for createFormControl useController defaults --------- Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f1a02d3 - Browse repository at this point
Copy the full SHA f1a02d3View commit details
Commits on May 31, 2026
-
Configuration menu - View commit details
-
Copy full SHA for 5b20741 - Browse repository at this point
Copy the full SHA 5b20741View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v7.76.1...v7.77.0