Version 0.22.1
diff --git a/CHANGES.md b/CHANGES.md
index b6f9ab2..d78e180 100644
--- a/CHANGES.md
+++ b/CHANGES.md
@@ -1,8 +1,17 @@
# Change log for kotlinx.coroutines
+## Version 0.22.1
+
+* Migrated to Kotlin 1.2.21.
+* Improved `actor` builder documentation (see #210) and fixed bugs in rendered documentation due to multiplatform.
+* Fixed `runBlocking` to properly support specified dispatchers (see #209).
+* Fixed data race in `Job` implementation (it was hanging at `LockFreeLinkedList.helpDelete` on certain stress tests).
+* `AbstractCoroutine.onCancellation` is invoked before cancellation handler that is set via `invokeOnCompletion`.
+* Ensure that `launch` handles uncaught exception before another coroutine that uses `join` on it resumes (see #208).
+
## Version 0.22
-* Migrated to Kotlin 1.2.20
+* 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.
diff --git a/README.md b/README.md
index 00ee52b..f43d212 100644
--- a/README.md
+++ b/README.md
@@ -2,7 +2,7 @@
[](https://confluence.jetbrains.com/display/ALL/JetBrains+on+GitHub)
[](http://www.apache.org/licenses/LICENSE-2.0)
-[ ](https://bintray.com/kotlin/kotlinx/kotlinx.coroutines/0.22)
+[ ](https://bintray.com/kotlin/kotlinx/kotlinx.coroutines/0.22.1)
Library support for Kotlin coroutines in
[Kotlin/JVM](core/README.md) and
@@ -64,7 +64,7 @@
<dependency>
<groupId>org.jetbrains.kotlinx</groupId>
<artifactId>kotlinx-coroutines-core</artifactId>
- <version>0.22</version>
+ <version>0.22.1</version>
</dependency>
```
@@ -81,7 +81,7 @@
Add dependencies (you can also add other modules that you need):
```groovy
-compile 'org.jetbrains.kotlinx:kotlinx-coroutines-core:0.22'
+compile 'org.jetbrains.kotlinx:kotlinx-coroutines-core:0.22.1'
```
And make sure that you use the latest Kotlin version:
diff --git a/gradle.properties b/gradle.properties
index 817dd92..057a49d 100644
--- a/gradle.properties
+++ b/gradle.properties
@@ -1,4 +1,4 @@
-version = 0.22-SNAPSHOT
+version = 0.22.1-SNAPSHOT
kotlin_version = 1.2.21
junit_version = 4.12
diff --git a/ui/coroutines-guide-ui.md b/ui/coroutines-guide-ui.md
index e31d4ad..c636478 100644
--- a/ui/coroutines-guide-ui.md
+++ b/ui/coroutines-guide-ui.md
@@ -173,7 +173,7 @@
`app/build.gradle` file:
```groovy
-compile "org.jetbrains.kotlinx:kotlinx-coroutines-android:0.22"
+compile "org.jetbrains.kotlinx:kotlinx-coroutines-android:0.22.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 412f7ba..82c964c 100644
--- a/ui/kotlinx-coroutines-android/animation-app/gradle.properties
+++ b/ui/kotlinx-coroutines-android/animation-app/gradle.properties
@@ -19,5 +19,5 @@
kotlin.coroutines=enable
kotlin_version = 1.2.21
-coroutines_version = 0.22
+coroutines_version = 0.22.1
diff --git a/ui/kotlinx-coroutines-android/example-app/app/build.gradle b/ui/kotlinx-coroutines-android/example-app/app/build.gradle
index 403663f..5746da7 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 @@
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.22"
+ compile "org.jetbrains.kotlinx:kotlinx-coroutines-android:0.22.1"
}
diff --git a/ui/kotlinx-coroutines-android/example-app/gradle.properties b/ui/kotlinx-coroutines-android/example-app/gradle.properties
index 412f7ba..82c964c 100644
--- a/ui/kotlinx-coroutines-android/example-app/gradle.properties
+++ b/ui/kotlinx-coroutines-android/example-app/gradle.properties
@@ -19,5 +19,5 @@
kotlin.coroutines=enable
kotlin_version = 1.2.21
-coroutines_version = 0.22
+coroutines_version = 0.22.1