Skip to content

RxKotlin 1.0 RC1

Pre-release
Pre-release
Compare
Choose a tag to compare
@thomasnield thomasnield released this 07 Mar 03:49
· 12 commits to 1.x since this release

This is the release candidate of RxKotlin 1.0, which is backed by RxJava 1.2.7 and Kotlin 1.1. Please review this library and let us know if you have any feedback before the official 1.0 release, which we are aiming to do fairly quickly. Next we will tackle RxKotlin 2.0 which will be backed by RxJava 2.x.

Some of the changes in this API from the 0.x versions:

  • All non-member function factories have been removed as discussed in #58.

  • Observable<T>#joinToString() extension function added to reduce emissions to a concatenated String, with an optional separator and prefix/postfix.

  • xxxArray#.toObservable() extension functions have been corrected to iterate arrays as Iterables and not convert them to Lists, ensuring mutations are captured for subsequent subscriptions.

  • The Observable<T>#lift() and Observable<T>#fold() extension functions have been removed.

  • subscribeWith() has been rename to subscribeBy() to prevent convention clashing with RxJava2, and has been greatly simplified in its implementation.

  • All Subject functions masquerading as constructors have been removed.

  • Extension functions targeting List<Observable<T>> now target Iterable<Observable<T>>.

  • A handful of extension functions targeting Observable<Observable<T>> have been ported from RxPy, including mergeAll(), concatAll(), and switchLatest().