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
+24
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,29 @@
1
1
# Change log for kotlinx.coroutines
2
2
3
+
## Version 1.4.0
4
+
5
+
### Improvements
6
+
7
+
*`StateFlow`, `SharedFlow` and corresponding operators are promoted to stable API (#2316).
8
+
*`Flow.debounce` operator with timeout selector based on each individual element is added (#1216, thanks to @mkano9!).
9
+
*`CoroutineContext.job` extension property is introduced (#2159).
10
+
*`Flow.combine operator` is reworked:
11
+
* Complete fairness is maintained for single-threaded dispatchers.
12
+
* Its performance is improved, depending on the use-case, by at least 50% (#2296).
13
+
* Quadratic complexity depending on the number of upstream flows is eliminated (#2296).
14
+
*`crossinline` and `inline`-heavy internals are removed, fixing sporadic SIGSEGV on Mediatek Android devices (#1683, #1743).
15
+
*`Flow.zip` operator performance is improved by 40%.
16
+
* Various API has been promoted to stable or its deprecation level has been raised (#2316).
17
+
18
+
### Bug fixes
19
+
20
+
* Suspendable `stateIn` operator propagates exception to the caller when upstream fails to produce initial value (#2329).
21
+
* Fix `SharedFlow` with replay for subscribers working at different speed (#2325).
22
+
* Do not fail debug agent installation when security manager does not provide access to system properties (#2311).
23
+
* Cancelled lazy coroutines are properly cleaned up from debug agent output (#2294).
24
+
*`BlockHound` false-positives are correctly filtered out (#2302, #2190, #2303).
25
+
* Potential crash during a race between cancellation and upstream in `Observable.asFlow` is fixed (#2104, #2299, thanks to @LouisCAD and @drinkthestars).
0 commit comments