RxScala v0.25.0 Release Notes

Release Date: 2015-06-08 // over 6 years ago
  • ๐Ÿš€ This release upgrades RxJava to 1.0.11 along with the following enhancements:

    • ๐Ÿ—„ Deprecate ExperimentalAPIs and use @Experimental/@Beta annotations directly. Unstable APIs wil be labeled Experimental/Beta in Scaladoc.
    • ๐Ÿ”„ Change error[T] to error: Observable[Nothing]
    • โž• Add TestSubscriber and its examples. Writing unit tests is much easier now. See TestSubscriberExample for examples.
    • โž• Add onBackpressureLatest and variants of flatMap and using.
    • โž• Add more experimental methods of Subject.
    • ๐Ÿ“ฆ Move examples to examples package: https://github.com/ReactiveX/RxScala/tree/0.x/examples/src/test/scala/examples
    • ๐Ÿ›  Some document fixes

    Migration from 0.24.1 to 0.25.0

    ๐Ÿšš Observable.error does not have a type parameter any more. Please remove the type parameter of Observable.error in your codes.
    Sometimes removing the type parameter may break your codes. E.g.,

    val x = Observable.error[Int](new RuntimeException("Oops")).toBlocking.single println(x + 1)

    ๐Ÿšš It won't be compiled if Int is removed. For these cases, you can add the explicit type to the variable and make the compiler happy, such as

    val x: Int = Observable.error(new RuntimeException("Oops")).toBlocking.single println(x + 1)

    ๐Ÿšš ExperimentalAPIs is deprecated. It's not a breaking change, but we plan to remove ExperimentalAPIs in 0.26.0. If you are using ExperimentalAPIs,
    ๐Ÿšš please recompile your codes and fix them as per the deprecated messages provided by the compiler as soon as possible. Once ExperimentalAPIs is removed,
    ๐Ÿ—„ you won't get the deprecated messages.

    Pull Requests

    • โšก๏ธ Pull 157 Update the out-of-date example in "Notification" doc
    • ๐Ÿ“š Pull 159 Correct documentation for Observable.merge
    • ๐Ÿ“š Pull 162 Fixed minor documentation typo
    • โšก๏ธ Pull 163 Update to Scala 2.10.5 / 2.11.6
    • Pull 164 Change error[T] to error: Observable[Nothing]
    • โšก๏ธ Pull 166 Update to using RxJava 1.0.11
    • ๐Ÿšš Pull 168 Move examples
    • โœ… Pull 170 Add TestSubscriber

    Artifacts: Maven Central