RxKotlin 2.1.0
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()
, andwithLatestFrom()
now support emitting Pairs and Triples when no combining function is provided for 2-3 source arguments. This applies toObservable
,Flowable
,Single
, andMaybe
types. -
Singles
andMaybes
have been greatly expanded to include more SAM helper operators forzip()
andzipWith()
-
toMap()
andtoMultimap()
extension operators have been added toObservable<Pair<X,Y>>
andFlowable<Pair<X,Y>>
, which will automatically use eachPair
emission to map thekey
andvalue
without any arguments. -
Order of parameters for
subscribeBy()
have been moved so thatonNext
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.