redxzeta / Awesome-Adoption

pet adoption near your area
https://pawternityhub.netlify.app/
MIT License
59 stars 132 forks source link

build(deps): bump react-hook-form from 7.38.0 to 7.41.5 #535

Closed dependabot[bot] closed 1 year ago

dependabot[bot] commented 1 year ago

Bumps react-hook-form from 7.38.0 to 7.41.5.

Release notes

Sourced from react-hook-form's releases.

Version 7.41.5

๐Ÿž fix #9713 regression on validate function with react native (#9714)

thanks @โ€‹Moshyfawn

Version 7.41.4

๐Ÿž fix #9709 calling setValue breaks future onChange calls from a Controller (#9710)

thanks @โ€‹Moshyfawn

Version 7.41.3

๐Ÿ’โ€โ™‚๏ธ close #9684 revert UnPackAsyncDefaultValues to avoid TS breaking change

Version 7.41.2

๐Ÿคฆ๐Ÿปโ€โ™‚๏ธfix #9661 regression on required valueAsNumber (#9662)

๐ŸŽ… Version 7.41.1

๐Ÿž fix #9659 NaN prevent validation update (#9660) ๐Ÿ•ฏ๏ธ close #9524 useWatch return undefined value (#9653) ๐Ÿ“– adjust contributing document (#9641) ๐Ÿ’†๐Ÿป fix #9621 with the inline default value (#9622) ๐Ÿฉป docs: update contribution guidelines (#9605)

thanks to @โ€‹Mini-ghost and @โ€‹stefanpl

๐ŸŽ„ Version 7.41.0

๐Ÿ‘‰ NEW values props

The following syntax will react to values prop update/changes.

  • values will be reactive to update/change and reset accordingly
  • provide a reset option to keep dirty/touched values potentially
const values = await fetch('API')

useForm({ values, // will reset the form when values updates // resetOptions: { // keepDirtyValues: true // } })


๐Ÿ‘‰ NEW async defaultValues props

The following syntax will support async defaultValues, so we will manage the reset form internally and update formState accordingly.

... (truncated)

Changelog

Sourced from react-hook-form's changelog.

Changelog

[7.40.0] - 2022-11-30

Changed

  • async validation (or combined with sync) will always the take the latest validation result and abort the previous

[7.39.5] - 2022-11-21

Changed

  • Conditional render useFormState will trigger an extra re-render to reflect the current formState

[7.39.0] - 2022-11-2

Changed

  • isValid formState is no longer only applicable with onChange, onTouched, and onBlur mode.
Commits


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)
dependabot[bot] commented 1 year ago

Superseded by #536.