0.23.0
This release upgrades RxJava from 1.0.0-rc.5 to 1.0.2 along with some enhancements and bug fixes.
Breaking Changes
- Breaking changes in RxJava. Read the RxJava Release Notes for more information.
- Remove
Observable.compose
andJavaConversions.toJavaTransformer
because Scala has extension methods. It's much nicer thancompose
. - Rewrite
toMap
in an idiomatic Scala way.- Add
def to[M[_, _], K, V](keySelector: T => K, valueSelector: T => V)(implicit cbf: CanBuildFrom[Nothing, (K, V), M[K, V]]): Observable[M[K, V]]
. - Remove
def toMap[K, V] (keySelector: T => K, valueSelector: T => V, mapFactory: () => Map[K, V]): Observable[Map[K, V]]
.
In Scala, we can useCanBuildFrom
to build aMap
instead ofmapFactory
.
- Add
- Rewrite
toMultimap
in an idiomatic Scala way.- Change the return type from
Observable[scala.collection.Map[K, Seq[T]]]
toObservable[mutable.MultiMap[K, V]]
. - Change the method name
toMultimap
to toMultiMap to make it consistent to the return type. - Remove
toMultimap(keySelector, valueSelector, mapFactory, bufferFactory)
. You can overrideMultiMap.makeSet
to
create your custom bufferFactory Instead.
- Change the return type from
See RxScalaDemo.toMapExample
and RxScalaDemo.toMultiMapExample
for examples of new toMap
and toMultiMap
.
Pull Requests
- Pull 38 reasons why there is no Observable.range
- Pull 45 Fail build if not all RxJava methods are mapped to a RxScala equivalent
- Pull 46 Update to RxJava 1.0.0-RC7
- Pull 48 Doc improvements
- Pull 49 Update to RxJava 1.0.0-RC8
- Pull 51 remove Observable.compose and JavaConversions.toJavaTransformer
- Pull 52 Update to RxJava 1.0.0-RC9
- Pull 53 Check the API coverage in examples
- Pull 54 Convert to nanoseconds for two Duration parameters
- Pull 56 fix link to examples
- Pull 57 Refactor Subscriber to support backpressure when using lift and bug fixes
- Pull 61 Update the Maven link and the Versioning section
- Pull 64 Fix the misuse of takeWhile in demo
- Pull 65 Update to RxJava 1.0.0-RC12
- Pull 67 Refactor toMap
- Pull 68 Refactor toMultimap
- Pull 70 Fix the height issue of the img tags
- Pull 71 Hotfix: Fix CompletenessTest
Artifacts: Maven Central