Skip to content

chore(deps): bump react-hook-form from 7.80.0 to 7.81.0#471

Merged
github-actions[bot] merged 1 commit into
mainfrom
dependabot/npm_and_yarn/main/react-hook-form-7.81.0
Jul 6, 2026
Merged

chore(deps): bump react-hook-form from 7.80.0 to 7.81.0#471
github-actions[bot] merged 1 commit into
mainfrom
dependabot/npm_and_yarn/main/react-hook-form-7.81.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jul 6, 2026

Copy link
Copy Markdown
Contributor

Bumps react-hook-form from 7.80.0 to 7.81.0.

Release notes

Sourced from react-hook-form's releases.

Version 7.81.0

⚜️ feat: FieldArray component (#13394)

<FieldArray
  control={control}
  name="test"
  render={({ fields }) => null}
/>

🐞 fix #13538 useFieldArray min 1 item validation error changes its location in the errors object (#13539) 🐞 fix #13569 calling reset triggers subscribe with latest name instead of undefined (#13574) 🐞 fix(useController): reflect cleared parent object in controlled fields (#13550) (#13553) 🐞 fix(flatten): preserve Date values as leaf nodes (#13566) 🐛 fix(unset): guard against prototype keyword path traversal (#13559) (#13560) 🏸 improve setValue api with shrink value (#13576) 👝 close #13577 improve re-render with useFieldArray reset (#13578) 🐞 fix #13575 issue: clearErrors changes the name value from form.subscribe (#13579)

thanks to @​DakshSinghDhami, @​JSap0914, @​tran-simon & @​EduardF1

Changelog

Sourced from react-hook-form's changelog.

[7.81.0] - 2026-07-05

Added

  • FieldArray component built on useFieldArray for controlled field-array rendering

Fixed

  • clearErrors changing the name value from form.subscribe
  • reset triggering subscribe with the latest name instead of undefined
  • setValues leaving stale elements behind when shrinking a field array
  • flatten preserving Date values as leaf nodes
  • useFieldArray min length validation error changing location in the errors object
  • useController not reflecting a cleared parent object in controlled fields

Security

  • Harden unset() against prototype-path traversal (__proto__ / constructor / prototype), matching the existing set() guard

Performance

  • Improve re-render with useFieldArray reset
Commits

@dependabot dependabot Bot requested a review from sergeyklay as a code owner July 6, 2026 05:35
@dependabot dependabot Bot added the dependencies Pull requests that update a dependency file label Jul 6, 2026
@dependabot dependabot Bot requested a review from cicdbot as a code owner July 6, 2026 05:35
@dependabot dependabot Bot added the npm Pull requests that update package.json file label Jul 6, 2026
@cicdbot

cicdbot commented Jul 6, 2026

Copy link
Copy Markdown
Collaborator

@dependabot rebase

@codecov

codecov Bot commented Jul 6, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 95.99%. Comparing base (2e79899) to head (6080a57).
⚠️ Report is 134 commits behind head on main.
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@           Coverage Diff            @@
##             main     #471    +/-   ##
========================================
  Coverage   95.99%   95.99%            
========================================
  Files          91       91            
  Lines       13507    13507            
  Branches      984     1243   +259     
========================================
  Hits        12966    12966            
  Misses        541      541            

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Bumps [react-hook-form](https://github.com/react-hook-form/react-hook-form) from 7.80.0 to 7.81.0.
- [Release notes](https://github.com/react-hook-form/react-hook-form/releases)
- [Changelog](https://github.com/react-hook-form/react-hook-form/blob/master/CHANGELOG.md)
- [Commits](react-hook-form/react-hook-form@v7.80.0...v7.81.0)

---
updated-dependencies:
- dependency-name: react-hook-form
  dependency-version: 7.81.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/main/react-hook-form-7.81.0 branch from 8533c95 to 6080a57 Compare July 6, 2026 05:38

@cicdbot cicdbot left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Auto-approved after CI passed

@github-actions github-actions Bot merged commit ddc85e4 into main Jul 6, 2026
4 checks passed
@dependabot dependabot Bot deleted the dependabot/npm_and_yarn/main/react-hook-form-7.81.0 branch July 6, 2026 05:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file npm Pull requests that update package.json file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant