Skip to content

fix(deps): update dependency react-hook-form to v7.90.0 - #1800

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/react-hook-form-7.x
Open

renovate[bot] wants to merge 1 commit into
mainfrom
renovate/react-hook-form-7.x

Conversation

@renovate

@renovate renovate Bot commented Jul 25, 2026 •

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
react-hook-form (source) 7.81.0 → 7.90.0 age confidence

Release Notes

react-hook-form/react-hook-form (react-hook-form)

v7.90.0

Compare Source

Changed
  • Improve performance of watch, subscribe, scoped subscriptions, dirty field checks and form state fan-out
  • Reduce bundle size
Fixed
  • Fields named after Object.prototype members not being marked as touched on blur and setValue
  • Dirty values extraction for fields named hasOwnProperty
  • cloneObject dropping the length of sparse arrays
  • cloneObject failing on objects with a null prototype
  • Form options removed from props on re-render not being reset
  • remove() mishandling duplicated indexes and mutating the indexes passed in
  • useFieldArray unregistering fields while a parent array reindexes
  • Input edited before the form is ready being overwritten
  • useWatch not updating watched objects after an <Activity> subtree reconnects
  • useWatch preferring its own defaultValue over form defaultValues for array names
  • reset without values and keepDefaultValues setting isDirty to true
  • Controller blur validation not working after reset
  • watch reading a stale shouldUnregister option when a field registers
  • Native validation reading a stale shouldUseNativeValidation option when stopping at the first error
  • Form values stored under a ref key not being compared correctly
  • setError, clearErrors and remaining error updates not producing a new errors reference

v7.89.0

Compare Source

Changed
  • Add optional @types/react peer dependency
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()

v7.88.0

Compare Source

Added
  • <ErrorMessage /> component for rendering a field's validation error
Fixed
  • setValue dirty state comparison ignoring valueAs* / setValueAs transforms
  • Nested delayError timers not being cancelled when a parent is cleared or unregistered
  • Cleared delayError errors coming back once the pending timer fires
  • criteriaMode not refreshing when form options are updated at runtime
  • resetField leaving stale validating state for the field
  • reset not clearing isValidating and validatingFields, and ignoring keepIsValidating
  • replace() leaving errors and touched state for removed rows
  • remove() leaking deleted values onto surviving items
  • handleSubmit applying a stale resolver result after reset
  • handleSubmit dropping resolver-reported root errors on submit
  • Stale resolver state updates being applied after reset
  • trigger dropping registered nested errors when targeting their parent
  • trigger setting a parent error when the target has only nested resolver errors
  • useWatch compute cache not being initialized with the initial output
  • flatten / jsonToFormData not preserving FileList and not skipping undefined
  • schemaErrorLookup reporting nested containers as exact-name errors
  • unregister not recomputing isValidating after clearing validatingFields
  • unregister stripping a kept value from the submit payload
  • iterateFieldsByAction only breaking out of one loop level
  • setError types from a previous validation surviving an overwrite
  • react-server build not being published
  • validateField calling setCustomValidity per key in validate-object mode
  • useFieldArray not focusing a checkbox or radio in the appended row
  • useFieldArray not reconciling stale fields after an Activity subtree reconnects
  • useForm never reconciling when an Activity subtree is hidden on its first render
  • getFieldState not reading isValidating from the supplied form state
  • useFormState not re-subscribing when control changes
  • reset with keepValues leaving dirtyFields out of sync with isDirty
  • cloneObject not guarding Blob before instanceof

v7.87.0

Compare Source

Added
  • shouldTouch option for trigger()
  • OpaqueTypes registry for opaque leaf types
Fixed
  • Inconsistent behavior among useController().field.onChange()-like APIs
  • Controller under a null parent submitting undefined instead of a value
  • ERR_MODULE_NOT_FOUND resolving react-hook-form due to a react-server declaration (Next.js builds)
  • useWatch never reconciling when an Activity subtree is hidden on its first render
  • resetField not recomputing isValid for subscribe-only consumers
  • generateWatchOutput ignoring defaultValue for an array of names
  • useFormState never reconciling when an Activity subtree is hidden on its first render

v7.86.0

Compare Source

Added
  • Type-safe getErrors method
Performance
  • Improve createFormControl
  • Improve clone object check
  • Avoid cloning values in unregister without subscribers
Fixed
  • Field array update leaving stale errors and touched state at the updated index
  • flatten discarding File and Blob values instead of treating them as leaf nodes
  • validateField not passing the field error to setCustomValidity when criteriaMode is all
  • hasValidation treating falsy but valid values (min: 0, max: 0, minLength: 0, maxLength: 0, required: '') as no validation
  • setValue targeting a nested leaf not notifying a Controller registered on a field array item root
  • setValues not updating fields registered under an object or array value
  • useWatch returning a stale value on name change when the new value is null
  • unregister inverting keepDirty when broadcasting isDirty

v7.85.0

Compare Source

Added
  • Support <Activity />
Fixed
  • getFieldState error resolution from a field path
  • useWatch discarding useForm({ defaultValues }) in favor of its own defaultValue before the form mounts
  • setValue emitting a duplicate values state notification for fields without a native input ref
  • Stale render re-creating a field array path vacated by an array action
  • useFieldArray root-level error (errors.name.root) being lost on append/prepend/insert/remove
  • min/max validation being skipped for valueAsDate fields

v7.84.0

Compare Source

