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
+21Lines changed: 21 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,26 @@
1
1
# Change log for kotlinx.coroutines
2
2
3
+
## Version 1.3.6
4
+
5
+
### Flow
6
+
7
+
*`StateFlow`, new primitive for state handling (#1973, #1816, #395). The `StateFlow` is designed to eventually replace `ConflatedBroadcastChannel` for state publication scenarios. Please, try it and share your feedback. Note, that Flow-based primitives to publish events will be added later. For events you should continue to either use `BroadcastChannel(1)`, if you put events into the `StateFlow`, protect them from double-processing with flags.
8
+
*`Flow.onEmpty` operator is introduced (#1890).
9
+
* Behavioural change in `Flow.onCompletion`, it is aligned with `invokeOnCompletion` now and passes `CancellationException` to its cause parameter (#1693).
10
+
* A lot of Flow operators have left its experimental status and are promoted to stable API.
11
+
12
+
### Other
13
+
14
+
*`runInterruptible` primitive to tie cancellation with thread interruption for blocking calls. Contributed by @jxdabc (#1947).
15
+
* Integration module with RxJava3 is introduced. Contributed by @ZacSweers (#1883)
16
+
* Integration with [BlockHound](https://github.com/reactor/BlockHound) in `kotlinx-coroutines-debug` module (#1821, #1060).
17
+
* Memory leak in ArrayBroadcastChannel is fixed (#1885).
18
+
* Behavioural change in `suspendCancellableCoroutine`, cancellation is established before invoking passed block argument (#1671).
19
+
* Debug agent internals are moved into `kotlinx-coroutines-core` for better integration with IDEA. It should not affect library users and all the redundant code should be properly eliminated with R8.
20
+
* ClassCastException with reusable continuations bug is fixed (#1966).
21
+
* More precise scheduler detection for `Executor.asCoroutineDispatcher` (#1992).
22
+
* Kotlin updated to 1.3.71.
23
+
3
24
## Version 1.3.5
4
25
5
26
*`firstOrNull` operator. Contributed by @bradynpoulsen.
0 commit comments