Vsevolod Tolstopyatov [JB]
03/26/2019, 5:57 PMkotlinx.coroutines 1.2.0-alpha is here!
This is an alpha version of the major release with a lot of improvements in debuggability, diagnostics and performance.
Changelog:
* Debug agent now merges real stacktraces with coroutine stacktraces, its API is cleaned up and debug agent is on its road to stabilization
* CoroutineTimeout test rule for JUnit4 to simplify testing and debugging with coroutines
* Futures are now integrated with structured concurrency
* Dispatchers.Unconfined, MainCoroutineDispatcher.immediate, MainScope and CoroutineScope.cancel are promoted to stable API
* CompletableJob is introduced, Job() and SupervisorJob() are now completable
* ensurePresent and isPresent extensions for ThreadLocal
* ensureActive extensions for CoroutineContext, CoroutineScope and Job
* Operator invoke on CoroutineDispatcher
...and a lot more, full changelog: https://github.com/Kotlin/kotlinx.coroutines/releases/tag/1.2.0-alphadamian
03/26/2019, 6:00 PMStructured concurrency is integrated into futures and listenable futures is wrong - it goes to https://github.com/Kotlin/kotlinx.coroutines/issues/1008Vsevolod Tolstopyatov [JB]
03/26/2019, 6:03 PMpakoito
03/26/2019, 8:14 PMSlava Glushenkov
03/27/2019, 6:46 AMMore than one file was found with OS independent path 'META-INF/atomicfu.kotlin_module' when build project.
r4zzz4k
03/27/2019, 7:52 AMandroid {
...
packagingOptions {
...
exclude 'META-INF/*.kotlin_module'
}
}
These files are needed when you consume Kotlin library, but there's no need for them in final APK file.Slava Glushenkov
03/27/2019, 8:02 AM