Skip to content

Update dependency react-hook-form to v7.86.0 - #248

Merged
ChaosExAnima merged 1 commit into
mainfrom
renovate/react-hook-form-7.x-lockfile
Aug 26, 2026
Merged

ChaosExAnima merged 1 commit into
mainfrom
renovate/react-hook-form-7.x-lockfile

Conversation

@renovate

@renovate renovate Bot commented Apr 23, 2026 •

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
react-hook-form (source) 7.72.1 → 7.86.0 age confidence

Release Notes

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

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

v7.83.0: Version 7.83.0

Compare Source

⚡ Improvements
  • enhance getEventValue to handle file inputs (#​13289)
  • type perf: improve TypeScript performance with a hard cap at 10 levels of recursive type depth (#​13529)
  • type perf: improve type performance (#​13528)
🐞 Fixes
  • fix: clear internal errors state on argument-less clearErrors() (#​13613)
  • fix: preserve dirtyFields reference stability (#​13612)
  • fix: old checkbox/radio elements polluting internal field state (#​13080)
  • fix(useController): re-subscribe onChange/onBlur when control changes (#​13603)
  • fix(types): allow validation messages to be defined even if their related value is undefined (#​13287)

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

v7.81.0

Compare Source

v7.80.0: Version 7.80.0

Compare Source

🧄 feat: disable useFieldArray fields (#​13535)

const { fields } = useFieldArray({ disabled: true });
fields[0].disabled; // contains disabled props

🛺 perf: make rhf more performant (#​13524)
🐞 fix(deepEqual): empty array and empty plain object should not be equal (#​13533)

thanks to @​JSap0914

v7.79.0

Compare Source

Added
  • disabled option to useFieldArray
Fixed
  • Controller onChange promise return type
  • deepEqual false positives with shared object references
  • shouldUseNativeValidation behavior for radio groups
  • createFormControl stability with fast refresh in dev mode
  • StrictMode value preservation during remount
  • formState.errors reactivity with React compiler

v7.78.0

Compare Source

Fixed
  • Recover Controller fields after reset without rerender (RN issue #​13455)
  • useFormState().isDirty race with async resolver in onChange mode
  • Use reactive values prop over defaultValues when shouldUnregister is true
  • deepEqual for empty non-plain objects
Types
  • Update dirtyFields typing for field arrays with undefined entries

v7.77.0

Compare Source

Added
  • resetDefaultValues API
Fixed
  • Stale isDirty in subscribe payload after reset(..., { keepValues: true })
  • Preserve values with shouldUnregister
  • Inconsistent reset({}) behavior requiring double-call to take effect
  • FieldArray errors overriding nested fields
Security
  • Harden get() against prototype-path traversal (__proto__ / constructor / prototype)
Performance
  • Bundle size reduction

v7.76.1

Compare Source

Fixed
  • Revert notify all matching field-array roots on nested setValue updates
  • Revert treat NaN as empty when valueAsNumber is true in validateField
  • setValues pass options parameter through to enable validation
  • setValues emit whole-form change without stale name/type
Performance
  • setValues skip redundant per-field deep clones
  • setValues thread skipClone through setFieldValue

v7.76.0

Compare Source

Added
  • Improve isDirty sync with dirtyFields state
Fixed
  • Preserve formState.defaultValues when useFieldArray and watch are used together
  • Preserve nested resolver field-array errors in trigger()
  • Notify all matching field-array roots on nested setValue updates
  • useFieldArray remove leaves array with empty object when using values prop
  • Preserve reset values for conditionally mounted Controller fields with shouldUnregister
  • Propagate setValues updates to mounted Controller fields
  • Native validation tooltip suppression caused by duplicate submit-error focus
  • append({ obj: null }) silently replaced by defaultValues after remove()
  • Errors state when using form-level validation
  • isValidating reactivity when validatingFields is not subscribed

v7.75.0

Compare Source

Added
  • Improve getDirtyFields to prune empty fields
  • TypeScript 6.0 support
Fixed
  • Include setValues in FormProvider context value
  • Preserve watch updates on field array unmount
  • Prevent useWatch re-render when unrelated field validation occurs
  • Recompute isDirty after re-registering a previously unregistered field

v7.74.0

Compare Source

Added
  • setValues API
Fixed
  • Preserve previous field value when useController name changes
  • Handle null parent when unregistering nested field
  • Treat NaN as empty when valueAsNumber is true in validateField

v7.73.1

Compare Source

Fixed
  • Reverted setValues that was accidentally included in patch; fix build to exclude test files

Configuration

📅 Schedule: (UTC)

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

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻ 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 changed the title Update dependency react-hook-form to v7.73.1 Update dependency react-hook-form to v7.74.0 Apr 25, 2026
@renovate
renovate Bot force-pushed the renovate/react-hook-form-7.x-lockfile branch from e67fe34 to e0a365a Compare April 25, 2026 22:52
@renovate renovate Bot changed the title Update dependency react-hook-form to v7.74.0 Update dependency react-hook-form to v7.75.0 May 2, 2026
@renovate
renovate Bot force-pushed the renovate/react-hook-form-7.x-lockfile branch from e0a365a to 7057e38 Compare May 2, 2026 01:32
@renovate renovate Bot changed the title Update dependency react-hook-form to v7.75.0 Update dependency react-hook-form to v7.76.0 May 16, 2026
@renovate
renovate Bot force-pushed the renovate/react-hook-form-7.x-lockfile branch from 7057e38 to 991d983 Compare May 16, 2026 01:40
@renovate
renovate Bot force-pushed the renovate/react-hook-form-7.x-lockfile branch from 991d983 to 19c0f6c Compare May 23, 2026 09:46
@renovate renovate Bot changed the title Update dependency react-hook-form to v7.76.0 Update dependency react-hook-form to v7.76.1 May 23, 2026
@renovate renovate Bot changed the title Update dependency react-hook-form to v7.76.1 Update dependency react-hook-form to v7.77.0 May 31, 2026
@renovate
renovate Bot force-pushed the renovate/react-hook-form-7.x-lockfile branch from 19c0f6c to e7bfa86 Compare May 31, 2026 12:48
@renovate
renovate Bot force-pushed the renovate/react-hook-form-7.x-lockfile branch from e7bfa86 to c6d5a30 Compare June 8, 2026 02:13
@renovate renovate Bot changed the title Update dependency react-hook-form to v7.77.0 Update dependency react-hook-form to v7.78.0 Jun 8, 2026
@renovate
renovate Bot force-pushed the renovate/react-hook-form-7.x-lockfile branch from c6d5a30 to 8e133d0 Compare June 13, 2026 06:00
@renovate renovate Bot changed the title Update dependency react-hook-form to v7.78.0 Update dependency react-hook-form to v7.79.0 Jun 13, 2026
@renovate
renovate Bot force-pushed the renovate/react-hook-form-7.x-lockfile branch from 8e133d0 to 9e10435 Compare June 20, 2026 01:43
@renovate renovate Bot changed the title Update dependency react-hook-form to v7.79.0 Update dependency react-hook-form to v7.80.0 Jun 20, 2026
@renovate renovate Bot changed the title Update dependency react-hook-form to v7.80.0 Update dependency react-hook-form to v7.81.0 Jul 5, 2026
@renovate
renovate Bot force-pushed the renovate/react-hook-form-7.x-lockfile branch from 9e10435 to 30bace6 Compare July 5, 2026 04:39
@renovate renovate Bot changed the title Update dependency react-hook-form to v7.81.0 Update dependency react-hook-form to v7.82.0 Jul 18, 2026
@renovate
renovate Bot force-pushed the renovate/react-hook-form-7.x-lockfile branch from 30bace6 to 7b826f7 Compare July 18, 2026 05:29
@renovate renovate Bot changed the title Update dependency react-hook-form to v7.82.0 Update dependency react-hook-form to v7.83.0 Jul 25, 2026
@renovate
renovate Bot force-pushed the renovate/react-hook-form-7.x-lockfile branch from 7b826f7 to b27fa4c Compare July 25, 2026 05:28
@renovate
renovate Bot force-pushed the renovate/react-hook-form-7.x-lockfile branch from b27fa4c to a9f6dc0 Compare August 1, 2026 10:12
@renovate renovate Bot changed the title Update dependency react-hook-form to v7.83.0 Update dependency react-hook-form to v7.84.0 Aug 1, 2026
@renovate
renovate Bot force-pushed the renovate/react-hook-form-7.x-lockfile branch from a9f6dc0 to 81d7b35 Compare August 8, 2026 01:46
@renovate renovate Bot changed the title Update dependency react-hook-form to v7.84.0 Update dependency react-hook-form to v7.85.0 Aug 8, 2026
@renovate
renovate Bot force-pushed the renovate/react-hook-form-7.x-lockfile branch from 81d7b35 to 6889a52 Compare August 22, 2026 02:38
@renovate renovate Bot changed the title Update dependency react-hook-form to v7.85.0 Update dependency react-hook-form to v7.86.0 Aug 22, 2026
@renovate
renovate Bot force-pushed the renovate/react-hook-form-7.x-lockfile branch from 6889a52 to aa73a83 Compare August 26, 2026 20:09
@ChaosExAnima
ChaosExAnima enabled auto-merge (squash) August 26, 2026 20:10
@ChaosExAnima
ChaosExAnima merged commit 8d3f829 into main Aug 26, 2026
2 checks passed
@ChaosExAnima
ChaosExAnima deleted the renovate/react-hook-form-7.x-lockfile branch August 26, 2026 20:11
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