Skip to content

build(deps): bump react-hook-form from 7.86.0 to 7.87.0 in /frontend - #288

Merged
github-actions[bot] merged 1 commit into
mainfrom
dependabot/npm_and_yarn/frontend/react-hook-form-7.87.0
Sep 2, 2026
Merged

build(deps): bump react-hook-form from 7.86.0 to 7.87.0 in /frontend#288
github-actions[bot] merged 1 commit into
mainfrom
dependabot/npm_and_yarn/frontend/react-hook-form-7.87.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Sep 2, 2026

Copy link
Copy Markdown
Contributor

Bumps react-hook-form from 7.86.0 to 7.87.0.

Release notes

Sourced from react-hook-form's releases.

Version 7.87.0

✨ Features

  • Add shouldTouch option to trigger() ([#13671](react-hook-form/react-hook-form#13671))

    setValue already supported shouldTouch; trigger() now does too. This allows you to mark field(s) as touched after manual or programmatic validation, such as validate-on-mount or multi-step form navigation, without needing a setValue workaround:

    // Mark a single field as touched after validating it
    await trigger('firstName', { shouldTouch: true });
    // Mark every mounted field as touched after validating the whole form
    await trigger(undefined, { shouldTouch: true });

  • Add OpaqueTypes registry for opaque leaf types ([#13676](react-hook-form/react-hook-form#13676))

    Recursive type helpers (Path, DeepPartial, DeepRequired, FieldErrorsImpl, etc.) previously stopped only at Primitive | BrowserNativeObject. As a result, rich third-party value types such as Dayjs and Decimal could be recursively traversed member-by-member, potentially causing TypeScript to report "Excessive complexity" diagnostics on large form types.

    You can now register a type as an opaque leaf via declaration merging:

    import type { Dayjs } from 'dayjs';
    declare module 'react-hook-form' {
    interface OpaqueTypes {
    dayjs: Dayjs;
    }
    }

    While the registry is empty, types remain identical to the existing behavior. This is purely opt-in.

🐞 Fixes

❤️ Thank You

Thanks to @​giaBaoJS, @​dfedoryshchev, @​Alioth-91, @​Masatoshi0227, @​modosc, and @​bluebill1049 for their contributions! 🎉

Changelog

Sourced from react-hook-form's changelog.

[7.87.0] - 2026-08-30

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
Commits
  • 29af888 7.87.0
  • 1eeab63 🐞 fix(useFormState): never reconciles when an Activity subtree is hidden on i...
  • 145441c 🐞 fix(generateWatchOutput): defaultValue is ignored for an array of names (#1...
  • 1fb065c 🐞 fix(resetField): isValid not recomputed for subscribe-only consumers (#13684)
  • 2f7380e 🧹refactor: use continue instead of return in setFieldValues' hasOwnProper...
  • 1b0a314 📖 remove comment
  • a457ca7 🐞 fix #13680: useWatch never reconciles when an Activity subtree is hidden on...
  • bb3360f 🐞 fix #13681 issue: ERR_MODULE_NOT_FOUND, Can't resolve react-hook-form due t...
  • f646948 🪅 feat: add OpaqueTypes registry for opaque leaf types (#13676)
  • e17a95c 🧇 chore: scope the lock workflow to issues so its scheduled run can finish (#...
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [react-hook-form](https://github.com/react-hook-form/react-hook-form) from 7.86.0 to 7.87.0.
- [Release notes](https://github.com/react-hook-form/react-hook-form/releases)
- [Changelog](https://github.com/react-hook-form/react-hook-form/blob/master/CHANGELOG.md)
- [Commits](react-hook-form/react-hook-form@v7.86.0...v7.87.0)

---
updated-dependencies:
- dependency-name: react-hook-form
  dependency-version: 7.87.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot @github

dependabot Bot commented on behalf of github Sep 2, 2026

Copy link
Copy Markdown
Contributor Author

Labels

The following labels could not be found: dependencies, javascript. Please create them before Dependabot can add them to a pull request.

Please fix the above issues or remove invalid values from dependabot.yml.

@github-actions

github-actions Bot commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

👋 Hello! Thanks for your contribution. We will review this and get back to you as soon as possible. — th30d4y

@github-actions
github-actions Bot merged commit e10b770 into main Sep 2, 2026
6 of 12 checks passed
@dependabot
dependabot Bot deleted the dependabot/npm_and_yarn/frontend/react-hook-form-7.87.0 branch September 2, 2026 18:55
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