Skip to content

Commit dea9bd6

Browse files
committed
Version 0.16
1 parent d2f9bf6 commit dea9bd6

File tree

2 files changed

+26
-2
lines changed

2 files changed

+26
-2
lines changed

CHANGES.md

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,30 @@
11
# Change log for kotlinx.coroutines
22

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+
328
## Version 0.15
429

530
* Switched to Kotlin version 1.1.2 (can still be used with 1.1.0).
@@ -49,7 +74,6 @@
4974
* `kotlinx-coroutines-android` module has `provided` dependency on of Android APIs to
5075
eliminate warnings when using it in android project.
5176

52-
5377
## Version 0.13
5478

5579
* New `kotlinx-coroutinex-android` module with Android `UI` context implementation.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Library support for Kotlin coroutines. This is a companion version for Kotlin 1.
1616
* [ui](ui/README.md) -- modules that provide coroutine dispatchers for various single-threaded UI libraries:
1717
* Android, JavaFx, and Swing.
1818
* [integration](integration/README.md) -- modules that provide integration with various asynchronous callback- and future-based libraries.
19-
* `CompletableFuture` and synchronous networking/IO.
19+
* JDK8 `CompletableFuture`, Guava `ListenableFuture`, and synchronous networking/IO.
2020

2121
## Documentation
2222

0 commit comments

Comments
 (0)