Skip to content

Commit 4e1efc8

Browse files
committed
Version 0.30.1
1 parent 2ba458b commit 4e1efc8

File tree

8 files changed

+18
-10
lines changed

8 files changed

+18
-10
lines changed

CHANGES.md

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

3+
## Version 0.30.1
4+
Maintenance release:
5+
* Added `Dispatchers.Main` to common dispatchers, which can be used from Android, Swing and JavaFx projects if a corresponding integration library is added to dependencies.
6+
* With `Dispatchers.Main` improvement tooling bug in Android Studio #626 is mitigated, so Android users now can safely start the migration to the latest `kotlinx.coroutines` version.
7+
* Fixed bug with thread unsafety of shutdown sequence in `EventLoop`.
8+
* Experimental coroutine dispatcher now has `close` contract similar to Java `Executor`, so it can be safely instantiated and closed multiple times (affects only unit tests).
9+
* Atomicfu version is updated with fixes in JS transformer (see #609)
10+
311
## Version 0.30.0
412

513
* **[Major]** Further improvements in exception handling — no failure exception is lost.

COMPATIBILITY.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ stable public API, and thus `kotlinx.coroutines` is leaving its "experimental" s
1818
Version `1.0.0` (starting with its release candidate build) will have all its deprecated declarations removed and `kotlinx.coroutines.experimental` package will be renamed to `kotlinx.coroutines` without functional changes.
1919
In order to migrate `kotlinx.coroutines` to `1.0.0`, follow these steps:
2020

21-
1. Update `kotlinx.coroutines` to `0.30.0` version.
21+
1. Update `kotlinx.coroutines` to `0.30.1` version.
2222
2. Inspect compiler warnings about deprecated API and migrate it to a proposed alternative. Most of deprecated API has a corresponding replacement which can be applied from IDEA with quickfix.
23-
3. Update Kotlin version to `1.3.0` or to the latest `1.3.0-rc` and `kotlinx.coroutines` to version `0.30.0-eap13`. Then just get rid of `experimental` suffix in all imports.
23+
3. Update Kotlin version to `1.3.0` or to the latest `1.3.0-rc` and `kotlinx.coroutines` to version `0.30.1-eap13`. Then just get rid of `experimental` suffix in all imports.
2424
4. Update `kotlinx.coroutines` to version `1.0.0` or to the corresponding release candidate of it).
2525

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.30.0) ](https://bintray.com/kotlin/kotlinx/kotlinx.coroutines/0.30.0)
5+
[![Download](https://api.bintray.com/packages/kotlin/kotlinx/kotlinx.coroutines/images/download.svg?version=0.30.1) ](https://bintray.com/kotlin/kotlinx/kotlinx.coroutines/0.30.1)
66

77
Library support for Kotlin coroutines with [multiplatform](#multiplatform) support.
88
This is a companion version for Kotlin 1.2.70 release.
@@ -85,7 +85,7 @@ And make sure that you use the latest Kotlin version:
8585
Add dependencies (you can also add other modules that you need):
8686

8787
```groovy
88-
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core:0.30.0'
88+
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core:0.30.1'
8989
```
9090

9191
And make sure that you use the latest Kotlin version:
@@ -118,7 +118,7 @@ Add [`kotlinx-coroutines-android`](ui/kotlinx-coroutines-android)
118118
module as dependency when using `kotlinx.coroutines` on Android:
119119

120120
```groovy
121-
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:0.30.0'
121+
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:0.30.1'
122122
```
123123
This gives you access to Android [Dispatchers.Main](https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-android/kotlinx.coroutines.experimental.android/kotlinx.coroutines.experimental.-dispatchers/index.html)
124124
coroutine dispatcher and also makes sure that in case of crashed coroutine with unhandled exception this

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Kotlin
2-
version=0.30.0-SNAPSHOT
2+
version=0.30.1-SNAPSHOT
33
group=org.jetbrains.kotlinx
44
kotlin_version=1.2.70
55
kotlin_native_version=0.8.2

native/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ repositories {
4242
}
4343
4444
dependencies {
45-
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core-native:0.30.0'
45+
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core-native:0.30.1'
4646
}
4747
4848
sourceSets {

ui/coroutines-guide-ui.md

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

167167
```groovy
168-
compile "org.jetbrains.kotlinx:kotlinx-coroutines-android:0.30.0"
168+
compile "org.jetbrains.kotlinx:kotlinx-coroutines-android:0.30.1"
169169
```
170170

171171
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.70
22-
coroutines_version=0.30.0
22+
coroutines_version=0.30.1
2323

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.70
22-
coroutines_version=0.30.0
22+
coroutines_version=0.30.1
2323

0 commit comments

Comments
 (0)