prettier / prettier-browser-extension

Prettier Browser Extension
https://chrome.google.com/webstore/detail/prettier/fbcfnmplppajblbmdehballiekfgdkhp
MIT License
200 stars 18 forks source link

Bump react-hook-form from 6.7.0 to 6.8.2 #347

Closed dependabot[bot] closed 4 years ago

dependabot[bot] commented 4 years ago

Bumps react-hook-form from 6.7.0 to 6.8.2.

Release notes

Sourced from react-hook-form's releases.

Version 6.8.2

🍷 add declaration types for ie11 (#2870) 🐞 fix #2877 issue with dirtyFields with single node (#2882) 👨🏻‍💻 close #2884 & minor code improvement (#2883) 💁‍♂️ improve DX with a warning message for isValid 👨🏻‍💻 throw a warning when watched input is not found (#2890)

Version 6.8.1

🐞 fix #2859 async isSubmitSuccessful (#2867) 🥺 include missing reset isSubmitSuccessful (#2857)

Version 6.8.0

🍷 feature: is successfully submitted (#2798) 🥂 feature: useFieldArray support shouldUnregister (#2691) 🍺 close #949 focus error while setError (#2816) 💡 fix to output error message when as and render props are not given in Controller (#2854) 🐞 fix reset updateFormState replacing isSubmitting (#2830)

Version 6.7.2

🐞 fix #2812 with submitting (#2814) 🐡 add MutationObserver to interface stubs for React Native (#2807) 🤞 improve proxy state (#2818)

Version 6.7.1

🐞 fix(controller): close #2792 add isTouched argument (#2794) 👨🏻‍💻 close #2755 with radio input same name (#2790) 🐞 fix issues #2785 #2755 (#2789) 👮‍♀️ enhance Controller props type (#2786) 👨🏻‍💻 removes redundant dependencies in append and remove of useFieldArray (#2780)

Changelog

Sourced from react-hook-form's changelog.

Changelog

[6.8.0] - 2020-09-09

Added

  • new formState isSubmitSuccessful to indicate successful submission
  • setError now support focus on the actual input
setError('test', { message: 'This is required', shouldFocus: true });

Changed

  • with shouldUnregister:false defaultValues data will be part of the submission data
  • with shouldUnregister:false conditional field is going to work with useFieldArray
  • setValue now support useFieldArray
- setValue('test', 'data')
+ setValue('test', [{ test: '123' }]) // make it work for useFieldArray and target a field array key
  • remove exact config at clearErrors
- clearErrors('test', { exact: false })
+ clearErrors('test') // does it automatically in the lib
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 4 years ago

Superseded by #349.