kotlinx.coroutines v1.6.2 Release Notes
-
- 🛠 Fixed a bug with
ThreadLocalElementnot being correctly updated when the most outersuspendfunction was called directly withoutkotlinx.coroutines(#2930). - 🛠 Fixed multiple data races: one that might have been affecting
runBlockingevent loop, and a benign data race inMutex(#3250, #3251). - 📦 Obsolete
TestCoroutineContextis removed, which fixes thekotlinx-coroutines-testJPMS package being split betweenkotlinx-coroutines-coreandkotlinx-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