Skip to content

Commit a14178f

Browse files
committed
Version 1.3.8
1 parent 5705372 commit a14178f

File tree

8 files changed

+35
-15
lines changed

8 files changed

+35
-15
lines changed

CHANGES.md

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

3+
## Version 1.3.8
4+
5+
### New experimental features
6+
7+
* Added `Flow.transformWhile operator` (#2065).
8+
* Replaced `scanReduce` with `runningReduce` to be consistent with the Kotlin standard library (#2139).
9+
10+
### Bug fixes and improvements
11+
12+
* Improve user experience for the upcoming coroutines debugger (#2093, #2118, #2131).
13+
* Debugger no longer retains strong references to the running coroutines (#2129).
14+
* Fixed race in `Flow.asPublisher` (#2109).
15+
* Fixed `ensureActive` to work in the empty context case to fix `IllegalStateException` when using flow from `suspend fun main` (#2044).
16+
* Fixed a problem with `AbortFlowException` in the `Flow.first` operator to avoid erroneous `NoSuchElementException` (#2051).
17+
* Fixed JVM dependency on Android annotations (#2075).
18+
* Removed keep rules mentioning `kotlinx.coroutines.android` from core module (#2061 by @mkj-gram).
19+
* Corrected some docs and examples (#2062, #2071, #2076, #2107, #2098, #2127, #2078, #2135).
20+
* Improved the docs and guide on flow cancellation (#2043).
21+
* Updated Gradle version to `6.3` (it only affects multiplatform artifacts in this release).
22+
323
## Version 1.3.7
424

525
* Fixed problem that triggered Android Lint failure (#2004).

README.md

+8-8
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
[![official JetBrains project](https://jb.gg/badges/official.svg)](https://confluence.jetbrains.com/display/ALL/JetBrains+on+GitHub)
44
[![GitHub license](https://img.shields.io/badge/license-Apache%20License%202.0-blue.svg?style=flat)](https://www.apache.org/licenses/LICENSE-2.0)
5-
[![Download](https://api.bintray.com/packages/kotlin/kotlinx/kotlinx.coroutines/images/download.svg?version=1.3.7) ](https://bintray.com/kotlin/kotlinx/kotlinx.coroutines/1.3.7)
5+
[![Download](https://api.bintray.com/packages/kotlin/kotlinx/kotlinx.coroutines/images/download.svg?version=1.3.8) ](https://bintray.com/kotlin/kotlinx/kotlinx.coroutines/1.3.8)
66

77
Library support for Kotlin coroutines with [multiplatform](#multiplatform) support.
88
This is a companion version for Kotlin `1.3.71` release.
@@ -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.3.7</version>
87+
<version>1.3.8</version>
8888
</dependency>
8989
```
9090

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

103103
```groovy
104104
dependencies {
105-
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.3.7'
105+
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.3.8'
106106
}
107107
```
108108

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

129129
```groovy
130130
dependencies {
131-
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.3.7")
131+
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.3.8")
132132
}
133133
```
134134

@@ -147,7 +147,7 @@ Make sure that you have either `jcenter()` or `mavenCentral()` in the list of re
147147
Core modules of `kotlinx.coroutines` are also available for
148148
[Kotlin/JS](#js) and [Kotlin/Native](#native).
149149
In common code that should get compiled for different platforms, add dependency to
150-
[`kotlinx-coroutines-core-common`](https://search.maven.org/artifact/org.jetbrains.kotlinx/kotlinx-coroutines-core-common/1.3.7/jar)
150+
[`kotlinx-coroutines-core-common`](https://search.maven.org/artifact/org.jetbrains.kotlinx/kotlinx-coroutines-core-common/1.3.8/jar)
151151
(follow the link to get the dependency declaration snippet).
152152

153153
### Android
@@ -156,7 +156,7 @@ Add [`kotlinx-coroutines-android`](ui/kotlinx-coroutines-android)
156156
module as dependency when using `kotlinx.coroutines` on Android:
157157

158158
```groovy
159-
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.3.7'
159+
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.3.8'
160160
```
161161

162162
This gives you access to Android [Dispatchers.Main]
@@ -172,15 +172,15 @@ For more details see ["Optimization" section for Android](ui/kotlinx-coroutines-
172172
### JS
173173

174174
[Kotlin/JS](https://kotlinlang.org/docs/reference/js-overview.html) version of `kotlinx.coroutines` is published as
175-
[`kotlinx-coroutines-core-js`](https://search.maven.org/artifact/org.jetbrains.kotlinx/kotlinx-coroutines-core-js/1.3.7/jar)
175+
[`kotlinx-coroutines-core-js`](https://search.maven.org/artifact/org.jetbrains.kotlinx/kotlinx-coroutines-core-js/1.3.8/jar)
176176
(follow the link to get the dependency declaration snippet).
177177

178178
You can also use [`kotlinx-coroutines-core`](https://www.npmjs.com/package/kotlinx-coroutines-core) package via NPM.
179179

180180
### Native
181181

182182
[Kotlin/Native](https://kotlinlang.org/docs/reference/native-overview.html) version of `kotlinx.coroutines` is published as
183-
[`kotlinx-coroutines-core-native`](https://search.maven.org/artifact/org.jetbrains.kotlinx/kotlinx-coroutines-core-native/1.3.7/jar)
183+
[`kotlinx-coroutines-core-native`](https://search.maven.org/artifact/org.jetbrains.kotlinx/kotlinx-coroutines-core-native/1.3.8/jar)
184184
(follow the link to get the dependency declaration snippet).
185185

186186
Only single-threaded code (JS-style) on Kotlin/Native is currently supported.

gradle.properties

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

55
# Kotlin
6-
version=1.3.7-SNAPSHOT
6+
version=1.3.8-SNAPSHOT
77
group=org.jetbrains.kotlinx
88
kotlin_version=1.3.71
99

kotlinx-coroutines-debug/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ https://github.com/reactor/BlockHound/blob/1.0.2.RELEASE/docs/quick_start.md).
2323
Add `kotlinx-coroutines-debug` to your project test dependencies:
2424
```
2525
dependencies {
26-
testImplementation 'org.jetbrains.kotlinx:kotlinx-coroutines-debug:1.3.7'
26+
testImplementation 'org.jetbrains.kotlinx:kotlinx-coroutines-debug:1.3.8'
2727
}
2828
```
2929

@@ -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.3.7.jar`.
64+
You can run your application with an additional argument: `-javaagent:kotlinx-coroutines-debug-1.3.8.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
@@ -9,7 +9,7 @@ This package provides testing utilities for effectively testing coroutines.
99
Add `kotlinx-coroutines-test` to your project test dependencies:
1010
```
1111
dependencies {
12-
testImplementation 'org.jetbrains.kotlinx:kotlinx-coroutines-test:1.3.7'
12+
testImplementation 'org.jetbrains.kotlinx:kotlinx-coroutines-test:1.3.8'
1313
}
1414
```
1515

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.3.7"
113+
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:1.3.8"
114114
```
115115

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

ui/kotlinx-coroutines-android/animation-app/gradle.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ org.gradle.jvmargs=-Xmx1536m
2121
# org.gradle.parallel=true
2222

2323
kotlin_version=1.3.71
24-
coroutines_version=1.3.7
24+
coroutines_version=1.3.8
2525

2626
android.useAndroidX=true
2727
android.enableJetifier=true

ui/kotlinx-coroutines-android/example-app/gradle.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ org.gradle.jvmargs=-Xmx1536m
2121
# org.gradle.parallel=true
2222

2323
kotlin_version=1.3.71
24-
coroutines_version=1.3.7
24+
coroutines_version=1.3.8
2525

2626
android.useAndroidX=true
2727
android.enableJetifier=true

0 commit comments

Comments
 (0)