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.6.4 to 1.7.1 (#281)
Bumps `kotlinCoroutinesVersion` from 1.6.4 to 1.7.1. Updates `org.jetbrains.kotlinx:kotlinx-coroutines-core` from 1.6.4 to 1.7.1 <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.7.1</h2> <h3>Bug fixes and improvements</h3> <ul> <li>Special characters in coroutine names in JSON dumps are supported (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3747">#3747</a>)</li> <li>The binary compatibility of the experimental overload of <code>runTest</code> is restored (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3673">#3673</a>)</li> <li>Channels that don't use <code>onUndeliveredElement</code> now allocate less memory (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3646">#3646</a>)</li> </ul> <h2>1.7.0</h2> <h3>Core API significant improvements</h3> <ul> <li>New <code>Channel</code> implementation with significant performance improvements across the API (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3621">#3621</a>).</li> <li>New <code>select</code> operator implementation: faster, more lightweight, and more robust (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3020">#3020</a>).</li> <li><code>Mutex</code> and <code>Semaphore</code> now share the same underlying data structure (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3020">#3020</a>).</li> <li><code>Dispatchers.IO</code> is added to K/N (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3205">#3205</a>) <ul> <li><code>newFixedThreadPool</code> and <code>Dispatchers.Default</code> implementations on K/N were wholly rewritten to support graceful growth under load (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3595">#3595</a>).</li> </ul> </li> <li><code>kotlinx-coroutines-test</code> rework: <ul> <li>Add the <code>timeout</code> parameter to <code>runTest</code> for the whole-test timeout, 10 seconds by default (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3270">#3270</a>). This replaces the configuration of quiescence timeouts, which is now deprecated (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3603">#3603</a>).</li> <li>The <code>withTimeout</code> exception messages indicate if the timeout used the virtual time (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3588">#3588</a>).</li> <li><code>TestCoroutineScheduler</code>, <code>runTest</code>, and <code>TestScope</code> API are promoted to stable (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3622">#3622</a>).</li> <li><code>runTest</code> now also fails if there were uncaught exceptions in coroutines not inherited from the test coroutine (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/1205">#1205</a>).</li> </ul> </li> </ul> <h3>Breaking changes</h3> <ul> <li>Old K/N memory model is no longer supported (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3375">#3375</a>).</li> <li>New generic upper bounds were added to reactive integration API where the language since 1.8.0 dictates (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3393">#3393</a>).</li> <li><code>kotlinx-coroutines-core</code> and <code>kotlinx-coroutines-jdk8</code> artifacts were merged into a single artifact (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3268">#3268</a>).</li> <li>Artificial stackframes in stacktrace recovery no longer contain the <code>\b</code> symbol and are now navigable in IDE and supplied with proper documentation (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/2291">#2291</a>).</li> <li><code>CoroutineContext.isActive</code> returns <code>true</code> for contexts without any job in them (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3300">#3300</a>).</li> </ul> <h3>Bug fixes and improvements</h3> <ul> <li>Kotlin version is updated to 1.8.20</li> <li>Atomicfu version is updated to 0.20.2.</li> <li><code>JavaFx</code> version is updated to 17.0.2 in <code>kotlinx-coroutines-javafx</code> (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3671">#3671</a>)..</li> <li>JPMS is supported (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/2237">#2237</a>). Thanks <a href="https://github.com/lion7"><code>@lion7</code></a>!</li> <li><code>BroadcastChannel</code> and all the corresponding API are deprecated (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/2680">#2680</a>).</li> <li>Added all supported K/N targets (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3601">#3601</a>, <a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/812">#812</a>, <a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/855">#855</a>).</li> <li>K/N <code>Dispatchers.Default</code> is backed by the number of threads equal to the number of available cores (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3366">#3366</a>).</li> <li>Fixed an issue where some coroutines' internal exceptions were not properly serializable (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3328">#3328</a>).</li> <li>Introduced <code>Job.parent</code> API (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3201">#3201</a>).</li> <li>Fixed a bug when <code>TestScheduler</code> leaked cancelled jobs (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3398">#3398</a>).</li> <li><code>TestScope.timeSource</code> now provides comparable time marks (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3617">#3617</a>). Thanks <a href="https://github.com/hfhbd"><code>@hfhbd</code></a>!</li> <li>Fixed an issue when cancelled <code>withTimeout</code> handles were preserved in JS runtime (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3440">#3440</a>).</li> <li>Ensure <code>awaitFrame</code> only awaits a single frame when used from the main looper (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3432">#3432</a>). Thanks <a href="https://github.com/pablobaxter"><code>@pablobaxter</code></a>!</li> <li>Obsolete <code>Class-Path</code> attribute was removed from <code>kotlinx-coroutines-debug.jar</code> manifest (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3361">#3361</a>).</li> <li>Fixed a bug when <code>updateThreadContext</code> operated on the parent context (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3411">#3411</a>).</li> <li>Added new <code>Flow.filterIsInstance</code> extension (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3240">#3240</a>).</li> <li><code>Dispatchers.Default</code> thread name prefixes are now configurable with system property (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3231">#3231</a>).</li> <li>Added <code>Flow.timeout</code> operator as <code>@FlowPreview</code> (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/2624">#2624</a>). Thanks <a href="https://github.com/pablobaxter"><code>@pablobaxter</code></a>!</li> <li>Improved the performance of the <code>future</code> builder in case of exceptions (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3475">#3475</a>). Thanks <a href="https://github.com/He-Pin"><code>@He-Pin</code></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.7.1</h2> <h3>Bug fixes and improvements</h3> <ul> <li>Special characters in coroutine names in JSON dumps are supported (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3747">#3747</a>)</li> <li>The binary compatibility of the experimental overload of <code>runTest</code> is restored (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3673">#3673</a>)</li> <li>Channels that don't use <code>onUndeliveredElement</code> now allocate less memory (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3646">#3646</a>)</li> </ul> <h2>Version 1.7.0</h2> <h3>Core API significant improvements</h3> <ul> <li>New <code>Channel</code> implementation with significant performance improvements across the API (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3621">#3621</a>).</li> <li>New <code>select</code> operator implementation: faster, more lightweight, and more robust (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3020">#3020</a>).</li> <li><code>Mutex</code> and <code>Semaphore</code> now share the same underlying data structure (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3020">#3020</a>).</li> <li><code>Dispatchers.IO</code> is added to K/N (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3205">#3205</a>) <ul> <li><code>newFixedThreadPool</code> and <code>Dispatchers.Default</code> implementations on K/N were wholly rewritten to support graceful growth under load (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3595">#3595</a>).</li> </ul> </li> <li><code>kotlinx-coroutines-test</code> rework: <ul> <li>Add the <code>timeout</code> parameter to <code>runTest</code> for the whole-test timeout, 10 seconds by default (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3270">#3270</a>). This replaces the configuration of quiescence timeouts, which is now deprecated (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3603">#3603</a>).</li> <li>The <code>withTimeout</code> exception messages indicate if the timeout used the virtual time (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3588">#3588</a>).</li> <li><code>TestCoroutineScheduler</code>, <code>runTest</code>, and <code>TestScope</code> API are promoted to stable (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3622">#3622</a>).</li> <li><code>runTest</code> now also fails if there were uncaught exceptions in coroutines not inherited from the test coroutine (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/1205">#1205</a>).</li> </ul> </li> </ul> <h3>Breaking changes</h3> <ul> <li>Old K/N memory model is no longer supported (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3375">#3375</a>).</li> <li>New generic upper bounds were added to reactive integration API where the language since 1.8.0 dictates (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3393">#3393</a>).</li> <li><code>kotlinx-coroutines-core</code> and <code>kotlinx-coroutines-jdk8</code> artifacts were merged into a single artifact (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3268">#3268</a>).</li> <li>Artificial stackframes in stacktrace recovery no longer contain the <code>\b</code> symbol and are now navigable in IDE and supplied with proper documentation (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/2291">#2291</a>).</li> <li><code>CoroutineContext.isActive</code> returns <code>true</code> for contexts without any job in them (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3300">#3300</a>).</li> </ul> <h3>Bug fixes and improvements</h3> <ul> <li>Kotlin version is updated to 1.8.20</li> <li>Atomicfu version is updated to 0.20.2.</li> <li><code>JavaFx</code> version is updated to 17.0.2 in <code>kotlinx-coroutines-javafx</code> (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3671">#3671</a>)..</li> <li>JPMS is supported (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/2237">#2237</a>). Thanks <a href="https://github.com/lion7"><code>@lion7</code></a>!</li> <li><code>BroadcastChannel</code> and all the corresponding API are deprecated (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/2680">#2680</a>).</li> <li>Added all supported K/N targets (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3601">#3601</a>, <a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/812">#812</a>, <a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/855">#855</a>).</li> <li>K/N <code>Dispatchers.Default</code> is backed by the number of threads equal to the number of available cores (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3366">#3366</a>).</li> <li>Fixed an issue where some coroutines' internal exceptions were not properly serializable (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3328">#3328</a>).</li> <li>Introduced <code>Job.parent</code> API (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3201">#3201</a>).</li> <li>Fixed a bug when <code>TestScheduler</code> leaked cancelled jobs (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3398">#3398</a>).</li> <li><code>TestScope.timeSource</code> now provides comparable time marks (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3617">#3617</a>). Thanks <a href="https://github.com/hfhbd"><code>@hfhbd</code></a>!</li> <li>Fixed an issue when cancelled <code>withTimeout</code> handles were preserved in JS runtime (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3440">#3440</a>).</li> <li>Ensure <code>awaitFrame</code> only awaits a single frame when used from the main looper (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3432">#3432</a>). Thanks <a href="https://github.com/pablobaxter"><code>@pablobaxter</code></a>!</li> <li>Obsolete <code>Class-Path</code> attribute was removed from <code>kotlinx-coroutines-debug.jar</code> manifest (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3361">#3361</a>).</li> <li>Fixed a bug when <code>updateThreadContext</code> operated on the parent context (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3411">#3411</a>).</li> <li>Added new <code>Flow.filterIsInstance</code> extension (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3240">#3240</a>).</li> <li><code>Dispatchers.Default</code> thread name prefixes are now configurable with system property (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3231">#3231</a>).</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/02382479398518ea1c4507170aa92692595b6839"><code>0238247</code></a> Version 1.7.1</li> <li><a href="https://github.com/Kotlin/kotlinx.coroutines/commit/81c6b580e5aa1ba562ae8302a0d313ed4812f791"><code>81c6b58</code></a> Update the release procedure docs/tools</li> <li><a href="https://github.com/Kotlin/kotlinx.coroutines/commit/d5581e8c82c277756c6f250a7733580b2699bcf9"><code>d5581e8</code></a> Merge remote-tracking branch 'origin/master' into version-1.7.1-x</li> <li><a href="https://github.com/Kotlin/kotlinx.coroutines/commit/e86dc85d6b002c5a9a2cfc6c5ede00d843d46f5a"><code>e86dc85</code></a> Improve the binary compatibility of runTest$default further (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3753">#3753</a>)</li> <li><a href="https://github.com/Kotlin/kotlinx.coroutines/commit/c28837a184db7e676ab8e87d765718c9ae405c88"><code>c28837a</code></a> Opt-in into experimental interop (KT-57728) to fix aggregate build (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3751">#3751</a>)</li> <li><a href="https://github.com/Kotlin/kotlinx.coroutines/commit/1aacb0432963eb26278c011d3dfcbe9600ff58ba"><code>1aacb04</code></a> Support special characters in coroutine names in JSON dumps (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3747">#3747</a>)</li> <li><a href="https://github.com/Kotlin/kotlinx.coroutines/commit/c8b3e5e5afb8349f328ab14a4d3accd0aa5d9f37"><code>c8b3e5e</code></a> Try once more to restore binary compatibility in <code>runTest</code> (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3742">#3742</a>)</li> <li><a href="https://github.com/Kotlin/kotlinx.coroutines/commit/435844a16a9305f18967a36d0a6685d7ce427fdf"><code>435844a</code></a> Get rid of BeforeResumeCancelHandler (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3744">#3744</a>)</li> <li><a href="https://github.com/Kotlin/kotlinx.coroutines/commit/8bc4f354b8a7fad89f941d510639eb9079e27b06"><code>8bc4f35</code></a> Split CHANGELOG.md file (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3748">#3748</a>)</li> <li><a href="https://github.com/Kotlin/kotlinx.coroutines/commit/8124ce4b626596ae7413faf4077ecec9286991d8"><code>8124ce4</code></a> Upgraded Kover version to 0.7.0-Beta (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3734">#3734</a>)</li> <li>Additional commits viewable in <a href="https://github.com/Kotlin/kotlinx.coroutines/compare/1.6.4...1.7.1">compare view</a></li> </ul> </details> <br /> Updates `org.jetbrains.kotlinx:kotlinx-coroutines-test` from 1.6.4 to 1.7.1 <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.7.1</h2> <h3>Bug fixes and improvements</h3> <ul> <li>Special characters in coroutine names in JSON dumps are supported (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3747">#3747</a>)</li> <li>The binary compatibility of the experimental overload of <code>runTest</code> is restored (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3673">#3673</a>)</li> <li>Channels that don't use <code>onUndeliveredElement</code> now allocate less memory (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3646">#3646</a>)</li> </ul> <h2>1.7.0</h2> <h3>Core API significant improvements</h3> <ul> <li>New <code>Channel</code> implementation with significant performance improvements across the API (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3621">#3621</a>).</li> <li>New <code>select</code> operator implementation: faster, more lightweight, and more robust (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3020">#3020</a>).</li> <li><code>Mutex</code> and <code>Semaphore</code> now share the same underlying data structure (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3020">#3020</a>).</li> <li><code>Dispatchers.IO</code> is added to K/N (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3205">#3205</a>) <ul> <li><code>newFixedThreadPool</code> and <code>Dispatchers.Default</code> implementations on K/N were wholly rewritten to support graceful growth under load (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3595">#3595</a>).</li> </ul> </li> <li><code>kotlinx-coroutines-test</code> rework: <ul> <li>Add the <code>timeout</code> parameter to <code>runTest</code> for the whole-test timeout, 10 seconds by default (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3270">#3270</a>). This replaces the configuration of quiescence timeouts, which is now deprecated (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3603">#3603</a>).</li> <li>The <code>withTimeout</code> exception messages indicate if the timeout used the virtual time (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3588">#3588</a>).</li> <li><code>TestCoroutineScheduler</code>, <code>runTest</code>, and <code>TestScope</code> API are promoted to stable (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3622">#3622</a>).</li> <li><code>runTest</code> now also fails if there were uncaught exceptions in coroutines not inherited from the test coroutine (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/1205">#1205</a>).</li> </ul> </li> </ul> <h3>Breaking changes</h3> <ul> <li>Old K/N memory model is no longer supported (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3375">#3375</a>).</li> <li>New generic upper bounds were added to reactive integration API where the language since 1.8.0 dictates (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3393">#3393</a>).</li> <li><code>kotlinx-coroutines-core</code> and <code>kotlinx-coroutines-jdk8</code> artifacts were merged into a single artifact (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3268">#3268</a>).</li> <li>Artificial stackframes in stacktrace recovery no longer contain the <code>\b</code> symbol and are now navigable in IDE and supplied with proper documentation (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/2291">#2291</a>).</li> <li><code>CoroutineContext.isActive</code> returns <code>true</code> for contexts without any job in them (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3300">#3300</a>).</li> </ul> <h3>Bug fixes and improvements</h3> <ul> <li>Kotlin version is updated to 1.8.20</li> <li>Atomicfu version is updated to 0.20.2.</li> <li><code>JavaFx</code> version is updated to 17.0.2 in <code>kotlinx-coroutines-javafx</code> (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3671">#3671</a>)..</li> <li>JPMS is supported (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/2237">#2237</a>). Thanks <a href="https://github.com/lion7"><code>@lion7</code></a>!</li> <li><code>BroadcastChannel</code> and all the corresponding API are deprecated (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/2680">#2680</a>).</li> <li>Added all supported K/N targets (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3601">#3601</a>, <a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/812">#812</a>, <a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/855">#855</a>).</li> <li>K/N <code>Dispatchers.Default</code> is backed by the number of threads equal to the number of available cores (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3366">#3366</a>).</li> <li>Fixed an issue where some coroutines' internal exceptions were not properly serializable (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3328">#3328</a>).</li> <li>Introduced <code>Job.parent</code> API (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3201">#3201</a>).</li> <li>Fixed a bug when <code>TestScheduler</code> leaked cancelled jobs (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3398">#3398</a>).</li> <li><code>TestScope.timeSource</code> now provides comparable time marks (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3617">#3617</a>). Thanks <a href="https://github.com/hfhbd"><code>@hfhbd</code></a>!</li> <li>Fixed an issue when cancelled <code>withTimeout</code> handles were preserved in JS runtime (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3440">#3440</a>).</li> <li>Ensure <code>awaitFrame</code> only awaits a single frame when used from the main looper (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3432">#3432</a>). Thanks <a href="https://github.com/pablobaxter"><code>@pablobaxter</code></a>!</li> <li>Obsolete <code>Class-Path</code> attribute was removed from <code>kotlinx-coroutines-debug.jar</code> manifest (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3361">#3361</a>).</li> <li>Fixed a bug when <code>updateThreadContext</code> operated on the parent context (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3411">#3411</a>).</li> <li>Added new <code>Flow.filterIsInstance</code> extension (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3240">#3240</a>).</li> <li><code>Dispatchers.Default</code> thread name prefixes are now configurable with system property (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3231">#3231</a>).</li> <li>Added <code>Flow.timeout</code> operator as <code>@FlowPreview</code> (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/2624">#2624</a>). Thanks <a href="https://github.com/pablobaxter"><code>@pablobaxter</code></a>!</li> <li>Improved the performance of the <code>future</code> builder in case of exceptions (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3475">#3475</a>). Thanks <a href="https://github.com/He-Pin"><code>@He-Pin</code></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.7.1</h2> <h3>Bug fixes and improvements</h3> <ul> <li>Special characters in coroutine names in JSON dumps are supported (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3747">#3747</a>)</li> <li>The binary compatibility of the experimental overload of <code>runTest</code> is restored (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3673">#3673</a>)</li> <li>Channels that don't use <code>onUndeliveredElement</code> now allocate less memory (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3646">#3646</a>)</li> </ul> <h2>Version 1.7.0</h2> <h3>Core API significant improvements</h3> <ul> <li>New <code>Channel</code> implementation with significant performance improvements across the API (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3621">#3621</a>).</li> <li>New <code>select</code> operator implementation: faster, more lightweight, and more robust (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3020">#3020</a>).</li> <li><code>Mutex</code> and <code>Semaphore</code> now share the same underlying data structure (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3020">#3020</a>).</li> <li><code>Dispatchers.IO</code> is added to K/N (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3205">#3205</a>) <ul> <li><code>newFixedThreadPool</code> and <code>Dispatchers.Default</code> implementations on K/N were wholly rewritten to support graceful growth under load (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3595">#3595</a>).</li> </ul> </li> <li><code>kotlinx-coroutines-test</code> rework: <ul> <li>Add the <code>timeout</code> parameter to <code>runTest</code> for the whole-test timeout, 10 seconds by default (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3270">#3270</a>). This replaces the configuration of quiescence timeouts, which is now deprecated (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3603">#3603</a>).</li> <li>The <code>withTimeout</code> exception messages indicate if the timeout used the virtual time (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3588">#3588</a>).</li> <li><code>TestCoroutineScheduler</code>, <code>runTest</code>, and <code>TestScope</code> API are promoted to stable (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3622">#3622</a>).</li> <li><code>runTest</code> now also fails if there were uncaught exceptions in coroutines not inherited from the test coroutine (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/1205">#1205</a>).</li> </ul> </li> </ul> <h3>Breaking changes</h3> <ul> <li>Old K/N memory model is no longer supported (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3375">#3375</a>).</li> <li>New generic upper bounds were added to reactive integration API where the language since 1.8.0 dictates (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3393">#3393</a>).</li> <li><code>kotlinx-coroutines-core</code> and <code>kotlinx-coroutines-jdk8</code> artifacts were merged into a single artifact (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3268">#3268</a>).</li> <li>Artificial stackframes in stacktrace recovery no longer contain the <code>\b</code> symbol and are now navigable in IDE and supplied with proper documentation (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/2291">#2291</a>).</li> <li><code>CoroutineContext.isActive</code> returns <code>true</code> for contexts without any job in them (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3300">#3300</a>).</li> </ul> <h3>Bug fixes and improvements</h3> <ul> <li>Kotlin version is updated to 1.8.20</li> <li>Atomicfu version is updated to 0.20.2.</li> <li><code>JavaFx</code> version is updated to 17.0.2 in <code>kotlinx-coroutines-javafx</code> (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3671">#3671</a>)..</li> <li>JPMS is supported (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/2237">#2237</a>). Thanks <a href="https://github.com/lion7"><code>@lion7</code></a>!</li> <li><code>BroadcastChannel</code> and all the corresponding API are deprecated (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/2680">#2680</a>).</li> <li>Added all supported K/N targets (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3601">#3601</a>, <a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/812">#812</a>, <a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/855">#855</a>).</li> <li>K/N <code>Dispatchers.Default</code> is backed by the number of threads equal to the number of available cores (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3366">#3366</a>).</li> <li>Fixed an issue where some coroutines' internal exceptions were not properly serializable (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3328">#3328</a>).</li> <li>Introduced <code>Job.parent</code> API (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3201">#3201</a>).</li> <li>Fixed a bug when <code>TestScheduler</code> leaked cancelled jobs (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3398">#3398</a>).</li> <li><code>TestScope.timeSource</code> now provides comparable time marks (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3617">#3617</a>). Thanks <a href="https://github.com/hfhbd"><code>@hfhbd</code></a>!</li> <li>Fixed an issue when cancelled <code>withTimeout</code> handles were preserved in JS runtime (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3440">#3440</a>).</li> <li>Ensure <code>awaitFrame</code> only awaits a single frame when used from the main looper (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3432">#3432</a>). Thanks <a href="https://github.com/pablobaxter"><code>@pablobaxter</code></a>!</li> <li>Obsolete <code>Class-Path</code> attribute was removed from <code>kotlinx-coroutines-debug.jar</code> manifest (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3361">#3361</a>).</li> <li>Fixed a bug when <code>updateThreadContext</code> operated on the parent context (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3411">#3411</a>).</li> <li>Added new <code>Flow.filterIsInstance</code> extension (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3240">#3240</a>).</li> <li><code>Dispatchers.Default</code> thread name prefixes are now configurable with system property (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3231">#3231</a>).</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/02382479398518ea1c4507170aa92692595b6839"><code>0238247</code></a> Version 1.7.1</li> <li><a href="https://github.com/Kotlin/kotlinx.coroutines/commit/81c6b580e5aa1ba562ae8302a0d313ed4812f791"><code>81c6b58</code></a> Update the release procedure docs/tools</li> <li><a href="https://github.com/Kotlin/kotlinx.coroutines/commit/d5581e8c82c277756c6f250a7733580b2699bcf9"><code>d5581e8</code></a> Merge remote-tracking branch 'origin/master' into version-1.7.1-x</li> <li><a href="https://github.com/Kotlin/kotlinx.coroutines/commit/e86dc85d6b002c5a9a2cfc6c5ede00d843d46f5a"><code>e86dc85</code></a> Improve the binary compatibility of runTest$default further (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3753">#3753</a>)</li> <li><a href="https://github.com/Kotlin/kotlinx.coroutines/commit/c28837a184db7e676ab8e87d765718c9ae405c88"><code>c28837a</code></a> Opt-in into experimental interop (KT-57728) to fix aggregate build (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3751">#3751</a>)</li> <li><a href="https://github.com/Kotlin/kotlinx.coroutines/commit/1aacb0432963eb26278c011d3dfcbe9600ff58ba"><code>1aacb04</code></a> Support special characters in coroutine names in JSON dumps (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3747">#3747</a>)</li> <li><a href="https://github.com/Kotlin/kotlinx.coroutines/commit/c8b3e5e5afb8349f328ab14a4d3accd0aa5d9f37"><code>c8b3e5e</code></a> Try once more to restore binary compatibility in <code>runTest</code> (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3742">#3742</a>)</li> <li><a href="https://github.com/Kotlin/kotlinx.coroutines/commit/435844a16a9305f18967a36d0a6685d7ce427fdf"><code>435844a</code></a> Get rid of BeforeResumeCancelHandler (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3744">#3744</a>)</li> <li><a href="https://github.com/Kotlin/kotlinx.coroutines/commit/8bc4f354b8a7fad89f941d510639eb9079e27b06"><code>8bc4f35</code></a> Split CHANGELOG.md file (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3748">#3748</a>)</li> <li><a href="https://github.com/Kotlin/kotlinx.coroutines/commit/8124ce4b626596ae7413faf4077ecec9286991d8"><code>8124ce4</code></a> Upgraded Kover version to 0.7.0-Beta (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3734">#3734</a>)</li> <li>Additional commits viewable in <a href="https://github.com/Kotlin/kotlinx.coroutines/compare/1.6.4...1.7.1">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 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