Skip to content

Commit 81e17dd

Browse files
committed
Version 1.6.4
1 parent f31b037 commit 81e17dd

File tree

7 files changed

+21
-11
lines changed

7 files changed

+21
-11
lines changed

CHANGES.md

+10
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
# Change log for kotlinx.coroutines
22

3+
## Version 1.6.4
4+
5+
* Added `TestScope.backgroundScope` for launching coroutines that perform work in the background and need to be cancelled at the end of the test (#3287).
6+
* Fixed the POM of `kotlinx-coroutines-debug` having an incorrect reference to `kotlinx-coroutines-bom`, which cause the builds of Maven projects using the debug module to break (#3334).
7+
* Fixed the `Publisher.await` functions in `kotlinx-coroutines-reactive` not ensuring that the `Subscriber` methods are invoked serially (#3360). Thank you, @EgorKulbachka!
8+
* Fixed a memory leak in `withTimeout` on K/N with the new memory model (#3351).
9+
* Added the guarantee that all `Throwable` implementations in the core library are serializable (#3328).
10+
* Moved the documentation to <https://kotlinlang.org/api/kotlinx.coroutines/> (#3342).
11+
* Various documentation improvements.
12+
313
## Version 1.6.3
414

515
* Updated atomicfu version to 0.17.3 (#3321), fixing the projects using this library with JS IR failing to build (#3305).

README.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
[![Kotlin Stable](https://kotl.in/badges/stable.svg)](https://kotlinlang.org/docs/components-stability.html)
44
[![JetBrains official project](https://jb.gg/badges/official.svg)](https://confluence.jetbrains.com/display/ALL/JetBrains+on+GitHub)
55
[![GitHub license](https://img.shields.io/badge/license-Apache%20License%202.0-blue.svg?style=flat)](https://www.apache.org/licenses/LICENSE-2.0)
6-
[![Download](https://img.shields.io/maven-central/v/org.jetbrains.kotlinx/kotlinx-coroutines-core/1.6.3)](https://search.maven.org/artifact/org.jetbrains.kotlinx/kotlinx-coroutines-core/1.6.3/pom)
6+
[![Download](https://img.shields.io/maven-central/v/org.jetbrains.kotlinx/kotlinx-coroutines-core/1.6.4)](https://search.maven.org/artifact/org.jetbrains.kotlinx/kotlinx-coroutines-core/1.6.4/pom)
77
[![Kotlin](https://img.shields.io/badge/kotlin-1.6.21-blue.svg?logo=kotlin)](http://kotlinlang.org)
88
[![Slack channel](https://img.shields.io/badge/chat-slack-green.svg?logo=slack)](https://kotlinlang.slack.com/messages/coroutines/)
99

@@ -84,7 +84,7 @@ Add dependencies (you can also add other modules that you need):
8484
<dependency>
8585
<groupId>org.jetbrains.kotlinx</groupId>
8686
<artifactId>kotlinx-coroutines-core</artifactId>
87-
<version>1.6.3</version>
87+
<version>1.6.4</version>
8888
</dependency>
8989
```
9090

@@ -102,7 +102,7 @@ Add dependencies (you can also add other modules that you need):
102102

103103
```kotlin
104104
dependencies {
105-
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.3")
105+
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.4")
106106
}
107107
```
108108

@@ -132,7 +132,7 @@ Add [`kotlinx-coroutines-android`](ui/kotlinx-coroutines-android)
132132
module as a dependency when using `kotlinx.coroutines` on Android:
133133

134134
```kotlin
135-
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-android:1.6.3")
135+
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-android:1.6.4")
136136
```
137137

138138
This gives you access to the Android [Dispatchers.Main]
@@ -167,7 +167,7 @@ In common code that should get compiled for different platforms, you can add a d
167167
```kotlin
168168
commonMain {
169169
dependencies {
170-
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.3")
170+
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.4")
171171
}
172172
}
173173
```
@@ -179,7 +179,7 @@ Platform-specific dependencies are recommended to be used only for non-multiplat
179179
#### JS
180180

181181
Kotlin/JS version of `kotlinx.coroutines` is published as
182-
[`kotlinx-coroutines-core-js`](https://search.maven.org/artifact/org.jetbrains.kotlinx/kotlinx-coroutines-core-js/1.6.3/jar)
182+
[`kotlinx-coroutines-core-js`](https://search.maven.org/artifact/org.jetbrains.kotlinx/kotlinx-coroutines-core-js/1.6.4/jar)
183183
(follow the link to get the dependency declaration snippet) and as [`kotlinx-coroutines-core`](https://www.npmjs.com/package/kotlinx-coroutines-core) NPM package.
184184

185185
#### Native

gradle.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#
44

55
# Kotlin
6-
version=1.6.3-SNAPSHOT
6+
version=1.6.4-SNAPSHOT
77
group=org.jetbrains.kotlinx
88
kotlin_version=1.6.21
99

integration-testing/gradle.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
kotlin_version=1.6.21
2-
coroutines_version=1.6.3-SNAPSHOT
2+
coroutines_version=1.6.4-SNAPSHOT
33

44
kotlin.code.style=official

kotlinx-coroutines-debug/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ stacktraces will be dumped to the console.
6161
### Using as JVM agent
6262

6363
Debug module can also be used as a standalone JVM agent to enable debug probes on the application startup.
64-
You can run your application with an additional argument: `-javaagent:kotlinx-coroutines-debug-1.6.3.jar`.
64+
You can run your application with an additional argument: `-javaagent:kotlinx-coroutines-debug-1.6.4.jar`.
6565
Additionally, on Linux and Mac OS X you can use `kill -5 $pid` command in order to force your application to print all alive coroutines.
6666
When used as Java agent, `"kotlinx.coroutines.debug.enable.creation.stack.trace"` system property can be used to control
6767
[DebugProbes.enableCreationStackTraces] along with agent startup.

kotlinx-coroutines-test/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Provided [TestDispatcher] implementations:
2626
Add `kotlinx-coroutines-test` to your project test dependencies:
2727
```
2828
dependencies {
29-
testImplementation 'org.jetbrains.kotlinx:kotlinx-coroutines-test:1.6.3'
29+
testImplementation 'org.jetbrains.kotlinx:kotlinx-coroutines-test:1.6.4'
3030
}
3131
```
3232

ui/coroutines-guide-ui.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ Add dependencies on `kotlinx-coroutines-android` module to the `dependencies { .
110110
`app/build.gradle` file:
111111

112112
```groovy
113-
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:1.6.3"
113+
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:1.6.4"
114114
```
115115

116116
You can clone [kotlinx.coroutines](https://github.com/Kotlin/kotlinx.coroutines) project from GitHub onto your

0 commit comments

Comments
 (0)