diff --git a/CHANGES.md b/CHANGES.md
index b78a8f8558..b5be24eda1 100644
--- a/CHANGES.md
+++ b/CHANGES.md
@@ -1,5 +1,24 @@
# Change log for kotlinx.coroutines
+## Version 0.18
+
+* Kotlin 1.1.4 is required to use this version, which enables:
+ * `withLock` and `consumeEach` functions are now inline suspend functions.
+ * `JobSupport` class implementation is optimized (one fewer field).
+* `TimeoutException` is public (see #89).
+* Improvements to `Mutex` (courtesy of @fvasco):
+ * Introduced `holdsLock` (see #92).
+ * Improved documentation on `Mutex` fairness (see #90).
+* Fixed NPE when `ArrayBroadcastChannel` is closed concurrently with receive (see #97).
+* Fixed bug in internal class LockFreeLinkedList that resulted in ISE under stress in extremely rare circumstances.
+* Integrations:
+ * [quasar](integration/kotlinx-coroutines-quasar): Introduced integration with suspendable JVM functions
+ that are instrumented with [Parallel Universe Quasar](http://docs.paralleluniverse.co/quasar/)
+ (thanks to the help of @pron).
+ * [reactor](reactive/kotlinx-coroutines-reactor): Replaced deprecated `setCancellation` with `onDipose` and
+ updated to Aluminium-SR3 release (courtesy of @yxf07, see #96)
+ * [jdk8](integration/kotlinx-coroutines-jdk8): Added adapters for `java.time` classes (courtesy of @fvasco, see #93)
+
## Version 0.17
* `CompletableDeferred` is introduced as a set-once event-like communication primitive (see #70).
diff --git a/README.md b/README.md
index c0b41c5697..d342945da4 100644
--- a/README.md
+++ b/README.md
@@ -55,7 +55,7 @@ Add dependencies (you can also add other modules that you need):
org.jetbrains.kotlinx
kotlinx-coroutines-core
- 0.17
+ 0.18
```
@@ -80,7 +80,7 @@ repositories {
Add dependencies (you can also add other modules that you need):
```groovy
-compile 'org.jetbrains.kotlinx:kotlinx-coroutines-core:0.17'
+compile 'org.jetbrains.kotlinx:kotlinx-coroutines-core:0.18'
```
And make sure that you use the right Kotlin version:
diff --git a/benchmarks/pom.xml b/benchmarks/pom.xml
index 70aba0969a..fde11e71e0 100644
--- a/benchmarks/pom.xml
+++ b/benchmarks/pom.xml
@@ -24,7 +24,7 @@
org.jetbrains.kotlinx
kotlinx-coroutines
- 0.17-SNAPSHOT
+ 0.18-SNAPSHOT
benchmarks
diff --git a/integration/kotlinx-coroutines-guava/pom.xml b/integration/kotlinx-coroutines-guava/pom.xml
index 2cf69b2d78..3f117a5e4a 100644
--- a/integration/kotlinx-coroutines-guava/pom.xml
+++ b/integration/kotlinx-coroutines-guava/pom.xml
@@ -21,7 +21,7 @@
org.jetbrains.kotlinx
kotlinx-coroutines
- 0.17-SNAPSHOT
+ 0.18-SNAPSHOT
../../pom.xml
diff --git a/integration/kotlinx-coroutines-jdk8/pom.xml b/integration/kotlinx-coroutines-jdk8/pom.xml
index 5d0b5731e7..c3287fc951 100644
--- a/integration/kotlinx-coroutines-jdk8/pom.xml
+++ b/integration/kotlinx-coroutines-jdk8/pom.xml
@@ -21,7 +21,7 @@
org.jetbrains.kotlinx
kotlinx-coroutines
- 0.17-SNAPSHOT
+ 0.18-SNAPSHOT
../../pom.xml
diff --git a/integration/kotlinx-coroutines-nio/pom.xml b/integration/kotlinx-coroutines-nio/pom.xml
index f107a22a91..94ac22db67 100644
--- a/integration/kotlinx-coroutines-nio/pom.xml
+++ b/integration/kotlinx-coroutines-nio/pom.xml
@@ -22,7 +22,7 @@
org.jetbrains.kotlinx
kotlinx-coroutines
- 0.17-SNAPSHOT
+ 0.18-SNAPSHOT
../../pom.xml
diff --git a/integration/kotlinx-coroutines-quasar/pom.xml b/integration/kotlinx-coroutines-quasar/pom.xml
index 4666ad0efc..93cd255f46 100644
--- a/integration/kotlinx-coroutines-quasar/pom.xml
+++ b/integration/kotlinx-coroutines-quasar/pom.xml
@@ -21,7 +21,7 @@
org.jetbrains.kotlinx
kotlinx-coroutines
- 0.17-SNAPSHOT
+ 0.18-SNAPSHOT
../../pom.xml
diff --git a/knit/pom.xml b/knit/pom.xml
index 826070e100..c510769ff4 100644
--- a/knit/pom.xml
+++ b/knit/pom.xml
@@ -21,7 +21,7 @@
org.jetbrains.kotlinx
kotlinx-coroutines
- 0.17-SNAPSHOT
+ 0.18-SNAPSHOT
knit
diff --git a/kotlinx-coroutines-core/pom.xml b/kotlinx-coroutines-core/pom.xml
index b78e741167..4858b7afcc 100644
--- a/kotlinx-coroutines-core/pom.xml
+++ b/kotlinx-coroutines-core/pom.xml
@@ -22,7 +22,7 @@
org.jetbrains.kotlinx
kotlinx-coroutines
- 0.17-SNAPSHOT
+ 0.18-SNAPSHOT
kotlinx-coroutines-core
diff --git a/pom.xml b/pom.xml
index 849e790479..1a35869f12 100644
--- a/pom.xml
+++ b/pom.xml
@@ -23,7 +23,7 @@
org.jetbrains.kotlinx
kotlinx-coroutines
- 0.17-SNAPSHOT
+ 0.18-SNAPSHOT
pom
Coroutines support libraries for Kotlin 1.1
diff --git a/reactive/kotlinx-coroutines-reactive/pom.xml b/reactive/kotlinx-coroutines-reactive/pom.xml
index df0f8873fc..c6b56f9446 100644
--- a/reactive/kotlinx-coroutines-reactive/pom.xml
+++ b/reactive/kotlinx-coroutines-reactive/pom.xml
@@ -22,7 +22,7 @@
org.jetbrains.kotlinx
kotlinx-coroutines
- 0.17-SNAPSHOT
+ 0.18-SNAPSHOT
../../pom.xml
diff --git a/reactive/kotlinx-coroutines-reactor/pom.xml b/reactive/kotlinx-coroutines-reactor/pom.xml
index ba565fac05..cf5a3965c7 100644
--- a/reactive/kotlinx-coroutines-reactor/pom.xml
+++ b/reactive/kotlinx-coroutines-reactor/pom.xml
@@ -23,7 +23,7 @@
org.jetbrains.kotlinx
kotlinx-coroutines
- 0.17-SNAPSHOT
+ 0.18-SNAPSHOT
../../pom.xml
diff --git a/reactive/kotlinx-coroutines-rx-example/pom.xml b/reactive/kotlinx-coroutines-rx-example/pom.xml
index 9f8bbe5c71..eb7eb03fa9 100644
--- a/reactive/kotlinx-coroutines-rx-example/pom.xml
+++ b/reactive/kotlinx-coroutines-rx-example/pom.xml
@@ -22,7 +22,7 @@
org.jetbrains.kotlinx
kotlinx-coroutines
- 0.17-SNAPSHOT
+ 0.18-SNAPSHOT
../../pom.xml
diff --git a/reactive/kotlinx-coroutines-rx1/pom.xml b/reactive/kotlinx-coroutines-rx1/pom.xml
index 7d54ddba8e..cd6f72c156 100644
--- a/reactive/kotlinx-coroutines-rx1/pom.xml
+++ b/reactive/kotlinx-coroutines-rx1/pom.xml
@@ -22,7 +22,7 @@
org.jetbrains.kotlinx
kotlinx-coroutines
- 0.17-SNAPSHOT
+ 0.18-SNAPSHOT
../../pom.xml
diff --git a/reactive/kotlinx-coroutines-rx2/pom.xml b/reactive/kotlinx-coroutines-rx2/pom.xml
index 57b7b78034..05ccd85716 100644
--- a/reactive/kotlinx-coroutines-rx2/pom.xml
+++ b/reactive/kotlinx-coroutines-rx2/pom.xml
@@ -22,7 +22,7 @@
org.jetbrains.kotlinx
kotlinx-coroutines
- 0.17-SNAPSHOT
+ 0.18-SNAPSHOT
../../pom.xml
diff --git a/site/pom.xml b/site/pom.xml
index 4ce3e16733..3ebcd0c78f 100644
--- a/site/pom.xml
+++ b/site/pom.xml
@@ -22,7 +22,7 @@
org.jetbrains.kotlinx
kotlinx-coroutines
- 0.17-SNAPSHOT
+ 0.18-SNAPSHOT
kotlinx-coroutines-site
diff --git a/ui/coroutines-guide-ui.md b/ui/coroutines-guide-ui.md
index 6c1bda45b9..91f32621b5 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.17"
+compile "org.jetbrains.kotlinx:kotlinx-coroutines-android:0.18"
```
Coroutines are experimental feature in Kotlin.
diff --git a/ui/kotlinx-coroutines-android/example-app/app/build.gradle b/ui/kotlinx-coroutines-android/example-app/app/build.gradle
index f5100af6e6..b6bad79d21 100644
--- a/ui/kotlinx-coroutines-android/example-app/app/build.gradle
+++ b/ui/kotlinx-coroutines-android/example-app/app/build.gradle
@@ -36,7 +36,7 @@ dependencies {
compile 'com.android.support:design:25.2.0'
testCompile 'junit:junit:4.12'
compile "org.jetbrains.kotlin:kotlin-stdlib-jre7:$kotlin_version"
- compile "org.jetbrains.kotlinx:kotlinx-coroutines-android:0.17"
+ compile "org.jetbrains.kotlinx:kotlinx-coroutines-android:0.18"
}
kotlin {
diff --git a/ui/kotlinx-coroutines-android/pom.xml b/ui/kotlinx-coroutines-android/pom.xml
index df61b44476..e79e37a243 100644
--- a/ui/kotlinx-coroutines-android/pom.xml
+++ b/ui/kotlinx-coroutines-android/pom.xml
@@ -22,7 +22,7 @@
org.jetbrains.kotlinx
kotlinx-coroutines
- 0.17-SNAPSHOT
+ 0.18-SNAPSHOT
../../pom.xml
diff --git a/ui/kotlinx-coroutines-javafx/pom.xml b/ui/kotlinx-coroutines-javafx/pom.xml
index 833f142373..9210e10da3 100644
--- a/ui/kotlinx-coroutines-javafx/pom.xml
+++ b/ui/kotlinx-coroutines-javafx/pom.xml
@@ -22,7 +22,7 @@
org.jetbrains.kotlinx
kotlinx-coroutines
- 0.17-SNAPSHOT
+ 0.18-SNAPSHOT
../../pom.xml
diff --git a/ui/kotlinx-coroutines-swing/pom.xml b/ui/kotlinx-coroutines-swing/pom.xml
index 1480b8ac1c..82edd538fd 100644
--- a/ui/kotlinx-coroutines-swing/pom.xml
+++ b/ui/kotlinx-coroutines-swing/pom.xml
@@ -22,7 +22,7 @@
org.jetbrains.kotlinx
kotlinx-coroutines
- 0.17-SNAPSHOT
+ 0.18-SNAPSHOT
../../pom.xml