Skip to content

v3.0.0

Compare
Choose a tag to compare
@konveyor-release-bot konveyor-release-bot released this 22 Apr 19:08
· 64 commits to main since this release
626a934

3.0.0 (2021-04-22)

Build System

  • deps: Upgrade and handle breaking changes in dependencies (#57) (626a934)

BREAKING CHANGES

  • deps: The yup upgrade bundles its own TS types, removing the need to depend on @types/yup, and some of the type changes are breaking. yup.Schema has been replaced by yup.SchemaOf, and it correctly infers array types now so we were able to remove the hacky MaybeArraySchema type from useFormState. There have also been some behavior changes in some of the schema methods, particularly the .defined() and .required() methods. See those changes here: https://github.com/jquense/yup/blob/master/CHANGELOG.md (the items between 0.29.3 and 0.32.8). We felt it was a good idea to upgrade even though this is a little disruptive, because the new built-in TS types are less finicky and more helpful than the community-provided ones were.