Skip to content

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jun 2, 2025

Bumps react-hook-form from 7.49.3 to 7.57.0.

Release notes

Sourced from react-hook-form's releases.

Version 7.57.0

🫚 feat: root errors count in schema error lookup (#12839) πŸ‘οΈ feat: focus form field for errors supplied by errors prop (#12805) ⌨️ feat: add and export options config for resetField api (#12819) 🐞 close #12707 useController focus function runtime issue (#12843) 🐞 fix: add proper types to form.subscribe (#12850) 🐞 fix: add type info for callback args in subscribe (#12859) πŸ”„ close #12835 revert original fix on errors empty object check (#12846)

Version 7.57.0-next.0

πŸ‘€ useWatch new compute props

  • 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 : '';
},
});

Version 7.56.4

🐞 fix: Changes setValue to skip values that are not in ownProperties to prevent infinite call stack (#12731) 🐞 fix: checkbox duplication handling in useFieldArray (#12793)

... (truncated)

Commits
  • e49d8a8 7.57.0
  • 3fd740f 🐞 fix: add type info for callback args in subscribe (#12859)
  • 90cdaee 🐞 fix: add proper types to form.subscribe (#12850)
  • cff8819 πŸ”„ close #12835 revert original fix on errors empty object check (#12846)
  • d666a76 πŸ‘οΈ feat: focus form field for errors supplied by errors prop (#12805)
  • 490f04f 🐞 close #12707 useController focus function runtime issue (#12843)
  • c22c028 ⌨️ rename to UseFormResetFieldOptions for type consistency
  • 5345f0d ⌨️ feat: add and export options config for resetField api (#12819)
  • d7aa973 🫚 feat: root errors count in schema error lookup (#12839)
  • 8f874e1 🌎 remove www. for the doc
  • 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.57.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.49.3...v7.57.0)

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

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Jun 2, 2025
Copy link
Contributor Author

dependabot bot commented on behalf of github Jun 16, 2025

Superseded by #1676.

@dependabot dependabot bot closed this Jun 16, 2025
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/frontend/react-hook-form-7.57.0 branch June 16, 2025 11:47
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 internal javascript Pull requests that update Javascript code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant