kotlinx.coroutines v1.0.0-RC1 Release Notes
-
- โก๏ธ Coroutines API is updated to Kotlin 1.3.
- ๐ Deprecated API is removed or marked as
internal
. - โ Experimental and internal coroutine API is marked with corresponding
kotlin.experimental.Experimental
annotation. If you are using@ExperimentalCoroutinesApi
or@InternalCoroutinesApi
you should explicitly opt-in, otherwise compilation warning (or error) will be produced. - ๐
Unconfined
dispatcher (and all dispatchers which support immediate invocation) forms event-loop on top of current thread, thus preventing allStackOverflowError
s.Unconfined
dispatcher is now much safer for the general use and may leave its experimental status soon (#704). - ๐ Significantly improved performance of suspending hot loops in
kotlinx.coroutines
(#537). - Proguard rules are embedded into coroutines JAR to assist jettifier (#657)
- ๐ Fixed bug in shutdown sequence of
runBlocking
(#692). - ๐
ReceiveChannel.receiveOrNull
is marked as obsolete and deprecated. - ๐
Job.cancel(cause)
andReceiveChannel.cancel(cause)
are deprecated,cancel()
returnsUnit
(#713).