Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump kotlinxCoroutinesVersion from 1.7.3 to 1.8.1 #21045

Merged
merged 4 commits into from
Jul 11, 2024

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jul 10, 2024

Bumps kotlinxCoroutinesVersion from 1.7.3 to 1.8.1.
Updates org.jetbrains.kotlinx:kotlinx-coroutines-core from 1.7.3 to 1.8.1

Release notes

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

1.8.1

  • Remove the @ExperimentalTime annotation from usages of TimeSource (#4046). Thanks, @​hfhbd!
  • Introduce a workaround for an Android bug that caused an occasional NullPointerException when setting the StateFlow value on old Android devices (#3820).
  • No longer use kotlin.random.Random as part of Dispatchers.Default and Dispatchers.IO initialization (#4051).
  • Flow.timeout throws the exception with which the channel was closed (#4071).
  • Small tweaks and documentation fixes.

1.8.1-Beta

  • Remove the @ExperimentalTime annotation from usages of TimeSource (#4046). Thanks, @​hfhbd!
  • Attempt a workaround for an Android bug that caused an occasional NullPointerException when setting the StateFlow value on old Android devices (#3820).
  • No longer use kotlin.random.Random as part of Dispatchers.Default and Dispatchers.IO initialization (#4051).
  • Small tweaks.

1.8.0

  • Implement the library for the Web Assembly (Wasm) for JavaScript (#3713). Thanks @​igoriakovlev!
  • Major Kotlin version update: was 1.8.20, became 1.9.21.
  • On Android, ensure that Dispatchers.Main != Dispatchers.Main.immediate (#3545, #3963).
  • Fixed a bug that caused Flow operators that limit cancel the upstream flow to forget that they were already finished if there is another such operator upstream (#4035, #4038).
  • kotlinx-coroutines-debug is published with the correct Java 9 module info (#3944).
  • kotlinx-coroutines-debug no longer requires manually setting DebugProbes.enableCoroutineCreationStackTraces to false, it's the default (#3783).
  • kotlinx-coroutines-test: set the default timeout of runTest to 60 seconds, added the ability to configure it on the JVM with the kotlinx.coroutines.test.default_timeout=10s (#3800).
  • kotlinx-coroutines-test: fixed a bug that could lead to not all uncaught exceptions being reported after some tests failed (#3800).
  • delay(Duration) rounds nanoseconds up to whole milliseconds and not down (#3920). Thanks @​kevincianfarini!
  • Dispatchers.Default and the default thread for background work are guaranteed to use the same context classloader as the object containing it them (#3832).
  • It is guaranteed that by the time SharedFlow.collect suspends for the first time, it's registered as a subscriber for that SharedFlow (#3885). Before, it was also true, but not documented.
  • Atomicfu version is updated to 0.23.1, and Kotlin/Native atomic transformations are enabled, reducing the footprint of coroutine-heavy code (#3954).
  • Added a workaround for miscompilation of withLock on JS (#3881). Thanks @​CLOVIS-AI!
  • Small tweaks and documentation fixes.

1.8.0-RC2

  • Fixed a bug introduced in 1.8.0-RC where Mutex.onLock would not unlock if a non-local return was performed (#3985).
  • Fixed a bug introduced in 1.8.0-RC where depending on kotlinx-coroutines in Native code failed with a compilation error Could not find "org.jetbrains.kotlinx:atomicfu-cinterop-interop" (#3968).
  • Small documentation fixes.

1.8.0-RC

  • Implement the library for the Web Assembly (Wasm) for JavaScript (#3713). Thanks @​igoriakovlev!
  • On Android, ensure that Dispatchers.Main != Dispatchers.Main.immediate (#3545, #3963).
  • kotlinx-coroutines-debug is published with the incorrect Java 9 module info (#3944).
  • Major Kotlin version update: was 1.8.20, became 1.9.21.
  • kotlinx-coroutines-test: set the default timeout of runTest to 60 seconds, added the ability to configure it on the JVM with the kotlinx.coroutines.test.default_timeout=10s (#3800).
  • kotlinx-coroutines-test: fixed a bug that could lead to not all uncaught exceptions being reported after some tests failed (#3800).
  • delay(Duration) rounds nanoseconds up to whole milliseconds and not down (#3920). Thanks @​kevincianfarini!
  • Dispatchers.Default and the default thread for background work are guaranteed to use the same context classloader as the object containing it them (#3832).
  • It is guaranteed that by the time SharedFlow.collect suspends for the first time, it's registered as a subscriber for that SharedFlow (#3885). Before, it was also true, but not documented.
  • Atomicfu version is updated to 0.23.1, and Kotlin/Native atomic transformations are enabled, reducing the footprint of coroutine-heavy code (#3954).
  • Added a workaround for miscompilation of withLock on JS (#3881). Thanks @​CLOVIS-AI!
  • Small tweaks and documentation fixes.
Changelog

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

Version 1.8.1

  • Remove the @ExperimentalTime annotation from usages of TimeSource (#4046). Thanks, @​hfhbd!
  • Introduce a workaround for an Android bug that caused an occasional NullPointerException when setting the StateFlow value on old Android devices (#3820).
  • No longer use kotlin.random.Random as part of Dispatchers.Default and Dispatchers.IO initialization (#4051).
  • Flow.timeout throws the exception with which the channel was closed (#4071).
  • Small tweaks and documentation fixes.

Changelog relative to version 1.8.1-Beta

  • Flow.timeout throws the exception with which the channel was closed (#4071).
  • Small documentation fixes.

Version 1.8.1-Beta

  • Remove the @ExperimentalTime annotation from usages of TimeSource (#4046). Thanks, @​hfhbd!
  • Attempt a workaround for an Android bug that caused an occasional NullPointerException when setting the StateFlow value on old Android devices (#3820).
  • No longer use kotlin.random.Random as part of Dispatchers.Default and Dispatchers.IO initialization (#4051).
  • Small tweaks.

Version 1.8.0

  • Implement the library for the Web Assembly (Wasm) for JavaScript (#3713). Thanks @​igoriakovlev!
  • Major Kotlin version update: was 1.8.20, became 1.9.21.
  • On Android, ensure that Dispatchers.Main != Dispatchers.Main.immediate (#3545, #3963).
  • Fixed a bug that caused Flow operators that limit cancel the upstream flow to forget that they were already finished if there is another such operator upstream (#4035, #4038)
  • kotlinx-coroutines-debug is published with the correct Java 9 module info (#3944).
  • kotlinx-coroutines-debug no longer requires manually setting DebugProbes.enableCoroutineCreationStackTraces to false, it's the default (#3783).
  • kotlinx-coroutines-test: set the default timeout of runTest to 60 seconds, added the ability to configure it on the JVM with the kotlinx.coroutines.test.default_timeout=10s (#3800).
  • kotlinx-coroutines-test: fixed a bug that could lead to not all uncaught exceptions being reported after some tests failed (#3800).
  • delay(Duration) rounds nanoseconds up to whole milliseconds and not down (#3920). Thanks @​kevincianfarini!
  • Dispatchers.Default and the default thread for background work are guaranteed to use the same context classloader as the object containing it them (#3832).
  • It is guaranteed that by the time SharedFlow.collect suspends for the first time, it's registered as a subscriber for that SharedFlow (#3885). Before, it was also true, but not documented.
  • Atomicfu version is updated to 0.23.1, and Kotlin/Native atomic transformations are enabled, reducing the footprint of coroutine-heavy code (#3954).
  • Added a workaround for miscompilation of withLock on JS (#3881). Thanks @​CLOVIS-AI!
  • Small tweaks and documentation fixes.

Changelog relative to version 1.8.0-RC2

  • kotlinx-coroutines-debug no longer requires manually setting DebugProbes.enableCoroutineCreationStackTraces to false, it's the default (#3783).
  • Fixed a bug that caused Flow operators that limit cancel the upstream flow to forget that they were already finished if there is another such operator upstream (#4035, #4038)
  • Small documentation fixes.

Version 1.8.0-RC2

  • Fixed a bug introduced in 1.8.0-RC where Mutex.onLock would not unlock if a non-local return was performed (#3985).
  • Fixed a bug introduced in 1.8.0-RC where depending on kotlinx-coroutines in Native code failed with a compilation error Could not find "org.jetbrains.kotlinx:atomicfu-cinterop-interop" (#3968).
  • Small documentation fixes.

Version 1.8.0-RC

... (truncated)

Commits
  • cd696d3 Version 1.8.1
  • c1ba5af Fix the ticker channel example giving wrong results on the website (#4109)
  • 2430d9a Fix broken API reference links to the Project Reactor Javadoc (#4111)
  • f22b229 fix the link to Thread.uncaughtExceptionHandler
  • 515308d fix: get rid of horizontal scrolling by splitting the comment and show more c...
  • f8d1821 Fix typo in coroutine-context-and-dispatchers.md (#3941)
  • 20707d3 fix: remove sampleStart and sampleEnd comments from example in coroutine-...
  • 0148534 chore: fix identation in example loadContributorsBlocking() (#4085)
  • 74774df Docs: reference to The Hitchhiker's Guide to the Galaxy (#4082)
  • d106ac7 Docs: avoid scrolling sample code; fix test description; add () to functions ...
  • Additional commits viewable in compare view

Updates org.jetbrains.kotlinx:kotlinx-coroutines-android from 1.7.3 to 1.8.1

Release notes

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

1.8.1

  • Remove the @ExperimentalTime annotation from usages of TimeSource (#4046). Thanks, @​hfhbd!
  • Introduce a workaround for an Android bug that caused an occasional NullPointerException when setting the StateFlow value on old Android devices (#3820).
  • No longer use kotlin.random.Random as part of Dispatchers.Default and Dispatchers.IO initialization (#4051).
  • Flow.timeout throws the exception with which the channel was closed (#4071).
  • Small tweaks and documentation fixes.

1.8.1-Beta

  • Remove the @ExperimentalTime annotation from usages of TimeSource (#4046). Thanks, @​hfhbd!
  • Attempt a workaround for an Android bug that caused an occasional NullPointerException when setting the StateFlow value on old Android devices (#3820).
  • No longer use kotlin.random.Random as part of Dispatchers.Default and Dispatchers.IO initialization (#4051).
  • Small tweaks.

1.8.0

  • Implement the library for the Web Assembly (Wasm) for JavaScript (#3713). Thanks @​igoriakovlev!
  • Major Kotlin version update: was 1.8.20, became 1.9.21.
  • On Android, ensure that Dispatchers.Main != Dispatchers.Main.immediate (#3545, #3963).
  • Fixed a bug that caused Flow operators that limit cancel the upstream flow to forget that they were already finished if there is another such operator upstream (#4035, #4038).
  • kotlinx-coroutines-debug is published with the correct Java 9 module info (#3944).
  • kotlinx-coroutines-debug no longer requires manually setting DebugProbes.enableCoroutineCreationStackTraces to false, it's the default (#3783).
  • kotlinx-coroutines-test: set the default timeout of runTest to 60 seconds, added the ability to configure it on the JVM with the kotlinx.coroutines.test.default_timeout=10s (#3800).
  • kotlinx-coroutines-test: fixed a bug that could lead to not all uncaught exceptions being reported after some tests failed (#3800).
  • delay(Duration) rounds nanoseconds up to whole milliseconds and not down (#3920). Thanks @​kevincianfarini!
  • Dispatchers.Default and the default thread for background work are guaranteed to use the same context classloader as the object containing it them (#3832).
  • It is guaranteed that by the time SharedFlow.collect suspends for the first time, it's registered as a subscriber for that SharedFlow (#3885). Before, it was also true, but not documented.
  • Atomicfu version is updated to 0.23.1, and Kotlin/Native atomic transformations are enabled, reducing the footprint of coroutine-heavy code (#3954).
  • Added a workaround for miscompilation of withLock on JS (#3881). Thanks @​CLOVIS-AI!
  • Small tweaks and documentation fixes.

1.8.0-RC2

  • Fixed a bug introduced in 1.8.0-RC where Mutex.onLock would not unlock if a non-local return was performed (#3985).
  • Fixed a bug introduced in 1.8.0-RC where depending on kotlinx-coroutines in Native code failed with a compilation error Could not find "org.jetbrains.kotlinx:atomicfu-cinterop-interop" (#3968).
  • Small documentation fixes.

1.8.0-RC

  • Implement the library for the Web Assembly (Wasm) for JavaScript (#3713). Thanks @​igoriakovlev!
  • On Android, ensure that Dispatchers.Main != Dispatchers.Main.immediate (#3545, #3963).
  • kotlinx-coroutines-debug is published with the incorrect Java 9 module info (#3944).
  • Major Kotlin version update: was 1.8.20, became 1.9.21.
  • kotlinx-coroutines-test: set the default timeout of runTest to 60 seconds, added the ability to configure it on the JVM with the kotlinx.coroutines.test.default_timeout=10s (#3800).
  • kotlinx-coroutines-test: fixed a bug that could lead to not all uncaught exceptions being reported after some tests failed (#3800).
  • delay(Duration) rounds nanoseconds up to whole milliseconds and not down (#3920). Thanks @​kevincianfarini!
  • Dispatchers.Default and the default thread for background work are guaranteed to use the same context classloader as the object containing it them (#3832).
  • It is guaranteed that by the time SharedFlow.collect suspends for the first time, it's registered as a subscriber for that SharedFlow (#3885). Before, it was also true, but not documented.
  • Atomicfu version is updated to 0.23.1, and Kotlin/Native atomic transformations are enabled, reducing the footprint of coroutine-heavy code (#3954).
  • Added a workaround for miscompilation of withLock on JS (#3881). Thanks @​CLOVIS-AI!
  • Small tweaks and documentation fixes.
Changelog

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

Version 1.8.1

  • Remove the @ExperimentalTime annotation from usages of TimeSource (#4046). Thanks, @​hfhbd!
  • Introduce a workaround for an Android bug that caused an occasional NullPointerException when setting the StateFlow value on old Android devices (#3820).
  • No longer use kotlin.random.Random as part of Dispatchers.Default and Dispatchers.IO initialization (#4051).
  • Flow.timeout throws the exception with which the channel was closed (#4071).
  • Small tweaks and documentation fixes.

Changelog relative to version 1.8.1-Beta

  • Flow.timeout throws the exception with which the channel was closed (#4071).
  • Small documentation fixes.

Version 1.8.1-Beta

  • Remove the @ExperimentalTime annotation from usages of TimeSource (#4046). Thanks, @​hfhbd!
  • Attempt a workaround for an Android bug that caused an occasional NullPointerException when setting the StateFlow value on old Android devices (#3820).
  • No longer use kotlin.random.Random as part of Dispatchers.Default and Dispatchers.IO initialization (#4051).
  • Small tweaks.

Version 1.8.0

  • Implement the library for the Web Assembly (Wasm) for JavaScript (#3713). Thanks @​igoriakovlev!
  • Major Kotlin version update: was 1.8.20, became 1.9.21.
  • On Android, ensure that Dispatchers.Main != Dispatchers.Main.immediate (#3545, #3963).
  • Fixed a bug that caused Flow operators that limit cancel the upstream flow to forget that they were already finished if there is another such operator upstream (#4035, #4038)
  • kotlinx-coroutines-debug is published with the correct Java 9 module info (#3944).
  • kotlinx-coroutines-debug no longer requires manually setting DebugProbes.enableCoroutineCreationStackTraces to false, it's the default (#3783).
  • kotlinx-coroutines-test: set the default timeout of runTest to 60 seconds, added the ability to configure it on the JVM with the kotlinx.coroutines.test.default_timeout=10s (#3800).
  • kotlinx-coroutines-test: fixed a bug that could lead to not all uncaught exceptions being reported after some tests failed (#3800).
  • delay(Duration) rounds nanoseconds up to whole milliseconds and not down (#3920). Thanks @​kevincianfarini!
  • Dispatchers.Default and the default thread for background work are guaranteed to use the same context classloader as the object containing it them (#3832).
  • It is guaranteed that by the time SharedFlow.collect suspends for the first time, it's registered as a subscriber for that SharedFlow (#3885). Before, it was also true, but not documented.
  • Atomicfu version is updated to 0.23.1, and Kotlin/Native atomic transformations are enabled, reducing the footprint of coroutine-heavy code (#3954).
  • Added a workaround for miscompilation of withLock on JS (#3881). Thanks @​CLOVIS-AI!
  • Small tweaks and documentation fixes.

Changelog relative to version 1.8.0-RC2

  • kotlinx-coroutines-debug no longer requires manually setting DebugProbes.enableCoroutineCreationStackTraces to false, it's the default (#3783).
  • Fixed a bug that caused Flow operators that limit cancel the upstream flow to forget that they were already finished if there is another such operator upstream (#4035, #4038)
  • Small documentation fixes.

Version 1.8.0-RC2

  • Fixed a bug introduced in 1.8.0-RC where Mutex.onLock would not unlock if a non-local return was performed (#3985).
  • Fixed a bug introduced in 1.8.0-RC where depending on kotlinx-coroutines in Native code failed with a compilation error Could not find "org.jetbrains.kotlinx:atomicfu-cinterop-interop" (#3968).
  • Small documentation fixes.

Version 1.8.0-RC

... (truncated)

Commits
  • cd696d3 Version 1.8.1
  • c1ba5af Fix the ticker channel example giving wrong results on the website (#4109)
  • 2430d9a Fix broken API reference links to the Project Reactor Javadoc (#4111)
  • f22b229 fix the link to Thread.uncaughtExceptionHandler
  • 515308d fix: get rid of horizontal scrolling by splitting the comment and show more c...
  • f8d1821 Fix typo in coroutine-context-and-dispatchers.md (#3941)
  • 20707d3 fix: remove sampleStart and sampleEnd comments from example in coroutine-...
  • 0148534 chore: fix identation in example loadContributorsBlocking() (#4085)
  • 74774df Docs: reference to The Hitchhiker's Guide to the Galaxy (#4082)
  • d106ac7 Docs: avoid scrolling sample code; fix test description; add () to functions ...
  • Additional commits viewable in compare view

Updates org.jetbrains.kotlinx:kotlinx-coroutines-test from 1.7.3 to 1.8.1

Release notes

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

1.8.1

  • Remove the @ExperimentalTime annotation from usages of TimeSource (#4046). Thanks, @​hfhbd!
  • Introduce a workaround for an Android bug that caused an occasional NullPointerException when setting the StateFlow value on old Android devices (#3820).
  • No longer use kotlin.random.Random as part of Dispatchers.Default and Dispatchers.IO initialization (#4051).
  • Flow.timeout throws the exception with which the channel was closed (#4071).
  • Small tweaks and documentation fixes.

1.8.1-Beta

  • Remove the @ExperimentalTime annotation from usages of TimeSource (#4046). Thanks, @​hfhbd!
  • Attempt a workaround for an Android bug that caused an occasional NullPointerException when setting the StateFlow value on old Android devices (#3820).
  • No longer use kotlin.random.Random as part of Dispatchers.Default and Dispatchers.IO initialization (#4051).
  • Small tweaks.

1.8.0

  • Implement the library for the Web Assembly (Wasm) for JavaScript (#3713). Thanks @​igoriakovlev!
  • Major Kotlin version update: was 1.8.20, became 1.9.21.
  • On Android, ensure that Dispatchers.Main != Dispatchers.Main.immediate (#3545, #3963).
  • Fixed a bug that caused Flow operators that limit cancel the upstream flow to forget that they were already finished if there is another such operator upstream (#4035, #4038).
  • kotlinx-coroutines-debug is published with the correct Java 9 module info (#3944).
  • kotlinx-coroutines-debug no longer requires manually setting DebugProbes.enableCoroutineCreationStackTraces to false, it's the default (#3783).
  • kotlinx-coroutines-test: set the default timeout of runTest to 60 seconds, added the ability to configure it on the JVM with the kotlinx.coroutines.test.default_timeout=10s (#3800).
  • kotlinx-coroutines-test: fixed a bug that could lead to not all uncaught exceptions being reported after some tests failed (#3800).
  • delay(Duration) rounds nanoseconds up to whole milliseconds and not down (#3920). Thanks @​kevincianfarini!
  • Dispatchers.Default and the default thread for background work are guaranteed to use the same context classloader as the object containing it them (#3832).
  • It is guaranteed that by the time SharedFlow.collect suspends for the first time, it's registered as a subscriber for that SharedFlow (#3885). Before, it was also true, but not documented.
  • Atomicfu version is updated to 0.23.1, and Kotlin/Native atomic transformations are enabled, reducing the footprint of coroutine-heavy code (#3954).
  • Added a workaround for miscompilation of withLock on JS (#3881). Thanks @​CLOVIS-AI!
  • Small tweaks and documentation fixes.

1.8.0-RC2

  • Fixed a bug introduced in 1.8.0-RC where Mutex.onLock would not unlock if a non-local return was performed (#3985).
  • Fixed a bug introduced in 1.8.0-RC where depending on kotlinx-coroutines in Native code failed with a compilation error Could not find "org.jetbrains.kotlinx:atomicfu-cinterop-interop" (#3968).
  • Small documentation fixes.

1.8.0-RC

  • Implement the library for the Web Assembly (Wasm) for JavaScript (#3713). Thanks @​igoriakovlev!
  • On Android, ensure that Dispatchers.Main != Dispatchers.Main.immediate (#3545, #3963).
  • kotlinx-coroutines-debug is published with the incorrect Java 9 module info (#3944).
  • Major Kotlin version update: was 1.8.20, became 1.9.21.
  • kotlinx-coroutines-test: set the default timeout of runTest to 60 seconds, added the ability to configure it on the JVM with the kotlinx.coroutines.test.default_timeout=10s (#3800).
  • kotlinx-coroutines-test: fixed a bug that could lead to not all uncaught exceptions being reported after some tests failed (#3800).
  • delay(Duration) rounds nanoseconds up to whole milliseconds and not down (#3920). Thanks @​kevincianfarini!
  • Dispatchers.Default and the default thread for background work are guaranteed to use the same context classloader as the object containing it them (#3832).
  • It is guaranteed that by the time SharedFlow.collect suspends for the first time, it's registered as a subscriber for that SharedFlow (#3885). Before, it was also true, but not documented.
  • Atomicfu version is updated to 0.23.1, and Kotlin/Native atomic transformations are enabled, reducing the footprint of coroutine-heavy code (#3954).
  • Added a workaround for miscompilation of withLock on JS (#3881). Thanks @​CLOVIS-AI!
  • Small tweaks and documentation fixes.
Changelog

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

Version 1.8.1

  • Remove the @ExperimentalTime annotation from usages of TimeSource (#4046). Thanks, @​hfhbd!
  • Introduce a workaround for an Android bug that caused an occasional NullPointerException when setting the StateFlow value on old Android devices (#3820).
  • No longer use kotlin.random.Random as part of Dispatchers.Default and Dispatchers.IO initialization (#4051).
  • Flow.timeout throws the exception with which the channel was closed (#4071).
  • Small tweaks and documentation fixes.

Changelog relative to version 1.8.1-Beta

  • Flow.timeout throws the exception with which the channel was closed (#4071).
  • Small documentation fixes.

Version 1.8.1-Beta

  • Remove the @ExperimentalTime annotation from usages of TimeSource (#4046). Thanks, @​hfhbd!
  • Attempt a workaround for an Android bug that caused an occasional NullPointerException when setting the StateFlow value on old Android devices (#3820).
  • No longer use kotlin.random.Random as part of Dispatchers.Default and Dispatchers.IO initialization (#4051).
  • Small tweaks.

Version 1.8.0

  • Implement the library for the Web Assembly (Wasm) for JavaScript (#3713). Thanks @​igoriakovlev!
  • Major Kotlin version update: was 1.8.20, became 1.9.21.
  • On Android, ensure that Dispatchers.Main != Dispatchers.Main.immediate (#3545, #3963).
  • Fixed a bug that caused Flow operators that limit cancel the upstream flow to forget that they were already finished if there is another such operator upstream (#4035, #4038)
  • kotlinx-coroutines-debug is published with the correct Java 9 module info (#3944).
  • kotlinx-coroutines-debug no longer requires manually setting DebugProbes.enableCoroutineCreationStackTraces to false, it's the default (#3783).
  • kotlinx-coroutines-test: set the default timeout of runTest to 60 seconds, added the ability to configure it on the JVM with the kotlinx.coroutines.test.default_timeout=10s (#3800).
  • kotlinx-coroutines-test: fixed a bug that could lead to not all uncaught exceptions being reported after some tests failed (#3800).
  • delay(Duration) rounds nanoseconds up to whole milliseconds and not down (#3920). Thanks @​kevincianfarini!
  • Dispatchers.Default and the default thread for background work are guaranteed to use the same context classloader as the object containing it them (#3832).
  • It is guaranteed that by the time SharedFlow.collect suspends for the first time, it's registered as a subscriber for that SharedFlow (#3885). Before, it was also true, but not documented.
  • Atomicfu version is updated to 0.23.1, and Kotlin/Native atomic transformations are enabled, reducing the footprint of coroutine-heavy code (#3954).
  • Added a workaround for miscompilation of withLock on JS (#3881). Thanks @​CLOVIS-AI!
  • Small tweaks and documentation fixes.

Changelog relative to version 1.8.0-RC2

  • kotlinx-coroutines-debug no longer requires manually setting DebugProbes.enableCoroutineCreationStackTraces to false, it's the default (#3783).
  • Fixed a bug that caused Flow operators that limit cancel the upstream flow to forget that they were already finished if there is another such operator upstream (#4035, #4038)
  • Small documentation fixes.

Version 1.8.0-RC2

  • Fixed a bug introduced in 1.8.0-RC where Mutex.onLock would not unlock if a non-local return was performed (#3985).
  • Fixed a bug introduced in 1.8.0-RC where depending on kotlinx-coroutines in Native code failed with a compilation error Could not find "org.jetbrains.kotlinx:atomicfu-cinterop-interop" (#3968).
  • Small documentation fixes.

Version 1.8.0-RC

... (truncated)

Commits
  • cd696d3 Version 1.8.1
  • c1ba5af Fix the ticker channel example giving wrong results on the website (#4109)
  • 2430d9a Fix broken API reference links to the Project Reactor Javadoc (#4111)
  • f22b229 fix the link to Thread.uncaughtExceptionHandler
  • 515308d fix: get rid of horizontal scrolling by splitting the comment and show more c...
  • f8d1821 Fix typo in coroutine-context-and-dispatchers.md (#3941)
  • 20707d3 fix: remove sampleStart and sampleEnd comments from example in coroutine-...
  • 0148534 chore: fix identation in example loadContributorsBlocking() (#4085)
  • 74774df Docs: reference to The Hitchhiker's Guide to the Galaxy (#4082)
  • d106ac7 Docs: avoid scrolling sample code; fix test description; add () to functions ...
  • Additional commits viewable in compare view

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 commands and options

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)

Bumps `kotlinxCoroutinesVersion` from 1.7.3 to 1.8.1.

Updates `org.jetbrains.kotlinx:kotlinx-coroutines-core` from 1.7.3 to 1.8.1
- [Release notes](https://github.com/Kotlin/kotlinx.coroutines/releases)
- [Changelog](https://github.com/Kotlin/kotlinx.coroutines/blob/master/CHANGES.md)
- [Commits](Kotlin/kotlinx.coroutines@1.7.3...1.8.1)

Updates `org.jetbrains.kotlinx:kotlinx-coroutines-android` from 1.7.3 to 1.8.1
- [Release notes](https://github.com/Kotlin/kotlinx.coroutines/releases)
- [Changelog](https://github.com/Kotlin/kotlinx.coroutines/blob/master/CHANGES.md)
- [Commits](Kotlin/kotlinx.coroutines@1.7.3...1.8.1)

Updates `org.jetbrains.kotlinx:kotlinx-coroutines-test` from 1.7.3 to 1.8.1
- [Release notes](https://github.com/Kotlin/kotlinx.coroutines/releases)
- [Changelog](https://github.com/Kotlin/kotlinx.coroutines/blob/master/CHANGES.md)
- [Commits](Kotlin/kotlinx.coroutines@1.7.3...1.8.1)

---
updated-dependencies:
- dependency-name: org.jetbrains.kotlinx:kotlinx-coroutines-core
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: org.jetbrains.kotlinx:kotlinx-coroutines-android
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: org.jetbrains.kotlinx:kotlinx-coroutines-test
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the bot: dependencies update PRs that update a dependency file, used by Dependabot. label Jul 10, 2024
@dependabot dependabot bot requested a review from a team July 10, 2024 09:00
@dangermattic
Copy link
Collaborator

1 Warning
⚠️ PR is not assigned to a milestone.

Generated by 🚫 Danger

@wpmobilebot
Copy link
Contributor

wpmobilebot commented Jul 10, 2024

Jetpack📲 You can test the changes from this Pull Request in Jetpack by scanning the QR code below to install the corresponding build.
App NameJetpack Jetpack
FlavorJalapeno
Build TypeDebug
Versionpr21045-4ed37dd
Commit4ed37dd
Direct Downloadjetpack-prototype-build-pr21045-4ed37dd.apk
Note: Google Login is not supported on these builds.

@wpmobilebot
Copy link
Contributor

wpmobilebot commented Jul 10, 2024

WordPress📲 You can test the changes from this Pull Request in WordPress by scanning the QR code below to install the corresponding build.
App NameWordPress WordPress
FlavorJalapeno
Build TypeDebug
Versionpr21045-4ed37dd
Commit4ed37dd
Direct Downloadwordpress-prototype-build-pr21045-4ed37dd.apk
Note: Google Login is not supported on these builds.

Copy link

codecov bot commented Jul 10, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 40.73%. Comparing base (63311e2) to head (4ed37dd).

Additional details and impacted files
@@           Coverage Diff           @@
##            trunk   #21045   +/-   ##
=======================================
  Coverage   40.73%   40.73%           
=======================================
  Files        1529     1529           
  Lines       70225    70225           
  Branches    11613    11613           
=======================================
  Hits        28607    28607           
  Misses      39033    39033           
  Partials     2585     2585           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@wpmobilebot
Copy link
Contributor

Found 1 violations:

The PR caused some dependency changes (expand to see details)

 +--- androidx.webkit:webkit:1.11.0
 |    \--- androidx.core:core:1.1.0 -> 1.12.0
 |         \--- androidx.lifecycle:lifecycle-runtime:2.3.1 -> 2.6.2
 |              \--- androidx.lifecycle:lifecycle-common:2.6.2
-|                   \--- org.jetbrains.kotlinx:kotlinx-coroutines-android:1.6.4 -> 1.7.3
-|                        +--- org.jetbrains.kotlinx:kotlinx-coroutines-core:1.7.3
-|                        |    \--- org.jetbrains.kotlinx:kotlinx-coroutines-core-jvm:1.7.3
-|                        |         +--- org.jetbrains:annotations:23.0.0
-|                        |         +--- org.jetbrains.kotlinx:kotlinx-coroutines-bom:1.7.3
-|                        |         |    +--- org.jetbrains.kotlinx:kotlinx-coroutines-android:1.7.3 (c)
-|                        |         |    +--- org.jetbrains.kotlinx:kotlinx-coroutines-core-jvm:1.7.3 (c)
-|                        |         |    \--- org.jetbrains.kotlinx:kotlinx-coroutines-core:1.7.3 (c)
-|                        |         +--- org.jetbrains.kotlin:kotlin-stdlib-common:1.8.20 -> 1.9.22
-|                        |         |    \--- org.jetbrains.kotlin:kotlin-stdlib:1.9.22 (*)
-|                        |         \--- org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.8.20 -> 1.9.10
-|                        |              +--- org.jetbrains.kotlin:kotlin-stdlib:1.9.10 -> 1.9.22 (*)
-|                        |              \--- org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.9.10
-|                        |                   \--- org.jetbrains.kotlin:kotlin-stdlib:1.9.10 -> 1.9.22 (*)
-|                        +--- org.jetbrains.kotlinx:kotlinx-coroutines-bom:1.7.3 (*)
-|                        \--- org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.8.20 -> 1.9.10 (*)
+|                   \--- org.jetbrains.kotlinx:kotlinx-coroutines-android:1.6.4 -> 1.8.1
+|                        +--- org.jetbrains.kotlinx:kotlinx-coroutines-core:1.8.1
+|                        |    \--- org.jetbrains.kotlinx:kotlinx-coroutines-core-jvm:1.8.1
+|                        |         +--- org.jetbrains:annotations:23.0.0
+|                        |         +--- org.jetbrains.kotlinx:kotlinx-coroutines-bom:1.8.1
+|                        |         |    +--- org.jetbrains.kotlinx:kotlinx-coroutines-android:1.8.1 (c)
+|                        |         |    +--- org.jetbrains.kotlinx:kotlinx-coroutines-core-jvm:1.8.1 (c)
+|                        |         |    \--- org.jetbrains.kotlinx:kotlinx-coroutines-core:1.8.1 (c)
+|                        |         \--- org.jetbrains.kotlin:kotlin-stdlib:1.9.21 -> 1.9.22 (*)
+|                        +--- org.jetbrains.kotlinx:kotlinx-coroutines-bom:1.8.1 (*)
+|                        \--- org.jetbrains.kotlin:kotlin-stdlib:1.9.21 -> 1.9.22 (*)
 +--- androidx.navigation:navigation-compose:2.7.6 -> 2.7.7
 |    +--- androidx.activity:activity-compose:1.7.0 -> 1.8.0
 |    |    +--- androidx.activity:activity-ktx:1.8.0
 |    |    |    +--- androidx.activity:activity:1.8.0
 |    |    |    |    \--- androidx.lifecycle:lifecycle-viewmodel-savedstate:2.6.1 -> 2.6.2
-|    |    |    |         \--- org.jetbrains.kotlinx:kotlinx-coroutines-android:1.6.4 -> 1.7.3 (*)
+|    |    |    |         \--- org.jetbrains.kotlinx:kotlinx-coroutines-android:1.6.4 -> 1.8.1 (*)
 |    |    |    +--- androidx.lifecycle:lifecycle-runtime-ktx:2.6.1 -> 2.6.2
-|    |    |    |    \--- org.jetbrains.kotlinx:kotlinx-coroutines-android:1.6.4 -> 1.7.3 (*)
+|    |    |    |    \--- org.jetbrains.kotlinx:kotlinx-coroutines-android:1.6.4 -> 1.8.1 (*)
 |    |    |    \--- androidx.lifecycle:lifecycle-viewmodel-ktx:2.6.1 -> 2.6.2
-|    |    |         \--- org.jetbrains.kotlinx:kotlinx-coroutines-android:1.6.4 -> 1.7.3 (*)
+|    |    |         \--- org.jetbrains.kotlinx:kotlinx-coroutines-android:1.6.4 -> 1.8.1 (*)
 |    |    +--- androidx.compose.runtime:runtime:1.0.1 -> 1.5.3
 |    |    |    \--- androidx.compose.runtime:runtime-android:1.5.3
-|    |    |         +--- org.jetbrains.kotlin:kotlin-stdlib-common:1.8.21 -> 1.9.22 (*)
+|    |    |         +--- org.jetbrains.kotlin:kotlin-stdlib-common:1.8.21 -> 1.9.22
+|    |    |         |    \--- org.jetbrains.kotlin:kotlin-stdlib:1.9.22 (*)
-|    |    |         +--- org.jetbrains.kotlinx:kotlinx-coroutines-android:1.6.4 -> 1.7.3 (*)
+|    |    |         +--- org.jetbrains.kotlinx:kotlinx-coroutines-android:1.6.4 -> 1.8.1 (*)
-|    |    |         \--- org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.4 -> 1.7.3 (*)
+|    |    |         \--- org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.4 -> 1.8.1 (*)
 |    |    \--- androidx.compose.ui:ui:1.0.1 -> 1.5.3
 |    |         \--- androidx.compose.ui:ui-android:1.5.3
 |    |              +--- androidx.compose.ui:ui-text:1.5.3
 |    |              |    \--- androidx.compose.ui:ui-text-android:1.5.3
-|    |              |         \--- org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.4 -> 1.7.3 (*)
+|    |              |         \--- org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.4 -> 1.8.1 (*)
-|    |              +--- org.jetbrains.kotlinx:kotlinx-coroutines-android:1.6.4 -> 1.7.3 (*)
+|    |              +--- org.jetbrains.kotlinx:kotlinx-coroutines-android:1.6.4 -> 1.8.1 (*)
-|    |              \--- org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.4 -> 1.7.3 (*)
+|    |              \--- org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.4 -> 1.8.1 (*)
 |    \--- androidx.compose.animation:animation:1.5.1 -> 1.5.3
 |         \--- androidx.compose.animation:animation-android:1.5.3
 |              \--- androidx.compose.animation:animation-core:1.5.3
 |                   \--- androidx.compose.animation:animation-core-android:1.5.3
-|                        \--- org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.4 -> 1.7.3 (*)
+|                        \--- org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.4 -> 1.8.1 (*)
 +--- project :libs:analytics
 |    +--- com.automattic:Automattic-Tracks-Android:5.1.0
 |    |    \--- com.squareup.okhttp3:okhttp:4.9.0 -> 4.12.0
 |    |         \--- com.squareup.okio:okio:3.6.0
 |    |              \--- com.squareup.okio:okio-jvm:3.6.0
-|    |                   \--- org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.9.10 (*)
+|    |                   \--- org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.9.10
+|    |                        +--- org.jetbrains.kotlin:kotlin-stdlib:1.9.10 -> 1.9.22 (*)
+|    |                        \--- org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.9.10
+|    |                             \--- org.jetbrains.kotlin:kotlin-stdlib:1.9.10 -> 1.9.22 (*)
 |    \--- androidx.preference:preference:1.2.0
 |         \--- androidx.slidingpanelayout:slidingpanelayout:1.2.0
 |              \--- androidx.window:window:1.0.0
-|                   \--- org.jetbrains.kotlinx:kotlinx-coroutines-android:1.5.2 -> 1.7.3 (*)
+|                   \--- org.jetbrains.kotlinx:kotlinx-coroutines-android:1.5.2 -> 1.8.1 (*)
 +--- project :libs:editor
 |    +--- org.wordpress:aztec:{strictly v2.1.3} -> v2.1.3
-|    |    +--- org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.4 -> 1.7.3 (*)
+|    |    +--- org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.4 -> 1.8.1 (*)
-|    |    \--- org.jetbrains.kotlinx:kotlinx-coroutines-android:1.6.4 -> 1.7.3 (*)
+|    |    \--- org.jetbrains.kotlinx:kotlinx-coroutines-android:1.6.4 -> 1.8.1 (*)
 |    \--- com.automattic.tracks:crashlogging:5.1.0
-|         \--- org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.4 -> 1.7.3 (*)
+|         \--- org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.4 -> 1.8.1 (*)
 +--- org.wordpress:fluxc:{strictly trunk-c670e916346bdaa2379936dd8dbb6750766ca319} -> trunk-c670e916346bdaa2379936dd8dbb6750766ca319
 |    +--- androidx.room:room-ktx:2.4.2 -> 2.5.0
-|    |    \--- org.jetbrains.kotlinx:kotlinx-coroutines-android:1.6.4 -> 1.7.3 (*)
+|    |    \--- org.jetbrains.kotlinx:kotlinx-coroutines-android:1.6.4 -> 1.8.1 (*)
-|    +--- org.jetbrains.kotlinx:kotlinx-coroutines-core:1.3.9 -> 1.7.3 (*)
+|    +--- org.jetbrains.kotlinx:kotlinx-coroutines-core:1.3.9 -> 1.8.1 (*)
-|    \--- org.jetbrains.kotlinx:kotlinx-coroutines-android:1.3.9 -> 1.7.3 (*)
+|    \--- org.jetbrains.kotlinx:kotlinx-coroutines-android:1.3.9 -> 1.8.1 (*)
 +--- org.wordpress:login:1.16.0
 |    +--- com.gravatar:gravatar:0.2.0 -> 1.0.0
-|    |    \--- org.jetbrains.kotlinx:kotlinx-coroutines-android:1.7.3 (*)
+|    |    \--- org.jetbrains.kotlinx:kotlinx-coroutines-android:1.7.3 -> 1.8.1 (*)
 |    \--- androidx.credentials:credentials:1.2.0
-|         \--- org.jetbrains.kotlinx:kotlinx-coroutines-core:1.7.1 -> 1.7.3 (*)
+|         \--- org.jetbrains.kotlinx:kotlinx-coroutines-core:1.7.1 -> 1.8.1 (*)
 +--- com.automattic:about:1.4.0
 |    \--- com.google.accompanist:accompanist-drawablepainter:0.20.2 -> 0.30.1
-|         \--- org.jetbrains.kotlinx:kotlinx-coroutines-android:1.6.4 -> 1.7.3 (*)
+|         \--- org.jetbrains.kotlinx:kotlinx-coroutines-android:1.6.4 -> 1.8.1 (*)
 +--- com.google.android.play:app-update-ktx:2.1.0
-|    +--- org.jetbrains.kotlinx:kotlinx-coroutines-android:1.5.0 -> 1.7.3 (*)
+|    +--- org.jetbrains.kotlinx:kotlinx-coroutines-android:1.5.0 -> 1.8.1 (*)
-|    \--- org.jetbrains.kotlinx:kotlinx-coroutines-core:1.5.0 -> 1.7.3 (*)
+|    \--- org.jetbrains.kotlinx:kotlinx-coroutines-core:1.5.0 -> 1.8.1 (*)
 +--- androidx.work:work-runtime:2.9.0
-|    \--- org.jetbrains.kotlinx:kotlinx-coroutines-android:1.7.1 -> 1.7.3 (*)
+|    \--- org.jetbrains.kotlinx:kotlinx-coroutines-android:1.7.1 -> 1.8.1 (*)
 +--- androidx.lifecycle:lifecycle-livedata-ktx:2.6.2
-|    \--- org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.4 -> 1.7.3 (*)
+|    \--- org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.4 -> 1.8.1 (*)
 +--- com.google.android.play:review-ktx:2.0.1
-|    +--- org.jetbrains.kotlinx:kotlinx-coroutines-android:1.5.0 -> 1.7.3 (*)
+|    +--- org.jetbrains.kotlinx:kotlinx-coroutines-android:1.5.0 -> 1.8.1 (*)
-|    \--- org.jetbrains.kotlinx:kotlinx-coroutines-core:1.5.0 -> 1.7.3 (*)
+|    \--- org.jetbrains.kotlinx:kotlinx-coroutines-core:1.5.0 -> 1.8.1 (*)
-+--- org.jetbrains.kotlinx:kotlinx-coroutines-core:1.7.3 (*)
++--- org.jetbrains.kotlinx:kotlinx-coroutines-core:1.8.1 (*)
-+--- org.jetbrains.kotlinx:kotlinx-coroutines-android:1.7.3 (*)
++--- org.jetbrains.kotlinx:kotlinx-coroutines-android:1.8.1 (*)
 \--- io.coil-kt:coil-compose:2.4.0
      \--- io.coil-kt:coil-compose-base:2.4.0
           \--- io.coil-kt:coil-base:2.4.0
-               \--- org.jetbrains.kotlinx:kotlinx-coroutines-android:1.7.1 -> 1.7.3 (*)
+               \--- org.jetbrains.kotlinx:kotlinx-coroutines-android:1.7.1 -> 1.8.1 (*)

Please review and act accordingly

@nbradbury nbradbury self-assigned this Jul 11, 2024
Copy link

sonarcloud bot commented Jul 11, 2024

Copy link
Contributor

@nbradbury nbradbury left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All good! :shipit:

@nbradbury nbradbury merged commit 36eab00 into trunk Jul 11, 2024
20 checks passed
@nbradbury nbradbury deleted the dependabot/gradle/kotlinxCoroutinesVersion-1.8.1 branch July 11, 2024 18:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bot: dependencies update PRs that update a dependency file, used by Dependabot.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants