KiraLT / torrent-stream-server

HTTP server to convert any torrent to video stream
MIT License
241 stars 105 forks source link

Bump react-hook-form from 7.16.0 to 7.17.3 in /frontend #269

Closed dependabot[bot] closed 3 years ago

dependabot[bot] commented 3 years ago

Bumps react-hook-form from 7.16.0 to 7.17.3.

Release notes

Sourced from react-hook-form's releases.

Version 7.17.3

🦗 close #6777 fall back to defaultValues with shouldUnregister: true with unmount fieldArray (#6780) 🧯 change validation message in example code to match the rule better (#6781) 🌳 rename document.contains to live function (#6778) 🐞 fix 6764 reset with keepDefaultValues: true with isDirty and dirtyFields (#6774) 🐞 fix #6765 useFieldArray trigger validation by field name (#6768) 🧶 add support for extended generics in path type (#6762) 🐞 fix #6754 focus issue with radio and checkbox (#6755)

thanks to @​RolkerMan @​hpohlmeyer

Version 7.17.2

🐞 fix #6748 skip clone object when object contains function nodes (#6749) ⏮ revert interface & mapped type update (#6747) 🐞 fix #6736 custom onChange getting called on blur (#6746) 🐞 fix #6731 subscription issue with unmount field array (#6732) 💉 simplify controller field state error type (#6730) 🌟 improve reset with keepDefaultValues options (#6720) 👂 improve useSubscribe hook (#6724) 📖 more TS test coverage for missing generic at useForm (#6716)

thanks to @​fzkirablackwhy @​kotarella1110

Version 7.17.1

Revert "✨ Add support for generic components using FieldPathWithValue (#6562)" (#6717) 🖌️ fix Path and ArrayPath types for defined value type with interface (#6626) 🧉 close #6657 support equality check on date time object (#6706)

thanks to @​kotarella1110 @​jviall

Version 7.17.0

✨ Add support for generic components using FieldPathWithValue (#6562)

type ExpectedType = { test: string };

const Generic = <FormValues extends FieldValues>({ name, control, }: { name: FieldPathWithValue<FormValues, ExpectedType>; control: Control<FormValues>; }) => { const { field: { value, ...fieldProps }, } = useController<FormValues, ExpectedType>({ name, control, defaultValue: { test: 'value' }, </tr></table>

... (truncated)

Changelog

Sourced from react-hook-form's changelog.

Changelog

[7.17.0] - 2021-10-02

Added

  • new type FieldPathWithValue to improve generic components type support
type ExpectedType = { test: string };

const Generic = <FormValues extends FieldValues>({ name, control, }: { name: FieldPathWithValue<FormValues, ExpectedType>; control: Control<FormValues>; }) => { const { field: { value, ...fieldProps }, } = useController<FormValues, ExpectedType>({ name, control, defaultValue: { test: 'value' }, });

return <input type="text" value={value.test} {...fieldProps} />; };

[7.16.1] - 2021-09-27

Changed

  • formState subscription no longer subscribed at useEffect instead the execution of each hook
Commits
  • 26c4fe0 7.17.3
  • 85d23f2 🦗 close #6777 fall back to defaultValues with shouldUnregister true with unmo...
  • 0b5fb25 🧯 change validation message in example code to match the rule better (#6781)
  • f1b7ec0 🌳 rename document.contains to live function (#6778)
  • b7ddb1e 🐞 fix 6764 reset with keepDefaultValues: true with dirty and dirtyFields (#6774)
  • c124399 🐞 fix #6765 useFieldArray trigger validation by field name (#6768)
  • 54f6cec 🧶 add support for extended generics in path type (#6762)
  • 2cd4434 🐞 fix #6754 focus issue with radio and checkbox (#6755)
  • 771a563 ❤️ thank you Katsutoshi Saino for sponsoring
  • c190993 7.17.2
  • 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

Superseded by #272.