Improvements
  • handleSubmit returns the typed result of the onValid callback instead of discarding it
  • <Form /> supports a function-based action (Server Action style) in addition to URL-string actions
  • Improve performance and reduce bundle size
Fixed
  • reset() with resetOptions.keepDirtyValues freezing clean sibling fields in a nested object when another field in that object is dirty
  • Restore missing FieldArray and FormState type exports
  • setValues not notifying useFieldArray subscribers, leaving rendered fields stale

v7.83.0

Compare Source

Improvements
  • Enhance getEventValue to handle file inputs
  • Improve TypeScript performance with a hard cap at 10 levels of recursive type depth
Fixed
  • Clear internal errors state on argument-less clearErrors()
  • Preserve dirtyFields reference stability
  • Old checkbox/radio elements polluting internal field state
  • useController not re-subscribing onChange/onBlur when control changes
  • Allow validation messages to be defined even if their related value is undefined

v7.82.0

Compare Source

Added
  • Opt-in delayError option for setValue to delay validation error updates
Fixed
  • Expose resetDefaultValues through form context
  • setValue with shouldDirty not updating dirty state correctly when the form is disabled
  • Preserve dirtyFields boolean values for registered array fields
  • Restore FieldArray component export
Performance
  • Improve getDirtyFields performance, especially for larger forms and deeply nested values

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Enabled.

♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate
renovate Bot force-pushed the renovate/react-hook-form-7.x branch 6 times, most recently from 55941d8 to 2d7c205 Compare August 1, 2026 01:40
@renovate renovate Bot changed the title fix(deps): update dependency react-hook-form to v7.82.0 fix(deps): update dependency react-hook-form to v7.83.0 Aug 1, 2026
@renovate
renovate Bot force-pushed the renovate/react-hook-form-7.x branch 2 times, most recently from 3e6b5b9 to b54504f Compare August 8, 2026 04:37
@renovate renovate Bot changed the title fix(deps): update dependency react-hook-form to v7.83.0 fix(deps): update dependency react-hook-form to v7.84.0 Aug 8, 2026
@renovate
renovate Bot force-pushed the renovate/react-hook-form-7.x branch 3 times, most recently from 01e73f3 to 7423a02 Compare August 15, 2026 04:40
@renovate renovate Bot changed the title fix(deps): update dependency react-hook-form to v7.84.0 fix(deps): update dependency react-hook-form to v7.85.0 Aug 15, 2026
@renovate
renovate Bot force-pushed the renovate/react-hook-form-7.x branch 2 times, most recently from c941198 to 326af4f Compare August 29, 2026 00:50
@renovate renovate Bot changed the title fix(deps): update dependency react-hook-form to v7.85.0 fix(deps): update dependency react-hook-form to v7.86.0 Aug 29, 2026
@renovate
renovate Bot force-pushed the renovate/react-hook-form-7.x branch 2 times, most recently from 52bde13 to 91033a1 Compare September 6, 2026 05:05
@renovate renovate Bot changed the title fix(deps): update dependency react-hook-form to v7.86.0 fix(deps): update dependency react-hook-form to v7.87.0 Sep 6, 2026
@renovate
renovate Bot force-pushed the renovate/react-hook-form-7.x branch from 91033a1 to f33ba32 Compare September 7, 2026 16:17
@toxsick

toxsick commented Sep 9, 2026

Copy link
Copy Markdown
Contributor

@coderabbitai review

@coderabbitai

coderabbitai Bot commented Sep 9, 2026 •

Copy link
Copy Markdown
⚠️ Action not completed

Review rate limited.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

@coderabbitai

coderabbitai Bot commented Sep 9, 2026 •

Copy link
Copy Markdown

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

Run configuration

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@renovate
renovate Bot force-pushed the renovate/react-hook-form-7.x branch 2 times, most recently from a0bd3f4 to a8d9c59 Compare September 10, 2026 23:13
@renovate
renovate Bot force-pushed the renovate/react-hook-form-7.x branch from a8d9c59 to 383b6e5 Compare October 3, 2026 23:29
@renovate renovate Bot changed the title fix(deps): update dependency react-hook-form to v7.87.0 fix(deps): update dependency react-hook-form to v7.88.0 Oct 3, 2026
@renovate
renovate Bot force-pushed the renovate/react-hook-form-7.x branch from 383b6e5 to 19f99a7 Compare October 14, 2026 16:51
@renovate renovate Bot changed the title fix(deps): update dependency react-hook-form to v7.88.0 fix(deps): update dependency react-hook-form to v7.89.0 Oct 14, 2026
@renovate
renovate Bot force-pushed the renovate/react-hook-form-7.x branch 3 times, most recently from 2397649 to 8d1a363 Compare October 15, 2026 05:31
@renovate
renovate Bot force-pushed the renovate/react-hook-form-7.x branch 7 times, most recently from 4c9d3b4 to 6b7ece9 Compare October 25, 2026 13:02
@renovate renovate Bot changed the title fix(deps): update dependency react-hook-form to v7.89.0 fix(deps): update dependency react-hook-form to v7.90.0 Oct 25, 2026
@renovate
renovate Bot force-pushed the renovate/react-hook-form-7.x branch 2 times, most recently from c0c2dac to 2e4d8e0 Compare October 29, 2026 03:10
@renovate
renovate Bot force-pushed the renovate/react-hook-form-7.x branch from 2e4d8e0 to 7b93f9f Compare November 5, 2026 20:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant