Skip to content
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

chore(deps): bump react-hook-form from 7.20.5 to 7.21.0 in /generators/client/templates/react #17244

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 7, 2021

Bumps react-hook-form from 7.20.5 to 7.21.0.

Release notes

Sourced from react-hook-form's releases.

Version 7.21.0

πŸ“ shouldUseNativeValidation will inject native validation attributes into field which supports both client & server (#7207)

const { register } = useForm()
<input {...register('name', { required: true })} />
<input name="name" required /> // both client and server render

πŸ€¦πŸ»β€β™‚οΈ fix #2717 regression with async field array actions (#7218)

Changelog

Sourced from react-hook-form's changelog.

[7.21.0] - 2021-12-06

Changed

  • shouldUseNativeValidation will pass down validation props both at client and server render
const { register } = useForm()
<input {...register('name', { required: true })} />
<input name="name" required /> // both client and server render

[7.20.3] - 2021-11-26

Changed

  • register onChange will share same logic with useController for non standard event payload
const { onChange } = register('test');
onChange('stringIsValid'); // this is only valid use case for JS
  • empty node in formState will no longer gets unset

[7.20.0] - 2021-11-19

Added

  • new exact prop for useWatch
  • new exact prop for useFormState
useWatch({
  name: 'test.test',
  exact: true,
});
useFormState({
name: 'test.test',
exact: true,
});

Changed

  • useWatch subscription will occurred at useEffect instead before render

... (truncated)

Commits
  • 0b111c7 7.21.0
  • 5718320 πŸ€¦πŸ»β€β™‚οΈ fix #2717 regression with async field array actions (#7218)
  • 96ae59e πŸ‡¨πŸ‡³ document v7 in simplified Chinese (#7213)
  • 1f8bfc4 ❀️ thank you David Marr for helping the community
  • 21cd384 πŸ“‡ improve readme (#7211)
  • 72c4f11 πŸ“ shouldUseNativeValidation enable inject native validation attribute into fi...
  • 7078b20 🎳 eliminate some of the any type (#7210)
  • fd3cb00 πŸͺ£ remove not valid example
  • See full diff 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 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.20.5 to 7.21.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.20.5...v7.21.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added theme: dependencies Pull requests that update a dependency file theme: react labels Dec 7, 2021
@DanielFran DanielFran merged commit 00277ef into main Dec 7, 2021
@DanielFran DanielFran deleted the dependabot/npm_and_yarn/generators/client/templates/react/react-hook-form-7.21.0 branch December 7, 2021 09:27
@pascalgrimaud pascalgrimaud added this to the 7.5.0 milestone Dec 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
theme: dependencies Pull requests that update a dependency file theme: react
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants