Skip to content

Update dependency react-hook-form to v7.83.0#1089

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

Update dependency react-hook-form to v7.83.0#1089
renovate[bot] wants to merge 1 commit into
masterfrom
renovate/react-hook-form-7.x-lockfile

Conversation

@renovate

@renovate renovate Bot commented May 29, 2025

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
react-hook-form (source) 7.56.37.83.0 age confidence

Release Notes

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

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

v7.72.1

Compare Source

Fixed
  • Prevent setValue with shouldDirty from polluting unrelated dirty fields
  • Memoize control in HookFormControlContext to prevent render conflicts
  • isNameInFieldArray should check all ancestor paths for nested field arrays
  • formState.isValid incorrect on Controller re-mount

v7.72.0

Compare Source

Added
  • Built-in form-level validate option
  • Subscribe formState to track submit state
Fixed
  • Checkbox form validation ignored with native validation
  • Prevent useFieldArray from marking unrelated fields as dirty

v7.71.2

Compare Source

Fixed
  • clearErrors emit name signal for targeted field updates
  • Use DeepPartialSkipArrayKey for WatchObserver value parameter

v7.71.1

Compare Source

Fixed
  • Issue with booleans_as_integers value handling

v7.71.0

Compare Source

v7.70.0

Compare Source

Fixed
  • Prevent field array ghost elements with keepDirtyValues
  • Improve watch return types
  • Improve invalid date handling in deepEqual and validation
  • Handle branded types correctly in DeepPartial
  • Fix native validation focus issue
  • Prevent duplicate subscription trigger in setValue

v7.69.0

Compare Source

Added
  • Align <Watch /> API with useWatch
Fixed
  • Security: CVE-2025-67779, CVE-2025-55184, CVE-2025-55183, CVE-2025-55182
  • Preserve isValid state when keepIsValid option is used
  • Ensure createFormControl.subscribe subscription listens only to subscribed changes
  • Batch isValidating state updates with validation result
  • Resolve race condition between setError and setFocus

v7.68.0

Compare Source

Added
  • <FormStateSubscribe /> component
Fixed
  • Clear validation errors synchronously in reset() to fix Next.js 16 Server Actions issue

v7.67.0

Compare Source

Added
  • exact option for useController props
Fixed
  • Allow undefined value with async defaultValues in Controller
  • Correct PathValueImpl type inference

v7.66.1

Compare Source

Performance
  • Reduce redundant property access in getDirtyFields
Fixed
  • Skip setValid() during batch array updates
  • Recompute isValid after reset when values update asynchronously
  • Handle NaN comparison correctly using Object.is in deepEqual

v7.66.0

Compare Source

Added
  • useWatch and useController now react to name prop changes
Fixed
  • watch() returning undefined immediately after reset()
  • Correct render function parameter typing for <Watch /> component

v7.65.0

Compare Source

Added
  • <Watch /> component
Fixed
  • Respect parent-provided useFieldArray rules
  • getDirtyFields submit fields with null values when using useForm

v7.64.0

Compare Source

Added
  • Support optional array fields in PathValueImpl type
Fixed
  • Preserve Controller's defaultValue with shouldUnregister prop

v7.63.0

Compare Source

Added
  • Improve get dirty fields logic
  • Extra form values accessible via formState
Fixed
  • Only execute trigger function when deps has a valid array
  • Unregister previous field when switching conditional Controllers
  • Use field name to update isValidating fields

v7.62.0

Compare Source

Fixed
  • Sync two defaultValues after reset with new defaultValues
  • Field name type conflict in nested FieldErrors
  • Prevent onBlur for readOnly fields
  • Do not override prototype of data in cloneObject

v7.61.1

Compare Source

Fixed
  • Reverted watch return type change based on defaultValue (caused regressions)

v7.61.0

Compare Source

Added
  • compute prop for useWatch subscription
Fixed
  • Subscribe with latest defaultValues
  • Trigger watch callbacks only in response to value changes
  • Track name with setValue subscription callbacks
  • Handle explicit "multipart/form-data" encType in <Form /> component
  • Remove React wildcard import to resolve ESM build issues

v7.60.0

Compare Source

Added
  • reset with keepFieldsRef option to keep fields reference
Fixed
  • Remove Set from clone object

v7.59.0

Compare Source

Added
  • Support deep equality checking with circular references
