Skip to content

0.23.0

Compare
Choose a tag to compare
@benjchristensen benjchristensen released this 06 Dec 17:15
· 224 commits to 0.x since this release

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 and JavaConversions.toJavaTransformer because Scala has extension methods. It's much nicer than compose.
  • 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 use CanBuildFrom to build a Map instead of mapFactory.
  • Rewrite toMultimap in an idiomatic Scala way.
    • Change the return type from Observable[scala.collection.Map[K, Seq[T]]] to Observable[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 override MultiMap.makeSet to
      create your custom bufferFactory Instead.

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