opengovsg / checkfirst

Don't Know? CheckFirst. A tool to build eligibility checkers and calculators for Singapore Government policies
https://checkfirst.gov.sg
Other
11 stars 6 forks source link

chore(deps): bump react-hook-form from 7.15.1 to 7.17.1 #1112

Closed dependabot[bot] closed 2 years ago

dependabot[bot] commented 2 years ago

Bumps react-hook-form from 7.15.1 to 7.17.1.

Release notes

Sourced from react-hook-form's releases.

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' }, });

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

⚙️ migrate from Select.options to Select.selectedOptions (#6678) (#6687) 🐞 fix #6683 trigger regression with isValid subscription (#6686)

Thanks to @​julienfouilhe and @​krnlde

Version 7.16.2

⌨️ fix field state error type with NestedValue (#6658) 👓 fix #6655 issue with field array focus name with filter operator (#6656) 🐞 fix #6651 trigger api with schema validation per field level (#6652)

Thanks to @​kotarella1110 @​barrymay @​nicholascm @​fahadsohail482

Version 7.16.1

🎹 fix #6646 incorrect type with fieldState error (#6650) 🎧 refactor subscription logic into useSubscribe (#6614)

Thanks to @​kotarella1110 @​barrymay

... (truncated)

Commits
  • 2836863 7.17.1
  • 08883bb Revert "✨ Add support for generic components using FieldPathWithValue (#65...
  • 51e9baf 🐙 minor code improvement (#6715)
  • ab106ab 🖌️ fix Path and ArrayPath types for defined value type with interface (#6626)
  • 2d061a9 🧉 close #6657 support equality check on date time object (#6706)
  • e511ac4 🥼 update changelog #6693 over interface type improvement
  • 9d8302e 🎸 improve internal logic and save bytes (#6701)
  • d4f31f5 💄 minor code improvement and remove set FileList (#6700)
  • 8654604 🪣 update to the latest packages (#6699)
  • 417695a ❤️ thank you Taku Kobachi for sponsoring
  • 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 2 years ago

Superseded by #1127.