Fixed
  • Issue with formData reference clone
  • Issue with undefined value for submit data
  • useWatch object variable param handling

v7.58.1: Version 7.58.1

Compare Source

🔧 check window.crypto undefined (#​12893)

v7.58.0

Compare Source

Added
  • FieldArrayPathByValue type
  • Use stringToPath to prevent errors at field names containing quotes
Fixed
  • Incorrect formControl return from useForm
  • Initial useFieldArray fields population

v7.57.0

Compare Source

Added
  • Focus form field for errors supplied via errors prop
  • Export UseFormResetFieldOptions type for resetField API
  • Root errors count in schema error lookup
Fixed
  • Type info for callback args in subscribe
  • Proper types for form.subscribe
  • useController focus function runtime issue
  • setValue skips values not in own properties (prevents infinite call stack with self-referencing proto)
  • Checkbox duplication handling in useFieldArray
  • mode and reValidateMode reactivity
  • Default value being overwritten by values prop regression

v7.56.4: Version 7.56.4

Compare Source

🐞 fix: Changes setValue to skip values that are not in ownProperties to prevent infinite call stack (#​12731)
🐞 fix: checkbox duplication handling in useFieldArray (#​12793)
🐞 fix: make mode and reValidateMode reactive (#​12803)


Configuration

📅 Schedule: (in timezone America/Los_Angeles)

  • 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 force-pushed the renovate/react-hook-form-7.x-lockfile branch 2 times, most recently from 9d64b1c to 157089c Compare June 2, 2025 02:09
@renovate renovate Bot changed the title Update dependency react-hook-form to v7.56.4 Update dependency react-hook-form to v7.57.0 Jun 2, 2025
@renovate
renovate Bot force-pushed the renovate/react-hook-form-7.x-lockfile branch from 157089c to c46097e Compare June 2, 2025 18:09
@renovate
renovate Bot force-pushed the renovate/react-hook-form-7.x-lockfile branch from c46097e to b9d4612 Compare June 15, 2025 12:51
@renovate renovate Bot changed the title Update dependency react-hook-form to v7.57.0 Update dependency react-hook-form to v7.58.0 Jun 15, 2025
@renovate
renovate Bot force-pushed the renovate/react-hook-form-7.x-lockfile branch from b9d4612 to 22c26dd Compare June 17, 2025 17:26
@renovate renovate Bot changed the title Update dependency react-hook-form to v7.58.0 Update dependency react-hook-form to v7.58.1 Jun 17, 2025
@renovate
renovate Bot force-pushed the renovate/react-hook-form-7.x-lockfile branch from 22c26dd to 5c95a38 Compare June 28, 2025 05:21
@renovate renovate Bot changed the title Update dependency react-hook-form to v7.58.1 Update dependency react-hook-form to v7.59.0 Jun 28, 2025
@renovate
renovate Bot force-pushed the renovate/react-hook-form-7.x-lockfile branch from 5c95a38 to be9938b Compare July 5, 2025 00:30
@renovate renovate Bot changed the title Update dependency react-hook-form to v7.59.0 Update dependency react-hook-form to v7.60.0 Jul 5, 2025
@renovate
renovate Bot force-pushed the renovate/react-hook-form-7.x-lockfile branch from be9938b to 132945c Compare July 24, 2025 03:15
@renovate renovate Bot changed the title Update dependency react-hook-form to v7.60.0 Update dependency react-hook-form to v7.61.0 Jul 24, 2025
@renovate
renovate Bot force-pushed the renovate/react-hook-form-7.x-lockfile branch from 132945c to 91481f2 Compare July 24, 2025 14:05
@renovate renovate Bot changed the title Update dependency react-hook-form to v7.61.0 Update dependency react-hook-form to v7.61.1 Jul 24, 2025
@renovate
renovate Bot force-pushed the renovate/react-hook-form-7.x-lockfile branch from 91481f2 to b4c5682 Compare August 2, 2025 02:01
@renovate renovate Bot changed the title Update dependency react-hook-form to v7.61.1 Update dependency react-hook-form to v7.62.0 Aug 2, 2025
@renovate
renovate Bot force-pushed the renovate/react-hook-form-7.x-lockfile branch from b4c5682 to 521f99b Compare September 19, 2025 21:52
@renovate renovate Bot changed the title Update dependency react-hook-form to v7.62.0 Update dependency react-hook-form to v7.63.0 Sep 19, 2025
@renovate
renovate Bot force-pushed the renovate/react-hook-form-7.x-lockfile branch from 521f99b to ea92a5d Compare September 25, 2025 15:04
@renovate
renovate Bot force-pushed the renovate/react-hook-form-7.x-lockfile branch from ea92a5d to 0c868d0 Compare October 4, 2025 05:02
@renovate renovate Bot changed the title Update dependency react-hook-form to v7.63.0 Update dependency react-hook-form to v7.64.0 Oct 4, 2025
@renovate
renovate Bot force-pushed the renovate/react-hook-form-7.x-lockfile branch from 0c868d0 to 662a67d Compare October 11, 2025 01:45
@renovate renovate Bot changed the title Update dependency react-hook-form to v7.64.0 Update dependency react-hook-form to v7.65.0 Oct 11, 2025
@renovate
renovate Bot force-pushed the renovate/react-hook-form-7.x-lockfile branch from 662a67d to ab7124c Compare November 1, 2025 01:29
@renovate renovate Bot changed the title Update dependency react-hook-form to v7.65.0 Update dependency react-hook-form to v7.66.0 Nov 1, 2025
@renovate
renovate Bot force-pushed the renovate/react-hook-form-7.x-lockfile branch from ab7124c to 297a14e Compare November 18, 2025 02:26
@renovate renovate Bot changed the title Update dependency react-hook-form to v7.66.0 Update dependency react-hook-form to v7.66.1 Nov 18, 2025
@renovate
renovate Bot force-pushed the renovate/react-hook-form-7.x-lockfile branch from 297a14e to ffec2ae Compare November 28, 2025 21:57
@renovate
renovate Bot force-pushed the renovate/react-hook-form-7.x-lockfile branch from 168a5ec to d8444b3 Compare February 12, 2026 10:39
@renovate
renovate Bot force-pushed the renovate/react-hook-form-7.x-lockfile branch from d8444b3 to e194c70 Compare February 20, 2026 22:01
@renovate renovate Bot changed the title Update dependency react-hook-form to v7.71.1 Update dependency react-hook-form to v7.71.2 Feb 20, 2026
@renovate
renovate Bot force-pushed the renovate/react-hook-form-7.x-lockfile branch from e194c70 to 9a437d4 Compare March 22, 2026 01:37
@renovate renovate Bot changed the title Update dependency react-hook-form to v7.71.2 Update dependency react-hook-form to v7.72.0 Mar 22, 2026
@renovate
renovate Bot force-pushed the renovate/react-hook-form-7.x-lockfile branch from 9a437d4 to 8f0835e Compare April 3, 2026 09:51
@renovate renovate Bot changed the title Update dependency react-hook-form to v7.72.0 Update dependency react-hook-form to v7.72.1 Apr 3, 2026
@renovate
renovate Bot force-pushed the renovate/react-hook-form-7.x-lockfile branch from 8f0835e to 0509f1a Compare April 21, 2026 01:36
@renovate renovate Bot changed the title Update dependency react-hook-form to v7.72.1 Update dependency react-hook-form to v7.73.1 Apr 21, 2026
@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 26, 2026
@renovate
renovate Bot force-pushed the renovate/react-hook-form-7.x-lockfile branch from 0509f1a to 639eb1c Compare April 26, 2026 01:37
@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 639eb1c to dfc9a25 Compare May 2, 2026 02:05
@renovate
renovate Bot force-pushed the renovate/react-hook-form-7.x-lockfile branch from dfc9a25 to c0a5154 Compare May 16, 2026 01:12
@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 c0a5154 to d5cb95c Compare May 23, 2026 09:55
@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 force-pushed the renovate/react-hook-form-7.x-lockfile branch from d5cb95c to 5f89bb8 Compare May 31, 2026 14:08
@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 5f89bb8 to b7d5c1b Compare June 8, 2026 02:35
@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 b7d5c1b to f2c9ea3 Compare June 13, 2026 04:59
@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 f2c9ea3 to 988adab Compare June 20, 2026 03:30
@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 force-pushed the renovate/react-hook-form-7.x-lockfile branch from 988adab to 5a9330e Compare July 5, 2026 05:09
@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 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 5a9330e to fdc991f Compare July 18, 2026 05:26
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.

0 participants