Skip to content

Releases: cashapp/turbine

0.8.0

02 May 15:50
Compare
Choose a tag to compare

Added

  • New testIn(CoroutineScope) API allows testing multiple flows without nesting lambdas.
  • New skip(Int) API can replace one or more calls to awaitItem() where the result is not needed.

Changed

  • Removed timeout parameter. The new runTest API from kotlinx.coroutines enforces a timeout automatically.
  • Documented that flows are implicitly canceled at the end of the test lambda. This has been the behavior for a few versions by accident, but now it is explicit and documented.
  • Cancel (and friends) are now suspending functions to ensure that non-canceleable coroutines complete and their effects are observed deterministically.

0.7.0

26 Oct 17:54
Compare
Choose a tag to compare

Changed

  • Moved APIs using Kotlin's experimental time to separate extensions. You can now use the library
    without worrying about incompatibilities with Kotlin version or coroutine library version.
  • Removed APIs deprecated in 0.6.x.

0.6.1

02 Sep 17:39
Compare
Choose a tag to compare

Added

  • Support Apple silicon targets for native users.

0.6.0

27 Jul 14:24
Compare
Choose a tag to compare

Added

  • expectMostRecentItem() function consumes all received items and returns the most recent item.

Changed

  • Functions which may suspend to wait for an event are now prefixed with 'await'.

0.5.2

03 Jun 14:41
Compare
Choose a tag to compare

Fixed

  • Support running on a background thread with Kotlin/Native.

0.5.1

18 May 20:41
Compare
Choose a tag to compare

Added

  • Support watchOS 64-bit.

0.5.0

14 May 17:09
Compare
Choose a tag to compare

Changed

  • Upgrade to Kotlin 1.5.0.
  • Upgrade to kotlinx.coroutines 1.5.0.

0.5.0-rc1

10 May 20:00
Compare
Choose a tag to compare
0.5.0-rc1 Pre-release
Pre-release

Changed

  • Upgrade to Kotlin 1.5.0.
  • Upgrade to kotlinx.coroutines 1.5.0-RC.

0.4.1

15 Mar 17:55
Compare
Choose a tag to compare

Changed

  • Upgrade to kotlinx.coroutines 1.4.3.
  • Removed requirement to opt-in to @ExperimentalCoroutinesApi.

0.4.0

09 Feb 16:20
Compare
Choose a tag to compare

Changed

  • Upgrade to Kotlin 1.4.30.