From 985f56e54060d05387d25319e630f39e2cce5d5d Mon Sep 17 00:00:00 2001 From: Roman Elizarov Date: Thu, 25 Jan 2018 00:21:52 +0300 Subject: [PATCH] Version 0.22 --- CHANGES.md | 9 +++++++++ README.md | 6 +++--- gradle.properties | 2 +- ui/coroutines-guide-ui.md | 2 +- .../animation-app/gradle.properties | 2 +- .../example-app/app/build.gradle | 2 +- .../example-app/gradle.properties | 2 +- 7 files changed, 17 insertions(+), 8 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index ae90cbe479..b6f9ab2d74 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,5 +1,14 @@ # Change log for kotlinx.coroutines +## Version 0.22 + +* Migrated to Kotlin 1.2.20 +* Introduced stable public API for `AbstractCoroutine`: + * Implements `Job`, `Continuation`, and `CoroutineScope`. + * Has overridable `onStart`, `onCancellation`, `onCompleted` and `onCompletedExceptionally` functions. + * Reactive integration modules are now implemented using public API only. + * Notifies onXXX before all the installed handlers, so `launch` handles uncaught exceptions before "joining" coroutines wakeup (see #208). + ## Version 0.21.2 * Fixed `openSubscription` extension for reactive `Publisher`/`Observable`/`Flowable` when used with `select { ... }` and added an optional `request` parameter to specify how many elements are requested from publisher in advance on subscription (see #197). diff --git a/README.md b/README.md index c776bf48b4..fecd177c4a 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.21.2) ](https://bintray.com/kotlin/kotlinx/kotlinx.coroutines/0.21.2) +[![Download](https://api.bintray.com/packages/kotlin/kotlinx/kotlinx.coroutines/images/download.svg?version=0.22) ](https://bintray.com/kotlin/kotlinx/kotlinx.coroutines/0.22) Library support for Kotlin coroutines in [Kotlin/JVM](core/README.md) and @@ -64,7 +64,7 @@ Add dependencies (you can also add other modules that you need): org.jetbrains.kotlinx kotlinx-coroutines-core - 0.21.2 + 0.22 ``` @@ -81,7 +81,7 @@ And make sure that you use the latest Kotlin version: Add dependencies (you can also add other modules that you need): ```groovy -compile 'org.jetbrains.kotlinx:kotlinx-coroutines-core:0.21.2' +compile 'org.jetbrains.kotlinx:kotlinx-coroutines-core:0.22' ``` And make sure that you use the latest Kotlin version: diff --git a/gradle.properties b/gradle.properties index d8dc8af027..630435fb71 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,4 +1,4 @@ -version = 0.21.2-SNAPSHOT +version = 0.22-SNAPSHOT kotlin_version = 1.2.20 junit_version = 4.12 diff --git a/ui/coroutines-guide-ui.md b/ui/coroutines-guide-ui.md index 325007358e..e31d4ad955 100644 --- a/ui/coroutines-guide-ui.md +++ b/ui/coroutines-guide-ui.md @@ -173,7 +173,7 @@ Add dependencies on `kotlinx-coroutines-android` module to the `dependencies { . `app/build.gradle` file: ```groovy -compile "org.jetbrains.kotlinx:kotlinx-coroutines-android:0.21.2" +compile "org.jetbrains.kotlinx:kotlinx-coroutines-android:0.22" ``` 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 601d000612..15423732b1 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.20 -coroutines_version = 0.21.2 +coroutines_version = 0.22 diff --git a/ui/kotlinx-coroutines-android/example-app/app/build.gradle b/ui/kotlinx-coroutines-android/example-app/app/build.gradle index 17f5bf3e4d..403663f405 100644 --- a/ui/kotlinx-coroutines-android/example-app/app/build.gradle +++ b/ui/kotlinx-coroutines-android/example-app/app/build.gradle @@ -31,5 +31,5 @@ dependencies { compile 'com.android.support:design:25.4.0' testCompile 'junit:junit:4.12' compile "org.jetbrains.kotlin:kotlin-stdlib-jre7:$kotlin_version" - compile "org.jetbrains.kotlinx:kotlinx-coroutines-android:0.21.2" + compile "org.jetbrains.kotlinx:kotlinx-coroutines-android:0.22" } diff --git a/ui/kotlinx-coroutines-android/example-app/gradle.properties b/ui/kotlinx-coroutines-android/example-app/gradle.properties index 601d000612..15423732b1 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.20 -coroutines_version = 0.21.2 +coroutines_version = 0.22