chore(deps): Update kotlinx-coroutines monorepo to v1.10.2
This PR contains the following updates:
| Package | Change | Age | Confidence |
|---|---|---|---|
| org.jetbrains.kotlinx:kotlinx-coroutines-jdk8 | 1.8.1 -> 1.10.2 |
||
| org.jetbrains.kotlinx:kotlinx-coroutines-core | 1.8.1 -> 1.10.2 |
Release Notes
Kotlin/kotlinx.coroutines (org.jetbrains.kotlinx:kotlinx-coroutines-jdk8)
v1.10.2
- Fixed the
kotlinx-coroutines-debugJAR file including themodule-info.classfile twice, resulting in failures in various tooling (#4314). Thanks, @RyuNen344! - Fixed
Flow.stateInhanging when the scope is cancelled in advance or the flow is empty (#4322). Thanks, @francescotescari! - Improved handling of dispatcher failures in
.limitedParallelism(#4330) and during flow collection (#4272). - Fixed
runBlockingfailing to run its coroutine to completion in some cases if its JVM thread got interrupted (#4399). - Small tweaks, fixes, and documentation improvements.
v1.10.1
v1.10.0
- Kotlin was updated to 2.1.0 (#4284).
- Introduced
Flow.any,Flow.all, andFlow.none(#4212). Thanks, @CLOVIS-AI! - Reorganized
kotlinx-coroutines-debugandkotlinx-coroutines-corecode to avoid a split package between the two artifacts (#4247). Note that directly referencingkotlinx.coroutines.debug.AgentPremainmust now be replaced withkotlinx.coroutines.debug.internal.AgentPremain. Thanks, @sellmair! - No longer shade byte-buddy in
kotlinx-coroutines-debug, reducing the artifact size and simplifying the build configuration of client code. Thanks, @sellmair! - Fixed
NullPointerExceptionwhen using Java-deserializedkotlinx-coroutines-coreexceptions (#4291). Thanks, @AlexRiedler! - Properly report exceptions thrown by
CoroutineDispatcher.dispatchinstead of raising internal errors (#4091). Thanks, @zuevmaxim! - Fixed a bug that delayed scheduling of a
Dispatchers.DefaultorDispatchers.IOtask after ayield()in rare scenarios (#4248). - Fixed a bug that prevented the
main()coroutine on Wasm/WASI from executing after adelay()call in some scenarios (#4239). - Fixed scheduling of
runBlockingtasks on Kotlin/Native that arrive after therunBlockingblock was exited (#4245). - Fixed some terminal
Flowoperators sometimes resuming without taking cancellation into account (#4254). Thanks, @jxdabc! - Fixed a bug on the JVM that caused coroutine-bound
ThreadLocalvalues not to get cleaned when using non-CoroutineDispatchercontinuation interceptors (#4296). - Small tweaks, fixes, and documentation improvements.
v1.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
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
- [ ] If you want to rebase/retry this PR, check this box
This PR was generated by Mend Renovate. View the repository job log.
Test Results
88 files ±0 88 suites ±0 11s ⏱️ -1s 430 tests ±0 430 ✅ ±0 0 💤 ±0 0 ❌ ±0 475 runs ±0 475 ✅ ±0 0 💤 ±0 0 ❌ ±0
Results for commit ffe2ccb7. ± Comparison against base commit 92576b7a.
:recycle: This comment has been updated with latest results.