Skip to content

Upgrading app.cash.turbine:turbine 0.13 to 1

Review needed0.13.0 → 1.2.1New2Changed5Fixed1

Review neededUpgrade verdict

5 behavior changes.

  • Developers who use pre-release snapshot builds now get them from a new Maven repository location.
  • The library now builds for WebAssembly JavaScript and no longer builds for two older Apple targets.
  • If the coroutine scope running a Turbine test is canceled from outside, leftover unconsumed events now cause an error instead of being silently dropped.
  • Failed Turbines which occur while testing a Flow (using test { }) will now have their failures eagerly reported.
Nothing to change

No breaking, platform, security or deprecated items in this range.

Adds org.jetbrains.kotlin:kotlin-stdlib 2.1.21, org.jetbrains.kotlinx:kotlinx-coroutines-test 1.10.2.

Drops org.jetbrains.kotlin:kotlin-stdlib-common.

Installs 6 packages in all (was 7).

Also installs org.jetbrains.kotlinx:kotlinx-coroutines-test-jvm.

No longer installs org.jetbrains.kotlin:kotlin-stdlib-jdk7, org.jetbrains.kotlin:kotlin-stdlib-jdk8.

Moves org.jetbrains.kotlin:kotlin-stdlib 1.8.20 → 2.1.21, org.jetbrains.kotlinx:kotlinx-coroutines-core 1.7.0 → 1.10.2, org.jetbrains.kotlinx:kotlinx-coroutines-core-jvm 1.7.0 → 1.10.2, org.jetbrains:annotations 23.0.0 → 13.0. Your build may pick other versions.

Nothing in this upgrade needs a code or configuration change.