Releases: robfletcher/strikt
Releases · robfletcher/strikt
Radiant Factory
- Drops support for Java < 17.
- Support Spring Boot 3.
- Adds
comparesEqualTo
for comparable subjects. - Adds
isEqualToIgnoringWhitespace
for string subjects. - Adds
hasSize
assertion for array subjects. - Adds
keys
andvalues
mappings for map subjects
Glorious Bureaucrat
- Removes the overload of
isNotNull
to avoid overload ambiguity when the subject is a platform type.
Full Changelog: v0.34.0...v0.34.1
Stalwart Blossom
- Adds
propertiesAreEqualToIgnoring
assertion. - Adds
isSameInstant
assertion for date/time types.
Scarlet Attitude
What's Changed
- Support Kotlin 1.6.0
- Add 'doesNotContainKey' and 'doesNotContainKeys' map assertions by @r0adkll in #247
New Contributors
Full Changelog: v0.32.0...v0.33.0
Golden Depths
- Supports Kotlin 1.5
- Removes
strikt-gradle
module as classpath isolation is problematic with Kotlin 1.5 and thegradleTestKit
dependency. - Adds
Assertion.Builder<T>.subject : T
property for accessing the subject value.
Ashen Forests
- Incomplete assertion chains now throw
IncompleteAssertion
. - Suppresses class name in the
toString
of exceptions thrown by Strikt assertions. - Updates
strikt-arrow
to support recent changes in the Arrow library.
Ascending Ivory
- Fixes an issue where pending assertion chains in a block took precedence over failures, causing false positives. See #243
Sorrowful Glass
- All transitive dependencies are now resolvable from Maven Central rather than needing JCenter.
- Adds
isContainedIn
assertion.
Hateful Mantis
- Moves several JVM-specific assertions to the new
strikt-jvm
module. - Removes the
strikt-java-time
module (usestrikt-jvm
instead). - Adds
isSorted
assertion forIterable<Comparable<*>>
. - Broadens
isSorted(Comparator)
so that it applies toIterable<*>
rather thanCollection<*>
.
Hidden Ruin
- Removes support for Arrow's
Try
type that has been removed fromarrow-core
. - Adds
anyIndexed
,allIndexed
, andnoneIndexed
assertions forIterable<*>
.