Packages

react-hook-form

7.91.0 · 23 Oct 2026MIT42M / weekRepositoryHomepagenpmAtom feed

Your version

7.81.0

5 Jul 2026Where it was published

7.91.0 is the newest release of 7.x.

In short

1 security1 new1 faster6 fixed

  • security

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

Release note

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

  • security

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

Performance

  • Improve re-render with useFieldArray reset