|
1 | 1 | # Change log for kotlinx.coroutines
|
2 | 2 |
|
| 3 | +## Version 0.13 |
| 4 | + |
| 5 | +* New `kotlinx-coroutinex-androind` module with Android `UI` context implementation |
| 6 | +* Introduced `whileSelect` convenience function |
| 7 | +* Implemented `ConflatedChannel` |
| 8 | +* Renamed various `toXXX` conversion functions to `asXXX` (old names are deprecated) |
| 9 | +* `run` is optimized with fast-path case and no longer has `CoroutineScope` in its block |
| 10 | +* Fixed dispatching logic of `withTimeout` (removed extra dispatch) |
| 11 | +* `EventLoop` that is used by `runBlocking` now implements Delay, giving more predictable test behavior |
| 12 | +* Various refactorings related to resource management and timeouts: |
| 13 | + * `Job.Registration` is renamed to `DisposableHandle` |
| 14 | + * `EmptyRegistration` is renamed to `NonDisposableHandle` |
| 15 | + * `Job.unregisterOnCompletion` is renamed to `Job.disposeOnCompletion` |
| 16 | + * `Delay.invokeOnTimeout` is introduced |
| 17 | + * `withTimeout` now uses `Delay.invokeOnTimeout` when available |
| 18 | +* A number of improvement for reactive streams and Rx: |
| 19 | + * Introduced `rxFlowable` builder for Rx 2.x |
| 20 | + * `Scheduler.asCoroutineDispatcher` extension for Rx 2.x |
| 21 | + * Fixed bug with sometimes missing `onComplete` in `publish`, `rxObservable`, and `rxFlowable` builders |
| 22 | + * Channels that are open for reactive streams are now `Closeable` |
| 23 | + * Fixed `CompletableSource.await` and added test for it |
| 24 | + * Removed `rx.Completable.await` due to name conflict |
| 25 | +* New documentation: |
| 26 | + * [Guide to UI programming with coroutines](ui/coroutines-guide-ui.md) |
| 27 | + * [Guide to reactive streams with coroutines](reactive/coroutines-guide-reactive.md) |
| 28 | +* Code is published to JCenter repository |
| 29 | + |
3 | 30 | ## Version 0.12
|
4 | 31 |
|
5 | 32 | * Switched to Kotlin version 1.1.0 release.
|
|
0 commit comments