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
v0.27.0
[0.27.0] 2023-09-13
Changed
Minimum supported kotlin version is 1.9.0
Added support for WASM targets (note: this only applies to the core library
and not assertk-coroutines as the coroutines library doesn't have a stable
release for it yet)
Breaking Changes
Previous assertThat {} deprecation warning is now an error
v0.26.1
[0.26.1] 2023-05-18
Fixed
Made assertFailure {} inline like assertThat {} was to allow testing suspend function failures.
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
[0.27.0] 2023-09-13
Changed
Minimum supported kotlin version is 1.9.0
Added support for WASM targets (note: this only applies to the core library
and not assertk-coroutines as the coroutines library doesn't have a stable
release for it yet)
Breaking Changes
Previous assertThat {} deprecation warning is now an error
[0.26.1] 2023-05-18
Fixed
Made assertFailure {} inline like assertThat {} was to allow testing suspend function failures.
[0.26] 2023-05-12
Changed
Minimum supported kotlin version is 1.8.10
Minimum supported coroutines version is 1.7.0
When asserting on a Throwable or failed Result, their exception is added as the cause to any
AssertionErrors which are thrown as the result of an assertion failure.
Removed second type parameter on Any.isInstanceOf extension. In practice this would generally widen
to Any which is what it has been replaced with.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps com.willowtreeapps.assertk:assertk-jvm from 0.22 to 0.28.0.
Release notes
Sourced from com.willowtreeapps.assertk:assertk-jvm's releases.
... (truncated)
Changelog
Sourced from com.willowtreeapps.assertk:assertk-jvm's changelog.
... (truncated)
Commits
1829f1c
Update docs2777987
prepare release v0.28.0c9209ca
update CHANGELOG with changes since last release82dfd5b
remove error-level deprecations1034194
reformat testsbe58cbb
remove deprecated PlatformName379d50d
expand fatal error list on the jvm based on rxjava9e0e6ef
prioritize exceptions thrown directly in soft assertion blocks9470bb6
show bytes as hex on all supported platforms (#498)0c0438f
print disambiguation message if display is the sameDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show