Skip to content

Commit 2cbcd05

Browse files
committed
Version 1.2.0-alpha-2
1 parent d57bfa2 commit 2cbcd05

File tree

8 files changed

+19
-13
lines changed

8 files changed

+19
-13
lines changed

CHANGES.md

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

3+
## Version 1.2.0-alpha-2
4+
5+
This release contains major [feature preview](/docs/compatibility.md#flow-preview-api): cold streams aka `Flow` (#254).
6+
7+
Performance:
8+
* Performance of `Dispatcher.Main` initialization is significantly improved (#878).
9+
310
## Version 1.2.0-alpha
411

512
* Major debug agent improvements. Real stacktraces are merged with coroutine stacktraces for running coroutines, merging heuristic is improved, API is cleaned up and is on its road to stabilization (#997).
@@ -14,7 +21,6 @@
1421
* `withContext` checks cancellation on entering (#962).
1522
* Operator `invoke` on `CoroutineDispatcher` (#428).
1623
* Java 8 extensions for `delay` and `withTimeout` now properly handle too large values (#428).
17-
* Performance of `Dispatcher.Main` initialization is significantly improved (#878).
1824
* A global exception handler for fatal exceptions in coroutines is introduced (#808, #773).
1925
* Major improvements in cancellation machinery and exceptions delivery consistency. Cancel with custom exception is completely removed.
2026
* Kotlin version is updated to 1.3.21.

README.md

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

77
Library support for Kotlin coroutines with [multiplatform](#multiplatform) support.
88
This is a companion version for Kotlin `1.3.21` release.
@@ -75,7 +75,7 @@ Add dependencies (you can also add other modules that you need):
7575
<dependency>
7676
<groupId>org.jetbrains.kotlinx</groupId>
7777
<artifactId>kotlinx-coroutines-core</artifactId>
78-
<version>1.2.0-alpha</version>
78+
<version>1.2.0-alpha-2</version>
7979
</dependency>
8080
```
8181

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

9494
```groovy
9595
dependencies {
96-
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.2.0-alpha'
96+
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.2.0-alpha-2'
9797
}
9898
```
9999

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

120120
```groovy
121121
dependencies {
122-
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.2.0-alpha")
122+
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.2.0-alpha-2")
123123
}
124124
```
125125

@@ -147,7 +147,7 @@ Add [`kotlinx-coroutines-android`](ui/kotlinx-coroutines-android)
147147
module as dependency when using `kotlinx.coroutines` on Android:
148148

149149
```groovy
150-
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.2.0-alpha'
150+
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.2.0-alpha-2'
151151
```
152152
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)
153153
coroutine dispatcher and also makes sure that in case of crashed coroutine with unhandled exception this

gradle.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Kotlin
2-
version=1.2.0-alpha-SNAPSHOT
2+
version=1.2.0-alpha-2-SNAPSHOT
33
group=org.jetbrains.kotlinx
44
kotlin_version=1.3.21
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.2.0-alpha'
21+
testImplementation 'org.jetbrains.kotlinx:kotlinx-coroutines-debug:1.2.0-alpha-2'
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.2.0-alpha.jar`.
60+
You can run your application with an additional argument: `-javaagent:kotlinx-coroutines-debug-1.2.0-alpha-2.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
@@ -7,7 +7,7 @@ Test utilities for `kotlinx.coroutines`. Provides `Dispatchers.setMain` to overr
77
Add `kotlinx-coroutines-test` to your project test dependencies:
88
```
99
dependencies {
10-
testImplementation 'org.jetbrains.kotlinx:kotlinx-coroutines-test:1.2.0-alpha'
10+
testImplementation 'org.jetbrains.kotlinx:kotlinx-coroutines-test:1.2.0-alpha-2'
1111
}
1212
```
1313

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.2.0-alpha"
168+
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:1.2.0-alpha-2"
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.21
22-
coroutines_version=1.2.0-alpha
22+
coroutines_version=1.2.0-alpha-2
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.21
22-
coroutines_version=1.2.0-alpha
22+
coroutines_version=1.2.0-alpha-2
2323

0 commit comments

Comments
 (0)