kotlinx.coroutines v1.3.0-RC Release Notes
-
Flow
- Core
Flow
API is promoted to stable - ๐ New basic
Flow
operators:withIndex
,collectIndexed
,distinctUntilChanged
overload - ๐ New core
Flow
operators:onStart
andonCompletion
ReceiveChannel.consumeAsFlow
andemitAll
(#1340)
General changes
- โก๏ธ Kotlin updated to 1.3.41
- โ Added
kotlinx-coroutines-bom
with Maven Bill of Materials (#1110) - Reactive integrations are seriously improved
- All builders now are top-level functions instead of extensions on
CoroutineScope
and prohibitJob
instance in their context to simplify lifecycle management - Fatal exceptions are handled consistently (#1297)
- Integration with Reactor Context added (#284)
- All builders now are top-level functions instead of extensions on
- Stacktrace recovery for
suspend fun main
(#1328) CoroutineScope.cancel
extension with message (#1338)- Protection against non-monotonic clocks in
delay
(#1312) Duration.ZERO
is handled properly in JDK 8 extensions (#1349)- Library code is adjusted to be more minification-friendly
- Core