Skip to content

build(deps): Bump react-hook-form from 7.90.0 to 7.91.0 - #1365

Merged
github-actions[bot] merged 1 commit into
Currentfrom
dependabot/npm_and_yarn/react-hook-form-7.91.0
Oct 26, 2026
Merged

github-actions[bot] merged 1 commit into
Currentfrom
dependabot/npm_and_yarn/react-hook-form-7.91.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Oct 26, 2026

Copy link
Copy Markdown
Contributor

Bumps react-hook-form from 7.90.0 to 7.91.0.

Release notes

Sourced from react-hook-form's releases.

Version 7.91.0

🐞 Fixes

  • Fix useFieldArray not updating rows when using setValue or setValues (#13842, #13939)
  • Fix useFieldArray not unregistering values correctly on unmount (#13843)
  • Fix field registration without a value incorrectly adding array rows (#13846, #13849)
  • Fix useFieldArray reindexing fields incorrectly when array rules are registered (#13873)
  • Fix useFieldArray losing validation rules after reset() (#13940)
  • Fix stale field array validation results after array changes (#13888)
  • Fix useFieldArray validation after submission in onBlur mode (#13867)
  • Fix dirty state updates when setValues changes field arrays (#13870)
  • Fix stale asynchronous validation results after reset() and unregister() (#13908, #13912, #13934)
  • Fix Controller validation using stale DOM values (#13880)
  • Fix isValid not updating correctly after reset() and subsequent changes (#13847, #13930)
  • Fix handleSubmit leaving isSubmitting active when validation throws (#13905)
  • Fix empty validation message arrays being treated as errors (#13937)
  • Fix delayed validation errors not being flushed on blur (#13861)
  • Fix form state subscriptions and validity updates (#13866, #13877, #13906)
  • Fix dirty state tracking and resetField() with falsy values (#13868, #13900)
  • Fix unregister retaining validation rules when using keepValue (#13891)
  • Fix <Form /> handling of JSON, URL-encoded, multipart and plain-text submissions (#13848, #13854, #13874, #13893, #13907, #13915, #13926)
  • Fix useWatch not updating default values when the watched name changes (#13859)
  • Fix select options being lost before the form is ready (#13872)
  • Fix useForm retaining removed options and disabled state (#13882, #13883, #13889, #13898)
  • Fix progressive required attributes (#13924)
  • Fix numeric zero maxLength validation (#13851)
  • Fix object comparison for null-prototype objects and sparse arrays (#13853, #13855, #13857)
  • Fix cloneObject handling objects with a constructor key (#13875)
  • Fix setValue handling null-prototype objects (#13916)
  • Fix form-level validation error types (#13860)
  • Fix useForm mutating the externally provided errors object (#13896)
  • Fix stale NaN and invalid date validation results (#13910)

⚑ Performance Improvements

  • Avoid unnecessary copies when calling getValues() (#13894)
  • Reduce unnecessary <Form /> re-renders (#13899)

🧹 Refactors

  • Simplify multipart Content-Type handling (#13926)
  • Improve internal types and remove unnecessary type assertions (#13871, #13886)
  • Clean up memoized component display names (#13897)
  • Fix JSDoc examples (#13895)

πŸ§ͺ Tests

  • Add coverage for disabled field array operations (#13841)
  • Expand regression coverage for useFieldArray, reset, validation and form state

... (truncated)

Changelog

Sourced from react-hook-form's changelog.

[7.91.0] - 2026-10-24

Changed

  • Improve performance of Form by reading control from context to avoid unnecessary re-renders
  • Improve performance of getValues by avoiding unnecessary shallow copies
  • Simplify multipart content-type header filtering
  • Align form-level validation error types

Fixed

  • useFieldArray not registering array rules again after reset
  • setValue not updating field array rows when a parent object is set
  • createFormControl keeping a newer change's error when an older isValid pass settles
  • validate treating an empty message array as valid
  • reset releasing keepIsValid on the next field change or field array operation
  • register only emitting the progressive required attribute when the rule is on
  • createFormControl dropping the async result of a field unregistered while it validates
  • createFormControl supporting null-prototype objects in setValue
  • Form handling case-insensitive and parameterized multipart encType
  • createFormControl ignoring a stale NaN or Invalid Date validation result
  • Settle submit state when validation throws
  • Form letting fetch set the multipart boundary for a multipart content-type header
  • createFormControl ignoring a stale built-in validity result after reset
  • useForm running the initial validity check when a child subscribed first
  • Form sending a text/plain body for a text/plain content type
  • createFormControl copying the errors prop instead of writing into it
  • useForm resetting resetOptions when removed from props
  • createFormControl handling falsy values correctly in _getDirty and resetField
  • unregister dropping the field's rules when keepValue keeps only its value
  • useForm clearing errors when the errors option is removed or set to undefined
  • useFieldArray dropping a validation result once the array has changed
  • reset keeping retained fields disabled
  • useForm re-enabling the form when the disabled option is removed
  • formState producing a new validatingFields reference when it changes
  • validateField validating the stored value of Controller fields with a DOM ref
  • useForm resetting progressive option when removed from props
  • cloneObject copying plain objects that have a constructor key
  • useFieldArray reindexing row fields when the array has rules
  • Form matching JSON content types case-insensitively
  • deepEqual comparing keys as own properties instead of via in
  • register keeping select options picked before the form is ready
  • Report isReady to useFormState mounted with the form
  • useFieldArray revalidating array operations after submit in onBlur mode
  • getDirtyFields handling null or undefined form values when clearing a field
  • setValue updating isDirty when shouldDirty fills a field array
  • delayError flushing the delayed error on blur when blur also validates
  • useWatch using the new defaultValue when the watched name changes
  • deepEqual comparing sparse array lengths
  • Form sending a url-encoded body for a url-encoded content type

... (truncated)

Commits
  • de3c946 7.91.0
  • da618cb Revert "🐞 fix(reset): keep mounted Controllers registered so submit still val...
  • e715d44 🧴 fix remove optional chain
  • eed8086 🐞 fix(useFieldArray): register the array rules again after reset (#13940)
  • fe960d4 🐞 fix(setValue): update field array rows when the parent object is set (#13939)
  • 0f3e977 🐞 fix(createFormControl): keep a newer change's error when an older isValid p...
  • 33f65e5 🐞 fix(getValidateError): treat an empty message array from validate as valid ...
  • a72bcd7 Revert "🐞 fix(objectHasFunction): check own properties to ignore Object.proto...
  • dee9424 🐞 fix(reset): release keepIsValid on the next field change or field array op ...
  • 76c0b3d 🐞 fix(reset): keep mounted Controllers registered so submit still validates t...
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [react-hook-form](https://github.com/react-hook-form/react-hook-form) from 7.90.0 to 7.91.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.90.0...v7.91.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Oct 26, 2026
@github-actions
github-actions Bot merged commit ac0d323 into Current Oct 26, 2026
6 of 9 checks passed
@github-actions
github-actions Bot deleted the dependabot/npm_and_yarn/react-hook-form-7.91.0 branch October 26, 2026 23:47
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 javascript Pull requests that update Javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant