github willowtreeapps/assertk v0.25

latest releases: v0.28.1, v0.28.0, v0.27.0...
3 years ago

[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 {} with kotlin.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() and endsWith() for List.
  • 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.

Don't miss a new assertk release

NewReleases is sending notifications on new releases.