Sourced from kotlinx-coroutines-core's releases.
1.5.1
- Atomic
update
,getAndUpdate
, andupdateAndGet
operations ofMutableStateFlow
(#2720).Executor.asCoroutineDispatcher
implementation improvements (#2601):
- If the target executor is
ScheduledExecutorService
, then itsschedule
API is used for time-related coroutine operations.RemoveOnCancelPolicy
is now part of the public contract.- Introduced overloads for
Task.asDeferred
andTask.await
that acceptCancellationTokenSource
for bidirectional cancellation (#2527).- Reactive streams are updated to
1.0.3
(#2740).CopyableThrowable
is allowed to modify the exception message during stacktrace recovery (#1931).CoroutineDispatcher.releaseInterceptedContinuation
is now afinal
method (#2785).- Closing a Handler underlying
Handler.asCoroutineDispatcher
now causes the dispatched coroutines to be canceled onDispatchers.IO ([#2778](https://github.com/Kotlin/kotlinx.coroutines/issues/2778))
.- Kotlin is updated to 1.5.20.
- Fixed a spurious
ClassCastException
inreleaseInterceptedContinuation
andIllegalStateException
fromtryReleaseClaimedContinuation
(#2736, #2768).- Fixed inconsistent exception message during stacktrace recovery for non-suspending channel iterators (#2749).
- Fixed linear stack usage for
CompletableFuture.asDeferred
when the target future has a long chain of listeners (#2730).- Any exceptions from
CoroutineDispatcher.isDispatchNeeded
are now considered as fatal and are propagated to the caller (#2733).- Internal
DebugProbesKt
(used in the debugger implementation) are moved fromdebug
tocore
module.
Sourced from kotlinx-coroutines-core's changelog.
Version 1.5.1
- Atomic
update
,getAndUpdate
, andupdateAndGet
operations ofMutableStateFlow
(#2720).Executor.asCoroutineDispatcher
implementation improvements (#2601):
- If the target executor is
ScheduledExecutorService
, then itsschedule
API is used for time-related coroutine operations.RemoveOnCancelPolicy
is now part of the public contract.- Introduced overloads for
Task.asDeferred
andTask.await
that acceptCancellationTokenSource
for bidirectional cancellation (#2527).- Reactive streams are updated to
1.0.3
(#2740).CopyableThrowable
is allowed to modify the exception message during stacktrace recovery (#1931).CoroutineDispatcher.releaseInterceptedContinuation
is now afinal
method (#2785).- Closing a Handler underlying
Handler.asCoroutineDispatcher
now causes the dispatched coroutines to be canceled onDispatchers.IO ([#2778](https://github.com/Kotlin/kotlinx.coroutines/issues/2778))
.- Kotlin is updated to 1.5.20.
- Fixed a spurious
ClassCastException
inreleaseInterceptedContinuation
andIllegalStateException
fromtryReleaseClaimedContinuation
(#2736, #2768).- Fixed inconsistent exception message during stacktrace recovery for non-suspending channel iterators (#2749).
- Fixed linear stack usage for
CompletableFuture.asDeferred
when the target future has a long chain of listeners (#2730).- Any exceptions from
CoroutineDispatcher.isDispatchNeeded
are now considered as fatal and are propagated to the caller (#2733).- Internal
DebugProbesKt
(used in the debugger implementation) are moved fromdebug
tocore
module.
b231887
Merge pull request #2812 from Kotlin/version-1.5.12a4c00b
Version 1.5.169c3ce3
Update Dokka and Knit to their stable versions, remove bintray leftovers (#2811)f5e8740
General cleanup (#2809)c9ab4fd
Update Kotlin to 1.5.20 (#2810)bcbcd16
Upgrade to newest Dokka and Knit (#2805)074cc3f
Update Lincheck to 2.14 (#2801)6cd1883
Cancel dispatched coroutine on Dispatchers.IO when the underlying Han… (#2784)a327dfb
Remove opt-in annotation from internal MainTestDispatchere81ce21
Introduce Task.await and Task.asDeferred with CancellationTokenSource (#2786)Sourced from kotlinx-coroutines-test's releases.
1.5.1
- Atomic
update
,getAndUpdate
, andupdateAndGet
operations ofMutableStateFlow
(#2720).Executor.asCoroutineDispatcher
implementation improvements (#2601):
- If the target executor is
ScheduledExecutorService
, then itsschedule
API is used for time-related coroutine operations.RemoveOnCancelPolicy
is now part of the public contract.- Introduced overloads for
Task.asDeferred
andTask.await
that acceptCancellationTokenSource
for bidirectional cancellation (#2527).- Reactive streams are updated to
1.0.3
(#2740).CopyableThrowable
is allowed to modify the exception message during stacktrace recovery (#1931).CoroutineDispatcher.releaseInterceptedContinuation
is now afinal
method (#2785).- Closing a Handler underlying
Handler.asCoroutineDispatcher
now causes the dispatched coroutines to be canceled onDispatchers.IO ([#2778](https://github.com/Kotlin/kotlinx.coroutines/issues/2778))
.- Kotlin is updated to 1.5.20.
- Fixed a spurious
ClassCastException
inreleaseInterceptedContinuation
andIllegalStateException
fromtryReleaseClaimedContinuation
(#2736, #2768).- Fixed inconsistent exception message during stacktrace recovery for non-suspending channel iterators (#2749).
- Fixed linear stack usage for
CompletableFuture.asDeferred
when the target future has a long chain of listeners (#2730).- Any exceptions from
CoroutineDispatcher.isDispatchNeeded
are now considered as fatal and are propagated to the caller (#2733).- Internal
DebugProbesKt
(used in the debugger implementation) are moved fromdebug
tocore
module.
Sourced from kotlinx-coroutines-test's changelog.
Version 1.5.1
- Atomic
update
,getAndUpdate
, andupdateAndGet
operations ofMutableStateFlow
(#2720).Executor.asCoroutineDispatcher
implementation improvements (#2601):
- If the target executor is
ScheduledExecutorService
, then itsschedule
API is used for time-related coroutine operations.RemoveOnCancelPolicy
is now part of the public contract.- Introduced overloads for
Task.asDeferred
andTask.await
that acceptCancellationTokenSource
for bidirectional cancellation (#2527).- Reactive streams are updated to
1.0.3
(#2740).CopyableThrowable
is allowed to modify the exception message during stacktrace recovery (#1931).CoroutineDispatcher.releaseInterceptedContinuation
is now afinal
method (#2785).- Closing a Handler underlying
Handler.asCoroutineDispatcher
now causes the dispatched coroutines to be canceled onDispatchers.IO ([#2778](https://github.com/Kotlin/kotlinx.coroutines/issues/2778))
.- Kotlin is updated to 1.5.20.
- Fixed a spurious
ClassCastException
inreleaseInterceptedContinuation
andIllegalStateException
fromtryReleaseClaimedContinuation
(#2736, #2768).- Fixed inconsistent exception message during stacktrace recovery for non-suspending channel iterators (#2749).
- Fixed linear stack usage for
CompletableFuture.asDeferred
when the target future has a long chain of listeners (#2730).- Any exceptions from
CoroutineDispatcher.isDispatchNeeded
are now considered as fatal and are propagated to the caller (#2733).- Internal
DebugProbesKt
(used in the debugger implementation) are moved fromdebug
tocore
module.
b231887
Merge pull request #2812 from Kotlin/version-1.5.12a4c00b
Version 1.5.169c3ce3
Update Dokka and Knit to their stable versions, remove bintray leftovers (#2811)f5e8740
General cleanup (#2809)c9ab4fd
Update Kotlin to 1.5.20 (#2810)bcbcd16
Upgrade to newest Dokka and Knit (#2805)074cc3f
Update Lincheck to 2.14 (#2801)6cd1883
Cancel dispatched coroutine on Dispatchers.IO when the underlying Han… (#2784)a327dfb
Remove opt-in annotation from internal MainTestDispatchere81ce21
Introduce Task.await and Task.asDeferred with CancellationTokenSource (#2786)