Skip to content

Commit 58fd3b5

Browse files
committed
Version 0.13
1 parent bf6630f commit 58fd3b5

File tree

16 files changed

+43
-16
lines changed

16 files changed

+43
-16
lines changed

CHANGES.md

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

3+
## Version 0.13
4+
5+
* New `kotlinx-coroutinex-androind` module with Android `UI` context implementation
6+
* Introduced `whileSelect` convenience function
7+
* Implemented `ConflatedChannel`
8+
* Renamed various `toXXX` conversion functions to `asXXX` (old names are deprecated)
9+
* `run` is optimized with fast-path case and no longer has `CoroutineScope` in its block
10+
* Fixed dispatching logic of `withTimeout` (removed extra dispatch)
11+
* `EventLoop` that is used by `runBlocking` now implements Delay, giving more predictable test behavior
12+
* Various refactorings related to resource management and timeouts:
13+
* `Job.Registration` is renamed to `DisposableHandle`
14+
* `EmptyRegistration` is renamed to `NonDisposableHandle`
15+
* `Job.unregisterOnCompletion` is renamed to `Job.disposeOnCompletion`
16+
* `Delay.invokeOnTimeout` is introduced
17+
* `withTimeout` now uses `Delay.invokeOnTimeout` when available
18+
* A number of improvement for reactive streams and Rx:
19+
* Introduced `rxFlowable` builder for Rx 2.x
20+
* `Scheduler.asCoroutineDispatcher` extension for Rx 2.x
21+
* Fixed bug with sometimes missing `onComplete` in `publish`, `rxObservable`, and `rxFlowable` builders
22+
* Channels that are open for reactive streams are now `Closeable`
23+
* Fixed `CompletableSource.await` and added test for it
24+
* Removed `rx.Completable.await` due to name conflict
25+
* New documentation:
26+
* [Guide to UI programming with coroutines](ui/coroutines-guide-ui.md)
27+
* [Guide to reactive streams with coroutines](reactive/coroutines-guide-reactive.md)
28+
* Code is published to JCenter repository
29+
330
## Version 0.12
431

532
* Switched to Kotlin version 1.1.0 release.

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ Add dependencies (you can also add other modules that you need):
5656
<dependency>
5757
<groupId>org.jetbrains.kotlinx</groupId>
5858
<artifactId>kotlinx-coroutines-core</artifactId>
59-
<version>0.12</version>
59+
<version>0.13</version>
6060
</dependency>
6161
```
6262

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

8383
```groovy
84-
compile 'org.jetbrains.kotlinx:kotlinx-coroutines-core:0.12'
84+
compile 'org.jetbrains.kotlinx:kotlinx-coroutines-core:0.13'
8585
```
8686

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

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.12</version>
25+
<version>0.13</version>
2626
</parent>
2727

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

kotlinx-coroutines-jdk8/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.12</version>
25+
<version>0.13</version>
2626
</parent>
2727

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

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.12</version>
25+
<version>0.13</version>
2626
</parent>
2727

2828
<artifactId>kotlinx-coroutines-nio</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.12</version>
26+
<version>0.13</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.12</version>
25+
<version>0.13</version>
2626
<relativePath>../../pom.xml</relativePath>
2727
</parent>
2828

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.12</version>
25+
<version>0.13</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.12</version>
25+
<version>0.13</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.12</version>
25+
<version>0.13</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.12</version>
25+
<version>0.13</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
@@ -172,7 +172,7 @@ Add dependencies on `kotlinx-coroutines-android` module to the `dependencies { .
172172
`app/build.gradle` file:
173173

174174
```groovy
175-
compile "org.jetbrains.kotlinx:kotlinx-coroutines-android:0.12"
175+
compile "org.jetbrains.kotlinx:kotlinx-coroutines-android:0.13"
176176
```
177177

178178
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.12"
39+
compile "org.jetbrains.kotlinx:kotlinx-coroutines-android:0.13"
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.12</version>
25+
<version>0.13</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.12</version>
25+
<version>0.13</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.12</version>
25+
<version>0.13</version>
2626
<relativePath>../../pom.xml</relativePath>
2727
</parent>
2828

0 commit comments

Comments
 (0)