simbot-component-kook
simbot-component-kook copied to clipboard
build(deps): bump kotlinx-coroutines from 1.8.1 to 1.9.0
Bumps kotlinx-coroutines from 1.8.1 to 1.9.0.
Updates org.jetbrains.kotlinx:kotlinx-coroutines-core from 1.8.1 to 1.9.0
Release notes
Sourced from org.jetbrains.kotlinx:kotlinx-coroutines-core's releases.
1.9.0
Features
- Wasm/WASI target support (#4064). Thanks,
@igoriakovlev!limitedParallelismnow optionally accepts the name of the dispatcher view for easier debugging (#4023).- No longer initialize
Dispatchers.IOon the JVM when other standard dispatchers are accessed (#4166). Thanks,@metalhead8816!- Introduced the
Flow<T>.chunked(size: Int): Flow<List<T>>operator that groups emitted values into groups of the given size (#1290).- Closeable dispatchers are instances of
AutoCloseablenow (#4123).Fixes
- Calling
hasNexton aChannel's iterator is idempotent (#4065). Thanks,@gitpaxultek!CoroutineScope()created without an explicit dispatcher usesDispatchers.Defaulton Native (#4074). Thanks,@whyoleg!- Fixed a bug that prevented non-Android
Dispatchers.Mainfrom initializing when the Firebase dependency is used (#3914).- Ensured a more intuitive ordering of tasks in
runBlocking(#4134).- Forbid casting a
MutextoSemaphore(#4176).- Worked around a stack overflow that may occur when calling
asDeferredon aFuturemany times (#4156).Deprecations and promotions
- Advanced the deprecation levels for
BroadcastChannel-based API (#4197).- Advanced the deprecation levels for the old
kotlinx-coroutines-testAPI (#4198).- Deprecated
Job.cancelFutureOnCompletion(#4173).- Promoted
CoroutineDispatcher.limitedParallelismto stable (#3864).- Promoted
CoroutineStart.ATOMICfromExperimentalCoroutinesApitoDelicateCoroutinesApi(#4169).- Promoted
CancellableContinuation.resumewith anonCancellationlambda to stable, providing extra arguments to the lambda (#4088).- Marked the classes and interfaces that are not supposed to be inherited from with the new
InternalForInheritanceCoroutinesApiopt-in (#3770).- Marked the classes and interfaces inheriting from which is not stable with the new
ExperimentalForInheritanceCoroutinesApiopt-in (#3770).Other
- Kotlin was updated to 2.0 (#4137).
- Reworked the documentation for
CoroutineStartandChannel-based API (#4147, #4148, #4167). Thanks,@globsterg!- Simplified the internal implementation of
Job(#4053).- Small tweaks, fixes, and documentation improvements.
1.9.0-RC.2
- Advanced the deprecation levels for
BroadcastChannel-based API (#4197).- Advanced the deprecation levels for the old
kotlinx-coroutines-testAPI (#4198).- Promoted
CoroutineStart.ATOMICfromExperimentalCoroutinesApitoDelicateCoroutinesApi(#4169).- Reworked the documentation for
CoroutineStartandChannel-based API (#4147, #4148, #4167). Thanks,@globsterg!- Forbid casting a
MutextoSemaphore(#4176).- Deprecated
Job.cancelFutureOnCompletion(#4156).- Worked around a stack overflow that may occur when calling
asDeferredon aFuturemany times (#4156).- Fixed a bug that disallowed setting a custom
probeCoroutineResumedwhen starting coroutines withUNDISPATCHED(#4162).- No longer initialize
Dispatchers.IOon the JVM when other standard dispatchers are accessed (#4166). Thanks,@metalhead8816!- Small tweaks, fixes, and documentation improvements.
1.9.0-RC
- Kotlin was updated to 2.0 (#4137).
... (truncated)
Changelog
Sourced from org.jetbrains.kotlinx:kotlinx-coroutines-core's changelog.
Version 1.9.0
Features
- Wasm/WASI target support (#4064). Thanks,
@igoriakovlev!limitedParallelismnow optionally accepts the name of the dispatcher view for easier debugging (#4023).- No longer initialize
Dispatchers.IOon the JVM when other standard dispatchers are accessed (#4166). Thanks,@metalhead8816!- Introduced the
Flow<T>.chunked(size: Int): Flow<List<T>>operator that groups emitted values into groups of the given size (#1290).- Closeable dispatchers are instances of
AutoCloseablenow (#4123).Fixes
- Calling
hasNexton aChannel's iterator is idempotent (#4065). Thanks,@gitpaxultek!CoroutineScope()created without an explicit dispatcher usesDispatchers.Defaulton Native (#4074). Thanks,@whyoleg!- Fixed a bug that prevented non-Android
Dispatchers.Mainfrom initializing when the Firebase dependency is used (#3914).- Ensured a more intuitive ordering of tasks in
runBlocking(#4134).- Forbid casting a
MutextoSemaphore(#4176).- Worked around a stack overflow that may occur when calling
asDeferredon aFuturemany times (#4156).Deprecations and promotions
- Advanced the deprecation levels for
BroadcastChannel-based API (#4197).- Advanced the deprecation levels for the old
kotlinx-coroutines-testAPI (#4198).- Deprecated
Job.cancelFutureOnCompletion(#4173).- Promoted
CoroutineDispatcher.limitedParallelismto stable (#3864).- Promoted
CoroutineStart.ATOMICfromExperimentalCoroutinesApitoDelicateCoroutinesApi(#4169).- Promoted
CancellableContinuation.resumewith anonCancellationlambda to stable, providing extra arguments to the lambda (#4088).- Marked the classes and interfaces that are not supposed to be inherited from with the new
InternalForInheritanceCoroutinesApiopt-in (#3770).- Marked the classes and interfaces inheriting from which is not stable with the new
ExperimentalForInheritanceCoroutinesApiopt-in (#3770).Other
- Kotlin was updated to 2.0 (#4137).
- Reworked the documentation for
CoroutineStartandChannel-based API (#4147, #4148, #4167). Thanks,@globsterg!- Simplified the internal implementation of
Job(#4053).- Small tweaks, fixes, and documentation improvements.
Version 1.9.0-RC.2
- Advanced the deprecation levels for
BroadcastChannel-based API (#4197).- Advanced the deprecation levels for the old
kotlinx-coroutines-testAPI (#4198).- Promoted
CoroutineStart.ATOMICfromExperimentalCoroutinesApitoDelicateCoroutinesApi(#4169).- Reworked the documentation for
CoroutineStartandChannel-based API (#4147, #4148, #4167). Thanks,@globsterg!- Forbid casting a
MutextoSemaphore(#4176).- Deprecated
Job.cancelFutureOnCompletion(#4173).- Worked around a stack overflow that may occur when calling
asDeferredon aFuturemany times (#4156).- Fixed a bug that disallowed setting a custom
probeCoroutineResumedwhen starting coroutines withUNDISPATCHED(#4162).- No longer initialize
Dispatchers.IOon the JVM when other standard dispatchers are accessed (#4166). Thanks,@metalhead8816!- Small tweaks, fixes, and documentation improvements.
... (truncated)
Commits
d8d6f8fVersion 1.9.03a1be8cRemove obsolete npm folder from the doc (#4189)d38672aVersion 1.9.0-RC.24801c65Merge remote-tracking branch 'origin/master' into developcc34948Rework the KDoc forCoroutineStart(#4147)a7fe247Fix flaky test, ensure job suspension where expected by the test (#4204)b286646Remove various obsolete code (#4196)f0bdf00Increase the deprecation levels for the old test framework API (#4198)5c8e650Increase the deprecation levels for BroadcastChannel APIs (#4197)d010110Rerun apiDump (#4207)- Additional commits viewable in compare view
Updates org.jetbrains.kotlinx:kotlinx-coroutines-core-jvm from 1.8.1 to 1.9.0
Release notes
Sourced from org.jetbrains.kotlinx:kotlinx-coroutines-core-jvm's releases.
1.9.0
Features
- Wasm/WASI target support (#4064). Thanks,
@igoriakovlev!limitedParallelismnow optionally accepts the name of the dispatcher view for easier debugging (#4023).- No longer initialize
Dispatchers.IOon the JVM when other standard dispatchers are accessed (#4166). Thanks,@metalhead8816!- Introduced the
Flow<T>.chunked(size: Int): Flow<List<T>>operator that groups emitted values into groups of the given size (#1290).- Closeable dispatchers are instances of
AutoCloseablenow (#4123).Fixes
- Calling
hasNexton aChannel's iterator is idempotent (#4065). Thanks,@gitpaxultek!CoroutineScope()created without an explicit dispatcher usesDispatchers.Defaulton Native (#4074). Thanks,@whyoleg!- Fixed a bug that prevented non-Android
Dispatchers.Mainfrom initializing when the Firebase dependency is used (#3914).- Ensured a more intuitive ordering of tasks in
runBlocking(#4134).- Forbid casting a
MutextoSemaphore(#4176).- Worked around a stack overflow that may occur when calling
asDeferredon aFuturemany times (#4156).Deprecations and promotions
- Advanced the deprecation levels for
BroadcastChannel-based API (#4197).- Advanced the deprecation levels for the old
kotlinx-coroutines-testAPI (#4198).- Deprecated
Job.cancelFutureOnCompletion(#4173).- Promoted
CoroutineDispatcher.limitedParallelismto stable (#3864).- Promoted
CoroutineStart.ATOMICfromExperimentalCoroutinesApitoDelicateCoroutinesApi(#4169).- Promoted
CancellableContinuation.resumewith anonCancellationlambda to stable, providing extra arguments to the lambda (#4088).- Marked the classes and interfaces that are not supposed to be inherited from with the new
InternalForInheritanceCoroutinesApiopt-in (#3770).- Marked the classes and interfaces inheriting from which is not stable with the new
ExperimentalForInheritanceCoroutinesApiopt-in (#3770).Other
- Kotlin was updated to 2.0 (#4137).
- Reworked the documentation for
CoroutineStartandChannel-based API (#4147, #4148, #4167). Thanks,@globsterg!- Simplified the internal implementation of
Job(#4053).- Small tweaks, fixes, and documentation improvements.
1.9.0-RC.2
- Advanced the deprecation levels for
BroadcastChannel-based API (#4197).- Advanced the deprecation levels for the old
kotlinx-coroutines-testAPI (#4198).- Promoted
CoroutineStart.ATOMICfromExperimentalCoroutinesApitoDelicateCoroutinesApi(#4169).- Reworked the documentation for
CoroutineStartandChannel-based API (#4147, #4148, #4167). Thanks,@globsterg!- Forbid casting a
MutextoSemaphore(#4176).- Deprecated
Job.cancelFutureOnCompletion(#4156).- Worked around a stack overflow that may occur when calling
asDeferredon aFuturemany times (#4156).- Fixed a bug that disallowed setting a custom
probeCoroutineResumedwhen starting coroutines withUNDISPATCHED(#4162).- No longer initialize
Dispatchers.IOon the JVM when other standard dispatchers are accessed (#4166). Thanks,@metalhead8816!- Small tweaks, fixes, and documentation improvements.
1.9.0-RC
- Kotlin was updated to 2.0 (#4137).
... (truncated)
Changelog
Sourced from org.jetbrains.kotlinx:kotlinx-coroutines-core-jvm's changelog.
Version 1.9.0
Features
- Wasm/WASI target support (#4064). Thanks,
@igoriakovlev!limitedParallelismnow optionally accepts the name of the dispatcher view for easier debugging (#4023).- No longer initialize
Dispatchers.IOon the JVM when other standard dispatchers are accessed (#4166). Thanks,@metalhead8816!- Introduced the
Flow<T>.chunked(size: Int): Flow<List<T>>operator that groups emitted values into groups of the given size (#1290).- Closeable dispatchers are instances of
AutoCloseablenow (#4123).Fixes
- Calling
hasNexton aChannel's iterator is idempotent (#4065). Thanks,@gitpaxultek!CoroutineScope()created without an explicit dispatcher usesDispatchers.Defaulton Native (#4074). Thanks,@whyoleg!- Fixed a bug that prevented non-Android
Dispatchers.Mainfrom initializing when the Firebase dependency is used (#3914).- Ensured a more intuitive ordering of tasks in
runBlocking(#4134).- Forbid casting a
MutextoSemaphore(#4176).- Worked around a stack overflow that may occur when calling
asDeferredon aFuturemany times (#4156).Deprecations and promotions
- Advanced the deprecation levels for
BroadcastChannel-based API (#4197).- Advanced the deprecation levels for the old
kotlinx-coroutines-testAPI (#4198).- Deprecated
Job.cancelFutureOnCompletion(#4173).- Promoted
CoroutineDispatcher.limitedParallelismto stable (#3864).- Promoted
CoroutineStart.ATOMICfromExperimentalCoroutinesApitoDelicateCoroutinesApi(#4169).- Promoted
CancellableContinuation.resumewith anonCancellationlambda to stable, providing extra arguments to the lambda (#4088).- Marked the classes and interfaces that are not supposed to be inherited from with the new
InternalForInheritanceCoroutinesApiopt-in (#3770).- Marked the classes and interfaces inheriting from which is not stable with the new
ExperimentalForInheritanceCoroutinesApiopt-in (#3770).Other
- Kotlin was updated to 2.0 (#4137).
- Reworked the documentation for
CoroutineStartandChannel-based API (#4147, #4148, #4167). Thanks,@globsterg!- Simplified the internal implementation of
Job(#4053).- Small tweaks, fixes, and documentation improvements.
Version 1.9.0-RC.2
- Advanced the deprecation levels for
BroadcastChannel-based API (#4197).- Advanced the deprecation levels for the old
kotlinx-coroutines-testAPI (#4198).- Promoted
CoroutineStart.ATOMICfromExperimentalCoroutinesApitoDelicateCoroutinesApi(#4169).- Reworked the documentation for
CoroutineStartandChannel-based API (#4147, #4148, #4167). Thanks,@globsterg!- Forbid casting a
MutextoSemaphore(#4176).- Deprecated
Job.cancelFutureOnCompletion(#4173).- Worked around a stack overflow that may occur when calling
asDeferredon aFuturemany times (#4156).- Fixed a bug that disallowed setting a custom
probeCoroutineResumedwhen starting coroutines withUNDISPATCHED(#4162).- No longer initialize
Dispatchers.IOon the JVM when other standard dispatchers are accessed (#4166). Thanks,@metalhead8816!- Small tweaks, fixes, and documentation improvements.
... (truncated)
Commits
d8d6f8fVersion 1.9.03a1be8cRemove obsolete npm folder from the doc (#4189)d38672aVersion 1.9.0-RC.24801c65Merge remote-tracking branch 'origin/master' into developcc34948Rework the KDoc forCoroutineStart(#4147)a7fe247Fix flaky test, ensure job suspension where expected by the test (#4204)b286646Remove various obsolete code (#4196)f0bdf00Increase the deprecation levels for the old test framework API (#4198)5c8e650Increase the deprecation levels for BroadcastChannel APIs (#4197)d010110Rerun apiDump (#4207)- Additional commits viewable in compare view
Updates org.jetbrains.kotlinx:kotlinx-coroutines-core-js from 1.8.1 to 1.9.0
Release notes
Sourced from org.jetbrains.kotlinx:kotlinx-coroutines-core-js's releases.
1.9.0
Features
- Wasm/WASI target support (#4064). Thanks,
@igoriakovlev!limitedParallelismnow optionally accepts the name of the dispatcher view for easier debugging (#4023).- No longer initialize
Dispatchers.IOon the JVM when other standard dispatchers are accessed (#4166). Thanks,@metalhead8816!- Introduced the
Flow<T>.chunked(size: Int): Flow<List<T>>operator that groups emitted values into groups of the given size (#1290).- Closeable dispatchers are instances of
AutoCloseablenow (#4123).Fixes
- Calling
hasNexton aChannel's iterator is idempotent (#4065). Thanks,@gitpaxultek!CoroutineScope()created without an explicit dispatcher usesDispatchers.Defaulton Native (#4074). Thanks,@whyoleg!- Fixed a bug that prevented non-Android
Dispatchers.Mainfrom initializing when the Firebase dependency is used (#3914).- Ensured a more intuitive ordering of tasks in
runBlocking(#4134).- Forbid casting a
MutextoSemaphore(#4176).- Worked around a stack overflow that may occur when calling
asDeferredon aFuturemany times (#4156).Deprecations and promotions
- Advanced the deprecation levels for
BroadcastChannel-based API (#4197).- Advanced the deprecation levels for the old
kotlinx-coroutines-testAPI (#4198).- Deprecated
Job.cancelFutureOnCompletion(#4173).- Promoted
CoroutineDispatcher.limitedParallelismto stable (#3864).- Promoted
CoroutineStart.ATOMICfromExperimentalCoroutinesApitoDelicateCoroutinesApi(#4169).- Promoted
CancellableContinuation.resumewith anonCancellationlambda to stable, providing extra arguments to the lambda (#4088).- Marked the classes and interfaces that are not supposed to be inherited from with the new
InternalForInheritanceCoroutinesApiopt-in (#3770).- Marked the classes and interfaces inheriting from which is not stable with the new
ExperimentalForInheritanceCoroutinesApiopt-in (#3770).Other
- Kotlin was updated to 2.0 (#4137).
- Reworked the documentation for
CoroutineStartandChannel-based API (#4147, #4148, #4167). Thanks,@globsterg!- Simplified the internal implementation of
Job(#4053).- Small tweaks, fixes, and documentation improvements.
1.9.0-RC.2
- Advanced the deprecation levels for
BroadcastChannel-based API (#4197).- Advanced the deprecation levels for the old
kotlinx-coroutines-testAPI (#4198).- Promoted
CoroutineStart.ATOMICfromExperimentalCoroutinesApitoDelicateCoroutinesApi(#4169).- Reworked the documentation for
CoroutineStartandChannel-based API (#4147, #4148, #4167). Thanks,@globsterg!- Forbid casting a
MutextoSemaphore(#4176).- Deprecated
Job.cancelFutureOnCompletion(#4156).- Worked around a stack overflow that may occur when calling
asDeferredon aFuturemany times (#4156).- Fixed a bug that disallowed setting a custom
probeCoroutineResumedwhen starting coroutines withUNDISPATCHED(#4162).- No longer initialize
Dispatchers.IOon the JVM when other standard dispatchers are accessed (#4166). Thanks,@metalhead8816!- Small tweaks, fixes, and documentation improvements.
1.9.0-RC
- Kotlin was updated to 2.0 (#4137).
... (truncated)
Changelog
Sourced from org.jetbrains.kotlinx:kotlinx-coroutines-core-js's changelog.
Version 1.9.0
Features
- Wasm/WASI target support (#4064). Thanks,
@igoriakovlev!limitedParallelismnow optionally accepts the name of the dispatcher view for easier debugging (#4023).- No longer initialize
Dispatchers.IOon the JVM when other standard dispatchers are accessed (#4166). Thanks,@metalhead8816!- Introduced the
Flow<T>.chunked(size: Int): Flow<List<T>>operator that groups emitted values into groups of the given size (#1290).- Closeable dispatchers are instances of
AutoCloseablenow (#4123).Fixes
- Calling
hasNexton aChannel's iterator is idempotent (#4065). Thanks,@gitpaxultek!CoroutineScope()created without an explicit dispatcher usesDispatchers.Defaulton Native (#4074). Thanks,@whyoleg!- Fixed a bug that prevented non-Android
Dispatchers.Mainfrom initializing when the Firebase dependency is used (#3914).- Ensured a more intuitive ordering of tasks in
runBlocking(#4134).- Forbid casting a
MutextoSemaphore(#4176).- Worked around a stack overflow that may occur when calling
asDeferredon aFuturemany times (#4156).Deprecations and promotions
- Advanced the deprecation levels for
BroadcastChannel-based API (#4197).- Advanced the deprecation levels for the old
kotlinx-coroutines-testAPI (#4198).- Deprecated
Job.cancelFutureOnCompletion(#4173).- Promoted
CoroutineDispatcher.limitedParallelismto stable (#3864).- Promoted
CoroutineStart.ATOMICfromExperimentalCoroutinesApitoDelicateCoroutinesApi(#4169).- Promoted
CancellableContinuation.resumewith anonCancellationlambda to stable, providing extra arguments to the lambda (#4088).- Marked the classes and interfaces that are not supposed to be inherited from with the new
InternalForInheritanceCoroutinesApiopt-in (#3770).- Marked the classes and interfaces inheriting from which is not stable with the new
ExperimentalForInheritanceCoroutinesApiopt-in (#3770).Other
- Kotlin was updated to 2.0 (#4137).
- Reworked the documentation for
CoroutineStartandChannel-based API (#4147, #4148, #4167). Thanks,@globsterg!- Simplified the internal implementation of
Job(#4053).- Small tweaks, fixes, and documentation improvements.
Version 1.9.0-RC.2
- Advanced the deprecation levels for
BroadcastChannel-based API (#4197).- Advanced the deprecation levels for the old
kotlinx-coroutines-testAPI (#4198).- Promoted
CoroutineStart.ATOMICfromExperimentalCoroutinesApitoDelicateCoroutinesApi(#4169).- Reworked the documentation for
CoroutineStartandChannel-based API (#4147, #4148, #4167). Thanks,@globsterg!- Forbid casting a
MutextoSemaphore(#4176).- Deprecated
Job.cancelFutureOnCompletion(#4173).- Worked around a stack overflow that may occur when calling
asDeferredon aFuturemany times (#4156).- Fixed a bug that disallowed setting a custom
probeCoroutineResumedwhen starting coroutines withUNDISPATCHED(#4162).- No longer initialize
Dispatchers.IOon the JVM when other standard dispatchers are accessed (#4166). Thanks,@metalhead8816!- Small tweaks, fixes, and documentation improvements.
... (truncated)
Commits
d8d6f8fVersion 1.9.03a1be8cRemove obsolete npm folder from the doc (#4189)d38672aVersion 1.9.0-RC.24801c65Merge remote-tracking branch 'origin/master' into developcc34948Rework the KDoc forCoroutineStart(#4147)a7fe247Fix flaky test, ensure job suspension where expected by the test (#4204)b286646Remove various obsolete code (#4196)f0bdf00Increase the deprecation levels for the old test framework API (#4198)5c8e650Increase the deprecation levels for BroadcastChannel APIs (#4197)d010110Rerun apiDump (#4207)- Additional commits viewable in compare view
Updates org.jetbrains.kotlinx:kotlinx-coroutines-jdk8 from 1.8.1 to 1.9.0
Release notes
Sourced from org.jetbrains.kotlinx:kotlinx-coroutines-jdk8's releases.
1.9.0
Features
- Wasm/WASI target support (#4064). Thanks,
@igoriakovlev!limitedParallelismnow optionally accepts the name of the dispatcher view for easier debugging (#4023).- No longer initialize
Dispatchers.IOon the JVM when other standard dispatchers are accessed (#4166). Thanks,@metalhead8816!- Introduced the
Flow<T>.chunked(size: Int): Flow<List<T>>operator that groups emitted values into groups of the given size (#1290).- Closeable dispatchers are instances of
AutoCloseablenow (#4123).Fixes
- Calling
hasNexton aChannel's iterator is idempotent (#4065). Thanks,@gitpaxultek!CoroutineScope()created without an explicit dispatcher usesDispatchers.Defaulton Native (#4074). Thanks,@whyoleg!- Fixed a bug that prevented non-Android
Dispatchers.Mainfrom initializing when the Firebase dependency is used (#3914).- Ensured a more intuitive ordering of tasks in
runBlocking(#4134).- Forbid casting a
MutextoSemaphore(#4176).- Worked around a stack overflow that may occur when calling
asDeferredon aFuturemany times (#4156).Deprecations and promotions
- Advanced the deprecation levels for
BroadcastChannel-based API (#4197).- Advanced the deprecation levels for the old
kotlinx-coroutines-testAPI (#4198).- Deprecated
Job.cancelFutureOnCompletion(#4173).- Promoted
CoroutineDispatcher.limitedParallelismto stable (#3864).- Promoted
CoroutineStart.ATOMICfromExperimentalCoroutinesApitoDelicateCoroutinesApi(#4169).- Promoted
CancellableContinuation.resumewith anonCancellationlambda to stable, providing extra arguments to the lambda (#4088).- Marked the classes and interfaces that are not supposed to be inherited from with the new
InternalForInheritanceCoroutinesApiopt-in (#3770).- Marked the classes and interfaces inheriting from which is not stable with the new
ExperimentalForInheritanceCoroutinesApiopt-in (#3770).Other
- Kotlin was updated to 2.0 (#4137).
- Reworked the documentation for
CoroutineStartandChannel-based API (#4147, #4148, #4167). Thanks,@globsterg!- Simplified the internal implementation of
Job(#4053).- Small tweaks, fixes, and documentation improvements.
1.9.0-RC.2
- Advanced the deprecation levels for
BroadcastChannel-based API (#4197).- Advanced the deprecation levels for the old
kotlinx-coroutines-testAPI (#4198).- Promoted
CoroutineStart.ATOMICfromExperimentalCoroutinesApitoDelicateCoroutinesApi(#4169).- Reworked the documentation for
CoroutineStartandChannel-based API (#4147, #4148, #4167). Thanks,@globsterg!- Forbid casting a
MutextoSemaphore(#4176).- Deprecated
Job.cancelFutureOnCompletion(#4156).- Worked around a stack overflow that may occur when calling
asDeferredon aFuturemany times (#4156).- Fixed a bug that disallowed setting a custom
probeCoroutineResumedwhen starting coroutines withUNDISPATCHED(#4162).- No longer initialize
Dispatchers.IOon the JVM when other standard dispatchers are accessed (#4166). Thanks,@metalhead8816!- Small tweaks, fixes, and documentation improvements.
1.9.0-RC
- Kotlin was updated to 2.0 (#4137).
... (truncated)
Changelog
Sourced from org.jetbrains.kotlinx:kotlinx-coroutines-jdk8's changelog.
Version 1.9.0
Features
- Wasm/WASI target support (#4064). Thanks,
@igoriakovlev!limitedParallelismnow optionally accepts the name of the dispatcher view for easier debugging (#4023).- No longer initialize
Dispatchers.IOon the JVM when other standard dispatchers are accessed (#4166). Thanks,@metalhead8816!- Introduced the
Flow<T>.chunked(size: Int): Flow<List<T>>operator that groups emitted values into groups of the given size (#1290).- Closeable dispatchers are instances of
AutoCloseablenow (#4123).Fixes
- Calling
hasNexton aChannel's iterator is idempotent (#4065). Thanks,@gitpaxultek!CoroutineScope()created without an explicit dispatcher usesDispatchers.Defaulton Native (#4074). Thanks,@whyoleg!- Fixed a bug that prevented non-Android
Dispatchers.Mainfrom initializing when the Firebase dependency is used (#3914).- Ensured a more intuitive ordering of tasks in
runBlocking(#4134).- Forbid casting a
MutextoSemaphore(#4176).- Worked around a stack overflow that may occur when calling
asDeferredon aFuturemany times (#4156).Deprecations and promotions
- Advanced the deprecation levels for
BroadcastChannel-based API (#4197).- Advanced the deprecation levels for the old
kotlinx-coroutines-testAPI (#4198).- Deprecated
Job.cancelFutureOnCompletion(#4173).- Promoted
CoroutineDispatcher.limitedParallelismto stable (#3864).- Promoted
CoroutineStart.ATOMICfromExperimentalCoroutinesApitoDelicateCoroutinesApi(#4169).- Promoted
CancellableContinuation.resumewith anonCancellationlambda to stable, providing extra arguments to the lambda (#4088).- Marked the classes and interfaces that are not supposed to be inherited from with the new
InternalForInheritanceCoroutinesApiopt-in (#3770).- Marked the classes and interfaces inheriting from which is not stable with the new
ExperimentalForInheritanceCoroutinesApiopt-in (#3770).Other
- Kotlin was updated to 2.0 (Description%20has%20been%20truncated%0A" rel="nofollow" target="_blank" >