Skip to content

⬆ Bump react-hook-form from 7.49.3 to 7.61.1 in /frontend #1734

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

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

Bumps react-hook-form from 7.49.3 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

... (truncated)

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)

Bumps [react-hook-form](https://github.com/react-hook-form/react-hook-form) from 7.49.3 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.49.3...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 25, 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.

0 participants