Bump kotlinx-coroutines from 1.9.0-RC to 1.9.0 #4

Merged
dependabot[bot] merged 1 commits from dependabot/gradle/kotlinx-coroutines-1.9.0 into master 2024-12-14 13:21:35 +03:00
dependabot[bot] commented 2024-12-14 12:47:11 +03:00 (Migrated from github.com)

Bumps kotlinx-coroutines from 1.9.0-RC to 1.9.0.
Updates org.jetbrains.kotlinx:kotlinx-coroutines-core from 1.9.0-RC 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!
  • 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.

1.9.0-RC.2

  • Advanced the deprecation levels for BroadcastChannel-based API (#4197).
  • Advanced the deprecation levels for the old kotlinx-coroutines-test API (#4198).
  • Promoted CoroutineStart.ATOMIC from ExperimentalCoroutinesApi to DelicateCoroutinesApi (#4169).
  • Reworked the documentation for CoroutineStart and Channel-based API (#4147, #4148, #4167). Thanks, @​globsterg!
  • Forbid casting a Mutex to Semaphore (#4176).
  • Deprecated Job.cancelFutureOnCompletion (#4156).
  • Worked around a stack overflow that may occur when calling asDeferred on a Future many times (#4156).
  • Fixed a bug that disallowed setting a custom probeCoroutineResumed when starting coroutines with UNDISPATCHED (#4162).
  • No longer initialize Dispatchers.IO on the JVM when other standard dispatchers are accessed (#4166). Thanks, @​metalhead8816!
  • Small tweaks, fixes, and documentation improvements.
Changelog

Sourced from org.jetbrains.kotlinx:kotlinx-coroutines-core's changelog.

Version 1.9.0

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.

Version 1.9.0-RC.2

  • Advanced the deprecation levels for BroadcastChannel-based API (#4197).
  • Advanced the deprecation levels for the old kotlinx-coroutines-test API (#4198).
  • Promoted CoroutineStart.ATOMIC from ExperimentalCoroutinesApi to DelicateCoroutinesApi (#4169).
  • Reworked the documentation for CoroutineStart and Channel-based API (#4147, #4148, #4167). Thanks, @​globsterg!
  • Forbid casting a Mutex to Semaphore (#4176).
  • Deprecated Job.cancelFutureOnCompletion (#4173).
  • Worked around a stack overflow that may occur when calling asDeferred on a Future many times (#4156).
  • Fixed a bug that disallowed setting a custom probeCoroutineResumed when starting coroutines with UNDISPATCHED (#4162).
  • No longer initialize Dispatchers.IO on the JVM when other standard dispatchers are accessed (#4166). Thanks, @​metalhead8816!
  • Small tweaks, fixes, and documentation improvements.
Commits

Updates org.jetbrains.kotlinx:kotlinx-coroutines-android from 1.9.0-RC to 1.9.0

Release notes

Sourced from org.jetbrains.kotlinx:kotlinx-coroutines-android's releases.

1.9.0

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.

1.9.0-RC.2

  • Advanced the deprecation levels for BroadcastChannel-based API (#4197).
  • Advanced the deprecation levels for the old kotlinx-coroutines-test API (#4198).
  • Promoted CoroutineStart.ATOMIC from ExperimentalCoroutinesApi to DelicateCoroutinesApi (#4169).
  • Reworked the documentation for CoroutineStart and Channel-based API (#4147, #4148, #4167). Thanks, @​globsterg!
  • Forbid casting a Mutex to Semaphore (#4176).
  • Deprecated Job.cancelFutureOnCompletion (#4156).
  • Worked around a stack overflow that may occur when calling asDeferred on a Future many times (#4156).
  • Fixed a bug that disallowed setting a custom probeCoroutineResumed when starting coroutines with UNDISPATCHED (#4162).
  • No longer initialize Dispatchers.IO on the JVM when other standard dispatchers are accessed (#4166). Thanks, @​metalhead8816!
  • Small tweaks, fixes, and documentation improvements.
Changelog

Sourced from org.jetbrains.kotlinx:kotlinx-coroutines-android's changelog.

Version 1.9.0

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.

Version 1.9.0-RC.2

  • Advanced the deprecation levels for BroadcastChannel-based API (#4197).
  • Advanced the deprecation levels for the old kotlinx-coroutines-test API (#4198).
  • Promoted CoroutineStart.ATOMIC from ExperimentalCoroutinesApi to DelicateCoroutinesApi (#4169).
  • Reworked the documentation for CoroutineStart and Channel-based API (#4147, #4148, #4167). Thanks, @​globsterg!
  • Forbid casting a Mutex to Semaphore (#4176).
  • Deprecated Job.cancelFutureOnCompletion (#4173).
  • Worked around a stack overflow that may occur when calling asDeferred on a Future many times (#4156).
  • Fixed a bug that disallowed setting a custom probeCoroutineResumed when starting coroutines with UNDISPATCHED (#4162).
  • No longer initialize Dispatchers.IO on the JVM when other standard dispatchers are accessed (#4166). Thanks, @​metalhead8816!
  • Small tweaks, fixes, and documentation improvements.
Commits

Updates org.jetbrains.kotlinx:kotlinx-coroutines-swing from 1.9.0-RC to 1.9.0

Release notes

Sourced from org.jetbrains.kotlinx:kotlinx-coroutines-swing's releases.

1.9.0

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.

1.9.0-RC.2

  • Advanced the deprecation levels for BroadcastChannel-based API (#4197).
  • Advanced the deprecation levels for the old kotlinx-coroutines-test API (#4198).
  • Promoted CoroutineStart.ATOMIC from ExperimentalCoroutinesApi to DelicateCoroutinesApi (#4169).
  • Reworked the documentation for CoroutineStart and Channel-based API (#4147, #4148, #4167). Thanks, @​globsterg!
  • Forbid casting a Mutex to Semaphore (#4176).
  • Deprecated Job.cancelFutureOnCompletion (#4156).
  • Worked around a stack overflow that may occur when calling asDeferred on a Future many times (#4156).
  • Fixed a bug that disallowed setting a custom probeCoroutineResumed when starting coroutines with UNDISPATCHED (#4162).
  • No longer initialize Dispatchers.IO on the JVM when other standard dispatchers are accessed (#4166). Thanks, @​metalhead8816!
  • Small tweaks, fixes, and documentation improvements.
Changelog

Sourced from org.jetbrains.kotlinx:kotlinx-coroutines-swing's changelog.

Version 1.9.0

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.

Version 1.9.0-RC.2

  • Advanced the deprecation levels for BroadcastChannel-based API (#4197).
  • Advanced the deprecation levels for the old kotlinx-coroutines-test API (#4198).
  • Promoted CoroutineStart.ATOMIC from ExperimentalCoroutinesApi to DelicateCoroutinesApi (#4169).
  • Reworked the documentation for CoroutineStart and Channel-based API (#4147, #4148, #4167). Thanks, @​globsterg!
  • Forbid casting a Mutex to Semaphore (#4176).
  • Deprecated Job.cancelFutureOnCompletion (#4173).
  • Worked around a stack overflow that may occur when calling asDeferred on a Future many times (#4156).
  • Fixed a bug that disallowed setting a custom probeCoroutineResumed when starting coroutines with UNDISPATCHED (#4162).
  • No longer initialize Dispatchers.IO on the JVM when other standard dispatchers are accessed (#4166). Thanks, @​metalhead8816!
  • Small tweaks, fixes, and documentation improvements.
Commits

Updates org.jetbrains.kotlinx:kotlinx-coroutines-test from 1.9.0-RC to 1.9.0

Release notes

Sourced from org.jetbrains.kotlinx:kotlinx-coroutines-test's releases.

1.9.0

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.

1.9.0-RC.2

  • Advanced the deprecation levels for BroadcastChannel-based API (#4197).
  • Advanced the deprecation levels for the old kotlinx-coroutines-test API (#4198).
  • Promoted CoroutineStart.ATOMIC from ExperimentalCoroutinesApi to DelicateCoroutinesApi (#4169).
  • Reworked the documentation for CoroutineStart and Channel-based API (#4147, #4148, #4167). Thanks, @​globsterg!
  • Forbid casting a Mutex to Semaphore (#4176).
  • Deprecated Job.cancelFutureOnCompletion (#4156).
  • Worked around a stack overflow that may occur when calling asDeferred on a Future many times (#4156).
  • Fixed a bug that disallowed setting a custom probeCoroutineResumed when starting coroutines with UNDISPATCHED (#4162).
  • No longer initialize Dispatchers.IO on the JVM when other standard dispatchers are accessed (#4166). Thanks, @​metalhead8816!
  • Small tweaks, fixes, and documentation improvements.
Changelog

Sourced from org.jetbrains.kotlinx:kotlinx-coroutines-test's changelog.

Version 1.9.0

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.

Version 1.9.0-RC.2

  • Advanced the deprecation levels for BroadcastChannel-based API (#4197).
  • Advanced the d...

    Description has been truncated

Bumps `kotlinx-coroutines` from 1.9.0-RC to 1.9.0. Updates `org.jetbrains.kotlinx:kotlinx-coroutines-core` from 1.9.0-RC to 1.9.0 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/Kotlin/kotlinx.coroutines/releases">org.jetbrains.kotlinx:kotlinx-coroutines-core's releases</a>.</em></p> <blockquote> <h2>1.9.0</h2> <h3>Features</h3> <ul> <li>Wasm/WASI target support (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4064">#4064</a>). Thanks, <a href="https://github.com/igoriakovlev"><code>@​igoriakovlev</code></a>!</li> <li><code>limitedParallelism</code> now optionally accepts the name of the dispatcher view for easier debugging (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4023">#4023</a>).</li> <li>No longer initialize <code>Dispatchers.IO</code> on the JVM when other standard dispatchers are accessed (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4166">#4166</a>). Thanks, <a href="https://github.com/metalhead8816"><code>@​metalhead8816</code></a>!</li> <li>Introduced the <code>Flow&lt;T&gt;.chunked(size: Int): Flow&lt;List&lt;T&gt;&gt;</code> operator that groups emitted values into groups of the given size (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/1290">#1290</a>).</li> <li>Closeable dispatchers are instances of <code>AutoCloseable</code> now (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4123">#4123</a>).</li> </ul> <h3>Fixes</h3> <ul> <li>Calling <code>hasNext</code> on a <code>Channel</code>'s iterator is idempotent (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4065">#4065</a>). Thanks, <a href="https://github.com/gitpaxultek"><code>@​gitpaxultek</code></a>!</li> <li><code>CoroutineScope()</code> created without an explicit dispatcher uses <code>Dispatchers.Default</code> on Native (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4074">#4074</a>). Thanks, <a href="https://github.com/whyoleg"><code>@​whyoleg</code></a>!</li> <li>Fixed a bug that prevented non-Android <code>Dispatchers.Main</code> from initializing when the Firebase dependency is used (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3914">#3914</a>).</li> <li>Ensured a more intuitive ordering of tasks in <code>runBlocking</code> (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4134">#4134</a>).</li> <li>Forbid casting a <code>Mutex</code> to <code>Semaphore</code> (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4176">#4176</a>).</li> <li>Worked around a stack overflow that may occur when calling <code>asDeferred</code> on a <code>Future</code> many times (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4156">#4156</a>).</li> </ul> <h3>Deprecations and promotions</h3> <ul> <li>Advanced the deprecation levels for <code>BroadcastChannel</code>-based API (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4197">#4197</a>).</li> <li>Advanced the deprecation levels for the old <code>kotlinx-coroutines-test</code> API (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4198">#4198</a>).</li> <li>Deprecated <code>Job.cancelFutureOnCompletion</code> (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4173">#4173</a>).</li> <li>Promoted <code>CoroutineDispatcher.limitedParallelism</code> to stable (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3864">#3864</a>).</li> <li>Promoted <code>CoroutineStart.ATOMIC</code> from <code>ExperimentalCoroutinesApi</code> to <code>DelicateCoroutinesApi</code> (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4169">#4169</a>).</li> <li>Promoted <code>CancellableContinuation.resume</code> with an <code>onCancellation</code> lambda to stable, providing extra arguments to the lambda (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4088">#4088</a>).</li> <li>Marked the classes and interfaces that are not supposed to be inherited from with the new <code>InternalForInheritanceCoroutinesApi</code> opt-in (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3770">#3770</a>).</li> <li>Marked the classes and interfaces inheriting from which is not stable with the new <code>ExperimentalForInheritanceCoroutinesApi</code> opt-in (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3770">#3770</a>).</li> </ul> <h3>Other</h3> <ul> <li>Kotlin was updated to 2.0 (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4137">#4137</a>).</li> <li>Reworked the documentation for <code>CoroutineStart</code> and <code>Channel</code>-based API (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4147">#4147</a>, <a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4148">#4148</a>, <a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4167">#4167</a>). Thanks, <a href="https://github.com/globsterg"><code>@​globsterg</code></a>!</li> <li>Simplified the internal implementation of <code>Job</code> (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4053">#4053</a>).</li> <li>Small tweaks, fixes, and documentation improvements.</li> </ul> <h2>1.9.0-RC.2</h2> <ul> <li>Advanced the deprecation levels for <code>BroadcastChannel</code>-based API (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4197">#4197</a>).</li> <li>Advanced the deprecation levels for the old <code>kotlinx-coroutines-test</code> API (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4198">#4198</a>).</li> <li>Promoted <code>CoroutineStart.ATOMIC</code> from <code>ExperimentalCoroutinesApi</code> to <code>DelicateCoroutinesApi</code> (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4169">#4169</a>).</li> <li>Reworked the documentation for <code>CoroutineStart</code> and <code>Channel</code>-based API (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4147">#4147</a>, <a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4148">#4148</a>, <a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4167">#4167</a>). Thanks, <a href="https://github.com/globsterg"><code>@​globsterg</code></a>!</li> <li>Forbid casting a <code>Mutex</code> to <code>Semaphore</code> (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4176">#4176</a>).</li> <li>Deprecated <code>Job.cancelFutureOnCompletion</code> (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4156">#4156</a>).</li> <li>Worked around a stack overflow that may occur when calling <code>asDeferred</code> on a <code>Future</code> many times (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4156">#4156</a>).</li> <li>Fixed a bug that disallowed setting a custom <code>probeCoroutineResumed</code> when starting coroutines with <code>UNDISPATCHED</code> (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4162">#4162</a>).</li> <li>No longer initialize <code>Dispatchers.IO</code> on the JVM when other standard dispatchers are accessed (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4166">#4166</a>). Thanks, <a href="https://github.com/metalhead8816"><code>@​metalhead8816</code></a>!</li> <li>Small tweaks, fixes, and documentation improvements.</li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/Kotlin/kotlinx.coroutines/blob/master/CHANGES.md">org.jetbrains.kotlinx:kotlinx-coroutines-core's changelog</a>.</em></p> <blockquote> <h2>Version 1.9.0</h2> <h3>Features</h3> <ul> <li>Wasm/WASI target support (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4064">#4064</a>). Thanks, <a href="https://github.com/igoriakovlev"><code>@​igoriakovlev</code></a>!</li> <li><code>limitedParallelism</code> now optionally accepts the name of the dispatcher view for easier debugging (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4023">#4023</a>).</li> <li>No longer initialize <code>Dispatchers.IO</code> on the JVM when other standard dispatchers are accessed (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4166">#4166</a>). Thanks, <a href="https://github.com/metalhead8816"><code>@​metalhead8816</code></a>!</li> <li>Introduced the <code>Flow&lt;T&gt;.chunked(size: Int): Flow&lt;List&lt;T&gt;&gt;</code> operator that groups emitted values into groups of the given size (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/1290">#1290</a>).</li> <li>Closeable dispatchers are instances of <code>AutoCloseable</code> now (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4123">#4123</a>).</li> </ul> <h3>Fixes</h3> <ul> <li>Calling <code>hasNext</code> on a <code>Channel</code>'s iterator is idempotent (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4065">#4065</a>). Thanks, <a href="https://github.com/gitpaxultek"><code>@​gitpaxultek</code></a>!</li> <li><code>CoroutineScope()</code> created without an explicit dispatcher uses <code>Dispatchers.Default</code> on Native (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4074">#4074</a>). Thanks, <a href="https://github.com/whyoleg"><code>@​whyoleg</code></a>!</li> <li>Fixed a bug that prevented non-Android <code>Dispatchers.Main</code> from initializing when the Firebase dependency is used (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3914">#3914</a>).</li> <li>Ensured a more intuitive ordering of tasks in <code>runBlocking</code> (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4134">#4134</a>).</li> <li>Forbid casting a <code>Mutex</code> to <code>Semaphore</code> (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4176">#4176</a>).</li> <li>Worked around a stack overflow that may occur when calling <code>asDeferred</code> on a <code>Future</code> many times (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4156">#4156</a>).</li> </ul> <h3>Deprecations and promotions</h3> <ul> <li>Advanced the deprecation levels for <code>BroadcastChannel</code>-based API (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4197">#4197</a>).</li> <li>Advanced the deprecation levels for the old <code>kotlinx-coroutines-test</code> API (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4198">#4198</a>).</li> <li>Deprecated <code>Job.cancelFutureOnCompletion</code> (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4173">#4173</a>).</li> <li>Promoted <code>CoroutineDispatcher.limitedParallelism</code> to stable (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3864">#3864</a>).</li> <li>Promoted <code>CoroutineStart.ATOMIC</code> from <code>ExperimentalCoroutinesApi</code> to <code>DelicateCoroutinesApi</code> (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4169">#4169</a>).</li> <li>Promoted <code>CancellableContinuation.resume</code> with an <code>onCancellation</code> lambda to stable, providing extra arguments to the lambda (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4088">#4088</a>).</li> <li>Marked the classes and interfaces that are not supposed to be inherited from with the new <code>InternalForInheritanceCoroutinesApi</code> opt-in (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3770">#3770</a>).</li> <li>Marked the classes and interfaces inheriting from which is not stable with the new <code>ExperimentalForInheritanceCoroutinesApi</code> opt-in (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3770">#3770</a>).</li> </ul> <h3>Other</h3> <ul> <li>Kotlin was updated to 2.0 (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4137">#4137</a>).</li> <li>Reworked the documentation for <code>CoroutineStart</code> and <code>Channel</code>-based API (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4147">#4147</a>, <a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4148">#4148</a>, <a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4167">#4167</a>). Thanks, <a href="https://github.com/globsterg"><code>@​globsterg</code></a>!</li> <li>Simplified the internal implementation of <code>Job</code> (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4053">#4053</a>).</li> <li>Small tweaks, fixes, and documentation improvements.</li> </ul> <h2>Version 1.9.0-RC.2</h2> <ul> <li>Advanced the deprecation levels for <code>BroadcastChannel</code>-based API (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4197">#4197</a>).</li> <li>Advanced the deprecation levels for the old <code>kotlinx-coroutines-test</code> API (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4198">#4198</a>).</li> <li>Promoted <code>CoroutineStart.ATOMIC</code> from <code>ExperimentalCoroutinesApi</code> to <code>DelicateCoroutinesApi</code> (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4169">#4169</a>).</li> <li>Reworked the documentation for <code>CoroutineStart</code> and <code>Channel</code>-based API (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4147">#4147</a>, <a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4148">#4148</a>, <a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4167">#4167</a>). Thanks, <a href="https://github.com/globsterg"><code>@​globsterg</code></a>!</li> <li>Forbid casting a <code>Mutex</code> to <code>Semaphore</code> (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4176">#4176</a>).</li> <li>Deprecated <code>Job.cancelFutureOnCompletion</code> (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4173">#4173</a>).</li> <li>Worked around a stack overflow that may occur when calling <code>asDeferred</code> on a <code>Future</code> many times (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4156">#4156</a>).</li> <li>Fixed a bug that disallowed setting a custom <code>probeCoroutineResumed</code> when starting coroutines with <code>UNDISPATCHED</code> (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4162">#4162</a>).</li> <li>No longer initialize <code>Dispatchers.IO</code> on the JVM when other standard dispatchers are accessed (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4166">#4166</a>). Thanks, <a href="https://github.com/metalhead8816"><code>@​metalhead8816</code></a>!</li> <li>Small tweaks, fixes, and documentation improvements.</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/Kotlin/kotlinx.coroutines/commit/d8d6f8f37978b8e202d93b34f23f101df9c5724d"><code>d8d6f8f</code></a> Version 1.9.0</li> <li><a href="https://github.com/Kotlin/kotlinx.coroutines/commit/3a1be8c6b9462423563e95c4e85f1efdcc25bcc1"><code>3a1be8c</code></a> Remove obsolete npm folder from the doc (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4189">#4189</a>)</li> <li><a href="https://github.com/Kotlin/kotlinx.coroutines/commit/d38672a53ccdfda6319ab5f11669af8ad96d60a5"><code>d38672a</code></a> Version 1.9.0-RC.2</li> <li><a href="https://github.com/Kotlin/kotlinx.coroutines/commit/4801c6577e6f61b38271323994467945a795adc8"><code>4801c65</code></a> Merge remote-tracking branch 'origin/master' into develop</li> <li><a href="https://github.com/Kotlin/kotlinx.coroutines/commit/cc34948215393a9bbcefe8fdee690495c1bdfa1b"><code>cc34948</code></a> Rework the KDoc for <code>CoroutineStart</code> (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4147">#4147</a>)</li> <li><a href="https://github.com/Kotlin/kotlinx.coroutines/commit/a7fe247daaaef1c1302af820994c74a0bfae1b0b"><code>a7fe247</code></a> Fix flaky test, ensure job suspension where expected by the test (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4204">#4204</a>)</li> <li><a href="https://github.com/Kotlin/kotlinx.coroutines/commit/b286646ad206f0729ce00bac416b5841096fecd3"><code>b286646</code></a> Remove various obsolete code (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4196">#4196</a>)</li> <li><a href="https://github.com/Kotlin/kotlinx.coroutines/commit/f0bdf002b11adeefa94cd1b53dd2f72cae930f1f"><code>f0bdf00</code></a> Increase the deprecation levels for the old test framework API (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4198">#4198</a>)</li> <li><a href="https://github.com/Kotlin/kotlinx.coroutines/commit/5c8e6502515a10b6bb6cd1c148796dde762d66e0"><code>5c8e650</code></a> Increase the deprecation levels for BroadcastChannel APIs (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4197">#4197</a>)</li> <li><a href="https://github.com/Kotlin/kotlinx.coroutines/commit/d0101106d3f53385de04cb40c38165266c76de91"><code>d010110</code></a> Rerun apiDump (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4207">#4207</a>)</li> <li>Additional commits viewable in <a href="https://github.com/Kotlin/kotlinx.coroutines/compare/1.9.0-RC...1.9.0">compare view</a></li> </ul> </details> <br /> Updates `org.jetbrains.kotlinx:kotlinx-coroutines-android` from 1.9.0-RC to 1.9.0 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/Kotlin/kotlinx.coroutines/releases">org.jetbrains.kotlinx:kotlinx-coroutines-android's releases</a>.</em></p> <blockquote> <h2>1.9.0</h2> <h3>Features</h3> <ul> <li>Wasm/WASI target support (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4064">#4064</a>). Thanks, <a href="https://github.com/igoriakovlev"><code>@​igoriakovlev</code></a>!</li> <li><code>limitedParallelism</code> now optionally accepts the name of the dispatcher view for easier debugging (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4023">#4023</a>).</li> <li>No longer initialize <code>Dispatchers.IO</code> on the JVM when other standard dispatchers are accessed (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4166">#4166</a>). Thanks, <a href="https://github.com/metalhead8816"><code>@​metalhead8816</code></a>!</li> <li>Introduced the <code>Flow&lt;T&gt;.chunked(size: Int): Flow&lt;List&lt;T&gt;&gt;</code> operator that groups emitted values into groups of the given size (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/1290">#1290</a>).</li> <li>Closeable dispatchers are instances of <code>AutoCloseable</code> now (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4123">#4123</a>).</li> </ul> <h3>Fixes</h3> <ul> <li>Calling <code>hasNext</code> on a <code>Channel</code>'s iterator is idempotent (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4065">#4065</a>). Thanks, <a href="https://github.com/gitpaxultek"><code>@​gitpaxultek</code></a>!</li> <li><code>CoroutineScope()</code> created without an explicit dispatcher uses <code>Dispatchers.Default</code> on Native (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4074">#4074</a>). Thanks, <a href="https://github.com/whyoleg"><code>@​whyoleg</code></a>!</li> <li>Fixed a bug that prevented non-Android <code>Dispatchers.Main</code> from initializing when the Firebase dependency is used (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3914">#3914</a>).</li> <li>Ensured a more intuitive ordering of tasks in <code>runBlocking</code> (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4134">#4134</a>).</li> <li>Forbid casting a <code>Mutex</code> to <code>Semaphore</code> (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4176">#4176</a>).</li> <li>Worked around a stack overflow that may occur when calling <code>asDeferred</code> on a <code>Future</code> many times (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4156">#4156</a>).</li> </ul> <h3>Deprecations and promotions</h3> <ul> <li>Advanced the deprecation levels for <code>BroadcastChannel</code>-based API (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4197">#4197</a>).</li> <li>Advanced the deprecation levels for the old <code>kotlinx-coroutines-test</code> API (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4198">#4198</a>).</li> <li>Deprecated <code>Job.cancelFutureOnCompletion</code> (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4173">#4173</a>).</li> <li>Promoted <code>CoroutineDispatcher.limitedParallelism</code> to stable (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3864">#3864</a>).</li> <li>Promoted <code>CoroutineStart.ATOMIC</code> from <code>ExperimentalCoroutinesApi</code> to <code>DelicateCoroutinesApi</code> (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4169">#4169</a>).</li> <li>Promoted <code>CancellableContinuation.resume</code> with an <code>onCancellation</code> lambda to stable, providing extra arguments to the lambda (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4088">#4088</a>).</li> <li>Marked the classes and interfaces that are not supposed to be inherited from with the new <code>InternalForInheritanceCoroutinesApi</code> opt-in (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3770">#3770</a>).</li> <li>Marked the classes and interfaces inheriting from which is not stable with the new <code>ExperimentalForInheritanceCoroutinesApi</code> opt-in (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3770">#3770</a>).</li> </ul> <h3>Other</h3> <ul> <li>Kotlin was updated to 2.0 (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4137">#4137</a>).</li> <li>Reworked the documentation for <code>CoroutineStart</code> and <code>Channel</code>-based API (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4147">#4147</a>, <a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4148">#4148</a>, <a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4167">#4167</a>). Thanks, <a href="https://github.com/globsterg"><code>@​globsterg</code></a>!</li> <li>Simplified the internal implementation of <code>Job</code> (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4053">#4053</a>).</li> <li>Small tweaks, fixes, and documentation improvements.</li> </ul> <h2>1.9.0-RC.2</h2> <ul> <li>Advanced the deprecation levels for <code>BroadcastChannel</code>-based API (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4197">#4197</a>).</li> <li>Advanced the deprecation levels for the old <code>kotlinx-coroutines-test</code> API (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4198">#4198</a>).</li> <li>Promoted <code>CoroutineStart.ATOMIC</code> from <code>ExperimentalCoroutinesApi</code> to <code>DelicateCoroutinesApi</code> (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4169">#4169</a>).</li> <li>Reworked the documentation for <code>CoroutineStart</code> and <code>Channel</code>-based API (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4147">#4147</a>, <a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4148">#4148</a>, <a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4167">#4167</a>). Thanks, <a href="https://github.com/globsterg"><code>@​globsterg</code></a>!</li> <li>Forbid casting a <code>Mutex</code> to <code>Semaphore</code> (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4176">#4176</a>).</li> <li>Deprecated <code>Job.cancelFutureOnCompletion</code> (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4156">#4156</a>).</li> <li>Worked around a stack overflow that may occur when calling <code>asDeferred</code> on a <code>Future</code> many times (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4156">#4156</a>).</li> <li>Fixed a bug that disallowed setting a custom <code>probeCoroutineResumed</code> when starting coroutines with <code>UNDISPATCHED</code> (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4162">#4162</a>).</li> <li>No longer initialize <code>Dispatchers.IO</code> on the JVM when other standard dispatchers are accessed (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4166">#4166</a>). Thanks, <a href="https://github.com/metalhead8816"><code>@​metalhead8816</code></a>!</li> <li>Small tweaks, fixes, and documentation improvements.</li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/Kotlin/kotlinx.coroutines/blob/master/CHANGES.md">org.jetbrains.kotlinx:kotlinx-coroutines-android's changelog</a>.</em></p> <blockquote> <h2>Version 1.9.0</h2> <h3>Features</h3> <ul> <li>Wasm/WASI target support (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4064">#4064</a>). Thanks, <a href="https://github.com/igoriakovlev"><code>@​igoriakovlev</code></a>!</li> <li><code>limitedParallelism</code> now optionally accepts the name of the dispatcher view for easier debugging (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4023">#4023</a>).</li> <li>No longer initialize <code>Dispatchers.IO</code> on the JVM when other standard dispatchers are accessed (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4166">#4166</a>). Thanks, <a href="https://github.com/metalhead8816"><code>@​metalhead8816</code></a>!</li> <li>Introduced the <code>Flow&lt;T&gt;.chunked(size: Int): Flow&lt;List&lt;T&gt;&gt;</code> operator that groups emitted values into groups of the given size (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/1290">#1290</a>).</li> <li>Closeable dispatchers are instances of <code>AutoCloseable</code> now (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4123">#4123</a>).</li> </ul> <h3>Fixes</h3> <ul> <li>Calling <code>hasNext</code> on a <code>Channel</code>'s iterator is idempotent (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4065">#4065</a>). Thanks, <a href="https://github.com/gitpaxultek"><code>@​gitpaxultek</code></a>!</li> <li><code>CoroutineScope()</code> created without an explicit dispatcher uses <code>Dispatchers.Default</code> on Native (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4074">#4074</a>). Thanks, <a href="https://github.com/whyoleg"><code>@​whyoleg</code></a>!</li> <li>Fixed a bug that prevented non-Android <code>Dispatchers.Main</code> from initializing when the Firebase dependency is used (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3914">#3914</a>).</li> <li>Ensured a more intuitive ordering of tasks in <code>runBlocking</code> (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4134">#4134</a>).</li> <li>Forbid casting a <code>Mutex</code> to <code>Semaphore</code> (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4176">#4176</a>).</li> <li>Worked around a stack overflow that may occur when calling <code>asDeferred</code> on a <code>Future</code> many times (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4156">#4156</a>).</li> </ul> <h3>Deprecations and promotions</h3> <ul> <li>Advanced the deprecation levels for <code>BroadcastChannel</code>-based API (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4197">#4197</a>).</li> <li>Advanced the deprecation levels for the old <code>kotlinx-coroutines-test</code> API (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4198">#4198</a>).</li> <li>Deprecated <code>Job.cancelFutureOnCompletion</code> (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4173">#4173</a>).</li> <li>Promoted <code>CoroutineDispatcher.limitedParallelism</code> to stable (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3864">#3864</a>).</li> <li>Promoted <code>CoroutineStart.ATOMIC</code> from <code>ExperimentalCoroutinesApi</code> to <code>DelicateCoroutinesApi</code> (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4169">#4169</a>).</li> <li>Promoted <code>CancellableContinuation.resume</code> with an <code>onCancellation</code> lambda to stable, providing extra arguments to the lambda (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4088">#4088</a>).</li> <li>Marked the classes and interfaces that are not supposed to be inherited from with the new <code>InternalForInheritanceCoroutinesApi</code> opt-in (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3770">#3770</a>).</li> <li>Marked the classes and interfaces inheriting from which is not stable with the new <code>ExperimentalForInheritanceCoroutinesApi</code> opt-in (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3770">#3770</a>).</li> </ul> <h3>Other</h3> <ul> <li>Kotlin was updated to 2.0 (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4137">#4137</a>).</li> <li>Reworked the documentation for <code>CoroutineStart</code> and <code>Channel</code>-based API (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4147">#4147</a>, <a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4148">#4148</a>, <a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4167">#4167</a>). Thanks, <a href="https://github.com/globsterg"><code>@​globsterg</code></a>!</li> <li>Simplified the internal implementation of <code>Job</code> (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4053">#4053</a>).</li> <li>Small tweaks, fixes, and documentation improvements.</li> </ul> <h2>Version 1.9.0-RC.2</h2> <ul> <li>Advanced the deprecation levels for <code>BroadcastChannel</code>-based API (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4197">#4197</a>).</li> <li>Advanced the deprecation levels for the old <code>kotlinx-coroutines-test</code> API (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4198">#4198</a>).</li> <li>Promoted <code>CoroutineStart.ATOMIC</code> from <code>ExperimentalCoroutinesApi</code> to <code>DelicateCoroutinesApi</code> (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4169">#4169</a>).</li> <li>Reworked the documentation for <code>CoroutineStart</code> and <code>Channel</code>-based API (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4147">#4147</a>, <a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4148">#4148</a>, <a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4167">#4167</a>). Thanks, <a href="https://github.com/globsterg"><code>@​globsterg</code></a>!</li> <li>Forbid casting a <code>Mutex</code> to <code>Semaphore</code> (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4176">#4176</a>).</li> <li>Deprecated <code>Job.cancelFutureOnCompletion</code> (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4173">#4173</a>).</li> <li>Worked around a stack overflow that may occur when calling <code>asDeferred</code> on a <code>Future</code> many times (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4156">#4156</a>).</li> <li>Fixed a bug that disallowed setting a custom <code>probeCoroutineResumed</code> when starting coroutines with <code>UNDISPATCHED</code> (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4162">#4162</a>).</li> <li>No longer initialize <code>Dispatchers.IO</code> on the JVM when other standard dispatchers are accessed (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4166">#4166</a>). Thanks, <a href="https://github.com/metalhead8816"><code>@​metalhead8816</code></a>!</li> <li>Small tweaks, fixes, and documentation improvements.</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/Kotlin/kotlinx.coroutines/commit/d8d6f8f37978b8e202d93b34f23f101df9c5724d"><code>d8d6f8f</code></a> Version 1.9.0</li> <li><a href="https://github.com/Kotlin/kotlinx.coroutines/commit/3a1be8c6b9462423563e95c4e85f1efdcc25bcc1"><code>3a1be8c</code></a> Remove obsolete npm folder from the doc (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4189">#4189</a>)</li> <li><a href="https://github.com/Kotlin/kotlinx.coroutines/commit/d38672a53ccdfda6319ab5f11669af8ad96d60a5"><code>d38672a</code></a> Version 1.9.0-RC.2</li> <li><a href="https://github.com/Kotlin/kotlinx.coroutines/commit/4801c6577e6f61b38271323994467945a795adc8"><code>4801c65</code></a> Merge remote-tracking branch 'origin/master' into develop</li> <li><a href="https://github.com/Kotlin/kotlinx.coroutines/commit/cc34948215393a9bbcefe8fdee690495c1bdfa1b"><code>cc34948</code></a> Rework the KDoc for <code>CoroutineStart</code> (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4147">#4147</a>)</li> <li><a href="https://github.com/Kotlin/kotlinx.coroutines/commit/a7fe247daaaef1c1302af820994c74a0bfae1b0b"><code>a7fe247</code></a> Fix flaky test, ensure job suspension where expected by the test (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4204">#4204</a>)</li> <li><a href="https://github.com/Kotlin/kotlinx.coroutines/commit/b286646ad206f0729ce00bac416b5841096fecd3"><code>b286646</code></a> Remove various obsolete code (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4196">#4196</a>)</li> <li><a href="https://github.com/Kotlin/kotlinx.coroutines/commit/f0bdf002b11adeefa94cd1b53dd2f72cae930f1f"><code>f0bdf00</code></a> Increase the deprecation levels for the old test framework API (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4198">#4198</a>)</li> <li><a href="https://github.com/Kotlin/kotlinx.coroutines/commit/5c8e6502515a10b6bb6cd1c148796dde762d66e0"><code>5c8e650</code></a> Increase the deprecation levels for BroadcastChannel APIs (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4197">#4197</a>)</li> <li><a href="https://github.com/Kotlin/kotlinx.coroutines/commit/d0101106d3f53385de04cb40c38165266c76de91"><code>d010110</code></a> Rerun apiDump (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4207">#4207</a>)</li> <li>Additional commits viewable in <a href="https://github.com/Kotlin/kotlinx.coroutines/compare/1.9.0-RC...1.9.0">compare view</a></li> </ul> </details> <br /> Updates `org.jetbrains.kotlinx:kotlinx-coroutines-swing` from 1.9.0-RC to 1.9.0 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/Kotlin/kotlinx.coroutines/releases">org.jetbrains.kotlinx:kotlinx-coroutines-swing's releases</a>.</em></p> <blockquote> <h2>1.9.0</h2> <h3>Features</h3> <ul> <li>Wasm/WASI target support (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4064">#4064</a>). Thanks, <a href="https://github.com/igoriakovlev"><code>@​igoriakovlev</code></a>!</li> <li><code>limitedParallelism</code> now optionally accepts the name of the dispatcher view for easier debugging (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4023">#4023</a>).</li> <li>No longer initialize <code>Dispatchers.IO</code> on the JVM when other standard dispatchers are accessed (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4166">#4166</a>). Thanks, <a href="https://github.com/metalhead8816"><code>@​metalhead8816</code></a>!</li> <li>Introduced the <code>Flow&lt;T&gt;.chunked(size: Int): Flow&lt;List&lt;T&gt;&gt;</code> operator that groups emitted values into groups of the given size (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/1290">#1290</a>).</li> <li>Closeable dispatchers are instances of <code>AutoCloseable</code> now (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4123">#4123</a>).</li> </ul> <h3>Fixes</h3> <ul> <li>Calling <code>hasNext</code> on a <code>Channel</code>'s iterator is idempotent (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4065">#4065</a>). Thanks, <a href="https://github.com/gitpaxultek"><code>@​gitpaxultek</code></a>!</li> <li><code>CoroutineScope()</code> created without an explicit dispatcher uses <code>Dispatchers.Default</code> on Native (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4074">#4074</a>). Thanks, <a href="https://github.com/whyoleg"><code>@​whyoleg</code></a>!</li> <li>Fixed a bug that prevented non-Android <code>Dispatchers.Main</code> from initializing when the Firebase dependency is used (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3914">#3914</a>).</li> <li>Ensured a more intuitive ordering of tasks in <code>runBlocking</code> (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4134">#4134</a>).</li> <li>Forbid casting a <code>Mutex</code> to <code>Semaphore</code> (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4176">#4176</a>).</li> <li>Worked around a stack overflow that may occur when calling <code>asDeferred</code> on a <code>Future</code> many times (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4156">#4156</a>).</li> </ul> <h3>Deprecations and promotions</h3> <ul> <li>Advanced the deprecation levels for <code>BroadcastChannel</code>-based API (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4197">#4197</a>).</li> <li>Advanced the deprecation levels for the old <code>kotlinx-coroutines-test</code> API (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4198">#4198</a>).</li> <li>Deprecated <code>Job.cancelFutureOnCompletion</code> (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4173">#4173</a>).</li> <li>Promoted <code>CoroutineDispatcher.limitedParallelism</code> to stable (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3864">#3864</a>).</li> <li>Promoted <code>CoroutineStart.ATOMIC</code> from <code>ExperimentalCoroutinesApi</code> to <code>DelicateCoroutinesApi</code> (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4169">#4169</a>).</li> <li>Promoted <code>CancellableContinuation.resume</code> with an <code>onCancellation</code> lambda to stable, providing extra arguments to the lambda (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4088">#4088</a>).</li> <li>Marked the classes and interfaces that are not supposed to be inherited from with the new <code>InternalForInheritanceCoroutinesApi</code> opt-in (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3770">#3770</a>).</li> <li>Marked the classes and interfaces inheriting from which is not stable with the new <code>ExperimentalForInheritanceCoroutinesApi</code> opt-in (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3770">#3770</a>).</li> </ul> <h3>Other</h3> <ul> <li>Kotlin was updated to 2.0 (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4137">#4137</a>).</li> <li>Reworked the documentation for <code>CoroutineStart</code> and <code>Channel</code>-based API (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4147">#4147</a>, <a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4148">#4148</a>, <a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4167">#4167</a>). Thanks, <a href="https://github.com/globsterg"><code>@​globsterg</code></a>!</li> <li>Simplified the internal implementation of <code>Job</code> (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4053">#4053</a>).</li> <li>Small tweaks, fixes, and documentation improvements.</li> </ul> <h2>1.9.0-RC.2</h2> <ul> <li>Advanced the deprecation levels for <code>BroadcastChannel</code>-based API (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4197">#4197</a>).</li> <li>Advanced the deprecation levels for the old <code>kotlinx-coroutines-test</code> API (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4198">#4198</a>).</li> <li>Promoted <code>CoroutineStart.ATOMIC</code> from <code>ExperimentalCoroutinesApi</code> to <code>DelicateCoroutinesApi</code> (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4169">#4169</a>).</li> <li>Reworked the documentation for <code>CoroutineStart</code> and <code>Channel</code>-based API (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4147">#4147</a>, <a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4148">#4148</a>, <a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4167">#4167</a>). Thanks, <a href="https://github.com/globsterg"><code>@​globsterg</code></a>!</li> <li>Forbid casting a <code>Mutex</code> to <code>Semaphore</code> (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4176">#4176</a>).</li> <li>Deprecated <code>Job.cancelFutureOnCompletion</code> (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4156">#4156</a>).</li> <li>Worked around a stack overflow that may occur when calling <code>asDeferred</code> on a <code>Future</code> many times (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4156">#4156</a>).</li> <li>Fixed a bug that disallowed setting a custom <code>probeCoroutineResumed</code> when starting coroutines with <code>UNDISPATCHED</code> (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4162">#4162</a>).</li> <li>No longer initialize <code>Dispatchers.IO</code> on the JVM when other standard dispatchers are accessed (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4166">#4166</a>). Thanks, <a href="https://github.com/metalhead8816"><code>@​metalhead8816</code></a>!</li> <li>Small tweaks, fixes, and documentation improvements.</li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/Kotlin/kotlinx.coroutines/blob/master/CHANGES.md">org.jetbrains.kotlinx:kotlinx-coroutines-swing's changelog</a>.</em></p> <blockquote> <h2>Version 1.9.0</h2> <h3>Features</h3> <ul> <li>Wasm/WASI target support (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4064">#4064</a>). Thanks, <a href="https://github.com/igoriakovlev"><code>@​igoriakovlev</code></a>!</li> <li><code>limitedParallelism</code> now optionally accepts the name of the dispatcher view for easier debugging (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4023">#4023</a>).</li> <li>No longer initialize <code>Dispatchers.IO</code> on the JVM when other standard dispatchers are accessed (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4166">#4166</a>). Thanks, <a href="https://github.com/metalhead8816"><code>@​metalhead8816</code></a>!</li> <li>Introduced the <code>Flow&lt;T&gt;.chunked(size: Int): Flow&lt;List&lt;T&gt;&gt;</code> operator that groups emitted values into groups of the given size (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/1290">#1290</a>).</li> <li>Closeable dispatchers are instances of <code>AutoCloseable</code> now (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4123">#4123</a>).</li> </ul> <h3>Fixes</h3> <ul> <li>Calling <code>hasNext</code> on a <code>Channel</code>'s iterator is idempotent (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4065">#4065</a>). Thanks, <a href="https://github.com/gitpaxultek"><code>@​gitpaxultek</code></a>!</li> <li><code>CoroutineScope()</code> created without an explicit dispatcher uses <code>Dispatchers.Default</code> on Native (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4074">#4074</a>). Thanks, <a href="https://github.com/whyoleg"><code>@​whyoleg</code></a>!</li> <li>Fixed a bug that prevented non-Android <code>Dispatchers.Main</code> from initializing when the Firebase dependency is used (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3914">#3914</a>).</li> <li>Ensured a more intuitive ordering of tasks in <code>runBlocking</code> (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4134">#4134</a>).</li> <li>Forbid casting a <code>Mutex</code> to <code>Semaphore</code> (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4176">#4176</a>).</li> <li>Worked around a stack overflow that may occur when calling <code>asDeferred</code> on a <code>Future</code> many times (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4156">#4156</a>).</li> </ul> <h3>Deprecations and promotions</h3> <ul> <li>Advanced the deprecation levels for <code>BroadcastChannel</code>-based API (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4197">#4197</a>).</li> <li>Advanced the deprecation levels for the old <code>kotlinx-coroutines-test</code> API (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4198">#4198</a>).</li> <li>Deprecated <code>Job.cancelFutureOnCompletion</code> (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4173">#4173</a>).</li> <li>Promoted <code>CoroutineDispatcher.limitedParallelism</code> to stable (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3864">#3864</a>).</li> <li>Promoted <code>CoroutineStart.ATOMIC</code> from <code>ExperimentalCoroutinesApi</code> to <code>DelicateCoroutinesApi</code> (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4169">#4169</a>).</li> <li>Promoted <code>CancellableContinuation.resume</code> with an <code>onCancellation</code> lambda to stable, providing extra arguments to the lambda (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4088">#4088</a>).</li> <li>Marked the classes and interfaces that are not supposed to be inherited from with the new <code>InternalForInheritanceCoroutinesApi</code> opt-in (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3770">#3770</a>).</li> <li>Marked the classes and interfaces inheriting from which is not stable with the new <code>ExperimentalForInheritanceCoroutinesApi</code> opt-in (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3770">#3770</a>).</li> </ul> <h3>Other</h3> <ul> <li>Kotlin was updated to 2.0 (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4137">#4137</a>).</li> <li>Reworked the documentation for <code>CoroutineStart</code> and <code>Channel</code>-based API (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4147">#4147</a>, <a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4148">#4148</a>, <a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4167">#4167</a>). Thanks, <a href="https://github.com/globsterg"><code>@​globsterg</code></a>!</li> <li>Simplified the internal implementation of <code>Job</code> (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4053">#4053</a>).</li> <li>Small tweaks, fixes, and documentation improvements.</li> </ul> <h2>Version 1.9.0-RC.2</h2> <ul> <li>Advanced the deprecation levels for <code>BroadcastChannel</code>-based API (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4197">#4197</a>).</li> <li>Advanced the deprecation levels for the old <code>kotlinx-coroutines-test</code> API (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4198">#4198</a>).</li> <li>Promoted <code>CoroutineStart.ATOMIC</code> from <code>ExperimentalCoroutinesApi</code> to <code>DelicateCoroutinesApi</code> (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4169">#4169</a>).</li> <li>Reworked the documentation for <code>CoroutineStart</code> and <code>Channel</code>-based API (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4147">#4147</a>, <a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4148">#4148</a>, <a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4167">#4167</a>). Thanks, <a href="https://github.com/globsterg"><code>@​globsterg</code></a>!</li> <li>Forbid casting a <code>Mutex</code> to <code>Semaphore</code> (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4176">#4176</a>).</li> <li>Deprecated <code>Job.cancelFutureOnCompletion</code> (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4173">#4173</a>).</li> <li>Worked around a stack overflow that may occur when calling <code>asDeferred</code> on a <code>Future</code> many times (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4156">#4156</a>).</li> <li>Fixed a bug that disallowed setting a custom <code>probeCoroutineResumed</code> when starting coroutines with <code>UNDISPATCHED</code> (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4162">#4162</a>).</li> <li>No longer initialize <code>Dispatchers.IO</code> on the JVM when other standard dispatchers are accessed (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4166">#4166</a>). Thanks, <a href="https://github.com/metalhead8816"><code>@​metalhead8816</code></a>!</li> <li>Small tweaks, fixes, and documentation improvements.</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/Kotlin/kotlinx.coroutines/commit/d8d6f8f37978b8e202d93b34f23f101df9c5724d"><code>d8d6f8f</code></a> Version 1.9.0</li> <li><a href="https://github.com/Kotlin/kotlinx.coroutines/commit/3a1be8c6b9462423563e95c4e85f1efdcc25bcc1"><code>3a1be8c</code></a> Remove obsolete npm folder from the doc (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4189">#4189</a>)</li> <li><a href="https://github.com/Kotlin/kotlinx.coroutines/commit/d38672a53ccdfda6319ab5f11669af8ad96d60a5"><code>d38672a</code></a> Version 1.9.0-RC.2</li> <li><a href="https://github.com/Kotlin/kotlinx.coroutines/commit/4801c6577e6f61b38271323994467945a795adc8"><code>4801c65</code></a> Merge remote-tracking branch 'origin/master' into develop</li> <li><a href="https://github.com/Kotlin/kotlinx.coroutines/commit/cc34948215393a9bbcefe8fdee690495c1bdfa1b"><code>cc34948</code></a> Rework the KDoc for <code>CoroutineStart</code> (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4147">#4147</a>)</li> <li><a href="https://github.com/Kotlin/kotlinx.coroutines/commit/a7fe247daaaef1c1302af820994c74a0bfae1b0b"><code>a7fe247</code></a> Fix flaky test, ensure job suspension where expected by the test (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4204">#4204</a>)</li> <li><a href="https://github.com/Kotlin/kotlinx.coroutines/commit/b286646ad206f0729ce00bac416b5841096fecd3"><code>b286646</code></a> Remove various obsolete code (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4196">#4196</a>)</li> <li><a href="https://github.com/Kotlin/kotlinx.coroutines/commit/f0bdf002b11adeefa94cd1b53dd2f72cae930f1f"><code>f0bdf00</code></a> Increase the deprecation levels for the old test framework API (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4198">#4198</a>)</li> <li><a href="https://github.com/Kotlin/kotlinx.coroutines/commit/5c8e6502515a10b6bb6cd1c148796dde762d66e0"><code>5c8e650</code></a> Increase the deprecation levels for BroadcastChannel APIs (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4197">#4197</a>)</li> <li><a href="https://github.com/Kotlin/kotlinx.coroutines/commit/d0101106d3f53385de04cb40c38165266c76de91"><code>d010110</code></a> Rerun apiDump (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4207">#4207</a>)</li> <li>Additional commits viewable in <a href="https://github.com/Kotlin/kotlinx.coroutines/compare/1.9.0-RC...1.9.0">compare view</a></li> </ul> </details> <br /> Updates `org.jetbrains.kotlinx:kotlinx-coroutines-test` from 1.9.0-RC to 1.9.0 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/Kotlin/kotlinx.coroutines/releases">org.jetbrains.kotlinx:kotlinx-coroutines-test's releases</a>.</em></p> <blockquote> <h2>1.9.0</h2> <h3>Features</h3> <ul> <li>Wasm/WASI target support (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4064">#4064</a>). Thanks, <a href="https://github.com/igoriakovlev"><code>@​igoriakovlev</code></a>!</li> <li><code>limitedParallelism</code> now optionally accepts the name of the dispatcher view for easier debugging (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4023">#4023</a>).</li> <li>No longer initialize <code>Dispatchers.IO</code> on the JVM when other standard dispatchers are accessed (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4166">#4166</a>). Thanks, <a href="https://github.com/metalhead8816"><code>@​metalhead8816</code></a>!</li> <li>Introduced the <code>Flow&lt;T&gt;.chunked(size: Int): Flow&lt;List&lt;T&gt;&gt;</code> operator that groups emitted values into groups of the given size (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/1290">#1290</a>).</li> <li>Closeable dispatchers are instances of <code>AutoCloseable</code> now (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4123">#4123</a>).</li> </ul> <h3>Fixes</h3> <ul> <li>Calling <code>hasNext</code> on a <code>Channel</code>'s iterator is idempotent (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4065">#4065</a>). Thanks, <a href="https://github.com/gitpaxultek"><code>@​gitpaxultek</code></a>!</li> <li><code>CoroutineScope()</code> created without an explicit dispatcher uses <code>Dispatchers.Default</code> on Native (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4074">#4074</a>). Thanks, <a href="https://github.com/whyoleg"><code>@​whyoleg</code></a>!</li> <li>Fixed a bug that prevented non-Android <code>Dispatchers.Main</code> from initializing when the Firebase dependency is used (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3914">#3914</a>).</li> <li>Ensured a more intuitive ordering of tasks in <code>runBlocking</code> (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4134">#4134</a>).</li> <li>Forbid casting a <code>Mutex</code> to <code>Semaphore</code> (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4176">#4176</a>).</li> <li>Worked around a stack overflow that may occur when calling <code>asDeferred</code> on a <code>Future</code> many times (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4156">#4156</a>).</li> </ul> <h3>Deprecations and promotions</h3> <ul> <li>Advanced the deprecation levels for <code>BroadcastChannel</code>-based API (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4197">#4197</a>).</li> <li>Advanced the deprecation levels for the old <code>kotlinx-coroutines-test</code> API (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4198">#4198</a>).</li> <li>Deprecated <code>Job.cancelFutureOnCompletion</code> (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4173">#4173</a>).</li> <li>Promoted <code>CoroutineDispatcher.limitedParallelism</code> to stable (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3864">#3864</a>).</li> <li>Promoted <code>CoroutineStart.ATOMIC</code> from <code>ExperimentalCoroutinesApi</code> to <code>DelicateCoroutinesApi</code> (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4169">#4169</a>).</li> <li>Promoted <code>CancellableContinuation.resume</code> with an <code>onCancellation</code> lambda to stable, providing extra arguments to the lambda (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4088">#4088</a>).</li> <li>Marked the classes and interfaces that are not supposed to be inherited from with the new <code>InternalForInheritanceCoroutinesApi</code> opt-in (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3770">#3770</a>).</li> <li>Marked the classes and interfaces inheriting from which is not stable with the new <code>ExperimentalForInheritanceCoroutinesApi</code> opt-in (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3770">#3770</a>).</li> </ul> <h3>Other</h3> <ul> <li>Kotlin was updated to 2.0 (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4137">#4137</a>).</li> <li>Reworked the documentation for <code>CoroutineStart</code> and <code>Channel</code>-based API (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4147">#4147</a>, <a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4148">#4148</a>, <a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4167">#4167</a>). Thanks, <a href="https://github.com/globsterg"><code>@​globsterg</code></a>!</li> <li>Simplified the internal implementation of <code>Job</code> (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4053">#4053</a>).</li> <li>Small tweaks, fixes, and documentation improvements.</li> </ul> <h2>1.9.0-RC.2</h2> <ul> <li>Advanced the deprecation levels for <code>BroadcastChannel</code>-based API (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4197">#4197</a>).</li> <li>Advanced the deprecation levels for the old <code>kotlinx-coroutines-test</code> API (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4198">#4198</a>).</li> <li>Promoted <code>CoroutineStart.ATOMIC</code> from <code>ExperimentalCoroutinesApi</code> to <code>DelicateCoroutinesApi</code> (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4169">#4169</a>).</li> <li>Reworked the documentation for <code>CoroutineStart</code> and <code>Channel</code>-based API (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4147">#4147</a>, <a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4148">#4148</a>, <a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4167">#4167</a>). Thanks, <a href="https://github.com/globsterg"><code>@​globsterg</code></a>!</li> <li>Forbid casting a <code>Mutex</code> to <code>Semaphore</code> (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4176">#4176</a>).</li> <li>Deprecated <code>Job.cancelFutureOnCompletion</code> (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4156">#4156</a>).</li> <li>Worked around a stack overflow that may occur when calling <code>asDeferred</code> on a <code>Future</code> many times (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4156">#4156</a>).</li> <li>Fixed a bug that disallowed setting a custom <code>probeCoroutineResumed</code> when starting coroutines with <code>UNDISPATCHED</code> (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4162">#4162</a>).</li> <li>No longer initialize <code>Dispatchers.IO</code> on the JVM when other standard dispatchers are accessed (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4166">#4166</a>). Thanks, <a href="https://github.com/metalhead8816"><code>@​metalhead8816</code></a>!</li> <li>Small tweaks, fixes, and documentation improvements.</li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/Kotlin/kotlinx.coroutines/blob/master/CHANGES.md">org.jetbrains.kotlinx:kotlinx-coroutines-test's changelog</a>.</em></p> <blockquote> <h2>Version 1.9.0</h2> <h3>Features</h3> <ul> <li>Wasm/WASI target support (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4064">#4064</a>). Thanks, <a href="https://github.com/igoriakovlev"><code>@​igoriakovlev</code></a>!</li> <li><code>limitedParallelism</code> now optionally accepts the name of the dispatcher view for easier debugging (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4023">#4023</a>).</li> <li>No longer initialize <code>Dispatchers.IO</code> on the JVM when other standard dispatchers are accessed (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4166">#4166</a>). Thanks, <a href="https://github.com/metalhead8816"><code>@​metalhead8816</code></a>!</li> <li>Introduced the <code>Flow&lt;T&gt;.chunked(size: Int): Flow&lt;List&lt;T&gt;&gt;</code> operator that groups emitted values into groups of the given size (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/1290">#1290</a>).</li> <li>Closeable dispatchers are instances of <code>AutoCloseable</code> now (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4123">#4123</a>).</li> </ul> <h3>Fixes</h3> <ul> <li>Calling <code>hasNext</code> on a <code>Channel</code>'s iterator is idempotent (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4065">#4065</a>). Thanks, <a href="https://github.com/gitpaxultek"><code>@​gitpaxultek</code></a>!</li> <li><code>CoroutineScope()</code> created without an explicit dispatcher uses <code>Dispatchers.Default</code> on Native (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4074">#4074</a>). Thanks, <a href="https://github.com/whyoleg"><code>@​whyoleg</code></a>!</li> <li>Fixed a bug that prevented non-Android <code>Dispatchers.Main</code> from initializing when the Firebase dependency is used (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3914">#3914</a>).</li> <li>Ensured a more intuitive ordering of tasks in <code>runBlocking</code> (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4134">#4134</a>).</li> <li>Forbid casting a <code>Mutex</code> to <code>Semaphore</code> (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4176">#4176</a>).</li> <li>Worked around a stack overflow that may occur when calling <code>asDeferred</code> on a <code>Future</code> many times (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4156">#4156</a>).</li> </ul> <h3>Deprecations and promotions</h3> <ul> <li>Advanced the deprecation levels for <code>BroadcastChannel</code>-based API (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4197">#4197</a>).</li> <li>Advanced the deprecation levels for the old <code>kotlinx-coroutines-test</code> API (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4198">#4198</a>).</li> <li>Deprecated <code>Job.cancelFutureOnCompletion</code> (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4173">#4173</a>).</li> <li>Promoted <code>CoroutineDispatcher.limitedParallelism</code> to stable (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3864">#3864</a>).</li> <li>Promoted <code>CoroutineStart.ATOMIC</code> from <code>ExperimentalCoroutinesApi</code> to <code>DelicateCoroutinesApi</code> (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4169">#4169</a>).</li> <li>Promoted <code>CancellableContinuation.resume</code> with an <code>onCancellation</code> lambda to stable, providing extra arguments to the lambda (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4088">#4088</a>).</li> <li>Marked the classes and interfaces that are not supposed to be inherited from with the new <code>InternalForInheritanceCoroutinesApi</code> opt-in (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3770">#3770</a>).</li> <li>Marked the classes and interfaces inheriting from which is not stable with the new <code>ExperimentalForInheritanceCoroutinesApi</code> opt-in (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3770">#3770</a>).</li> </ul> <h3>Other</h3> <ul> <li>Kotlin was updated to 2.0 (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4137">#4137</a>).</li> <li>Reworked the documentation for <code>CoroutineStart</code> and <code>Channel</code>-based API (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4147">#4147</a>, <a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4148">#4148</a>, <a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4167">#4167</a>). Thanks, <a href="https://github.com/globsterg"><code>@​globsterg</code></a>!</li> <li>Simplified the internal implementation of <code>Job</code> (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4053">#4053</a>).</li> <li>Small tweaks, fixes, and documentation improvements.</li> </ul> <h2>Version 1.9.0-RC.2</h2> <ul> <li>Advanced the deprecation levels for <code>BroadcastChannel</code>-based API (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4197">#4197</a>).</li> <li>Advanced the d... _Description has been truncated_
melod1n commented 2024-12-14 13:21:33 +03:00 (Migrated from github.com)

@dependabot squash and merge

@dependabot squash and merge
Sign in to join this conversation.