@@ -4,16 +4,20 @@ All notable changes to this project will be documented in this file.
44The format is based on [ Keep a Changelog] ( http://keepachangelog.com/en/1.0.0/ )
55and this project adheres to [ Semantic Versioning] ( http://semver.org/spec/v2.0.0.html ) .
66
7- ## [ Unreleased ]
7+ ## [ 0.22 ] 2020-03-11
88
99### Added
1010- Add multi-value support for ` Assert<String>.contains() ` and ` doesNotContain() `
11+ - Add ` isEqualByComparingTo ` to compare objects by ` compareTo ` instead of ` equals ` this is useful for cases like
12+ ` BigDecimal ` where ` equals ` would fail because of differing precision.
13+ - Add ` containsOnly ` for arrays.
1114
1215### Changed
1316- Minimum supported kotlin version is 1.3.70
1417- Updated opentest4j to 1.2.0. This changes the multiple assertion message to include each exception class name.
1518- Moved ` containsAll ` , ` containsNone ` , and ` containsOnly ` from ` Collection ` to ` Iterable ` to make
1619them a bit more flexible.
20+ - ` containsAll ` , ` containsNone ` , and ` containsOnly ` error messages now include the expected and actual lists.
1721- Unwrap exceptions thrown by ` prop(callable: KCallable<*>) ` to make them more clear.
1822- Add all exception stacktraces to a ` MultipleFailuresError ` with ` Throwable.addSurpressed ` on the jvm (used when
1923collecting multiple exceptions with ` assertAll ` ). Unfortunately, if you are using gradle you won't see this due to a
@@ -29,6 +33,12 @@ known [gradle issue](https://github.com/gradle/gradle/issues/9487).
2933 ```
3034 will no longer be caught. But you shouldn't be writing code like that anyway ;)
3135
36+ ### Fixed
37+ - Don't let ` assertAll ` capture ` OutOfMemory ` errors.
38+
39+ ### Breaking Changes
40+ - Previously deprecated methods (as of 0.18) are now errors.
41+
3242## [ 0.21] 2020-01-22
3343
3444### Added
0 commit comments