Skip to content

Commit db667eb

Browse files
committed
Version 0.21
1 parent 88f5b9d commit db667eb

File tree

8 files changed

+27
-8
lines changed

8 files changed

+27
-8
lines changed

CHANGES.md

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

3+
## Version 0.21
4+
5+
* Migrated to Kotlin 1.2.10.
6+
* Coroutines library for [Kotlin/JS](js/README.md) and [multiplatform projects](https://kotlinlang.org/docs/reference/multiplatform.html) (see #33):
7+
* `launch` and `async` coroutine builders.
8+
* `Job` and `Deferred` light-weight future with cancellation support.
9+
* `delay` and `yield` top-level suspending functions.
10+
* `await` extension for JS `Promise` and `asPromise`/`asDeferred` conversions.
11+
* `promise` coroutine builder.
12+
* `Job()` and `CompletableDeferred()` factories.
13+
* Full support for parent-child coroutine hierarchies.
14+
* `Window.awaitAnimationFrame` extension function.
15+
* [Sample frontend Kotlin/JS application](js/example-frontend-js/README.md) with coroutine-driven animations.
16+
* `run` is deprecated and renamed to `withContext` (see #134).
17+
* `runBlocking` and `EventLoop` implementations optimized (see #190).
18+
319
## Version 0.20
420

521
* Migrated to Kotlin 1.2.0.

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
[![official JetBrains project](http://jb.gg/badges/official.svg)](https://confluence.jetbrains.com/display/ALL/JetBrains+on+GitHub)
44
[![GitHub license](https://img.shields.io/badge/license-Apache%20License%202.0-blue.svg?style=flat)](http://www.apache.org/licenses/LICENSE-2.0)
5-
[![Download](https://api.bintray.com/packages/kotlin/kotlinx/kotlinx.coroutines/images/download.svg?version=0.20) ](https://bintray.com/kotlin/kotlinx/kotlinx.coroutines/0.20)
5+
[![Download](https://api.bintray.com/packages/kotlin/kotlinx/kotlinx.coroutines/images/download.svg?version=0.21) ](https://bintray.com/kotlin/kotlinx/kotlinx.coroutines/0.21)
66

77
Library support for Kotlin coroutines in
88
[Kotlin/JVM](core/README.md) and
@@ -64,7 +64,7 @@ Add dependencies (you can also add other modules that you need):
6464
<dependency>
6565
<groupId>org.jetbrains.kotlinx</groupId>
6666
<artifactId>kotlinx-coroutines-core</artifactId>
67-
<version>0.20</version>
67+
<version>0.21</version>
6868
</dependency>
6969
```
7070

@@ -81,7 +81,7 @@ And make sure that you use the latest Kotlin version:
8181
Add dependencies (you can also add other modules that you need):
8282

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

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

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
version = 0.20-SNAPSHOT
1+
version = 0.21-SNAPSHOT
22

33
kotlin_version = 1.2.10
44
junit_version = 4.12

js/example-frontend-js/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,6 @@ You can start application with webpack-dev-server using:
1313
```
1414
gradlew :example-frontend-js:start
1515
```
16+
17+
Built and deployed application is available at the library documentation site
18+
[here](http://kotlin.github.io/kotlinx.coroutines/example-frontend-js).

ui/coroutines-guide-ui.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ Add dependencies on `kotlinx-coroutines-android` module to the `dependencies { .
173173
`app/build.gradle` file:
174174

175175
```groovy
176-
compile "org.jetbrains.kotlinx:kotlinx-coroutines-android:0.20"
176+
compile "org.jetbrains.kotlinx:kotlinx-coroutines-android:0.21"
177177
```
178178

179179
Coroutines are experimental feature in Kotlin.

ui/kotlinx-coroutines-android/animation-app/gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,5 @@ org.gradle.jvmargs=-Xmx1536m
1919
kotlin.coroutines=enable
2020

2121
kotlin_version = 1.2.10
22-
coroutines_version = 0.20
22+
coroutines_version = 0.21
2323

ui/kotlinx-coroutines-android/example-app/app/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,5 +31,5 @@ dependencies {
3131
compile 'com.android.support:design:25.4.0'
3232
testCompile 'junit:junit:4.12'
3333
compile "org.jetbrains.kotlin:kotlin-stdlib-jre7:$kotlin_version"
34-
compile "org.jetbrains.kotlinx:kotlinx-coroutines-android:0.20"
34+
compile "org.jetbrains.kotlinx:kotlinx-coroutines-android:0.21"
3535
}

ui/kotlinx-coroutines-android/example-app/gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,5 @@ org.gradle.jvmargs=-Xmx1536m
1919
kotlin.coroutines=enable
2020

2121
kotlin_version = 1.2.10
22-
coroutines_version = 0.20
22+
coroutines_version = 0.21
2323

0 commit comments

Comments
 (0)