Sourced from kotlinx-coroutines-core's releases.
1.5.2
- Kotlin is updated to 1.5.30.
- New native targets for Apple Silicon are introduced.
- Fixed a bug when
onUndeliveredElement
was incorrectly called on properly received elements on JS (#2826).- Fixed
Dispatchers.Default
on React Native, it now fully relies onsetTimeout
instead of stubprocess.nextTick
. Thanks to@Legion2
(#2843).- Optimizations of
Mutex
implementation (#2581).Mutex
implementation is made completely lock-free as stated (#2590).- Various documentation and guides improvements. Thanks to
@MasoodFallahpoor
and@Pihanya
.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.2
- Kotlin is updated to 1.5.30.
- New native targets for Apple Silicon are introduced.
- Fixed a bug when
onUndeliveredElement
was incorrectly called on a properly received elements on JS (#2826).- Fixed
Dispatchers.Default
on React Native, it now fully relies onsetTimeout
instead of stubprocess.nextTick
. Thanks to@Legion2
(#2843).- Optimizations of
Mutex
implementation (#2581).Mutex
implementation is made completely lock-free as stated (#2590).- Various documentation and guides improvements. Thanks to
@MasoodFallahpoor
and@Pihanya
.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.
46c0026
Merge pull request #2904 from Kotlin/version-1.5.245547c0
Version 1.5.2d3ead6f
Merge branch 'master' into develop3dcc349
Make supervisor samples runnable (#2897)dfa1b63
Update Kotlin (#2902)d281a7c
update: links to android resources added to references (#2898)50807d0
Fix typo in the documentation of CompletableJob#complete (#2900)dbfb4ae
Fix the API doc of launchIn operator (#2893)810f28f
Verify that tests haven't written anything in the System.out (#2882)b5679ab
Update DebugProbesKt.bin exclusion instruction (#2889)