Skip to content

2.0.0 • Arrow 2, Ktor 3, Java 11, random and context cleanup

Breaking changes

The CoroutineContext becomes part of the test configuration

Replace:

test("Foo", yourCoroutineContext) {
    // your test
}
by:
test("Foo", Context(yourCoroutineContext)) {
    // your test
}

Random generation

All random generation methods have been moved from package opensavvy.prepared.suite to opensavvy.prepared.suite.random. Users will need to update all imports to these functions, but they are otherwise unchanged (#48, !113).

Other changes

Runners

  • First prototype of the Kotlin Test Initiative runner (!114)

Compatibility modules

  • Supports Ktor 3 (!109)

Documentation

  • Fixed documentation of the Truthish library (!111)
  • The documentation website now contains the API reference (!119)
  • The documentation website now contains the News section

Dependencies

  • Downgraded minimal JDK requirement from 21 to 11 (!123, thanks Dave A.!)
  • Kotlin 2.1.10
  • KotlinX.Coroutines 1.10.1
  • Ktor 3.0.3
  • Arrow 2.0.0

Browse the documentation for this versionView release in GitLab