You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGES.md
+20Lines changed: 20 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,25 @@
1
1
# Change log for kotlinx.coroutines
2
2
3
+
## Version 1.8.0-RC
4
+
5
+
* Implement the library for the Web Assembly (Wasm) for JavaScript (#3713). Thanks @igoriakovlev!
6
+
* On Android, ensure that `Dispatchers.Main != Dispatchers.Main.immediate` (#3545, #3963).
7
+
*`kotlinx-coroutines-debug` is published with the incorrect Java 9 module info (#3944).
8
+
* Major Kotlin version update: was 1.8.20, became 1.9.21.
9
+
*`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).
10
+
*`kotlinx-coroutines-test`: fixed a bug that could lead to not all uncaught exceptions being reported after some tests failed (#3800).
11
+
*`delay(Duration)` rounds nanoseconds up to whole milliseconds and not down (#3920). Thanks @kevincianfarini!
12
+
*`Dispatchers.Default` and the default thread for background work are guaranteed to use the same context classloader as the object containing it them (#3832).
13
+
* 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.
14
+
* Atomicfu version is updated to 0.23.1, and Kotlin/Native atomic transformations are enabled, reducing the footprint of coroutine-heavy code (#3954).
15
+
* Added a workaround for miscompilation of `withLock` on JS (#3881). Thanks @CLOVIS-AI!
16
+
* Small tweaks and documentation fixes.
17
+
18
+
## Version 1.7.3
19
+
20
+
* Disabled the publication of the multiplatform library metadata for the old (1.6 and earlier) KMP Gradle plugin (#3809).
21
+
* Fixed a bug introduced in 1.7.2 that disabled the coroutine debugger in IDEA (#3822).
@@ -26,7 +26,7 @@ suspend fun main() = coroutineScope {
26
26
27
27
*[core](kotlinx-coroutines-core/README.md)— common coroutines across all platforms:
28
28
*[launch] and [async] coroutine builders returning [Job] and [Deferred] light-weight futures with cancellation support;
29
-
*[Dispatchers] object with [Main][Dispatchers.Main] dispatcher for Android/Swing/JavaFx, and [Default][Dispatchers.Default] dispatcher for background coroutines;
29
+
*[Dispatchers] object with [Main][Dispatchers.Main] dispatcher for Android/Swing/JavaFx (which require the corresponding artifacts in runtime) and Darwin (included out of the box), and [Default][Dispatchers.Default] dispatcher for background coroutines;
30
30
*[delay] and [yield] top-level suspending functions;
31
31
*[Flow]— cold asynchronous stream with [flow][_flow] builder and comprehensive operator set ([filter], [map], etc);
32
32
*[Channel], [Mutex], and [Semaphore] communication and synchronization primitives;
@@ -36,7 +36,7 @@ suspend fun main() = coroutineScope {
36
36
*[select] expression support and more.
37
37
*[core/jvm](kotlinx-coroutines-core/jvm/)— additional core features available on Kotlin/JVM:
38
38
*[Dispatchers.IO] dispatcher for blocking coroutines;
39
-
*[Executor.asCoroutineDispatcher][asCoroutineDispatcher] extension, custom thread pools, and more.
39
+
*[Executor.asCoroutineDispatcher][asCoroutineDispatcher] extension, custom thread pools, and more;
40
40
* Integrations with `CompletableFuture` and JVM-specific extensions.
41
41
*[core/js](kotlinx-coroutines-core/js/)— additional core features available on Kotlin/JS:
42
42
* Integration with `Promise` via [Promise.await] and [promise] builder;
@@ -54,7 +54,7 @@ suspend fun main() = coroutineScope {
54
54
* RxJava 2.x ([rxFlowable], [rxSingle], etc), and
55
55
* RxJava 3.x ([rxFlowable], [rxSingle], etc), and
56
56
* Project Reactor ([flux], [mono], etc).
57
-
*[ui](ui/README.md)— modules that provide coroutine dispatchers for various single-threaded UI libraries:
57
+
*[ui](ui/README.md)— modules that provide the [Main][Dispatchers.Main] dispatcher for various single-threaded UI libraries:
58
58
* Android, JavaFX, and Swing.
59
59
*[integration](integration/README.md)— modules that provide integration with various asynchronous callback- and future-based libraries:
60
60
* Guava [ListenableFuture.await], and Google Play Services [Task.await];
@@ -85,7 +85,7 @@ Add dependencies (you can also add other modules that you need):
85
85
<dependency>
86
86
<groupId>org.jetbrains.kotlinx</groupId>
87
87
<artifactId>kotlinx-coroutines-core</artifactId>
88
-
<version>1.7.2</version>
88
+
<version>1.8.0-RC</version>
89
89
</dependency>
90
90
```
91
91
@@ -103,7 +103,7 @@ Add dependencies (you can also add other modules that you need):
(follow the link to get the dependency declaration snippet) and as [`kotlinx-coroutines-core`](https://www.npmjs.com/package/kotlinx-coroutines-core) NPM package.
0 commit comments