Skip to content

Commit

Permalink
Version 0.13
Browse files Browse the repository at this point in the history
  • Loading branch information
elizarov committed Mar 14, 2017
1 parent bf6630f commit 58fd3b5
Show file tree
Hide file tree
Showing 16 changed files with 43 additions and 16 deletions.
27 changes: 27 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,32 @@
# Change log for kotlinx.coroutines

## Version 0.13

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

## Version 0.12

* Switched to Kotlin version 1.1.0 release.
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,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.12</version>
<version>0.13</version>
</dependency>
```

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

```groovy
compile 'org.jetbrains.kotlinx:kotlinx-coroutines-core:0.12'
compile 'org.jetbrains.kotlinx:kotlinx-coroutines-core:0.13'
```

And make sure that you use the right Kotlin version:
Expand Down
2 changes: 1 addition & 1 deletion kotlinx-coroutines-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<parent>
<groupId>org.jetbrains.kotlinx</groupId>
<artifactId>kotlinx-coroutines</artifactId>
<version>0.12</version>
<version>0.13</version>
</parent>

<artifactId>kotlinx-coroutines-core</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion kotlinx-coroutines-jdk8/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<parent>
<groupId>org.jetbrains.kotlinx</groupId>
<artifactId>kotlinx-coroutines</artifactId>
<version>0.12</version>
<version>0.13</version>
</parent>

<artifactId>kotlinx-coroutines-jdk8</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion kotlinx-coroutines-nio/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<parent>
<groupId>org.jetbrains.kotlinx</groupId>
<artifactId>kotlinx-coroutines</artifactId>
<version>0.12</version>
<version>0.13</version>
</parent>

<artifactId>kotlinx-coroutines-nio</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

<groupId>org.jetbrains.kotlinx</groupId>
<artifactId>kotlinx-coroutines</artifactId>
<version>0.12</version>
<version>0.13</version>
<packaging>pom</packaging>

<description>Coroutines support libraries for Kotlin 1.1</description>
Expand Down
2 changes: 1 addition & 1 deletion reactive/kotlinx-coroutines-reactive/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<parent>
<groupId>org.jetbrains.kotlinx</groupId>
<artifactId>kotlinx-coroutines</artifactId>
<version>0.12</version>
<version>0.13</version>
<relativePath>../../pom.xml</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion reactive/kotlinx-coroutines-rx-example/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<parent>
<groupId>org.jetbrains.kotlinx</groupId>
<artifactId>kotlinx-coroutines</artifactId>
<version>0.12</version>
<version>0.13</version>
<relativePath>../../pom.xml</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion reactive/kotlinx-coroutines-rx1/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<parent>
<groupId>org.jetbrains.kotlinx</groupId>
<artifactId>kotlinx-coroutines</artifactId>
<version>0.12</version>
<version>0.13</version>
<relativePath>../../pom.xml</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion reactive/kotlinx-coroutines-rx2/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<parent>
<groupId>org.jetbrains.kotlinx</groupId>
<artifactId>kotlinx-coroutines</artifactId>
<version>0.12</version>
<version>0.13</version>
<relativePath>../../pom.xml</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion site/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<parent>
<groupId>org.jetbrains.kotlinx</groupId>
<artifactId>kotlinx-coroutines</artifactId>
<version>0.12</version>
<version>0.13</version>
</parent>

<artifactId>kotlinx-coroutines-site</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion ui/coroutines-guide-ui.md
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ Add dependencies on `kotlinx-coroutines-android` module to the `dependencies { .
`app/build.gradle` file:

```groovy
compile "org.jetbrains.kotlinx:kotlinx-coroutines-android:0.12"
compile "org.jetbrains.kotlinx:kotlinx-coroutines-android:0.13"
```

Coroutines are experimental feature in Kotlin.
Expand Down
2 changes: 1 addition & 1 deletion ui/kotlinx-coroutines-android/example-app/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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.12"
compile "org.jetbrains.kotlinx:kotlinx-coroutines-android:0.13"
}

kotlin {
Expand Down
2 changes: 1 addition & 1 deletion ui/kotlinx-coroutines-android/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<parent>
<groupId>org.jetbrains.kotlinx</groupId>
<artifactId>kotlinx-coroutines</artifactId>
<version>0.12</version>
<version>0.13</version>
<relativePath>../../pom.xml</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion ui/kotlinx-coroutines-javafx/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<parent>
<groupId>org.jetbrains.kotlinx</groupId>
<artifactId>kotlinx-coroutines</artifactId>
<version>0.12</version>
<version>0.13</version>
<relativePath>../../pom.xml</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion ui/kotlinx-coroutines-swing/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<parent>
<groupId>org.jetbrains.kotlinx</groupId>
<artifactId>kotlinx-coroutines</artifactId>
<version>0.12</version>
<version>0.13</version>
<relativePath>../../pom.xml</relativePath>
</parent>

Expand Down

0 comments on commit 58fd3b5

Please sign in to comment.