[0.25] 2021-09-12
Changed
- Minimum supported kotlin version is 1.5.30
- Minimum supported coroutines version is 1.5.2
- Replaced custom result type returned from
assertThat {}
withkotlin.Result
. This is a binary-incompatible change,
but it should be source-compatible in most cases as referencing the custom result type directly was discouraged.
Added
- Added
startsWith()
andendsWith()
forList
. - Added
Optional<>.isPresent()
,Optional<>.isEmpty()
,Optional<>.hasValue()
- Added expanded set of apple targets for kotlin native.
Fixed
- Fixed behavior of
isEqualToIgnoringGivenProperties
to only check accessible properties. - Added
prop
which can take a member function. This restores much of the functionality deprecated
in 0.23, while preserving the useful type-safety of the new overloads.