react-hook-form
7.91.0 · 23 Oct 2026MIT42M / weekRepositoryHomepagenpmAtom feed
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 existingset()guard
Release note
Added
FieldArraycomponent built onuseFieldArrayfor controlled field-array rendering
Fixed
clearErrorschanging thenamevalue fromform.subscriberesettriggeringsubscribewith the latest name instead ofundefinedsetValuesleaving stale elements behind when shrinking a field arrayflattenpreservingDatevalues as leaf nodesuseFieldArraymin length validation error changing location in theerrorsobjectuseControllernot reflecting a cleared parent object in controlled fields
Security
- security
Harden
unset()against prototype-path traversal (__proto__/constructor/prototype), matching the existingset()guard
Performance
Improve re-render with
useFieldArrayreset