Skip to content

Releases: migtools/lib-ui

v5.1.0

29 Jun 20:30
13b7e48
Compare
Choose a tag to compare

5.1.0 (2021-06-29)

Features

  • kube-client: Add debug tree modifications (#67) (13b7e48)

v5.0.0

24 Jun 16:33
5dd826e
Compare
Choose a tag to compare

5.0.0 (2021-06-24)

Features

  • useformstate: replace setInitialValue/reset with prefill/revert and reinitialize/clear (#65) (5dd826e)

BREAKING CHANGES

  • useformstate: setInitialValue and reset have been replaced with reinitialize and clear. For better isDirty behavior you may want to use prefill instead of reinitialize.

  • Simplify sentence about revert/clear

v4.0.4

01 Jun 13:53
56cc00d
Compare
Choose a tag to compare

4.0.4 (2021-06-01)

v4.0.3

12 May 15:25
b5d4526
Compare
Choose a tag to compare

4.0.3 (2021-05-12)

v4.0.2

12 May 15:13
216e5fc
Compare
Choose a tag to compare

4.0.2 (2021-05-12)

v4.0.1

28 Apr 17:11
26a34c0
Compare
Choose a tag to compare

4.0.1 (2021-04-28)

Bug Fixes

  • useformstate: properly assert that field types inferred from yup schema are defined (#60) (26a34c0)

v4.0.0

22 Apr 22:52
a1e3601
Compare
Choose a tag to compare

4.0.0 (2021-04-22)

Bug Fixes

  • useformstate: hotfix: we needed AnySchema instead of SchemaOf for the yup breaking change (#59) (a1e3601)

BREAKING CHANGES

  • useformstate: useFormState and useFormField now require yup.AnySchema<T> schema types instead
    of the yup.SchemaOf<T> which was not behaving correctly with boolean fields.

v3.0.0

22 Apr 19:08
626a934
Compare
Choose a tag to compare

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.

v2.1.1

22 Apr 15:28
0f8ab09
Compare
Choose a tag to compare

2.1.1 (2021-04-22)

v2.1.0

19 Mar 16:21
c030c2b
Compare
Choose a tag to compare

2.1.0 (2021-03-19)

Features

  • statusicon: add Paused status type to StatusIcon (#53) (c030c2b)