|
1 | 1 | # Change log for kotlinx.coroutines
|
2 | 2 |
|
| 3 | +## Version 0.16 |
| 4 | + |
| 5 | +* Coroutines that are scheduled for execution are cancellable by default now |
| 6 | + * `suspendAtomicCancellableCoroutine` function is introduced for funs like |
| 7 | + `send`/`receive`/`receiveOrNull` that require atomic cancellation |
| 8 | + (they cannot be cancelled after decision was made) |
| 9 | + * Coroutines started with default mode using |
| 10 | + `async`/`launch`/`actor` builders can be cancelled before their execution starts |
| 11 | + * `CoroutineStart.ATOMIC` is introduced as a start mode to specify that |
| 12 | + coroutine cannot be cancelled before its execution starts |
| 13 | + * `run` function is also cancellable in the same way and accepts an optional |
| 14 | + `CoroutineStart` parameter to change this default. |
| 15 | +* `BroadcastChannel` factory function is introduced |
| 16 | +* `CorouiteExceptionHandler` factory function is introduced by @konrad-kaminski |
| 17 | +* [`integration`](integration) directory is introduced for all 3rd party integration projects |
| 18 | + * It has [contribution guidelines](integration/README.md#contributing) and contributions from community are welcome |
| 19 | + * Support for Guava `ListenableFuture` in the new [`kotlinx-coroutines-guava`](integration/kotlinx-coroutines-guava) module |
| 20 | + * Rx1 Scheduler support by @konrad-kaminski |
| 21 | +* #66 Fixed a number of `Channel` and `BroadcastChannel` implementation bugs related to concurrent |
| 22 | + send/close/close of channels that lead to hanging send, offer or close operations. |
| 23 | + Thanks to @chrisly42 and @cy6erGn0m for finding them. |
| 24 | +* #67 Fixed `withTimeoutOrNull` which was returning `null` on timeout of inner or outer `withTimeout` blocks. |
| 25 | + Thanks to @regschlom for finding the problem. |
| 26 | +* Fixed a bug where `Job` fails to dispose a handler when it is the only handler by @uchuhimo |
| 27 | + |
3 | 28 | ## Version 0.15
|
4 | 29 |
|
5 | 30 | * Switched to Kotlin version 1.1.2 (can still be used with 1.1.0).
|
|
49 | 74 | * `kotlinx-coroutines-android` module has `provided` dependency on of Android APIs to
|
50 | 75 | eliminate warnings when using it in android project.
|
51 | 76 |
|
52 |
| - |
53 | 77 | ## Version 0.13
|
54 | 78 |
|
55 | 79 | * New `kotlinx-coroutinex-android` module with Android `UI` context implementation.
|
|
0 commit comments