Skip to content

Conversation

@dependabot
Copy link

@dependabot dependabot bot commented on behalf of github Jul 31, 2025

Bumps react-hook-form from 7.60.0 to 7.61.1.

Release notes

Sourced from react-hook-form's releases.

Version 7.61.1

Revert "⌨️ fix: watch return type based on defaultValue (#12896)"

Version 7.61.0

🧮 feat: compute prop for useWatch subscription (#12503)

  • subscribe to the entire form but only return updated value with certain condition
type FormValue = {
  test: string;
}
const watchedValue = useWatch({
control: methods.control,
compute: (data: FormValue) => {
if (data.test?.length) {
return data.test;
}
return '';

},
});

  • subscribe to a specific form value state
type FormValue = {
  test: string;
}
const watchedValue = useWatch({
control: methods.control,
name: 'test',
compute: (data: string) => {
return data.length > 3 ? data : '';
},
});

👨‍🔧 trigger watch callbacks in response to value changes only (#12945) 🙏 track name with setValue subscription callbacks (#12946) ⌨️ fix: watch return type based on defaultValue (#12896) 🐞 fix #12959 subscribe with latest defaultValues #12961 🐞 fix: handle explicit "multipart/form-data" encType in Form Component (#12948) 🐞 fix(build): Remove React wildcard import to resolve ESM build issues (#12942) 🦭 chore: improve exclude patterns (#12935) 🐿️ chore: remove unused omit function (#12958)

Big thanks to @​joshkel for helping with some of the subscription bugs! and also @​kamja44, @​mrazauskas, @​codepunkt, @​afontcu and @​rururux

Commits
  • 13465d9 7.61.1
  • 4a7f371 Revert "⌨️ fix: watch return type based on defaultValue (#12896)"
  • 343ac03 7.61.0
  • 3f4d24c 🐞 fix #12959 subscribe with latest defaultValues #12961
  • e295dc7 🐿️ chore: remove unused omit function (#12958)
  • 7372556 🧪 test: add unit tests for unsetEmptyArray, isWeb, and getValidationModes (#1...
  • 6de4297 👨‍🔧 trigger watch callbacks in response to value changes only (#12945)
  • ce7e216 🙏 track name with setValue subscription callbacks (#12946)
  • 7ddbed4 🐞 fix: handle explicit "multipart/form-data" encType in Form Component (#12948)
  • 82b742a 🐞 fix(build): Remove React wildcard import to resolve ESM build issues (#12942)
  • 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 merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @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)

hongyu9 and others added 2 commits July 31, 2025 14:21
Bumps [react-hook-form](https://github.com/react-hook-form/react-hook-form) from 7.60.0 to 7.61.1.
- [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.60.0...v7.61.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Jul 31, 2025
@Micro66 Micro66 closed this Jul 31, 2025
@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github Jul 31, 2025

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot dependabot bot deleted the dependabot/npm_and_yarn/react-hook-form-7.61.1 branch July 31, 2025 06:52
dhs-shine pushed a commit to dhs-shine/RunVSAgent that referenced this pull request Oct 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants