diff options
-rw-r--r-- | CHANGES.md | 19 | ||||
-rw-r--r-- | README.md | 4 | ||||
-rw-r--r-- | benchmarks/pom.xml | 2 | ||||
-rw-r--r-- | integration/kotlinx-coroutines-guava/pom.xml | 2 | ||||
-rw-r--r-- | integration/kotlinx-coroutines-jdk8/pom.xml | 2 | ||||
-rw-r--r-- | integration/kotlinx-coroutines-nio/pom.xml | 2 | ||||
-rw-r--r-- | integration/kotlinx-coroutines-quasar/pom.xml | 2 | ||||
-rw-r--r-- | knit/pom.xml | 2 | ||||
-rw-r--r-- | kotlinx-coroutines-core/pom.xml | 2 | ||||
-rw-r--r-- | pom.xml | 2 | ||||
-rw-r--r-- | reactive/kotlinx-coroutines-reactive/pom.xml | 2 | ||||
-rw-r--r-- | reactive/kotlinx-coroutines-reactor/pom.xml | 2 | ||||
-rw-r--r-- | reactive/kotlinx-coroutines-rx-example/pom.xml | 2 | ||||
-rw-r--r-- | reactive/kotlinx-coroutines-rx1/pom.xml | 2 | ||||
-rw-r--r-- | reactive/kotlinx-coroutines-rx2/pom.xml | 2 | ||||
-rw-r--r-- | site/pom.xml | 2 | ||||
-rw-r--r-- | ui/coroutines-guide-ui.md | 2 | ||||
-rw-r--r-- | ui/kotlinx-coroutines-android/example-app/app/build.gradle | 2 | ||||
-rw-r--r-- | ui/kotlinx-coroutines-android/pom.xml | 2 | ||||
-rw-r--r-- | ui/kotlinx-coroutines-javafx/pom.xml | 2 | ||||
-rw-r--r-- | ui/kotlinx-coroutines-swing/pom.xml | 2 |
21 files changed, 40 insertions, 21 deletions
@@ -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). @@ -55,7 +55,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.17</version> + <version>0.18</version> </dependency> ``` @@ -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 70aba096..fde11e71 100644 --- a/benchmarks/pom.xml +++ b/benchmarks/pom.xml @@ -24,7 +24,7 @@ <parent> <groupId>org.jetbrains.kotlinx</groupId> <artifactId>kotlinx-coroutines</artifactId> - <version>0.17-SNAPSHOT</version> + <version>0.18-SNAPSHOT</version> </parent> <artifactId>benchmarks</artifactId> diff --git a/integration/kotlinx-coroutines-guava/pom.xml b/integration/kotlinx-coroutines-guava/pom.xml index 2cf69b2d..3f117a5e 100644 --- a/integration/kotlinx-coroutines-guava/pom.xml +++ b/integration/kotlinx-coroutines-guava/pom.xml @@ -21,7 +21,7 @@ <parent> <groupId>org.jetbrains.kotlinx</groupId> <artifactId>kotlinx-coroutines</artifactId> - <version>0.17-SNAPSHOT</version> + <version>0.18-SNAPSHOT</version> <relativePath>../../pom.xml</relativePath> </parent> diff --git a/integration/kotlinx-coroutines-jdk8/pom.xml b/integration/kotlinx-coroutines-jdk8/pom.xml index 5d0b5731..c3287fc9 100644 --- a/integration/kotlinx-coroutines-jdk8/pom.xml +++ b/integration/kotlinx-coroutines-jdk8/pom.xml @@ -21,7 +21,7 @@ <parent> <groupId>org.jetbrains.kotlinx</groupId> <artifactId>kotlinx-coroutines</artifactId> - <version>0.17-SNAPSHOT</version> + <version>0.18-SNAPSHOT</version> <relativePath>../../pom.xml</relativePath> </parent> diff --git a/integration/kotlinx-coroutines-nio/pom.xml b/integration/kotlinx-coroutines-nio/pom.xml index f107a22a..94ac22db 100644 --- a/integration/kotlinx-coroutines-nio/pom.xml +++ b/integration/kotlinx-coroutines-nio/pom.xml @@ -22,7 +22,7 @@ <parent> <groupId>org.jetbrains.kotlinx</groupId> <artifactId>kotlinx-coroutines</artifactId> - <version>0.17-SNAPSHOT</version> + <version>0.18-SNAPSHOT</version> <relativePath>../../pom.xml</relativePath> </parent> diff --git a/integration/kotlinx-coroutines-quasar/pom.xml b/integration/kotlinx-coroutines-quasar/pom.xml index 4666ad0e..93cd255f 100644 --- a/integration/kotlinx-coroutines-quasar/pom.xml +++ b/integration/kotlinx-coroutines-quasar/pom.xml @@ -21,7 +21,7 @@ <parent> <groupId>org.jetbrains.kotlinx</groupId> <artifactId>kotlinx-coroutines</artifactId> - <version>0.17-SNAPSHOT</version> + <version>0.18-SNAPSHOT</version> <relativePath>../../pom.xml</relativePath> </parent> diff --git a/knit/pom.xml b/knit/pom.xml index 826070e1..c510769f 100644 --- a/knit/pom.xml +++ b/knit/pom.xml @@ -21,7 +21,7 @@ <parent> <groupId>org.jetbrains.kotlinx</groupId> <artifactId>kotlinx-coroutines</artifactId> - <version>0.17-SNAPSHOT</version> + <version>0.18-SNAPSHOT</version> </parent> <artifactId>knit</artifactId> diff --git a/kotlinx-coroutines-core/pom.xml b/kotlinx-coroutines-core/pom.xml index b78e7411..4858b7af 100644 --- a/kotlinx-coroutines-core/pom.xml +++ b/kotlinx-coroutines-core/pom.xml @@ -22,7 +22,7 @@ <parent> <groupId>org.jetbrains.kotlinx</groupId> <artifactId>kotlinx-coroutines</artifactId> - <version>0.17-SNAPSHOT</version> + <version>0.18-SNAPSHOT</version> </parent> <artifactId>kotlinx-coroutines-core</artifactId> @@ -23,7 +23,7 @@ <groupId>org.jetbrains.kotlinx</groupId> <artifactId>kotlinx-coroutines</artifactId> - <version>0.17-SNAPSHOT</version> + <version>0.18-SNAPSHOT</version> <packaging>pom</packaging> <description>Coroutines support libraries for Kotlin 1.1</description> diff --git a/reactive/kotlinx-coroutines-reactive/pom.xml b/reactive/kotlinx-coroutines-reactive/pom.xml index df0f8873..c6b56f94 100644 --- a/reactive/kotlinx-coroutines-reactive/pom.xml +++ b/reactive/kotlinx-coroutines-reactive/pom.xml @@ -22,7 +22,7 @@ <parent> <groupId>org.jetbrains.kotlinx</groupId> <artifactId>kotlinx-coroutines</artifactId> - <version>0.17-SNAPSHOT</version> + <version>0.18-SNAPSHOT</version> <relativePath>../../pom.xml</relativePath> </parent> diff --git a/reactive/kotlinx-coroutines-reactor/pom.xml b/reactive/kotlinx-coroutines-reactor/pom.xml index ba565fac..cf5a3965 100644 --- a/reactive/kotlinx-coroutines-reactor/pom.xml +++ b/reactive/kotlinx-coroutines-reactor/pom.xml @@ -23,7 +23,7 @@ <parent> <groupId>org.jetbrains.kotlinx</groupId> <artifactId>kotlinx-coroutines</artifactId> - <version>0.17-SNAPSHOT</version> + <version>0.18-SNAPSHOT</version> <relativePath>../../pom.xml</relativePath> </parent> diff --git a/reactive/kotlinx-coroutines-rx-example/pom.xml b/reactive/kotlinx-coroutines-rx-example/pom.xml index 9f8bbe5c..eb7eb03f 100644 --- a/reactive/kotlinx-coroutines-rx-example/pom.xml +++ b/reactive/kotlinx-coroutines-rx-example/pom.xml @@ -22,7 +22,7 @@ <parent> <groupId>org.jetbrains.kotlinx</groupId> <artifactId>kotlinx-coroutines</artifactId> - <version>0.17-SNAPSHOT</version> + <version>0.18-SNAPSHOT</version> <relativePath>../../pom.xml</relativePath> </parent> diff --git a/reactive/kotlinx-coroutines-rx1/pom.xml b/reactive/kotlinx-coroutines-rx1/pom.xml index 7d54ddba..cd6f72c1 100644 --- a/reactive/kotlinx-coroutines-rx1/pom.xml +++ b/reactive/kotlinx-coroutines-rx1/pom.xml @@ -22,7 +22,7 @@ <parent> <groupId>org.jetbrains.kotlinx</groupId> <artifactId>kotlinx-coroutines</artifactId> - <version>0.17-SNAPSHOT</version> + <version>0.18-SNAPSHOT</version> <relativePath>../../pom.xml</relativePath> </parent> diff --git a/reactive/kotlinx-coroutines-rx2/pom.xml b/reactive/kotlinx-coroutines-rx2/pom.xml index 57b7b780..05ccd857 100644 --- a/reactive/kotlinx-coroutines-rx2/pom.xml +++ b/reactive/kotlinx-coroutines-rx2/pom.xml @@ -22,7 +22,7 @@ <parent> <groupId>org.jetbrains.kotlinx</groupId> <artifactId>kotlinx-coroutines</artifactId> - <version>0.17-SNAPSHOT</version> + <version>0.18-SNAPSHOT</version> <relativePath>../../pom.xml</relativePath> </parent> diff --git a/site/pom.xml b/site/pom.xml index 4ce3e167..3ebcd0c7 100644 --- a/site/pom.xml +++ b/site/pom.xml @@ -22,7 +22,7 @@ <parent> <groupId>org.jetbrains.kotlinx</groupId> <artifactId>kotlinx-coroutines</artifactId> - <version>0.17-SNAPSHOT</version> + <version>0.18-SNAPSHOT</version> </parent> <artifactId>kotlinx-coroutines-site</artifactId> diff --git a/ui/coroutines-guide-ui.md b/ui/coroutines-guide-ui.md index 6c1bda45..91f32621 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 f5100af6..b6bad79d 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 df61b444..e79e37a2 100644 --- a/ui/kotlinx-coroutines-android/pom.xml +++ b/ui/kotlinx-coroutines-android/pom.xml @@ -22,7 +22,7 @@ <parent> <groupId>org.jetbrains.kotlinx</groupId> <artifactId>kotlinx-coroutines</artifactId> - <version>0.17-SNAPSHOT</version> + <version>0.18-SNAPSHOT</version> <relativePath>../../pom.xml</relativePath> </parent> diff --git a/ui/kotlinx-coroutines-javafx/pom.xml b/ui/kotlinx-coroutines-javafx/pom.xml index 833f1423..9210e10d 100644 --- a/ui/kotlinx-coroutines-javafx/pom.xml +++ b/ui/kotlinx-coroutines-javafx/pom.xml @@ -22,7 +22,7 @@ <parent> <groupId>org.jetbrains.kotlinx</groupId> <artifactId>kotlinx-coroutines</artifactId> - <version>0.17-SNAPSHOT</version> + <version>0.18-SNAPSHOT</version> <relativePath>../../pom.xml</relativePath> </parent> diff --git a/ui/kotlinx-coroutines-swing/pom.xml b/ui/kotlinx-coroutines-swing/pom.xml index 1480b8ac..82edd538 100644 --- a/ui/kotlinx-coroutines-swing/pom.xml +++ b/ui/kotlinx-coroutines-swing/pom.xml @@ -22,7 +22,7 @@ <parent> <groupId>org.jetbrains.kotlinx</groupId> <artifactId>kotlinx-coroutines</artifactId> - <version>0.17-SNAPSHOT</version> + <version>0.18-SNAPSHOT</version> <relativePath>../../pom.xml</relativePath> </parent> |