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
+23
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,28 @@
1
1
# Change log for kotlinx.coroutines
2
2
3
+
## Version 1.1.0-alpha
4
+
5
+
### Major improvements in coroutines testing and debugging
6
+
* New module: [`kotlinx-coroutines-debug`](https://github.com/Kotlin/kotlinx.coroutines/blob/master/core/kotlinx-coroutines-debug/README.md). Debug agent that improves coroutines stacktraces, allows to print all active coroutines and its hierarchies and can be installed as Java agent.
7
+
* New module: [`kotlinx-coroutines-test`](https://github.com/Kotlin/kotlinx.coroutines/blob/master/core/kotlinx-coroutines-test/README.md). Allows setting arbitrary `Dispatchers.Main` implementation for tests (#810).
8
+
* Stacktrace recovery mechanism. Exceptions from coroutines are recovered from current coroutine stacktraces to simplify exception diagnostic. Enabled in debug mode, controlled by `kotlinx.coroutines.debug` system property (#493).
9
+
10
+
### Other improvements
11
+
*`MainScope` factory and `CoroutineScope.cancel` extension (#829). One line `CoroutineScope` integration!
12
+
*`CancellableContinuation` race between `resumeWithException` and `cancel` is addressed, exceptions during cancellation are no longer reported to exception handler (#830, #892).
13
+
*`Dispatchers.Default` now consumes much less CPU on JVM (#840).
14
+
* Better diagnostic and fast failure if an uninitialized dispatcher is used (#880).
15
+
* Conflated channel becomes linearizable.
16
+
* Fixed inconsistent coroutines state when the result of the coroutine had type `DisposableHandle` (#835).
17
+
* Fixed `JavaFx` initialization bug (#816).
18
+
*`TimeoutCancellationException` is thrown by `withTimeout` instead of `CancellationException` if negative timeout is supplied (#870).
19
+
* Kotlin/Native single-threaded workers support: coroutines can be safely used in multiple independent K/N workers.
20
+
* jsdom support in `Dispatchers.Default` on JS.
21
+
* rxFlowable generic parameter is now restricted with Any.
22
+
* Guava 27 support in `kotlinx-coroutines-guava`.
23
+
* Coroutines are now built with progressive mode.
24
+
* Various fixes in the documentation.
25
+
3
26
## Version 1.0.1
4
27
5
28
* Align `publisher` implementation with Reactive TCK.
This gives you access to Android [Dispatchers.Main](https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-android/kotlinx.coroutines.android/kotlinx.coroutines.-dispatchers/index.html)
152
152
coroutine dispatcher and also makes sure that in case of crashed coroutine with unhandled exception this
0 commit comments