willowtreeapps/assertk
### [`v0.24`](https://togithub.com/willowtreeapps/assertk/blob/master/CHANGELOG.md#024-2021-05-05)
##### Fixed
- Fixed `any` breaking when the list had several items.
##### Added
- Added `containsSubList` for `List`.
- Added `exists` for `Path`.
### [`v0.23.1`](https://togithub.com/willowtreeapps/assertk/blob/master/CHANGELOG.md#0231-2021-02-03)
##### Fixed
- Fixed `containsExactly` failing on custom list types.
- Fixed NullPointerException in `isDataClassEqualTo` when a property is null.
- Fixed multiple failures breaking `any`
- Fixed map's `containsOnly` to ensure keys match up with values.
- Fixed map's contain methods null handling.
### [`v0.23`](https://togithub.com/willowtreeapps/assertk/blob/master/CHANGELOG.md#0231-2021-02-03)
##### Fixed
- Fixed `containsExactly` failing on custom list types.
- Fixed NullPointerException in `isDataClassEqualTo` when a property is null.
- Fixed multiple failures breaking `any`
- Fixed map's `containsOnly` to ensure keys match up with values.
- Fixed map's contain methods null handling.
### [`v0.22`](https://togithub.com/willowtreeapps/assertk/blob/master/CHANGELOG.md#022-2020-03-11)
##### Added
- Add multi-value support for `Assert.contains()` and `doesNotContain()`
- Add `isEqualByComparingTo` to compare objects by `compareTo` instead of `equals` this is useful for cases like
`BigDecimal` where `equals` would fail because of differing precision.
- Add `containsOnly` for arrays.
##### Changed
- Minimum supported kotlin version is 1.3.70
- Updated opentest4j to 1.2.0. This changes the multiple assertion message to include each exception class name.
- Moved `containsAll`, `containsNone`, and `containsOnly` from `Collection` to `Iterable` to make
them a bit more flexible.
- `containsAll`, `containsNone`, and `containsOnly` error messages now include the expected and actual lists.
- Unwrap exceptions thrown by `prop(callable: KCallable<*>)` to make them more clear.
- Add all exception stacktraces to a `MultipleFailuresError` with `Throwable.addSurpressed` on the jvm (used when
collecting multiple exceptions with `assertAll`). Unfortunately, if you are using gradle you won't see this due to a
known [gradle issue](https://togithub.com/gradle/gradle/issues/9487).
- No longer wrap exceptions in `AssertionError`s when using `given` and `transform`. Warning: this is techinicaly a
breaking change as code like:
```kotlin
try {
assertThat(foo).given { throw MyException("error") }
} catch (e: AssertionError) {
// assume caught
}
```
will no longer be caught. But you shouldn't be writing code like that anyway ;)
##### Fixed
- Don't let `assertAll` capture `OutOfMemory` errors.
##### Breaking Changes
- Previously deprecated methods (as of 0.18) are now errors.
### [`v0.21`](https://togithub.com/willowtreeapps/assertk/blob/master/CHANGELOG.md#021-2020-01-22)
##### Added
- Add `any` to iterable assertions. It will pass when any of the provided assertions pass.
##### Changed
- Minimum supported kotlin version is 1.3.60
- Changed the signatures of `isEqualToWithGivenProperties` and `isEqualToIgnoringGivenProperties` to
be able to take nullable properties.
- Improved the output of `containsExactly` to show the entire list.
- Render tabs and newlines in diffs to make clear what's different.
##### Fixed
- Fixed issues with nested soft assertions. (https://github.com/willowtreeapps/assertk/issues/253)
Configuration
📅 Schedule: At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box.
This PR contains the following updates:
0.20
->0.24
Release Notes
willowtreeapps/assertk
### [`v0.24`](https://togithub.com/willowtreeapps/assertk/blob/master/CHANGELOG.md#024-2021-05-05) ##### Fixed - Fixed `any` breaking when the list had several items. ##### Added - Added `containsSubList` for `List`. - Added `exists` for `Path`. ### [`v0.23.1`](https://togithub.com/willowtreeapps/assertk/blob/master/CHANGELOG.md#0231-2021-02-03) ##### Fixed - Fixed `containsExactly` failing on custom list types. - Fixed NullPointerException in `isDataClassEqualTo` when a property is null. - Fixed multiple failures breaking `any` - Fixed map's `containsOnly` to ensure keys match up with values. - Fixed map's contain methods null handling. ### [`v0.23`](https://togithub.com/willowtreeapps/assertk/blob/master/CHANGELOG.md#0231-2021-02-03) ##### Fixed - Fixed `containsExactly` failing on custom list types. - Fixed NullPointerException in `isDataClassEqualTo` when a property is null. - Fixed multiple failures breaking `any` - Fixed map's `containsOnly` to ensure keys match up with values. - Fixed map's contain methods null handling. ### [`v0.22`](https://togithub.com/willowtreeapps/assertk/blob/master/CHANGELOG.md#022-2020-03-11) ##### Added - Add multi-value support for `AssertConfiguration
📅 Schedule: At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by WhiteSource Renovate. View repository job log here.