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
+18
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,23 @@
1
1
# Change log for kotlinx.coroutines
2
2
3
+
## Version 1.2.1
4
+
5
+
Major:
6
+
* Infrastructure for testing coroutine-specific code in `kotlinx-coroutines-test`: `runBlockingTest`, `TestCoroutineScope` and `TestCoroutineDispatcher`, contributed by Sean McQuillan (@objcode). Obsolete `TestCoroutineContext` from `kotlinx-coroutines-core` is deprecated.
7
+
*`Job.asCompletableFuture` extension in jdk8 module (#1113).
8
+
9
+
Flow improvements:
10
+
*`flowViaChannel` rework: block parameter is no longer suspending, but provides `CoroutineScope` receiver and allows conflated channel (#1081, #1112).
11
+
* New operators: `switchMap`, `sample`, `debounce` (#1107).
12
+
*`consumerEach` is deprecated on `Publisher`, `ObservableSource` and `MaybeSource`, `collect` extension is introduced instead (#1080).
13
+
14
+
Other:
15
+
* Race in Job.join and concurrent cancellation is fixed (#1123).
16
+
* Stacktrace recovery machinery improved: cycle detection works through recovered exceptions, cancellation exceptions are recovered on cancellation fast-path.
17
+
* Atomicfu-related bug fixes: publish transformed artifacts, do not propagate transitive atomicfu dependency (#1064, #1116).
18
+
* Publication to NPM fixed (#1118).
19
+
* Misplaced resources are removed from the final jar (#1131).
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)
@@ -172,15 +172,15 @@ R8 is a replacement for ProGuard in Android ecosystem, it is enabled by default
172
172
### JS
173
173
174
174
[Kotlin/JS](https://kotlinlang.org/docs/reference/js-overview.html) version of `kotlinx.coroutines` is published as
0 commit comments