Skip to content

Commit 63b4673

Browse files
committed
Version 1.1.0-alpha
1 parent 1616676 commit 63b4673

File tree

8 files changed

+35
-10
lines changed

8 files changed

+35
-10
lines changed

CHANGES.md

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

3+
## Version 1.1.0-alpha
4+
5+
### Major improvements in coroutines testing and debugging
6+
* New module: [`kotlinx-coroutines-debug`](https://github.com/Kotlin/kotlinx.coroutines/blob/master/core/kotlinx-coroutines-debug/README.md). Debug agent that improves coroutines stacktraces, allows to print all active coroutines and its hierarchies and can be installed as Java agent.
7+
* New module: [`kotlinx-coroutines-test`](https://github.com/Kotlin/kotlinx.coroutines/blob/master/core/kotlinx-coroutines-test/README.md). Allows setting arbitrary `Dispatchers.Main` implementation for tests (#810).
8+
* Stacktrace recovery mechanism. Exceptions from coroutines are recovered from current coroutine stacktraces to simplify exception diagnostic. Enabled in debug mode, controlled by `kotlinx.coroutines.debug` system property (#493).
9+
10+
### Other improvements
11+
* `MainScope` factory and `CoroutineScope.cancel` extension (#829). One line `CoroutineScope` integration!
12+
* `CancellableContinuation` race between `resumeWithException` and `cancel` is addressed, exceptions during cancellation are no longer reported to exception handler (#830, #892).
13+
* `Dispatchers.Default` now consumes much less CPU on JVM (#840).
14+
* Better diagnostic and fast failure if an uninitialized dispatcher is used (#880).
15+
* Conflated channel becomes linearizable.
16+
* Fixed inconsistent coroutines state when the result of the coroutine had type `DisposableHandle` (#835).
17+
* Fixed `JavaFx` initialization bug (#816).
18+
* `TimeoutCancellationException` is thrown by `withTimeout` instead of `CancellationException` if negative timeout is supplied (#870).
19+
* Kotlin/Native single-threaded workers support: coroutines can be safely used in multiple independent K/N workers.
20+
* jsdom support in `Dispatchers.Default` on JS.
21+
* rxFlowable generic parameter is now restricted with Any.
22+
* Guava 27 support in `kotlinx-coroutines-guava`.
23+
* Coroutines are now built with progressive mode.
24+
* Various fixes in the documentation.
25+
326
## Version 1.0.1
427

528
* Align `publisher` implementation with Reactive TCK.

README.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
[![official JetBrains project](http://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)](http://www.apache.org/licenses/LICENSE-2.0)
5-
[![Download](https://api.bintray.com/packages/kotlin/kotlinx/kotlinx.coroutines/images/download.svg?version=1.0.1) ](https://bintray.com/kotlin/kotlinx/kotlinx.coroutines/1.0.1)
5+
[![Download](https://api.bintray.com/packages/kotlin/kotlinx/kotlinx.coroutines/images/download.svg?version=1.1.0-alpha) ](https://bintray.com/kotlin/kotlinx/kotlinx.coroutines/1.1.0-alpha)
66

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

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

9393
```groovy
9494
dependencies {
95-
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.0.1'
95+
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.1.0-alpha'
9696
}
9797
```
9898

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

119119
```groovy
120120
dependencies {
121-
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.0.1")
121+
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.1.0-alpha")
122122
}
123123
```
124124

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

148148
```groovy
149-
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.0.1'
149+
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.1.0-alpha'
150150
```
151151
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)
152152
coroutine dispatcher and also makes sure that in case of crashed coroutine with unhandled exception this

bump-version.sh

+2
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ update_version() {
1616
}
1717

1818
update_version "README.md"
19+
update_version "core/kotlinx-coroutines-debug/README.md"
20+
update_version "core/kotlinx-coroutines-test/README.md"
1921
update_version "ui/coroutines-guide-ui.md"
2022
update_version "ui/coroutines-guide-ui.md"
2123
update_version "native/README.md"

gradle.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Kotlin
2-
version=1.0.1-SNAPSHOT
2+
version=1.1.0-alpha-SNAPSHOT
33
group=org.jetbrains.kotlinx
44
kotlin_version=1.3.0
55
kotlin_native_version=1.3.0-rc-208

native/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ repositories {
4242
}
4343
4444
dependencies {
45-
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core-native:1.0.1'
45+
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core-native:1.1.0-alpha'
4646
}
4747
4848
sourceSets {

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.0.1"
168+
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:1.1.0-alpha"
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.0
22-
coroutines_version=1.0.1
22+
coroutines_version=1.1.0-alpha
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.0
22-
coroutines_version=1.0.1
22+
coroutines_version=1.1.0-alpha
2323

0 commit comments

Comments
 (0)