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
+10
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,15 @@
1
1
# Change log for kotlinx.coroutines
2
2
3
+
## Version 1.6.2
4
+
5
+
* Fixed a bug with `ThreadLocalElement` not being correctly updated when the most outer `suspend` function was called directly without `kotlinx.coroutines` (#2930).
6
+
* Fixed multiple data races: one that might have been affecting `runBlocking` event loop, and a benign data race in `Mutex` (#3250, #3251).
7
+
* Obsolete `TestCoroutineContext` is removed, which fixes the `kotlinx-coroutines-test` JPMS package being split between `kotlinx-coroutines-core` and `kotlinx-coroutines-test` (#3218).
8
+
* Updated the ProGuard rules to further shrink the size of the resulting DEX file with coroutines (#3111, #3263). Thanks, @agrieve!
9
+
* Atomicfu is updated to `0.17.2`, which includes a more efficient and robust JS IR transformer (#3255).
10
+
* Kotlin is updated to `1.6.21`, Gradle version is updated to `7.4.2` (#3281). Thanks, @wojtek-kalicinski!
11
+
* Various documentation improvements.
12
+
3
13
## Version 1.6.1
4
14
5
15
* Rollback of time-related functions dispatching on `Dispatchers.Main`.
@@ -62,9 +62,9 @@ suspend fun main() = coroutineScope {
62
62
## Documentation
63
63
64
64
* Presentations and videos:
65
-
*[Introduction to Coroutines](https://www.youtube.com/watch?v=_hfBv0a09Jc) (Roman Elizarov at KotlinConf 2017, [slides](https://www.slideshare.net/elizarov/introduction-to-coroutines-kotlinconf-2017))
66
-
*[Deep dive into Coroutines](https://www.youtube.com/watch?v=YrrUCSi72E8) (Roman Elizarov at KotlinConf 2017, [slides](https://www.slideshare.net/elizarov/deep-dive-into-coroutines-on-jvm-kotlinconf-2017))
67
65
*[Kotlin Coroutines in Practice](https://www.youtube.com/watch?v=a3agLJQ6vt8) (Roman Elizarov at KotlinConf 2018, [slides](https://www.slideshare.net/elizarov/kotlin-coroutines-in-practice-kotlinconf-2018))
66
+
*[Deep Dive into Coroutines](https://www.youtube.com/watch?v=YrrUCSi72E8) (Roman Elizarov at KotlinConf 2017, [slides](https://www.slideshare.net/elizarov/deep-dive-into-coroutines-on-jvm-kotlinconf-2017))
67
+
*[History of Structured Concurrency in Coroutines](https://www.youtube.com/watch?v=Mj5P47F6nJg) (Roman Elizarov at Hydra 2019, [slides](https://speakerdeck.com/elizarov/structured-concurrency))
68
68
* Guides and manuals:
69
69
*[Guide to kotlinx.coroutines by example](https://kotlinlang.org/docs/coroutines-guide.html) (**read it first**)
70
70
*[Guide to UI programming with coroutines](ui/coroutines-guide-ui.md)
@@ -84,15 +84,15 @@ Add dependencies (you can also add other modules that you need):
84
84
<dependency>
85
85
<groupId>org.jetbrains.kotlinx</groupId>
86
86
<artifactId>kotlinx-coroutines-core</artifactId>
87
-
<version>1.6.1</version>
87
+
<version>1.6.2</version>
88
88
</dependency>
89
89
```
90
90
91
91
And make sure that you use the latest Kotlin version:
92
92
93
93
```xml
94
94
<properties>
95
-
<kotlin.version>1.6.0</kotlin.version>
95
+
<kotlin.version>1.6.20</kotlin.version>
96
96
</properties>
97
97
```
98
98
@@ -102,7 +102,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