Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(deps): update dependency app.cash.turbine:turbine to v0.13.0 #44

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Apr 3, 2023

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
app.cash.turbine:turbine 0.2.1 -> 0.13.0 age adoption passing confidence

Release Notes

cashapp/turbine (app.cash.turbine:turbine)

v0.13.0

Compare Source

Added
  • New Kotlin/Native targets:
    • androidNativeArm32
    • androidNativeArm64
    • androidNativeX86
    • androidNativeX64
    • linuxArm64
    • watchosDeviceArm64
Changed
  • Build with Kotlin 1.8.21

Note: This version has a transitive dependency on kotlinx.coroutines 1.7.0. If you are an Android user, you should be depending on kotlinx.coroutines 1.7.1 which graciously fixes a binary incompatibility with a Compose testing artifact (because they failed to heed its opt-in annotation which indicated that it was not a stable API).

v0.12.3

Compare Source

Fixed
  • Ensure JVM classes target Java 8 rather than implicitly using the build JDK version.

v0.12.2

Compare Source

Changed
  • The default wall-clock timeout used to wait for an event has been increased from 1s to 3s.
Fixed
  • The exception thrown when no events have been received now includes the original timeout exception as its cause. This ensures the stacktrace contains the caller file and line information.
  • Ensure expectNoEvents() fails if a completion or exception event occurred.
  • Differentiate timeout and cancellation exceptions thrown from Turbine's own event timeout (which are thrown) from those which occur within the flow under test (which are available via awaitError()).

v0.12.1

Compare Source

Changed
  • Build with Kotlin 1.7.20
Fixed
  • takeItem() no longer throws an exception when returning a null value.
  • await-prefixed methods no longer interfere with virtual time control from a TestScheduler (such as inside runTest).

v0.12.0

Compare Source

Added
  • Support specifying a human-readable name for differentiating the failures of multiple Turbines
Fixed
  • Properly catch all Throwable subtypes from failures in flows and channels as events.

v0.11.0

Compare Source

Added
  • Restore timeout support. By default a 1-second timeout will be enforced when awaiting an event. This can be customized by supplying a timeout argument or by using the withTurbineTimeout wrapper function. Timeouts will always use wall clock time even when using a virtual time dispatcher.
Changed
  • When runTest (or any TestCoroutineScheduler) is in use, switch to the UnconfinedTestScheduler internally to ensure virtual time remains working.

v0.10.0

Compare Source

Changed
  • Remove ReceiveTurbine.ignoreRemainingEvents from public API.
Fixed
  • Restore usage of Unconfined dispatcher preventing value conflation (as much as possible) so that intermediate values can always be observed.

v0.9.0

Compare Source

  • FlowTurbine is now called ReceiveTurbine. This is the consume-only type with which you assert on events it has seen (historically only from a Flow).
  • New public Turbine type implements ReceiveTurbine but also allows you write events from a data source. Use this to implement fakes or collect events from non-Flow streams.
  • Extension functions on ReceiveChannel provide ReceiveTurbine-like assertion capabilities.
  • Support for legacy JS has been removed. Only JS IR is now supported.
  • Removed some APIs deprecated in 0.8.x.

v0.8.0

Compare Source

Added
  • New testIn 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.

v0.7.0

Compare Source

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.

v0.6.1

Compare Source

Added
  • Support Apple silicon targets for native users.

v0.6.0

Compare Source

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'.

v0.5.2

Compare Source

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

v0.5.1

Compare Source

Added
  • Support watchOS 64-bit.

v0.5.0

Compare Source

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

v0.4.1

Compare Source

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

v0.4.0

Compare Source

Changed
  • Upgrade to Kotlin 1.4.30.

v0.3.0

Compare Source

Added
  • cancelAndConsumeRemainingEvents() cancels the Flow and returns any unconsumed events which were already received.
  • expectEvent() waits for an event (item, complete, or error) and returns it as a sealed type Event.

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot force-pushed the renovate/app.cash.turbine-turbine-0.x branch from eb86df5 to ecd5ba0 Compare May 28, 2023 08:48
@renovate renovate bot changed the title fix(deps): update dependency app.cash.turbine:turbine to v0.12.3 fix(deps): update dependency app.cash.turbine:turbine to v0.13.0 May 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

0 participants