Packages

react-hook-form

7.91.0 · 23 Oct 2026MIT42M / weekRepositoryHomepagenpmAtom feed

Your version

7.89.0

26 Sep 2026Where it was published

7.91.0 is the newest release of 7.x.

In short

1 new18 fixed

Release note

Changed

Fixed

  • validateField calling setCustomValidity on refs that don't implement it under native validation

  • Form-level validate running a stale function instead of the latest one

  • Form-level validation leaving stale errors after a successful re-validation

  • Form-level validation running more than once per traversal

  • Stale validation results (resolver, built-in, form-level validate) being applied after reset in onChange and handleSubmit

  • Pending delayError timers for nested paths not being cancelled when a parent validates clean or is reset via resetField

  • getValues(names, { dirtyFields }) returning every row of a field array instead of only the marked entries

  • Field array touched state not being re-indexed when touchedFields is not subscribed

  • useFieldArray emitting touchedFields in form state updates when unnecessary

  • Stale field array root error not clearing once an array operation satisfies the rule

  • useFieldArray marking the form dirty when the array default is null

  • Dirty state lingering for rows removed from a field array

  • setValue with shouldValidate not revalidating deps

  • setValue with shouldValidate not triggering validation for a field array root

  • Validation rules removed from register options at runtime still being applied

  • useController validating required against the input value instead of the controlled value

  • isValid not recomputing when the errors prop is emptied

  • getFieldState(name, formState) with a resolver after reset()