kotlinx.coroutines v1.3.4 Release Notes
-
Flow
- Detect missing
awaitClose
calls incallbackFlow
to make it less error-prone when used with callbacks (#1762, #1770). This change makescallbackFlow
different fromchannelFlow
. ReceiveChannel.asFlow
extension is introduced (#1490).- ๐ Enforce exception transparency invariant in
flow
builder (#1657). - ๐ Proper
Dispatcher
support inFlow
reactive integrations (#1765). - Batch
Subscription.request
calls inFlow
reactive integration (#766). ObservableValue.asFlow
added to JavaFx integration module (#1695).ObservableSource.asFlow
added to RxJava2 integration module (#1768).
Other changes
- ๐
kotlinx-coroutines-core
is optimized for R8, making it much smaller for Android usages (75 KB for1.3.4
release). - ๐ Performance of
Dispatchers.Default
is improved (#1704, #1706). - โก๏ธ Kotlin is updated to 1.3.70.
CoroutineDispatcher
andExecutorCoroutineDispatcher
experimental coroutine context keys are introduced (#1805).- ๐ Performance of various
Channel
operations is improved (#1565).
- Detect missing