File tree Expand file tree Collapse file tree 8 files changed +27
-8
lines changed
kotlinx-coroutines-android Expand file tree Collapse file tree 8 files changed +27
-8
lines changed Original file line number Diff line number Diff line change 1
1
# Change log for kotlinx.coroutines
2
2
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
+
3
19
## Version 0.20
4
20
5
21
* Migrated to Kotlin 1.2.0.
Original file line number Diff line number Diff line change 2
2
3
3
[ ![ official JetBrains project] ( http://jb.gg/badges/official.svg )] ( https://confluence.jetbrains.com/display/ALL/JetBrains+on+GitHub )
4
4
[ ![ 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 )
6
6
7
7
Library support for Kotlin coroutines in
8
8
[ Kotlin/JVM] ( core/README.md ) and
@@ -64,7 +64,7 @@ Add dependencies (you can also add other modules that you need):
64
64
<dependency >
65
65
<groupId >org.jetbrains.kotlinx</groupId >
66
66
<artifactId >kotlinx-coroutines-core</artifactId >
67
- <version >0.20 </version >
67
+ <version >0.21 </version >
68
68
</dependency >
69
69
```
70
70
@@ -81,7 +81,7 @@ And make sure that you use the latest Kotlin version:
81
81
Add dependencies (you can also add other modules that you need):
82
82
83
83
``` groovy
84
- compile 'org.jetbrains.kotlinx:kotlinx-coroutines-core:0.20 '
84
+ compile 'org.jetbrains.kotlinx:kotlinx-coroutines-core:0.21 '
85
85
```
86
86
87
87
And make sure that you use the latest Kotlin version:
Original file line number Diff line number Diff line change 1
- version = 0.20 -SNAPSHOT
1
+ version = 0.21 -SNAPSHOT
2
2
3
3
kotlin_version = 1.2.10
4
4
junit_version = 4.12
Original file line number Diff line number Diff line change @@ -13,3 +13,6 @@ You can start application with webpack-dev-server using:
13
13
```
14
14
gradlew :example-frontend-js:start
15
15
```
16
+
17
+ Built and deployed application is available at the library documentation site
18
+ [ here] ( http://kotlin.github.io/kotlinx.coroutines/example-frontend-js ) .
Original file line number Diff line number Diff line change @@ -173,7 +173,7 @@ Add dependencies on `kotlinx-coroutines-android` module to the `dependencies { .
173
173
` app/build.gradle ` file:
174
174
175
175
``` groovy
176
- compile "org.jetbrains.kotlinx:kotlinx-coroutines-android:0.20 "
176
+ compile "org.jetbrains.kotlinx:kotlinx-coroutines-android:0.21 "
177
177
```
178
178
179
179
Coroutines are experimental feature in Kotlin.
Original file line number Diff line number Diff line change @@ -19,5 +19,5 @@ org.gradle.jvmargs=-Xmx1536m
19
19
kotlin.coroutines =enable
20
20
21
21
kotlin_version = 1.2.10
22
- coroutines_version = 0.20
22
+ coroutines_version = 0.21
23
23
Original file line number Diff line number Diff line change @@ -31,5 +31,5 @@ dependencies {
31
31
compile ' com.android.support:design:25.4.0'
32
32
testCompile ' junit:junit:4.12'
33
33
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 "
35
35
}
Original file line number Diff line number Diff line change @@ -19,5 +19,5 @@ org.gradle.jvmargs=-Xmx1536m
19
19
kotlin.coroutines =enable
20
20
21
21
kotlin_version = 1.2.10
22
- coroutines_version = 0.20
22
+ coroutines_version = 0.21
23
23
You can’t perform that action at this time.
0 commit comments