Ukraine-Relief-Efforts / host-a-refugee

Mobile-first website to match refugees with available hosts
https://host-a-refugee.vercel.app
MIT License
14 stars 4 forks source link

Bump react-hook-form from 7.27.1 to 7.28.0 #74

Closed dependabot[bot] closed 2 years ago

dependabot[bot] commented 2 years ago

Bumps react-hook-form from 7.27.1 to 7.28.0.

Release notes

Sourced from react-hook-form's releases.

Version 7.28.0

🏬 enable deps with string syntax (react-hook-form/react-hook-form#7901)

register('test', { deps: 'theOtherInput' })
register('test', { deps: ['theOtherInput', 'others'] })

🧷 fix field array update to avoid external mutation 🐞 fix react-hook-form/react-hook-form#7960 issue on unset deeply nested array field (react-hook-form/react-hook-form#7961) 🐞 fix react-hook-form/react-hook-form#7958 issue with checkbox plus portal (react-hook-form/react-hook-form#7959) 📦 unpack blob data type (react-hook-form/react-hook-form#7937)

thanks to @​DASPRiD and @​Moshyfawn

Version 7.28.0-next.0

🏬 enable deps with string syntax (react-hook-form/react-hook-form#7901)

register('test', { deps: 'theOtherInput' })

🧷 fix field array update to avoid external mutation

Changelog

Sourced from react-hook-form's changelog.

[7.28.0] - 2022-3-13

  • register API options deps now support string
register('test', { dpes: 'test' });

[7.27.0] - 2022-2-11

Added

  • new option for setFocus to select the entire field value
setFocus('fieldName', { shouldSelect: true });

[7.25.2] - 2022-1-29

Changed

  • onTouched mode will honor focusout event

[7.25.0] - 2022-1-22

Added

  • getFieldState get individual field state
export default function App() {
  const {
    register,
    getFieldState,
    formState: { isDirty, isValid },
  } = useForm({
    mode: 'onChange',
    defaultValues: {
      firstName: '',
    },
  });

// you can invoke before render or within the render function const fieldState = getFieldState('firstName');

return ( <form> <input {...register('firstName', { required: true })} /> <p>{getFieldState('firstName').isDirty && 'dirty'}</p> </tr></table>

... (truncated)

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)
vercel[bot] commented 2 years ago

Deployment failed with the following error:

The most recent charge for your active payment method has failed. Please update it here: https://vercel.com/teams/host-a-refugee/settings/billing.
dependabot[bot] commented 2 years ago

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.