Skip to content

Commit 2e9886d

Browse files
committed
Version 1.3.0-RC2
1 parent a6da28e commit 2e9886d

File tree

8 files changed

+43
-15
lines changed

8 files changed

+43
-15
lines changed

CHANGES.md

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

3+
## Version 1.3.0-RC2
4+
5+
### Flow improvements
6+
* Operators for UI programming are reworked for the sake of consistency, naming scheme for operator overloads is introduced:
7+
* `combineLatest` is deprecated in the favor of `combine`.
8+
* `combineTransform` operator for non-trivial transformations (#1224).
9+
* Top-level `combine` and `combineTransform` overloads for multiple flows (#1262).
10+
* `switchMap` is deprecated. `flatMapLatest`, `mapLatest` and `transformLatest` are introduced instead (#1335).
11+
* `collectLatest` terminal operator (#1269).
12+
13+
* Improved cancellation support in `flattenMerge` (#1392).
14+
* `channelFlow` cancellation does not leak to the parent (#1334).
15+
* Fixed flow invariant enforcement for `suspend fun main` (#1421).
16+
* `delayEach` and `delayFlow` are deprecated (#1429).
17+
18+
### General changes
19+
* Integration with Reactor context
20+
* Propagation of the coroutine context of `await` calls into Mono/Flux builder.
21+
* Publisher.asFlow propagates coroutine context from `collect` call to the Publisher.
22+
* New `Flow.asFlux ` builder.
23+
24+
* ServiceLoader-code is adjusted to avoid I/O on the Main thread on newer (3.6.0+) Android toolchain.
25+
* Stacktrace recovery support for minified builds on Android (#1416).
26+
* Guava version in `kotlinx-coroutines-guava` updated to `28.0`.
27+
* `setTimeout`-based JS dispatcher for platforms where `process` is unavailable (#1404).
28+
* Native, JS and common modules are added to `kotlinx-coroutines-bom`.
29+
* Fixed bug with ignored `acquiredPermits` in `Semaphore` (#1423).
30+
331
## Version 1.3.0-RC
432

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

77
Library support for Kotlin coroutines with [multiplatform](#multiplatform) support.
88
This is a companion version for Kotlin `1.3.41` release.
@@ -81,7 +81,7 @@ Add dependencies (you can also add other modules that you need):
8181
<dependency>
8282
<groupId>org.jetbrains.kotlinx</groupId>
8383
<artifactId>kotlinx-coroutines-core</artifactId>
84-
<version>1.3.0-RC</version>
84+
<version>1.3.0-RC2</version>
8585
</dependency>
8686
```
8787

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

100100
```groovy
101101
dependencies {
102-
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.3.0-RC'
102+
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.3.0-RC2'
103103
}
104104
```
105105

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

126126
```groovy
127127
dependencies {
128-
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.3.0-RC")
128+
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.3.0-RC2")
129129
}
130130
```
131131

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

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

155155
```groovy
156-
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.3.0-RC'
156+
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.3.0-RC2'
157157
```
158158

159159
This gives you access to Android [Dispatchers.Main](https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-android/kotlinx.coroutines.android/kotlinx.coroutines.-dispatchers/index.html)
@@ -172,15 +172,15 @@ R8 is a replacement for ProGuard in Android ecosystem, it is enabled by default
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.0-RC/jar)
175+
[`kotlinx-coroutines-core-js`](https://search.maven.org/artifact/org.jetbrains.kotlinx/kotlinx-coroutines-core-js/1.3.0-RC2/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.0-RC/jar)
183+
[`kotlinx-coroutines-core-native`](https://search.maven.org/artifact/org.jetbrains.kotlinx/kotlinx-coroutines-core-native/1.3.0-RC2/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
@@ -1,5 +1,5 @@
11
# Kotlin
2-
version=1.3.0-RC-SNAPSHOT
2+
version=1.3.0-RC2-SNAPSHOT
33
group=org.jetbrains.kotlinx
44
kotlin_version=1.3.41
55

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-RC'
21+
testImplementation 'org.jetbrains.kotlinx:kotlinx-coroutines-debug:1.3.0-RC2'
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-RC.jar`.
60+
You can run your application with an additional argument: `-javaagent:kotlinx-coroutines-debug-1.3.0-RC2.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-RC'
12+
testImplementation 'org.jetbrains.kotlinx:kotlinx-coroutines-test:1.3.0-RC2'
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-RC"
168+
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:1.3.0-RC2"
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.41
22-
coroutines_version=1.3.0-RC
22+
coroutines_version=1.3.0-RC2
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.41
22-
coroutines_version=1.3.0-RC
22+
coroutines_version=1.3.0-RC2
2323

0 commit comments

Comments
 (0)