Skip to content
This repository was archived by the owner on Jun 30, 2026. It is now read-only.

Update dependency react-hook-form to v7.80.0 - #251

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

Update dependency react-hook-form to v7.80.0#251
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/react-hook-form-7.x-lockfile

Conversation

@renovate

@renovate renovate Bot commented Mar 28, 2025

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

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

Release Notes

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

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)

v7.56.3: Version 7.56.3

Compare Source

Revert "📭 close #​12773 pass input ref instead partial (#​12775)"

v7.56.2: Version 7.56.2

Compare Source

🐞 fix #​12785 regression on default value gets overwritten by values props (#​12790)
🐞 fix: use layoutEffect in useWatch for subscription similar to useForm (#​12786)
🐞 fix #​12772 reset form useWatch to utilize ref for defaultValue and … (#​12780)
📭 close #​12773 pass input ref instead partial (#​12775)

v7.56.1: Version 7.56.1

Compare Source

🐞 fix #​12761 #​12762 issue with usage reset isReady formState (#​12765)
🐞 fix #​12763 import warning with named exports (#​12764)

v7.56.0

Compare Source

Added
  • Reactive mode and reValidateMode support
  • isReady state for subscription
Fixed
  • Regression on move/swap in useFieldArray input update
  • Use useIsomorphicLayoutEffect to address SSR warning

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.

@netlify

netlify Bot commented Mar 28, 2025

Copy link
Copy Markdown

Deploy Preview for calendar-gatsby ready!

Name Link
🔨 Latest commit 5c96908
🔍 Latest deploy log https://app.netlify.com/projects/calendar-gatsby/deploys/6a35f1b341d74700087fee70
😎 Deploy Preview https://deploy-preview-251--calendar-gatsby.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@renovate renovate Bot changed the title Update dependency react-hook-form to v7.55.0 Update dependency react-hook-form to v7.56.0 Apr 20, 2025
@renovate
renovate Bot force-pushed the renovate/react-hook-form-7.x-lockfile branch from 4b584d4 to 56980f5 Compare April 20, 2025 15:01
@renovate renovate Bot changed the title Update dependency react-hook-form to v7.56.0 Update dependency react-hook-form to v7.56.1 Apr 22, 2025
@renovate
renovate Bot force-pushed the renovate/react-hook-form-7.x-lockfile branch from 56980f5 to 78ff63a Compare April 22, 2025 23:03
@renovate
renovate Bot force-pushed the renovate/react-hook-form-7.x-lockfile branch from 78ff63a to eb61be0 Compare May 4, 2025 01:53
@renovate renovate Bot changed the title Update dependency react-hook-form to v7.56.1 Update dependency react-hook-form to v7.56.2 May 4, 2025
@renovate
renovate Bot force-pushed the renovate/react-hook-form-7.x-lockfile branch from eb61be0 to 8dec043 Compare May 7, 2025 21:59
@renovate renovate Bot changed the title Update dependency react-hook-form to v7.56.2 Update dependency react-hook-form to v7.56.3 May 7, 2025
@renovate
renovate Bot force-pushed the renovate/react-hook-form-7.x-lockfile branch from 8dec043 to 7aa10f7 Compare May 17, 2025 03:15
@renovate renovate Bot changed the title Update dependency react-hook-form to v7.56.3 Update dependency react-hook-form to v7.56.4 May 17, 2025
@renovate
renovate Bot force-pushed the renovate/react-hook-form-7.x-lockfile branch from 7aa10f7 to 6aabaed Compare May 22, 2025 13:27
@renovate
renovate Bot force-pushed the renovate/react-hook-form-7.x-lockfile branch from 6aabaed to 5366771 Compare June 2, 2025 01:07
@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 5366771 to ad02107 Compare June 15, 2025 14:49
@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 ad02107 to 244b1fd Compare June 17, 2025 13:35
@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 244b1fd to 07c97e4 Compare June 28, 2025 05:06
@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 07c97e4 to 12a2315 Compare July 4, 2025 23:13
@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 4, 2025
@renovate
renovate Bot force-pushed the renovate/react-hook-form-7.x-lockfile branch from 12a2315 to c1b0f67 Compare July 23, 2025 23:56
@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 23, 2025
@renovate
renovate Bot force-pushed the renovate/react-hook-form-7.x-lockfile branch from c1b0f67 to cb28720 Compare July 24, 2025 16:28
@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 cb28720 to aba0de7 Compare August 1, 2025 23:14
@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 1, 2025
@renovate
renovate Bot force-pushed the renovate/react-hook-form-7.x-lockfile branch from aba0de7 to 4702f0a Compare August 31, 2025 14:15
@renovate
renovate Bot force-pushed the renovate/react-hook-form-7.x-lockfile branch from 4702f0a to 61f6644 Compare September 20, 2025 01:14
@renovate
renovate Bot force-pushed the renovate/react-hook-form-7.x-lockfile branch from 9beb60d to 75f4f65 Compare December 4, 2025 02:11
@renovate renovate Bot changed the title Update dependency react-hook-form to v7.67.0 Update dependency react-hook-form to v7.68.0 Dec 4, 2025
@renovate
renovate Bot force-pushed the renovate/react-hook-form-7.x-lockfile branch from 75f4f65 to 81d7fb1 Compare December 20, 2025 05:05
@renovate renovate Bot changed the title Update dependency react-hook-form to v7.68.0 Update dependency react-hook-form to v7.69.0 Dec 20, 2025
@renovate
renovate Bot force-pushed the renovate/react-hook-form-7.x-lockfile branch from 81d7fb1 to 6b5cba6 Compare January 4, 2026 06:05
@renovate renovate Bot changed the title Update dependency react-hook-form to v7.69.0 Update dependency react-hook-form to v7.70.0 Jan 4, 2026
@renovate
renovate Bot force-pushed the renovate/react-hook-form-7.x-lockfile branch from 6b5cba6 to 3789eb5 Compare January 11, 2026 00:43
@renovate renovate Bot changed the title Update dependency react-hook-form to v7.70.0 Update dependency react-hook-form to v7.71.0 Jan 11, 2026
@renovate
renovate Bot force-pushed the renovate/react-hook-form-7.x-lockfile branch from 3789eb5 to 3ea56ab Compare January 14, 2026 02:10
@renovate renovate Bot changed the title Update dependency react-hook-form to v7.71.0 Update dependency react-hook-form to v7.71.1 Jan 14, 2026
@renovate
renovate Bot force-pushed the renovate/react-hook-form-7.x-lockfile branch from 3ea56ab to 86c6031 Compare February 20, 2026 21:57
@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 86c6031 to 8d461fd Compare March 22, 2026 01:54
@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 8d461fd to 13e368d Compare April 3, 2026 08:52
@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 13e368d to c65399d Compare April 20, 2026 23:00
@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 20, 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 25, 2026
@renovate
renovate Bot force-pushed the renovate/react-hook-form-7.x-lockfile branch 2 times, most recently from 5f14d64 to 791ebbd Compare May 2, 2026 05:05
@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 2 times, most recently from dc00a32 to fa03874 Compare May 16, 2026 01:00
@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 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 fa03874 to 5ce3eda Compare May 23, 2026 09:36
@renovate
renovate Bot force-pushed the renovate/react-hook-form-7.x-lockfile branch from 5ce3eda to 7e6e04f Compare May 31, 2026 13:27
@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
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants