CreateThrive / react-firebase-admin

React ⚛️ starter kit with Firebase 🔥 and Bulma for setting up an admin dashboard - Highly scalable, PWA, Serverless
https://docs.react-firebase.com
MIT License
412 stars 97 forks source link

Bump react-hook-form from 6.12.2 to 7.12.0 #433

Closed dependabot[bot] closed 3 years ago

dependabot[bot] commented 3 years ago

Bumps react-hook-form from 6.12.2 to 7.12.0.

Release notes

Sourced from react-hook-form's releases.

Version 7.12.0

⌚ UX: useForm config delayError (#5935)

useForm({
  delayError: 500 // delay error appear with 500ms
})

⌨️ stricter type check on onChange event type (#6030) 🐞 fix #6035 issue with Controller select toggle inValid state (#6069) 🐞 fix #6055 missing dirtyFields subscribe in useFieldArray actions (#6059) 🐞 fix #6052 miss marking controller as mounted (#6053)

Version 7.11.1

🐛 fix #5944 reset issue with unmounted useFieldArray (#5954) 🐛 fix #5942 case when value is supplied as null/undefined ⌨️ close #5928 improve useWatch and watch types (#5945) 🎮 fix #5936 regression with controller value transform (#5937)

Version 7.11.0

🚅 update method for useFieldArray (#5835)

const { update } = useFieldArray();

update(0, data); // update an individual field array node

🔄 fix #5911 issue with reset clear flag for Controller (#5912) ⌨️ fix #5839 issue with null type with deepMap (#5896) 🚌 close #5857 setValue missing await with trigger validation (#5859) 👨🏻‍💻 chore: allow readonly tuple in useWatch generic params (#5845)

Version 7.10.1

🗝️ fix #5808 DeepMap extend issue with File (#5813) 🕵️ fix #5816 variable name typo in useController

Version 7.10.0

🍌 deprecated defaultValue at useFieldArray as a required prop (#5636)

function Test() {
  const { control, register } = useForm();
  const { fields, append, prepend, remove, swap, move, insert } = useFieldArray({
    control,
    name: "test",
  });

return ( {fields.map((field, index) => ( </tr></table>

... (truncated)

Changelog

Sourced from react-hook-form's changelog.

[7.12.0] - 2021-07-24

Add

  • new useForm config delayError
useForm({
  delayError: 500, // delay error appear with 500ms
});

[7.11.0] - 2021-07-13

Add

  • update method to update an field array inputs
const { update } = useFieldArray();

update(0, data); // update an individual field array node

[7.10.0] - 2021-07-02

Changed

  • defaultValue is no longer a required prop for register input with useFieldArray

[7.9.0] - 2021-06-19

Add

  • new config at useForm to enabled native browser validation
const { register, handleSubmit } = useForm({
  shouldUseNativeValidation: true,
});

[7.8.5] - 2021-06-15

Change

  • useController no longer access input ref except focus event for focus management

[7.8.0] - 2021-06-5

... (truncated)

Commits
  • 64cca4c 7.12.0
  • 8ef53cc 🐞 fix #6035 issue with Controller select toggle inValid state (#6069)
  • bff550b ❤️ thank you GraphCMS for sponsoring
  • b4423c5 👨🏻‍💻 revert feature request template
  • edf936f 👨🏻‍💻 update issue/feature request ttemplate
  • 94099e8 👨🏻‍💻 create bug report form
  • 3c41f1f 🐞 fix #6055 missing dirtyFields subscribe in useFieldArray actions (#6059)
  • 4a613ff ⌨️ stricter type check on onChange event type (#6030)
  • e32797b 🐞 fix #6052 miss marking controller as mounted (#6053)
  • bb1fbf2 Revert "🐞 fix #6040 set up defaultValue for nested field array (#6041)"
  • 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 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 3 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.