Skip to content

Commit 2d0d9aa

Browse files
committed
Version 1.3.9
1 parent 6f01402 commit 2d0d9aa

File tree

9 files changed

+45
-26
lines changed

9 files changed

+45
-26
lines changed

CHANGES.md

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

3+
## Version 1.3.9
4+
5+
* Support of `CoroutineContext` in `Flow.asPublisher` and similar reactive builders (#2155).
6+
* Transition to new HMPP publication scheme for multiplatform usages.
7+
* Kotlin updated to 1.4.0.
8+
39
## Version 1.3.8
410

511
### New experimental features

README.md

+12-12
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
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.8) ](https://bintray.com/kotlin/kotlinx/kotlinx.coroutines/1.3.8)
5+
[![Download](https://api.bintray.com/packages/kotlin/kotlinx/kotlinx.coroutines/images/download.svg?version=1.3.9) ](https://bintray.com/kotlin/kotlinx/kotlinx.coroutines/1.3.9)
66

77
Library support for Kotlin coroutines with [multiplatform](#multiplatform) support.
8-
This is a companion version for Kotlin `1.3.71` release.
8+
This is a companion version for Kotlin `1.4.0` release.
99

1010
```kotlin
1111
suspend fun main() = coroutineScope {
@@ -84,15 +84,15 @@ 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.8</version>
87+
<version>1.3.9</version>
8888
</dependency>
8989
```
9090

9191
And make sure that you use the latest Kotlin version:
9292

9393
```xml
9494
<properties>
95-
<kotlin.version>1.3.71</kotlin.version>
95+
<kotlin.version>1.4.0</kotlin.version>
9696
</properties>
9797
```
9898

@@ -102,15 +102,15 @@ 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.8'
105+
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.3.9'
106106
}
107107
```
108108

109109
And make sure that you use the latest Kotlin version:
110110

111111
```groovy
112112
buildscript {
113-
ext.kotlin_version = '1.3.71'
113+
ext.kotlin_version = '1.4.0'
114114
}
115115
```
116116

@@ -128,15 +128,15 @@ 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.8")
131+
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.3.9")
132132
}
133133
```
134134

135135
And make sure that you use the latest Kotlin version:
136136

137137
```groovy
138138
plugins {
139-
kotlin("jvm") version "1.3.71"
139+
kotlin("jvm") version "1.4.0"
140140
}
141141
```
142142

@@ -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.8/jar)
150+
[`kotlinx-coroutines-core-common`](https://search.maven.org/artifact/org.jetbrains.kotlinx/kotlinx-coroutines-core-common/1.3.9/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.8'
159+
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.3.9'
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.8/jar)
175+
[`kotlinx-coroutines-core-js`](https://search.maven.org/artifact/org.jetbrains.kotlinx/kotlinx-coroutines-core-js/1.3.9/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.8/jar)
183+
[`kotlinx-coroutines-core-native`](https://search.maven.org/artifact/org.jetbrains.kotlinx/kotlinx-coroutines-core-native/1.3.9/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.

build.gradle

+15-2
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,13 @@ buildscript {
5252

5353
repositories {
5454
jcenter()
55-
maven { url "https://kotlin.bintray.com/kotlinx" }
55+
maven {
56+
url "https://kotlin.bintray.com/kotlinx"
57+
credentials {
58+
username = project.hasProperty('bintrayUser') ? project.property('bintrayUser') : System.getenv('BINTRAY_USER') ?: ""
59+
password = project.hasProperty('bintrayApiKey') ? project.property('bintrayApiKey') : System.getenv('BINTRAY_API_KEY') ?: ""
60+
}
61+
}
5662
maven {
5763
url "https://kotlin.bintray.com/kotlin-dev"
5864
credentials {
@@ -155,7 +161,14 @@ allprojects {
155161
}
156162
}
157163
maven { url "https://kotlin.bintray.com/kotlin-eap" }
158-
maven { url "https://kotlin.bintray.com/kotlinx" }
164+
maven {
165+
url "https://kotlin.bintray.com/kotlinx"
166+
credentials {
167+
username = project.hasProperty('bintrayUser') ? project.property('bintrayUser') : System.getenv('BINTRAY_USER') ?: ""
168+
password = project.hasProperty('bintrayApiKey') ? project.property('bintrayApiKey') : System.getenv('BINTRAY_API_KEY') ?: ""
169+
}
170+
}
171+
mavenLocal()
159172
}
160173
}
161174

gradle.properties

+4-4
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@
33
#
44

55
# Kotlin
6-
version=1.3.8-SNAPSHOT
6+
version=1.3.9-SNAPSHOT
77
group=org.jetbrains.kotlinx
8-
kotlin_version=1.3.71
8+
kotlin_version=1.4.0
99

1010
# Dependencies
1111
junit_version=4.12
12-
atomicfu_version=0.14.2
12+
atomicfu_version=0.14.4
1313
knit_version=0.1.3
1414
html_version=0.6.8
1515
lincheck_version=2.7.1
@@ -59,4 +59,4 @@ systemProp.org.gradle.internal.publish.checksums.insecure=true
5959
# This is commented out, and the property is set conditionally in build.gradle, because 1.3.71 doesn't work with it.
6060
# Once this property is set by default in new versions or 1.3.71 is dropped, either uncomment or remove this line.
6161
#kotlin.mpp.enableGranularSourceSetsMetadata=true
62-
kotlin.mpp.enableCompatibilityMetadataVariant=true
62+
kotlin.mpp.enableCompatibilityMetadataVariant=true

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.8'
26+
testImplementation 'org.jetbrains.kotlinx:kotlinx-coroutines-debug:1.3.9'
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.8.jar`.
64+
You can run your application with an additional argument: `-javaagent:kotlinx-coroutines-debug-1.3.9.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.8'
12+
testImplementation 'org.jetbrains.kotlinx:kotlinx-coroutines-test:1.3.9'
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.8"
113+
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:1.3.9"
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

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ org.gradle.jvmargs=-Xmx1536m
2020
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
2121
# org.gradle.parallel=true
2222

23-
kotlin_version=1.3.71
24-
coroutines_version=1.3.8
23+
kotlin_version=1.4.0
24+
coroutines_version=1.3.9
2525

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

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ org.gradle.jvmargs=-Xmx1536m
2020
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
2121
# org.gradle.parallel=true
2222

23-
kotlin_version=1.3.71
24-
coroutines_version=1.3.8
23+
kotlin_version=1.4.0
24+
coroutines_version=1.3.9
2525

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

0 commit comments

Comments
 (0)