Skip to content

RxKotlin 2.1.0

Compare
Choose a tag to compare
@thomasnield thomasnield released this 24 Jun 20:16
· 64 commits to 2.x since this release

There are a number of changes in this release, some of which are possibly breaking. Many additions seek to expand the SAM helpers used to workaround the SAM issue.

  • zip(), combineLatest(), zipWith(), and withLatestFrom() now support emitting Pairs and Triples when no combining function is provided for 2-3 source arguments. This applies to Observable, Flowable, Single, and Maybe types.

  • Singles and Maybes have been greatly expanded to include more SAM helper operators for zip() and zipWith()

  • toMap() and toMultimap() extension operators have been added to Observable<Pair<X,Y>> and Flowable<Pair<X,Y>>, which will automatically use each Pair emission to map the key and value without any arguments.

  • Order of parameters for subscribeBy() have been moved so that onNext is the default if only one unnamed parameter is provided.

  • Kotlin 1.2 and RxJava 2.1.0 are now dependencies

Please file any issues if you have any questions or concerns. Thanks to everyone who contributed to this release.