- 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.
- Support Apple silicon targets for native users.
expectMostRecentItem()
function consumes all received items and returns the most recent item.
- Functions which may suspend to wait for an event are now prefixed with 'await'.
- Support running on a background thread with Kotlin/Native.
- Support watchOS 64-bit.
- Upgrade to Kotlin 1.5.0.
- Upgrade to kotlinx.coroutines 1.5.0.
- Upgrade to Kotlin 1.5.0.
- Upgrade to kotlinx.coroutines 1.5.0-RC.
- Upgrade to kotlinx.coroutines 1.4.3.
- Removed requirement to opt-in to
@ExperimentalCoroutinesApi
.
- Upgrade to Kotlin 1.4.30.
cancelAndConsumeRemainingEvents()
cancels theFlow
and returns any unconsumed events which were already received.expectEvent()
waits for an event (item, complete, or error) and returns it as a sealed typeEvent
.
- Support Javascript IR backend.
0.2.0 - 2020-08-17
- Upgrade to Kotlin 1.4.
0.1.1 - 2020-08-03
- Use the
Unconfined
dispatcher for the internal flow collection coroutine which should eliminate the need to useyield()
in tests.
0.1.0 - 2020-08-03
Initial release