Skip to content

Commit ebd7cc9

Browse files
committed
0.7-beta release
1 parent b7721cf commit ebd7cc9

File tree

10 files changed

+19
-27
lines changed

10 files changed

+19
-27
lines changed

CHANGES.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,13 @@
11
# Change log for kotlinx.coroutines
22

3+
## Version 0.7-beta
34

5+
* Buffered and unbuffered channels are introduced: `Channel`, `SendChannel`, and `ReceiveChannel` interfaces,
6+
`RendezvousChannel` and `ArrayChannel` implementations, `Channel()` factory function and `buildChannel{}`
7+
coroutines builder.
8+
* `Here` context is renamed to `Unconfined` (the old name is deprecated).
9+
* A [guide on coroutines](coroutines-guide.md) is expanded: sections on contexts and channels.
10+
411
## Version 0.6-beta
512

613
* Switched to Kotlin version 1.1.0-beta-37.

README.md

Lines changed: 4 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -4,23 +4,8 @@ Library support for Kotlin coroutines. This is a companion version for Kotlin 1.
44

55
## Modules and features
66

7-
* `kotlinx-coroutines-core` module with core primitives to work with coroutines. It is designed to work on any JDK6+ and Android
8-
and contains the following main pieces:
9-
* `launch(context) {...}` to start a coroutine in the given context and get reference to its `Job`.
10-
* `run(context) {...}` to switch to a different context inside a coroutine.
11-
* `runBlocking {...}` to use asynchronous Kotlin APIs from a thread-blocking code.
12-
* `defer(context) {...}` and `lazyDefer(context) {...}` to get a deferred result of coroutine execution in a
13-
non-blocking way via a light-weight future interface called `Deferred`.
14-
* `delay(...)` for a non-blocking sleep in coroutines and `yield` to release a thread in single-threaded dispatchers.
15-
* `withTimeout(timeout) {...}` scope function to easily set coroutine time-limit (deadline),
16-
and `NonCancellable` context to avoid it when needed.
17-
* `CommonPool` and `Here` contexts, access to `context` of a parent coroutine in its `CoroutineScope`.
18-
* `newSingleThreadContext(...)` and `newFixedThreadPoolContext(...)` functions,
19-
`Executor.toCoroutineDispatcher()` extension.
20-
* Cancellation support with `Job` interface and `suspendCancellableCoroutine` helper function.
21-
* Debugging facilities for coroutines (run JVM with `-ea` or `-Dkotlinx.coroutines.debug` options) and
22-
`newCoroutineContext(context)` function to write user-defined coroutine builders that work with these
23-
debugging facilities.
7+
* `kotlinx-coroutines-core` module with core primitives to work with coroutines.
8+
Its functionality is covered by the [guide to kotlinx.coroutines](coroutines-guide.md).
249

2510
* `kotlinx-coroutines-jdk8` module with additional libraries for JDK8 (or Android API level 24).
2611
* `future { ... }` coroutine builder that returns `CompletableFuture` and works in `CommonPool` context by default.
@@ -73,7 +58,7 @@ Add dependencies (you can also add other modules that you need):
7358
<dependency>
7459
<groupId>org.jetbrains.kotlinx</groupId>
7560
<artifactId>kotlinx-coroutines-core</artifactId>
76-
<version>0.6-beta</version>
61+
<version>0.7-beta</version>
7762
</dependency>
7863
```
7964

@@ -100,7 +85,7 @@ repositories {
10085
Add dependencies (you can also add other modules that you need):
10186

10287
```groovy
103-
compile 'org.jetbrains.kotlinx:kotlinx-coroutines-core:0.6-beta'
88+
compile 'org.jetbrains.kotlinx:kotlinx-coroutines-core:0.7-beta'
10489
```
10590

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

kotlinx-coroutines-core/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<parent>
77
<groupId>org.jetbrains.kotlinx</groupId>
88
<artifactId>kotlinx-coroutines</artifactId>
9-
<version>0.6-beta-SNAPSHOT</version>
9+
<version>0.7-beta-SNAPSHOT</version>
1010
</parent>
1111

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

kotlinx-coroutines-javafx/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<parent>
77
<groupId>org.jetbrains.kotlinx</groupId>
88
<artifactId>kotlinx-coroutines</artifactId>
9-
<version>0.6-beta-SNAPSHOT</version>
9+
<version>0.7-beta-SNAPSHOT</version>
1010
</parent>
1111

1212
<artifactId>kotlinx-coroutines-javafx</artifactId>

kotlinx-coroutines-jdk8/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<parent>
77
<groupId>org.jetbrains.kotlinx</groupId>
88
<artifactId>kotlinx-coroutines</artifactId>
9-
<version>0.6-beta-SNAPSHOT</version>
9+
<version>0.7-beta-SNAPSHOT</version>
1010
</parent>
1111

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

kotlinx-coroutines-nio/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<parent>
77
<groupId>org.jetbrains.kotlinx</groupId>
88
<artifactId>kotlinx-coroutines</artifactId>
9-
<version>0.6-beta-SNAPSHOT</version>
9+
<version>0.7-beta-SNAPSHOT</version>
1010
</parent>
1111

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

kotlinx-coroutines-rx-example/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<parent>
77
<groupId>org.jetbrains.kotlinx</groupId>
88
<artifactId>kotlinx-coroutines</artifactId>
9-
<version>0.6-beta-SNAPSHOT</version>
9+
<version>0.7-beta-SNAPSHOT</version>
1010
</parent>
1111

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

kotlinx-coroutines-rx/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<parent>
77
<groupId>org.jetbrains.kotlinx</groupId>
88
<artifactId>kotlinx-coroutines</artifactId>
9-
<version>0.6-beta-SNAPSHOT</version>
9+
<version>0.7-beta-SNAPSHOT</version>
1010
</parent>
1111

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

kotlinx-coroutines-swing/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<parent>
77
<groupId>org.jetbrains.kotlinx</groupId>
88
<artifactId>kotlinx-coroutines</artifactId>
9-
<version>0.6-beta-SNAPSHOT</version>
9+
<version>0.7-beta-SNAPSHOT</version>
1010
</parent>
1111

1212
<artifactId>kotlinx-coroutines-swing</artifactId>

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
<groupId>org.jetbrains.kotlinx</groupId>
99
<artifactId>kotlinx-coroutines</artifactId>
10-
<version>0.6-beta-SNAPSHOT</version>
10+
<version>0.7-beta-SNAPSHOT</version>
1111
<packaging>pom</packaging>
1212

1313
<name>Kotlin coroutines libraries</name>

0 commit comments

Comments
 (0)