RxScala v0.23.0 Release Notes
Release Date: 2014-12-04 // over 9 years ago-
๐ 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
andtoMultiMap
.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