kotlinx.coroutines v1.3.8 Release Notes

  • ๐Ÿ†• New experimental features

    • โž• Added Flow.transformWhile operator (#2065).
    • Replaced scanReduce with runningReduce to be consistent with the Kotlin standard library (#2139).

    ๐Ÿ› Bug fixes and improvements

    • ๐Ÿ‘Œ Improve user experience for the upcoming coroutines debugger (#2093, #2118, #2131).
    • Debugger no longer retains strong references to the running coroutines (#2129).
    • ๐Ÿ›  Fixed race in Flow.asPublisher (#2109).
    • ๐Ÿ›  Fixed ensureActive to work in the empty context case to fix IllegalStateException when using flow from suspend fun main (#2044).
    • ๐Ÿ›  Fixed a problem with AbortFlowException in the Flow.first operator to avoid erroneous NoSuchElementException (#2051).
    • ๐Ÿ›  Fixed JVM dependency on Android annotations (#2075).
    • โœ‚ Removed keep rules mentioning kotlinx.coroutines.android from core module (#2061 by @mkj-gram).
    • ๐Ÿ“„ Corrected some docs and examples (#2062, #2071, #2076, #2107, #2098, #2127, #2078, #2135).
    • ๐Ÿ‘Œ Improved the docs and guide on flow cancellation (#2043).
    • ๐Ÿš€ Updated Gradle version to 6.3 (it only affects multiplatform artifacts in this release).