Skip to content

Commit

Permalink
Version 0.8-beta
Browse files Browse the repository at this point in the history
  • Loading branch information
elizarov committed Feb 9, 2017
1 parent f138bbc commit 5fb8cb0
Show file tree
Hide file tree
Showing 11 changed files with 27 additions and 11 deletions.
16 changes: 16 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,21 @@
# Change log for kotlinx.coroutines

## Version 0.8-beta

* `defer` coroutine builder is renamed to `async`.
* `lazyDefer` is deprecated, `async` has an optional `start` parameter instead.
* `LazyDeferred` interface is deprecated, lazy start functionality is integrated into `Job` interface.
* `launch` has an optional `start` parameter for lazily started coroutines.
* `Job.start` and `Job.isCompleted` are introduced.
* `Deferred.isCompletedExceptionally` and `Deferred.isCancelled` are introduced.
* `Job.getInactiveCancellationException` is renamed to `getCompletionException`.
* `Job.join` is now a member function.
* Internal `JobSupport` state machine is enhanced to support _new_ (not-started-yet) state.
So, lazy coroutines do not need a separate state variable to track their started/not-started (new/active) status.
* Exception transparency in `Job.cancel` (original cause is rethrown).
* Clarified possible states for `Job`/`CancellableContinuation`/`Deferred` in docs.
* Example on async-style functions and links to API reference site from [coroutines guide](coroutines-guide.md).

## Version 0.7-beta

* Buffered and unbuffered channels are introduced: `Channel`, `SendChannel`, and `ReceiveChannel` interfaces,
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,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.7-beta</version>
<version>0.8-beta</version>
</dependency>
```

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

```groovy
compile 'org.jetbrains.kotlinx:kotlinx-coroutines-core:0.7-beta'
compile 'org.jetbrains.kotlinx:kotlinx-coroutines-core:0.8-beta'
```

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.7-beta-SNAPSHOT</version>
<version>0.8-beta-SNAPSHOT</version>
</parent>

<artifactId>kotlinx-coroutines-core</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion 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.7-beta-SNAPSHOT</version>
<version>0.8-beta-SNAPSHOT</version>
</parent>

<artifactId>kotlinx-coroutines-javafx</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.7-beta-SNAPSHOT</version>
<version>0.8-beta-SNAPSHOT</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.7-beta-SNAPSHOT</version>
<version>0.8-beta-SNAPSHOT</version>
</parent>

<artifactId>kotlinx-coroutines-nio</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion 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.7-beta-SNAPSHOT</version>
<version>0.8-beta-SNAPSHOT</version>
</parent>

<artifactId>kotlinx-coroutines-rx-example</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion kotlinx-coroutines-rx/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.7-beta-SNAPSHOT</version>
<version>0.8-beta-SNAPSHOT</version>
</parent>

<artifactId>kotlinx-coroutines-rx</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion 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.7-beta-SNAPSHOT</version>
<version>0.8-beta-SNAPSHOT</version>
</parent>

<artifactId>kotlinx-coroutines-swing</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.7-beta-SNAPSHOT</version>
<version>0.8-beta-SNAPSHOT</version>
<packaging>pom</packaging>

<description>Coroutines support libraries for Kotlin 1.1</description>
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.7-beta-SNAPSHOT</version>
<version>0.8-beta-SNAPSHOT</version>
</parent>

<artifactId>kotlinx-coroutines-site</artifactId>
Expand Down

0 comments on commit 5fb8cb0

Please sign in to comment.