Skip to content

Commit

Permalink
Version 0.22
Browse files Browse the repository at this point in the history
  • Loading branch information
elizarov committed Jan 24, 2018
1 parent dd3cd27 commit 985f56e
Show file tree
Hide file tree
Showing 7 changed files with 17 additions and 8 deletions.
9 changes: 9 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -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).
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -64,7 +64,7 @@ Add dependencies (you can also add other modules that you need):
<dependency>
<groupId>org.jetbrains.kotlinx</groupId>
<artifactId>kotlinx-coroutines-core</artifactId>
<version>0.21.2</version>
<version>0.22</version>
</dependency>
```

Expand All @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version = 0.21.2-SNAPSHOT
version = 0.22-SNAPSHOT

kotlin_version = 1.2.20
junit_version = 4.12
Expand Down
2 changes: 1 addition & 1 deletion ui/coroutines-guide-ui.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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

2 changes: 1 addition & 1 deletion ui/kotlinx-coroutines-android/example-app/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 985f56e

Please sign in to comment.