kotlinx.coroutines v1.6.2 Release Notes
-
- 🛠 Fixed a bug with
ThreadLocalElement
not being correctly updated when the most outersuspend
function was called directly withoutkotlinx.coroutines
(#2930). - 🛠 Fixed multiple data races: one that might have been affecting
runBlocking
event loop, and a benign data race inMutex
(#3250, #3251). - 📦 Obsolete
TestCoroutineContext
is removed, which fixes thekotlinx-coroutines-test
JPMS package being split betweenkotlinx-coroutines-core
andkotlinx-coroutines-test
(#3218). - ⚡️ Updated the ProGuard rules to further shrink the size of the resulting DEX file with coroutines (#3111, #3263). Thanks, @agrieve!
- ⚡️ Atomicfu is updated to
0.17.2
, which includes a more efficient and robust JS IR transformer (#3255). - ⚡️ Kotlin is updated to
1.6.21
, Gradle version is updated to7.4.2
(#3281). Thanks, @wojtek-kalicinski! - 📚 Various documentation improvements.
- 🛠 Fixed a bug with