From 82547f64d265740bb28b225f1a5fd09fecb37567 Mon Sep 17 00:00:00 2001 From: Vsevolod Tolstopyatov Date: Wed, 19 Sep 2018 16:54:17 +0300 Subject: [PATCH] Version 0.26.1 --- CHANGES.md | 7 +++++++ README.md | 8 ++++---- gradle.properties | 2 +- native/README.md | 2 +- ui/coroutines-guide-ui.md | 2 +- .../animation-app/gradle.properties | 2 +- .../example-app/gradle.properties | 2 +- 7 files changed, 16 insertions(+), 9 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index 66e0240038..e1d3d13227 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,5 +1,12 @@ # Change log for kotlinx.coroutines +## Version 0.26.1 +* Android `Main` dispatcher is `async` by default which may significantly improve UI performance. Contributed by @JakeWharton (see #427). +* Fixed bug when lazily-started coroutine with registered cancellation handler was concurrently started and cancelled. +* Improved termination sequence in IO dispatcher. +* Fixed bug with `CoroutineScope.plus` operator (see #559). +* Various fixes in the documentation. Thanks to @SUPERCILEX, @yorlov, @dualscyther and @soudmaijer! + ## Version 0.26.0 * Major rework of `kotlinx.coroutines` concurrency model (see #410 for a full explanation of the rationale behind this change): * All coroutine builders are now extensions on `CoroutineScope` and inherit its `coroutineContext`. Standalone builders are deprecated. diff --git a/README.md b/README.md index c373234bb3..d3ab70715d 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ [![official JetBrains project](http://jb.gg/badges/official.svg)](https://confluence.jetbrains.com/display/ALL/JetBrains+on+GitHub) [![GitHub license](https://img.shields.io/badge/license-Apache%20License%202.0-blue.svg?style=flat)](http://www.apache.org/licenses/LICENSE-2.0) -[![Download](https://api.bintray.com/packages/kotlin/kotlinx/kotlinx.coroutines/images/download.svg?version=0.26.0) ](https://bintray.com/kotlin/kotlinx/kotlinx.coroutines/0.26.0) +[![Download](https://api.bintray.com/packages/kotlin/kotlinx/kotlinx.coroutines/images/download.svg?version=0.26.1) ](https://bintray.com/kotlin/kotlinx/kotlinx.coroutines/0.26.1) Library support for Kotlin coroutines with [multiplatform](#multiplatform) support. This is a companion version for Kotlin 1.2.61 release. @@ -63,7 +63,7 @@ Add dependencies (you can also add other modules that you need): org.jetbrains.kotlinx kotlinx-coroutines-core - 0.26.0 + 0.26.1 ``` @@ -80,7 +80,7 @@ And make sure that you use the latest Kotlin version: Add dependencies (you can also add other modules that you need): ```groovy -implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core:0.26.0' +implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core:0.26.1' ``` And make sure that you use the latest Kotlin version: @@ -113,7 +113,7 @@ Add [`kotlinx-coroutines-android`](ui/kotlinx-coroutines-android) module as dependency when using `kotlinx.coroutines` on Android: ```groovy -implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:0.26.0' +implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:0.26.1' ``` This gives you access to Android [Dispatchers.Main](https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-android/kotlinx.coroutines.experimental.android/kotlinx.coroutines.experimental.-dispatchers/index.html) coroutine dispatcher and also makes sure that in case of crashed coroutine with unhandled exception this diff --git a/gradle.properties b/gradle.properties index 6ebb6c64f5..44d467712c 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,5 +1,5 @@ # Kotlin -version=0.26.0-SNAPSHOT +version=0.26.1-SNAPSHOT group=org.jetbrains.kotlinx kotlin_version=1.2.61 kotlin_native_version=0.8.2 diff --git a/native/README.md b/native/README.md index 722d5dfcc7..eec1af1b9e 100644 --- a/native/README.md +++ b/native/README.md @@ -42,7 +42,7 @@ repositories { } dependencies { - implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core-native:0.26.0' + implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core-native:0.26.1' } sourceSets { diff --git a/ui/coroutines-guide-ui.md b/ui/coroutines-guide-ui.md index 6db7a82db9..c291d29b8e 100644 --- a/ui/coroutines-guide-ui.md +++ b/ui/coroutines-guide-ui.md @@ -161,7 +161,7 @@ Add dependencies on `kotlinx-coroutines-android` module to the `dependencies { . `app/build.gradle` file: ```groovy -compile "org.jetbrains.kotlinx:kotlinx-coroutines-android:0.26.0" +compile "org.jetbrains.kotlinx:kotlinx-coroutines-android:0.26.1" ``` Coroutines are experimental feature in Kotlin. diff --git a/ui/kotlinx-coroutines-android/animation-app/gradle.properties b/ui/kotlinx-coroutines-android/animation-app/gradle.properties index 61a08bfbe3..0848d5af8b 100644 --- a/ui/kotlinx-coroutines-android/animation-app/gradle.properties +++ b/ui/kotlinx-coroutines-android/animation-app/gradle.properties @@ -19,5 +19,5 @@ org.gradle.jvmargs=-Xmx1536m kotlin.coroutines=enable kotlin_version=1.2.61 -coroutines_version=0.26.0 +coroutines_version=0.26.1 diff --git a/ui/kotlinx-coroutines-android/example-app/gradle.properties b/ui/kotlinx-coroutines-android/example-app/gradle.properties index 61a08bfbe3..0848d5af8b 100644 --- a/ui/kotlinx-coroutines-android/example-app/gradle.properties +++ b/ui/kotlinx-coroutines-android/example-app/gradle.properties @@ -19,5 +19,5 @@ org.gradle.jvmargs=-Xmx1536m kotlin.coroutines=enable kotlin_version=1.2.61 -coroutines_version=0.26.0 +coroutines_version=0.26.1