Skip to content

chore(deps): update dependency react-hook-form to v7.89.0 - #987

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 May 3, 2026 •

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
react-hook-form (source) 7.73.1 → 7.89.0 age confidence

Release Notes

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

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: Version 7.88.0

Compare Source

✨ Features

  • Add Error Message component (#​13472)
  • Add the Error Message component for displaying validation errors from React Hook Form.

🐞 Fixes

  • Fix stale validating state after resetField() (#​13735)
  • Fix errors and touched state remaining for rows removed by replace() (#​13734)
  • Fix stale resolver results updating form state after reset() during handleSubmit() (#​13733)
  • Fix nested registered errors being removed when trigger() targets their parent (#​13732)
  • Fix resolver-reported root errors being dropped during handleSubmit() (#​13731)
  • Fix parent errors being incorrectly set when trigger() targets a field with only nested resolver errors (#​13730)
  • Fix useWatch compute cache not being initialized with the initial output (#​13728)
  • Fix FileList being lost during flatten/expand and omit undefined values in jsonToFormData (#​13725)
  • Fix schemaErrorLookup reporting nested containers as exact-name errors (#​13727)
  • Fix isValidating not being recomputed after unregister() clears validating fields (#​13723)
  • Fix stale resolver state updates after reset() (#​13722)
  • Fix iterateFieldsByAction only breaking out of one loop level (#​13718)
  • Fix stale validation types surviving setError() overwrites (#​13716)
  • Fix reset() not clearing validating fields (#​13714)
  • Fix remove() leaking deleted values onto surviving field-array items (#​13713)
  • Fix the React Server build being unpublished (#​13709)
  • Fix validateField calling setCustomValidity once per key in validate-object mode (#​13707)
  • Fix useFieldArray focus behavior for checkboxes and radio buttons in appended rows (#​13705)
  • Fix getFieldState reading isValidating from the supplied form state (#​13704)
  • Fix unregister() stripping kept values from the submit payload (#​13703)
  • Fix useFormState not re-subscribing when control changes (#​13702)
  • Fix reset() keeping dirtyFields out of sync with isDirty when keepValues is enabled (#​13701)
  • Fix useForm not reconciling correctly when an Activity subtree is initially hidden (#​13698)
  • Fix cleared errors returning after the delayError timer fires (#​13697)
  • Fix cloneObject throwing when checking Blob with instanceof (#​13694)
  • Fix useFieldArray retaining stale fields after an Activity subtree reconnects (#​13688)

🧹 Refactors

  • Extend _isTracked to the remaining multi-key proxy/subscribe form-state checks (#​13699)
  • Extract _isTracked helper for proxy/subscribe form-state checks (#​13690)
  • Remove the unused abortEarly parameter from iterateFieldsByAction (#​13689)
  • Remove redundant optional chaining from clearErrors (#​13696)

📝 Documentation

  • Fix useWatch compute example variable names in JSDoc (#​13700)

📦 Dependencies

❤️ Thank You

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

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

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.

@github-actions

github-actions Bot commented May 3, 2026 •

Copy link
Copy Markdown
Contributor

📦 Bundle Size Report

Metric Current Previous Change Status
Total (gzip) 224.92 kB 222.56 kB +2.36 kB (+1.1%) 🔴
Total (raw) 630.93 kB 622.83 kB +8.1 kB (+1.3%) 🔴
CSS (gzip) 21.94 kB 21.94 kB 0 B (0%) 🟢
CSS (raw) 114.43 kB 114.43 kB 0 B (0%) 🟢

Size Limits

  • ✅ Total gzipped: 224.92 kB / 350 kB (64.3%)
  • ✅ Total raw: 630.93 kB / 850 kB (74.2%)
  • ✅ CSS gzipped: 21.94 kB / 25 kB (87.8%)

Largest Files (Top 5)

  1. index.esm-CxbtKhpo.js - 13.81 kB (new)
  2. styles.css - 10.97 kB (0 B (0%))
  3. index.css - 10.97 kB (0 B (0%))
  4. internals-CdziDI-1.js - 6.14 kB (new)
  5. hooks-XfIVL73R.js - 5.82 kB (0 B (0%))
View All Files (282 total)
File Size (gzip) Change
index.esm-CxbtKhpo.js 13.81 kB new
styles.css 10.97 kB 0 B (0%)
index.css 10.97 kB 0 B (0%)
internals-CdziDI-1.js 6.14 kB new
hooks-XfIVL73R.js 5.82 kB 0 B (0%)
sdk.gen-hikpofx9.js 5.48 kB 0 B (0%)
index.js 5.45 kB -7 B (-0.1%)
flows/Onboarding/hooks.js 4.43 kB 0 B (0%)
utils-qfe-oQBs.js 4.07 kB 0 B (0%)
FieldSetField-Dy8CnuWA.js 4.03 kB new

✅ Bundle size check passed

@github-actions

github-actions Bot commented May 3, 2026 •

Copy link
Copy Markdown
Contributor

📊 Coverage Report

⚪ Coverage unchanged

Metric Current Previous Change Status
Lines 86.41% 86.41% 0% ⚪
Statements 85.97% 85.97% 0% ⚪
Functions 84.92% 84.92% 0% ⚪
Branches 77.95% 77.95% 0% ⚪

Detailed Breakdown

Lines Coverage
  • Covered: 4856 / 5620
  • Coverage: 86.41%
  • Change: 0% (0 lines)
Statements Coverage
  • Covered: 4940 / 5746
  • Coverage: 85.97%
  • Change: 0% (0 statements)
Functions Coverage
  • Covered: 1290 / 1519
  • Coverage: 84.92%
  • Change: 0% (0 functions)
Branches Coverage
  • Covered: 3012 / 3864
  • Coverage: 77.95%
  • Change: 0% (0 branches)

✅ Coverage check passed

@github-actions

github-actions Bot commented May 3, 2026 •

Copy link
Copy Markdown
Contributor

Deploy preview for remote-flows ready!

Project:remote-flows
Status: ✅  Deploy successful!
Preview URL:https://remote-flows-abzmlsjh7-remotecom.vercel.app
Latest Commit:7a43d1e

Deployed with vercel-action

@renovate
renovate Bot force-pushed the renovate/react-hook-form-7.x branch from 451558f to ac635a8 Compare May 9, 2026 04:55
@renovate renovate Bot changed the title chore(deps): update dependency react-hook-form to v7.74.0 chore(deps): update dependency react-hook-form to v7.75.0 May 9, 2026
@renovate
renovate Bot force-pushed the renovate/react-hook-form-7.x branch 2 times, most recently from aa2fbf7 to c09b954 Compare May 18, 2026 09:35
@renovate
renovate Bot force-pushed the renovate/react-hook-form-7.x branch from c09b954 to a4b808f Compare May 23, 2026 01:56
@renovate renovate Bot changed the title chore(deps): update dependency react-hook-form to v7.75.0 chore(deps): update dependency react-hook-form to v7.76.0 May 23, 2026
@renovate
renovate Bot force-pushed the renovate/react-hook-form-7.x branch from a4b808f to 107c8f2 Compare May 28, 2026 16:17
@renovate renovate Bot changed the title chore(deps): update dependency react-hook-form to v7.76.0 chore(deps): update dependency react-hook-form to v7.76.1 May 30, 2026
@renovate
renovate Bot force-pushed the renovate/react-hook-form-7.x branch 2 times, most recently from a5179a9 to 9e830b5 Compare June 3, 2026 18:53
@renovate
renovate Bot force-pushed the renovate/react-hook-form-7.x branch from 9e830b5 to fe8cd27 Compare June 7, 2026 13:47
@renovate renovate Bot changed the title chore(deps): update dependency react-hook-form to v7.76.1 chore(deps): update dependency react-hook-form to v7.77.0 Jun 7, 2026
@renovate
renovate Bot force-pushed the renovate/react-hook-form-7.x branch 2 times, most recently from f2c310b to 286c188 Compare June 15, 2026 02:01
@renovate renovate Bot changed the title chore(deps): update dependency react-hook-form to v7.77.0 chore(deps): update dependency react-hook-form to v7.78.0 Jun 15, 2026
@renovate
renovate Bot force-pushed the renovate/react-hook-form-7.x branch from 286c188 to 12e2f6e Compare June 20, 2026 06:02
@renovate renovate Bot changed the title chore(deps): update dependency react-hook-form to v7.78.0 chore(deps): update dependency react-hook-form to v7.79.0 Jun 20, 2026
@github-actions

github-actions Bot commented Jun 20, 2026 •

Copy link
Copy Markdown
Contributor

Deploy preview for adp-cost-calculator ready!

Project:adp-cost-calculator
Status: ✅  Deploy successful!
Preview URL:https://adp-cost-calculator-mngeoahk1-remotecom.vercel.app
Latest Commit:7a43d1e

Deployed with vercel-action

@renovate
renovate Bot force-pushed the renovate/react-hook-form-7.x branch from 12e2f6e to 865dc66 Compare June 27, 2026 04:38
@renovate renovate Bot changed the title chore(deps): update dependency react-hook-form to v7.79.0 chore(deps): update dependency react-hook-form to v7.80.0 Jun 27, 2026
@renovate
renovate Bot force-pushed the renovate/react-hook-form-7.x branch from 865dc66 to 03c8b01 Compare July 12, 2026 06:33
@renovate renovate Bot changed the title chore(deps): update dependency react-hook-form to v7.80.0 chore(deps): update dependency react-hook-form to v7.81.0 Jul 12, 2026
@renovate
renovate Bot force-pushed the renovate/react-hook-form-7.x branch 2 times, most recently from abbc240 to 75594f3 Compare July 21, 2026 01:56
@renovate
renovate Bot force-pushed the renovate/react-hook-form-7.x branch 2 times, most recently from d0536da to 923ec1c Compare July 25, 2026 04:55
@renovate renovate Bot changed the title chore(deps): update dependency react-hook-form to v7.81.0 chore(deps): update dependency react-hook-form to v7.82.0 Jul 25, 2026
@renovate
renovate Bot force-pushed the renovate/react-hook-form-7.x branch 2 times, most recently from 9ffba13 to 28aecc9 Compare August 1, 2026 02:14
@renovate renovate Bot changed the title chore(deps): update dependency react-hook-form to v7.82.0 chore(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 661832d to 9d482ac Compare August 8, 2026 05:58
@renovate renovate Bot changed the title chore(deps): update dependency react-hook-form to v7.83.0 chore(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 ecbb61b to 2915daa Compare August 15, 2026 06:06
@renovate renovate Bot changed the title chore(deps): update dependency react-hook-form to v7.84.0 chore(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 1892abf to ca42513 Compare August 28, 2026 23:07
@renovate renovate Bot changed the title chore(deps): update dependency react-hook-form to v7.85.0 chore(deps): update dependency react-hook-form to v7.86.0 Aug 28, 2026
@renovate
renovate Bot force-pushed the renovate/react-hook-form-7.x branch 2 times, most recently from 61bbe42 to 7ea09ea Compare September 6, 2026 05:57
@renovate renovate Bot changed the title chore(deps): update dependency react-hook-form to v7.86.0 chore(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 3 times, most recently from 145c974 to 2b61b27 Compare September 10, 2026 22:41
@renovate
renovate Bot force-pushed the renovate/react-hook-form-7.x branch 2 times, most recently from 6854244 to 8ed022c Compare September 19, 2026 00:58
@renovate renovate Bot changed the title chore(deps): update dependency react-hook-form to v7.87.0 chore(deps): update dependency react-hook-form to v7.88.0 Sep 19, 2026

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 8ed022c. Configure here.

Comment thread package.json Outdated
@renovate
renovate Bot force-pushed the renovate/react-hook-form-7.x branch 3 times, most recently from 0fc51bc to 7f8599f Compare September 26, 2026 03:16
@renovate
renovate Bot force-pushed the renovate/react-hook-form-7.x branch from 7f8599f to 833e81c Compare October 1, 2026 04:30
@renovate
renovate Bot force-pushed the renovate/react-hook-form-7.x branch from 833e81c to 7a43d1e Compare October 3, 2026 05:47
@renovate renovate Bot changed the title chore(deps): update dependency react-hook-form to v7.88.0 chore(deps): update dependency react-hook-form to v7.89.0 Oct 3, 2026

This branch has not been deployed

No deployments
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