Skip to content

Commit bb3cf09

Browse files
committed
Version 1.3.4
1 parent 7df61ee commit bb3cf09

File tree

8 files changed

+35
-15
lines changed

8 files changed

+35
-15
lines changed

Diff for: 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.4
4+
5+
### Flow
6+
7+
* Detect missing `awaitClose` calls in `callbackFlow` to make it less error-prone when used with callbacks (#1762, #1770). This change makes `callbackFlow` **different** from `channelFlow`.
8+
* `ReceiveChannel.asFlow` extension is introduced (#1490).
9+
* Enforce exception transparency invariant in `flow` builder (#1657).
10+
* Proper `Dispatcher` support in `Flow` reactive integrations (#1765).
11+
* Batch `Subscription.request` calls in `Flow` reactive integration (#766).
12+
* `ObservableValue.asFlow` added to JavaFx integration module (#1695).
13+
* `ObservableSource.asFlow` added to RxJava2 integration module (#1768).
14+
15+
### Other changes
16+
17+
* `kotlinx-coroutines-core` is optimized for R8, making it much smaller for Android usages (75 KB for `1.3.4` release).
18+
* Performance of `Dispatchers.Default` is improved (#1704, #1706).
19+
* Kotlin is updated to 1.3.70.
20+
* `CoroutineDispatcher` and `ExecutorCoroutineDispatcher` experimental coroutine context keys are introduced (#1805).
21+
* Performance of various `Channel` operations is improved (#1565).
22+
323
## Version 1.3.3
424

525
### Flow

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

77
Library support for Kotlin coroutines with [multiplatform](#multiplatform) support.
88
This is a companion version for Kotlin `1.3.70` release.
@@ -82,7 +82,7 @@ Add dependencies (you can also add other modules that you need):
8282
<dependency>
8383
<groupId>org.jetbrains.kotlinx</groupId>
8484
<artifactId>kotlinx-coroutines-core</artifactId>
85-
<version>1.3.3</version>
85+
<version>1.3.4</version>
8686
</dependency>
8787
```
8888

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

101101
```groovy
102102
dependencies {
103-
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.3.3'
103+
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.3.4'
104104
}
105105
```
106106

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

127127
```groovy
128128
dependencies {
129-
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.3.3")
129+
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.3.4")
130130
}
131131
```
132132

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

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

156156
```groovy
157-
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.3.3'
157+
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.3.4'
158158
```
159159

160160
This gives you access to Android [Dispatchers.Main]
@@ -170,15 +170,15 @@ For more details see ["Optimization" section for Android](ui/kotlinx-coroutines-
170170
### JS
171171

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

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

178178
### Native
179179

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

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

Diff for: gradle.properties

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

55
# Kotlin
6-
version=1.3.3-SNAPSHOT
6+
version=1.3.4-SNAPSHOT
77
group=org.jetbrains.kotlinx
88
kotlin_version=1.3.70
99

Diff for: 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.3'
21+
testImplementation 'org.jetbrains.kotlinx:kotlinx-coroutines-debug:1.3.4'
2222
}
2323
```
2424

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

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

6262

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

Diff for: 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.3"
113+
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:1.3.4"
114114
```
115115

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

Diff for: 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.70
24-
coroutines_version=1.3.3
24+
coroutines_version=1.3.4
2525

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

Diff for: 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.70
24-
coroutines_version=1.3.3
24+
coroutines_version=1.3.4
2525

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

0 commit comments

Comments
 (0)