Update coroutines to v1.9.0 #55

Merged
renovate-bot merged 1 commit from renovate/coroutines into main 2024-09-17 13:13:18 +00:00
Collaborator

This PR contains the following updates:

Package Type Update Change
org.jetbrains.kotlinx:kotlinx-coroutines-test dependencies minor 1.8.1 -> 1.9.0
org.jetbrains.kotlinx:kotlinx-coroutines-core dependencies minor 1.8.1 -> 1.9.0
org.jetbrains.kotlinx:kotlinx-coroutines-android dependencies minor 1.8.1 -> 1.9.0

Release Notes

Kotlin/kotlinx.coroutines (org.jetbrains.kotlinx:kotlinx-coroutines-test)

v1.9.0

Compare Source

Features
  • Wasm/WASI target support (#​4064). Thanks, @​igoriakovlev!
  • limitedParallelism now optionally accepts the name of the dispatcher view for easier debugging (#​4023).
  • No longer initialize Dispatchers.IO on 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 AutoCloseable now (#​4123).
Fixes
  • Calling hasNext on a Channel's iterator is idempotent (#​4065). Thanks, @​gitpaxultek!
  • CoroutineScope() created without an explicit dispatcher uses Dispatchers.Default on Native (#​4074). Thanks, @​whyoleg!
  • Fixed a bug that prevented non-Android Dispatchers.Main from initializing when the Firebase dependency is used (#​3914).
  • Ensured a more intuitive ordering of tasks in runBlocking (#​4134).
  • Forbid casting a Mutex to Semaphore (#​4176).
  • Worked around a stack overflow that may occur when calling asDeferred on a Future many times (#​4156).
Deprecations and promotions
  • Advanced the deprecation levels for BroadcastChannel-based API (#​4197).
  • Advanced the deprecation levels for the old kotlinx-coroutines-test API (#​4198).
  • Deprecated Job.cancelFutureOnCompletion (#​4173).
  • Promoted CoroutineDispatcher.limitedParallelism to stable (#​3864).
  • Promoted CoroutineStart.ATOMIC from ExperimentalCoroutinesApi to DelicateCoroutinesApi (#​4169).
  • Promoted CancellableContinuation.resume with an onCancellation lambda 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 InternalForInheritanceCoroutinesApi opt-in (#​3770).
  • Marked the classes and interfaces inheriting from which is not stable with the new ExperimentalForInheritanceCoroutinesApi opt-in (#​3770).
Other
  • Kotlin was updated to 2.0 (#​4137).
  • Reworked the documentation for CoroutineStart and Channel-based API (#​4147, #​4148, #​4167). Thanks, @​globsterg!
  • Simplified the internal implementation of Job (#​4053).
  • Small tweaks, fixes, and documentation improvements.

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR becomes conflicted, 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 has been generated by Renovate Bot.

This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [org.jetbrains.kotlinx:kotlinx-coroutines-test](https://github.com/Kotlin/kotlinx.coroutines) | dependencies | minor | `1.8.1` -> `1.9.0` | | [org.jetbrains.kotlinx:kotlinx-coroutines-core](https://github.com/Kotlin/kotlinx.coroutines) | dependencies | minor | `1.8.1` -> `1.9.0` | | [org.jetbrains.kotlinx:kotlinx-coroutines-android](https://github.com/Kotlin/kotlinx.coroutines) | dependencies | minor | `1.8.1` -> `1.9.0` | --- ### Release Notes <details> <summary>Kotlin/kotlinx.coroutines (org.jetbrains.kotlinx:kotlinx-coroutines-test)</summary> ### [`v1.9.0`](https://github.com/Kotlin/kotlinx.coroutines/blob/HEAD/CHANGES.md#Version-190) [Compare Source](https://github.com/Kotlin/kotlinx.coroutines/compare/1.8.1...1.9.0) ##### Features - Wasm/WASI target support ([#&#8203;4064](https://github.com/Kotlin/kotlinx.coroutines/issues/4064)). Thanks, [@&#8203;igoriakovlev](https://github.com/igoriakovlev)! - `limitedParallelism` now optionally accepts the name of the dispatcher view for easier debugging ([#&#8203;4023](https://github.com/Kotlin/kotlinx.coroutines/issues/4023)). - No longer initialize `Dispatchers.IO` on the JVM when other standard dispatchers are accessed ([#&#8203;4166](https://github.com/Kotlin/kotlinx.coroutines/issues/4166)). Thanks, [@&#8203;metalhead8816](https://github.com/metalhead8816)! - Introduced the `Flow<T>.chunked(size: Int): Flow<List<T>>` operator that groups emitted values into groups of the given size ([#&#8203;1290](https://github.com/Kotlin/kotlinx.coroutines/issues/1290)). - Closeable dispatchers are instances of `AutoCloseable` now ([#&#8203;4123](https://github.com/Kotlin/kotlinx.coroutines/issues/4123)). ##### Fixes - Calling `hasNext` on a `Channel`'s iterator is idempotent ([#&#8203;4065](https://github.com/Kotlin/kotlinx.coroutines/issues/4065)). Thanks, [@&#8203;gitpaxultek](https://github.com/gitpaxultek)! - `CoroutineScope()` created without an explicit dispatcher uses `Dispatchers.Default` on Native ([#&#8203;4074](https://github.com/Kotlin/kotlinx.coroutines/issues/4074)). Thanks, [@&#8203;whyoleg](https://github.com/whyoleg)! - Fixed a bug that prevented non-Android `Dispatchers.Main` from initializing when the Firebase dependency is used ([#&#8203;3914](https://github.com/Kotlin/kotlinx.coroutines/issues/3914)). - Ensured a more intuitive ordering of tasks in `runBlocking` ([#&#8203;4134](https://github.com/Kotlin/kotlinx.coroutines/issues/4134)). - Forbid casting a `Mutex` to `Semaphore` ([#&#8203;4176](https://github.com/Kotlin/kotlinx.coroutines/issues/4176)). - Worked around a stack overflow that may occur when calling `asDeferred` on a `Future` many times ([#&#8203;4156](https://github.com/Kotlin/kotlinx.coroutines/issues/4156)). ##### Deprecations and promotions - Advanced the deprecation levels for `BroadcastChannel`-based API ([#&#8203;4197](https://github.com/Kotlin/kotlinx.coroutines/issues/4197)). - Advanced the deprecation levels for the old `kotlinx-coroutines-test` API ([#&#8203;4198](https://github.com/Kotlin/kotlinx.coroutines/issues/4198)). - Deprecated `Job.cancelFutureOnCompletion` ([#&#8203;4173](https://github.com/Kotlin/kotlinx.coroutines/issues/4173)). - Promoted `CoroutineDispatcher.limitedParallelism` to stable ([#&#8203;3864](https://github.com/Kotlin/kotlinx.coroutines/issues/3864)). - Promoted `CoroutineStart.ATOMIC` from `ExperimentalCoroutinesApi` to `DelicateCoroutinesApi` ([#&#8203;4169](https://github.com/Kotlin/kotlinx.coroutines/issues/4169)). - Promoted `CancellableContinuation.resume` with an `onCancellation` lambda to stable, providing extra arguments to the lambda ([#&#8203;4088](https://github.com/Kotlin/kotlinx.coroutines/issues/4088)). - Marked the classes and interfaces that are not supposed to be inherited from with the new `InternalForInheritanceCoroutinesApi` opt-in ([#&#8203;3770](https://github.com/Kotlin/kotlinx.coroutines/issues/3770)). - Marked the classes and interfaces inheriting from which is not stable with the new `ExperimentalForInheritanceCoroutinesApi` opt-in ([#&#8203;3770](https://github.com/Kotlin/kotlinx.coroutines/issues/3770)). ##### Other - Kotlin was updated to 2.0 ([#&#8203;4137](https://github.com/Kotlin/kotlinx.coroutines/issues/4137)). - Reworked the documentation for `CoroutineStart` and `Channel`-based API ([#&#8203;4147](https://github.com/Kotlin/kotlinx.coroutines/issues/4147), [#&#8203;4148](https://github.com/Kotlin/kotlinx.coroutines/issues/4148), [#&#8203;4167](https://github.com/Kotlin/kotlinx.coroutines/issues/4167)). Thanks, [@&#8203;globsterg](https://github.com/globsterg)! - Simplified the internal implementation of `Job` ([#&#8203;4053](https://github.com/Kotlin/kotlinx.coroutines/issues/4053)). - Small tweaks, fixes, and documentation improvements. </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC4xMS4xIiwidXBkYXRlZEluVmVyIjoiMzguMTEuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==-->
renovate-bot added 1 commit 2024-09-17 10:03:06 +00:00
Update coroutines to v1.9.0
All checks were successful
Build & Test / Validate (pull_request) Successful in 19s
Build & Test / Run Unit Tests (pull_request) Successful in 12m43s
Build & Test / Run UI Tests (pull_request) Successful in 18m23s
cb973ba0ec
renovate-bot scheduled this pull request to auto merge when all checks succeed 2024-09-17 10:03:06 +00:00
renovate-bot merged commit cb973ba0ec into main 2024-09-17 13:13:18 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: wbrawner/SimpleMarkdown#55
No description provided.