Skip to content

Commit 5fb8cb0

Browse files
committed
Version 0.8-beta
1 parent f138bbc commit 5fb8cb0

File tree

11 files changed

+27
-11
lines changed

11 files changed

+27
-11
lines changed

CHANGES.md

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

3+
## Version 0.8-beta
4+
5+
* `defer` coroutine builder is renamed to `async`.
6+
* `lazyDefer` is deprecated, `async` has an optional `start` parameter instead.
7+
* `LazyDeferred` interface is deprecated, lazy start functionality is integrated into `Job` interface.
8+
* `launch` has an optional `start` parameter for lazily started coroutines.
9+
* `Job.start` and `Job.isCompleted` are introduced.
10+
* `Deferred.isCompletedExceptionally` and `Deferred.isCancelled` are introduced.
11+
* `Job.getInactiveCancellationException` is renamed to `getCompletionException`.
12+
* `Job.join` is now a member function.
13+
* Internal `JobSupport` state machine is enhanced to support _new_ (not-started-yet) state.
14+
So, lazy coroutines do not need a separate state variable to track their started/not-started (new/active) status.
15+
* Exception transparency in `Job.cancel` (original cause is rethrown).
16+
* Clarified possible states for `Job`/`CancellableContinuation`/`Deferred` in docs.
17+
* Example on async-style functions and links to API reference site from [coroutines guide](coroutines-guide.md).
18+
319
## Version 0.7-beta
420

521
* Buffered and unbuffered channels are introduced: `Channel`, `SendChannel`, and `ReceiveChannel` interfaces,

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ Add dependencies (you can also add other modules that you need):
4949
<dependency>
5050
<groupId>org.jetbrains.kotlinx</groupId>
5151
<artifactId>kotlinx-coroutines-core</artifactId>
52-
<version>0.7-beta</version>
52+
<version>0.8-beta</version>
5353
</dependency>
5454
```
5555

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

7878
```groovy
79-
compile 'org.jetbrains.kotlinx:kotlinx-coroutines-core:0.7-beta'
79+
compile 'org.jetbrains.kotlinx:kotlinx-coroutines-core:0.8-beta'
8080
```
8181

8282
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.7-beta-SNAPSHOT</version>
25+
<version>0.8-beta-SNAPSHOT</version>
2626
</parent>
2727

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

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.7-beta-SNAPSHOT</version>
25+
<version>0.8-beta-SNAPSHOT</version>
2626
</parent>
2727

2828
<artifactId>kotlinx-coroutines-javafx</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.7-beta-SNAPSHOT</version>
25+
<version>0.8-beta-SNAPSHOT</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.7-beta-SNAPSHOT</version>
25+
<version>0.8-beta-SNAPSHOT</version>
2626
</parent>
2727

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

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.7-beta-SNAPSHOT</version>
25+
<version>0.8-beta-SNAPSHOT</version>
2626
</parent>
2727

2828
<artifactId>kotlinx-coroutines-rx-example</artifactId>

kotlinx-coroutines-rx/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.7-beta-SNAPSHOT</version>
25+
<version>0.8-beta-SNAPSHOT</version>
2626
</parent>
2727

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

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.7-beta-SNAPSHOT</version>
25+
<version>0.8-beta-SNAPSHOT</version>
2626
</parent>
2727

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

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

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.7-beta-SNAPSHOT</version>
25+
<version>0.8-beta-SNAPSHOT</version>
2626
</parent>
2727

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

0 commit comments

Comments
 (0)