Skip to content

Commit 5400ace

Browse files
committed
Version 0.18
1 parent e82dee7 commit 5400ace

File tree

21 files changed

+40
-21
lines changed

21 files changed

+40
-21
lines changed

CHANGES.md

+19
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,24 @@
11
# Change log for kotlinx.coroutines
22

3+
## Version 0.18
4+
5+
* Kotlin 1.1.4 is required to use this version, which enables:
6+
* `withLock` and `consumeEach` functions are now inline suspend functions.
7+
* `JobSupport` class implementation is optimized (one fewer field).
8+
* `TimeoutException` is public (see #89).
9+
* Improvements to `Mutex` (courtesy of @fvasco):
10+
* Introduced `holdsLock` (see #92).
11+
* Improved documentation on `Mutex` fairness (see #90).
12+
* Fixed NPE when `ArrayBroadcastChannel` is closed concurrently with receive (see #97).
13+
* Fixed bug in internal class LockFreeLinkedList that resulted in ISE under stress in extremely rare circumstances.
14+
* Integrations:
15+
* [quasar](integration/kotlinx-coroutines-quasar): Introduced integration with suspendable JVM functions
16+
that are instrumented with [Parallel Universe Quasar](http://docs.paralleluniverse.co/quasar/)
17+
(thanks to the help of @pron).
18+
* [reactor](reactive/kotlinx-coroutines-reactor): Replaced deprecated `setCancellation` with `onDipose` and
19+
updated to Aluminium-SR3 release (courtesy of @yxf07, see #96)
20+
* [jdk8](integration/kotlinx-coroutines-jdk8): Added adapters for `java.time` classes (courtesy of @fvasco, see #93)
21+
322
## Version 0.17
423

524
* `CompletableDeferred` is introduced as a set-once event-like communication primitive (see #70).

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ Add dependencies (you can also add other modules that you need):
5555
<dependency>
5656
<groupId>org.jetbrains.kotlinx</groupId>
5757
<artifactId>kotlinx-coroutines-core</artifactId>
58-
<version>0.17</version>
58+
<version>0.18</version>
5959
</dependency>
6060
```
6161

@@ -80,7 +80,7 @@ repositories {
8080
Add dependencies (you can also add other modules that you need):
8181

8282
```groovy
83-
compile 'org.jetbrains.kotlinx:kotlinx-coroutines-core:0.17'
83+
compile 'org.jetbrains.kotlinx:kotlinx-coroutines-core:0.18'
8484
```
8585

8686
And make sure that you use the right Kotlin version:

benchmarks/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
<parent>
2525
<groupId>org.jetbrains.kotlinx</groupId>
2626
<artifactId>kotlinx-coroutines</artifactId>
27-
<version>0.17-SNAPSHOT</version>
27+
<version>0.18-SNAPSHOT</version>
2828
</parent>
2929

3030
<artifactId>benchmarks</artifactId>

integration/kotlinx-coroutines-guava/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<parent>
2222
<groupId>org.jetbrains.kotlinx</groupId>
2323
<artifactId>kotlinx-coroutines</artifactId>
24-
<version>0.17-SNAPSHOT</version>
24+
<version>0.18-SNAPSHOT</version>
2525
<relativePath>../../pom.xml</relativePath>
2626
</parent>
2727

integration/kotlinx-coroutines-jdk8/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<parent>
2222
<groupId>org.jetbrains.kotlinx</groupId>
2323
<artifactId>kotlinx-coroutines</artifactId>
24-
<version>0.17-SNAPSHOT</version>
24+
<version>0.18-SNAPSHOT</version>
2525
<relativePath>../../pom.xml</relativePath>
2626
</parent>
2727

integration/kotlinx-coroutines-nio/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
<parent>
2323
<groupId>org.jetbrains.kotlinx</groupId>
2424
<artifactId>kotlinx-coroutines</artifactId>
25-
<version>0.17-SNAPSHOT</version>
25+
<version>0.18-SNAPSHOT</version>
2626
<relativePath>../../pom.xml</relativePath>
2727
</parent>
2828

integration/kotlinx-coroutines-quasar/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<parent>
2222
<groupId>org.jetbrains.kotlinx</groupId>
2323
<artifactId>kotlinx-coroutines</artifactId>
24-
<version>0.17-SNAPSHOT</version>
24+
<version>0.18-SNAPSHOT</version>
2525
<relativePath>../../pom.xml</relativePath>
2626
</parent>
2727

knit/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<parent>
2222
<groupId>org.jetbrains.kotlinx</groupId>
2323
<artifactId>kotlinx-coroutines</artifactId>
24-
<version>0.17-SNAPSHOT</version>
24+
<version>0.18-SNAPSHOT</version>
2525
</parent>
2626

2727
<artifactId>knit</artifactId>

kotlinx-coroutines-core/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
<parent>
2323
<groupId>org.jetbrains.kotlinx</groupId>
2424
<artifactId>kotlinx-coroutines</artifactId>
25-
<version>0.17-SNAPSHOT</version>
25+
<version>0.18-SNAPSHOT</version>
2626
</parent>
2727

2828
<artifactId>kotlinx-coroutines-core</artifactId>

pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323

2424
<groupId>org.jetbrains.kotlinx</groupId>
2525
<artifactId>kotlinx-coroutines</artifactId>
26-
<version>0.17-SNAPSHOT</version>
26+
<version>0.18-SNAPSHOT</version>
2727
<packaging>pom</packaging>
2828

2929
<description>Coroutines support libraries for Kotlin 1.1</description>

reactive/kotlinx-coroutines-reactive/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
<parent>
2323
<groupId>org.jetbrains.kotlinx</groupId>
2424
<artifactId>kotlinx-coroutines</artifactId>
25-
<version>0.17-SNAPSHOT</version>
25+
<version>0.18-SNAPSHOT</version>
2626
<relativePath>../../pom.xml</relativePath>
2727
</parent>
2828

reactive/kotlinx-coroutines-reactor/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
<parent>
2424
<groupId>org.jetbrains.kotlinx</groupId>
2525
<artifactId>kotlinx-coroutines</artifactId>
26-
<version>0.17-SNAPSHOT</version>
26+
<version>0.18-SNAPSHOT</version>
2727
<relativePath>../../pom.xml</relativePath>
2828
</parent>
2929

reactive/kotlinx-coroutines-rx-example/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
<parent>
2323
<groupId>org.jetbrains.kotlinx</groupId>
2424
<artifactId>kotlinx-coroutines</artifactId>
25-
<version>0.17-SNAPSHOT</version>
25+
<version>0.18-SNAPSHOT</version>
2626
<relativePath>../../pom.xml</relativePath>
2727
</parent>
2828

reactive/kotlinx-coroutines-rx1/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
<parent>
2323
<groupId>org.jetbrains.kotlinx</groupId>
2424
<artifactId>kotlinx-coroutines</artifactId>
25-
<version>0.17-SNAPSHOT</version>
25+
<version>0.18-SNAPSHOT</version>
2626
<relativePath>../../pom.xml</relativePath>
2727
</parent>
2828

reactive/kotlinx-coroutines-rx2/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
<parent>
2323
<groupId>org.jetbrains.kotlinx</groupId>
2424
<artifactId>kotlinx-coroutines</artifactId>
25-
<version>0.17-SNAPSHOT</version>
25+
<version>0.18-SNAPSHOT</version>
2626
<relativePath>../../pom.xml</relativePath>
2727
</parent>
2828

site/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
<parent>
2323
<groupId>org.jetbrains.kotlinx</groupId>
2424
<artifactId>kotlinx-coroutines</artifactId>
25-
<version>0.17-SNAPSHOT</version>
25+
<version>0.18-SNAPSHOT</version>
2626
</parent>
2727

2828
<artifactId>kotlinx-coroutines-site</artifactId>

ui/coroutines-guide-ui.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ Add dependencies on `kotlinx-coroutines-android` module to the `dependencies { .
173173
`app/build.gradle` file:
174174

175175
```groovy
176-
compile "org.jetbrains.kotlinx:kotlinx-coroutines-android:0.17"
176+
compile "org.jetbrains.kotlinx:kotlinx-coroutines-android:0.18"
177177
```
178178

179179
Coroutines are experimental feature in Kotlin.

ui/kotlinx-coroutines-android/example-app/app/build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ dependencies {
3636
compile 'com.android.support:design:25.2.0'
3737
testCompile 'junit:junit:4.12'
3838
compile "org.jetbrains.kotlin:kotlin-stdlib-jre7:$kotlin_version"
39-
compile "org.jetbrains.kotlinx:kotlinx-coroutines-android:0.17"
39+
compile "org.jetbrains.kotlinx:kotlinx-coroutines-android:0.18"
4040
}
4141

4242
kotlin {

ui/kotlinx-coroutines-android/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
<parent>
2323
<groupId>org.jetbrains.kotlinx</groupId>
2424
<artifactId>kotlinx-coroutines</artifactId>
25-
<version>0.17-SNAPSHOT</version>
25+
<version>0.18-SNAPSHOT</version>
2626
<relativePath>../../pom.xml</relativePath>
2727
</parent>
2828

ui/kotlinx-coroutines-javafx/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
<parent>
2323
<groupId>org.jetbrains.kotlinx</groupId>
2424
<artifactId>kotlinx-coroutines</artifactId>
25-
<version>0.17-SNAPSHOT</version>
25+
<version>0.18-SNAPSHOT</version>
2626
<relativePath>../../pom.xml</relativePath>
2727
</parent>
2828

ui/kotlinx-coroutines-swing/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
<parent>
2323
<groupId>org.jetbrains.kotlinx</groupId>
2424
<artifactId>kotlinx-coroutines</artifactId>
25-
<version>0.17-SNAPSHOT</version>
25+
<version>0.18-SNAPSHOT</version>
2626
<relativePath>../../pom.xml</relativePath>
2727
</parent>
2828

0 commit comments

Comments
 (0)