Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(deps): bump kotlinCoroutinesVersion from 1.8.1 to 1.9.0 (#328)
Bumps `kotlinCoroutinesVersion` from 1.8.1 to 1.9.0. Updates `org.jetbrains.kotlinx:kotlinx-coroutines-core` from 1.8.1 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<T>.chunked(size: Int): Flow<List<T>></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> <h2>1.9.0-RC</h2> <ul> <li>Kotlin was updated to 2.0 (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4137">#4137</a>).</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </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<T>.chunked(size: Int): Flow<List<T>></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> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </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.8.1...1.9.0">compare view</a></li> </ul> </details> <br /> Updates `org.jetbrains.kotlinx:kotlinx-coroutines-test` from 1.8.1 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<T>.chunked(size: Int): Flow<List<T>></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> <h2>1.9.0-RC</h2> <ul> <li>Kotlin was updated to 2.0 (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4137">#4137</a>).</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </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<T>.chunked(size: Int): Flow<List<T>></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> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </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.8.1...1.9.0">compare view</a></li> </ul> </details> <br /> Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details>
- Loading branch information