Skip to content

Commit 762440a

Browse files
committed
Version 1.3.1
1 parent d2f4b2b commit 762440a

File tree

9 files changed

+30
-17
lines changed

9 files changed

+30
-17
lines changed

CHANGES.md

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

3+
## Version 1.3.1
4+
5+
This is a minor update with various fixes:
6+
* Flow: Fix recursion in combineTransform<T1, T2, R> (#1466).
7+
* Fixed race in the Semaphore (#1477).
8+
* Repaired some of ListenableFuture.kt's cancellation corner cases (#1441).
9+
* Consistently unwrap exception in slow path of CompletionStage.asDeferred (#1479).
10+
* Various fixes in documentation (#1496, #1476, #1470, #1468).
11+
* Various cleanups and additions in tests.
12+
13+
Note: Kotlin/Native artifacts are now published with Gradle metadata format version 1.0, so you will need
14+
Gradle version 5.3 or later to use this version of kotlinx.coroutines in your Kotlin/Native project.
15+
316
## Version 1.3.0
417

518
### Flow

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.0) ](https://bintray.com/kotlin/kotlinx/kotlinx.coroutines/1.3.0)
5+
[![Download](https://api.bintray.com/packages/kotlin/kotlinx/kotlinx.coroutines/images/download.svg?version=1.3.1) ](https://bintray.com/kotlin/kotlinx/kotlinx.coroutines/1.3.1)
66

77
Library support for Kotlin coroutines with [multiplatform](#multiplatform) support.
88
This is a companion version for Kotlin `1.3.50` release.
@@ -83,7 +83,7 @@ Add dependencies (you can also add other modules that you need):
8383
<dependency>
8484
<groupId>org.jetbrains.kotlinx</groupId>
8585
<artifactId>kotlinx-coroutines-core</artifactId>
86-
<version>1.3.0</version>
86+
<version>1.3.1</version>
8787
</dependency>
8888
```
8989

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

102102
```groovy
103103
dependencies {
104-
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.3.0'
104+
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.3.1'
105105
}
106106
```
107107

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

128128
```groovy
129129
dependencies {
130-
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.3.0")
130+
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.3.1")
131131
}
132132
```
133133

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

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

157157
```groovy
158-
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.3.0'
158+
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.3.1'
159159
```
160160

161161
This gives you access to Android [Dispatchers.Main]
@@ -174,15 +174,15 @@ R8 is a replacement for ProGuard in Android ecosystem, it is enabled by default
174174
### JS
175175

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

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

182182
### Native
183183

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

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

RELEASE.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ To release new `<version>` of `kotlinx-coroutines`:
1919
* [`ui/kotlinx-coroutines-android/animation-app/gradle.properties`](ui/kotlinx-coroutines-android/animation-app/gradle.properties)
2020
* Make sure to **exclude** `CHANGES.md` from replacements.
2121

22-
As an alternative approach you can use `./bump_version.sh old_version new_version`
22+
As an alternative approach you can use `./bump-version.sh old_version new_version`
2323

2424
5. Write release notes in [`CHANGES.md`](CHANGES.md):
2525
* Use old releases as example of style.
@@ -76,5 +76,5 @@ To release new `<version>` of `kotlinx-coroutines`:
7676
9. Merge release from `master`:<br>
7777
`git merge origin/master`
7878

79-
10. Push updates to `develop`:<br>
79+
0. Push updates to `develop`:<br>
8080
`git push`

gradle.properties

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

55
# Kotlin
6-
version=1.3.0-SNAPSHOT
6+
version=1.3.1-SNAPSHOT
77
group=org.jetbrains.kotlinx
88
kotlin_version=1.3.50
99

kotlinx-coroutines-debug/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ of coroutines hierarchy referenced by a [Job] or [CoroutineScope] instances usin
1818
Add `kotlinx-coroutines-debug` to your project test dependencies:
1919
```
2020
dependencies {
21-
testImplementation 'org.jetbrains.kotlinx:kotlinx-coroutines-debug:1.3.0'
21+
testImplementation 'org.jetbrains.kotlinx:kotlinx-coroutines-debug:1.3.1'
2222
}
2323
```
2424

@@ -57,7 +57,7 @@ stacktraces will be dumped to the console.
5757
### Using as JVM agent
5858

5959
It is possible to use this module as a standalone JVM agent to enable debug probes on the application startup.
60-
You can run your application with an additional argument: `-javaagent:kotlinx-coroutines-debug-1.3.0.jar`.
60+
You can run your application with an additional argument: `-javaagent:kotlinx-coroutines-debug-1.3.1.jar`.
6161
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.
6262

6363

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.0'
12+
testImplementation 'org.jetbrains.kotlinx:kotlinx-coroutines-test:1.3.1'
1313
}
1414
```
1515

ui/coroutines-guide-ui.md

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

167167
```groovy
168-
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:1.3.0"
168+
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:1.3.1"
169169
```
170170

171171
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
@@ -19,5 +19,5 @@ org.gradle.jvmargs=-Xmx1536m
1919
kotlin.coroutines=enable
2020

2121
kotlin_version=1.3.50
22-
coroutines_version=1.3.0
22+
coroutines_version=1.3.1
2323

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,5 @@ org.gradle.jvmargs=-Xmx1536m
1919
kotlin.coroutines=enable
2020

2121
kotlin_version=1.3.50
22-
coroutines_version=1.3.0
22+
coroutines_version=1.3.1
2323

0 commit comments

Comments
 (0)