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.27.1 in /frontend #328

Closed dependabot[bot] closed 2 years ago

dependabot[bot] commented 2 years ago

Bumps react-hook-form from 7.16.0 to 7.27.1.

Release notes

Sourced from react-hook-form's releases.

Version 7.27.1

🐛 fix react-hook-form/react-hook-form#7853 (useFieldArray): pass context type down to Control (react-hook-form/react-hook-form#7856) 🐞 fix react-hook-form/react-hook-form#7849 issue with unset on multiple dimension array (react-hook-form/react-hook-form#7859)

thanks to @​Moshyfawn

Version 7.27.0

react-hook-form/react-hook-form#7138 feature: allow selecting input's content on focus (react-hook-form/react-hook-form#7781)

setFocus('fieldName', { shouldSelect: true })

https://user-images.githubusercontent.com/10513364/153570934-ca29337f-d7ce-4744-b282-6939c2e17b48.mp4

⌨️ fix react-hook-form/react-hook-form#7772 type issue by using UnpackNestedValue on FieldArray methods (react-hook-form/react-hook-form#7773)

thanks to @​Moshyfawn and @​hpersson

Version 7.26.1

🐞 close react-hook-form/react-hook-form#7758 useController should subscribe to exact field name (react-hook-form/react-hook-form#7759)

thanks to @​Moshyfawn

Version 7.26.0

📚 TSDoc

https://user-images.githubusercontent.com/10513364/152477495-7df7269c-18c2-4420-85e7-956c7c35ca42.mp4

🐞 fix react-hook-form/react-hook-form#7741 is validating reset when async validations are still running (react-hook-form/react-hook-form#7747) ⛑ close react-hook-form/react-hook-form#7717 shallow clone errors object in handleSubmit (react-hook-form/react-hook-form#7718) 🍦 close react-hook-form/react-hook-form#7703 don't expose internal state in handleSubmit (react-hook-form/react-hook-form#7704) 🏋️ save bytes on parseFloat (react-hook-form/react-hook-form#7697)

thanks to @​Moshyfawn and @​tiii

Version 7.25.3

😭 close #7686 regression on replace API and cloneObject on payload (#7687)

Version 7.25.2

⚛️ close #7683 support preact with onTouched mode (#7684)

thanks to @​Moshyfawn

Version 7.25.1

🐞 fix #7662 issue with reset file input (#7656) 🚗 improve perf with get proxy formState (#7655)

... (truncated)

Changelog

Sourced from react-hook-form's changelog.

Changelog

[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> <p>{getFieldState('firstName').isTouched && 'touched'}</p> <button type="button" onClick={() => console.log(getFieldState('firstName'))} > field state </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)
dependabot[bot] commented 2 years ago

Superseded by #332.