From 0960a0b173d0b78d5bf66b9b12bab585fe67fc09 Mon Sep 17 00:00:00 2001 From: Sean Amos Date: Tue, 1 Sep 2020 15:19:34 -0400 Subject: [PATCH] Release v0.23 --- CHANGELOG.md | 9 +++++++-- README.md | 2 +- build.gradle | 4 ++-- 3 files changed, 10 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 19373fcb..2b5a8a63 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,7 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). -## [Unreleased] +## [0.23] 2020-09-01 ### Changed - Minimum supported kotlin version is 1.4.0 @@ -20,9 +20,13 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ``` instead of defining one for each platform. - Added support for the Kotlin/JS [IR compiler](https://kotlinlang.org/docs/reference/js-ir-compiler.html) +- Added optional `displayActual` function to `assertThat` as an alternative to `.toString()` for external types +- Moved most `String` assertions to `CharSequence` ### Added -- Add `prop` function with `KProperty1` argument. +- Added `prop` function with `KProperty1` argument. +- Added `containsExactlyInAnyOrder` assertion for `Iterable` and primitive arrays +- Added initial Coroutines artifact (additional support planned for the future) ### Deprecated - Deprecated `prop` function with `KCallable` argument. Use the new overload @@ -34,6 +38,7 @@ with type-safe `KProperty1` argument or another overload with explicit name and assertThat(floatArrayOf(Float.Nan)).contains(Float.NaN) ``` will pass when it failed before. +- Fixes a [bug](https://github.com/willowtreeapps/assertk/issues/314) causing failures to sometimes be dropped in a nested assertion context ## [0.22] 2020-03-11 diff --git a/README.md b/README.md index e648fbe8..86f52d66 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ repositories { } dependencies { - testCompile 'com.willowtreeapps.assertk:assertk-jvm:0.22' + testCompile 'com.willowtreeapps.assertk:assertk-jvm:0.23' } ``` diff --git a/build.gradle b/build.gradle index cb3e7c55..36f8ec13 100644 --- a/build.gradle +++ b/build.gradle @@ -9,12 +9,12 @@ plugins { id 'org.ajoberstar.git-publish' version '2.1.1' apply false } -version = '0.23-SNAPSHOT' +version = '0.23' ext { isReleaseVersion = !(version =~ /-SNAPSHOT$/) - opentest4k_version = '1.2.1-SNAPSHOT' + opentest4k_version = '1.2.1' kotlin_coroutines_version = '1.3.9' }