Skip to content

v0.28.0

Compare
Choose a tag to compare
@evant evant released this 05 Dec 23:47
· 11 commits to main since this release

[0.28.0] 2023-12-05

Changed

  • Minimum supported kotlin version is 1.9.21
  • Rename isSameAs/isNotSameAs to isSameInstanceAs/isNotSameInstanceAs to make it more clear they
    use are about instance identity, old name is deprecated
  • Rename containsAll to containsAtLeast to make it more clear that the collection can contain additional elements,
    old name is deprecated
  • Bytes are shown as hex on all supported platforms (previously it was only on the jvm)
  • If isEqualTo fails and the expected and actual display the same string, print a disambiguation message, ex:
    expected:<4> with type:<class kotlin.Int> but was type:<class kotlin.Short> with the same string representation
    

Breaking Changes

  • Binary-breaking change as previous error-level deprecations were removed

Added

  • Added doesNotContainKey assertion for Map

Fixed

  • Fixed incorrect usage of contains in some kdoc examples
  • Exceptions being swallowed if thrown in a soft assertion block
  • More correctly re-throw fatal error in the jvm