RxScala v0.25.0 Release Notes
Release Date: 2015-06-08 // almost 9 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 labeledExperimental/Beta
in Scaladoc. - ๐ Change
error[T]
toerror: Observable[Nothing]
- โ Add
TestSubscriber
and its examples. Writing unit tests is much easier now. See TestSubscriberExample for examples. - โ Add
onBackpressureLatest
and variants offlatMap
andusing
. - โ 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 ofObservable.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 asval 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 removeExperimentalAPIs
in 0.26.0. If you are usingExperimentalAPIs
,
๐ please recompile your codes and fix them as per the deprecated messages provided by the compiler as soon as possible. OnceExperimentalAPIs
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]
toerror: Observable[Nothing]
- โก๏ธ Pull 166 Update to using RxJava 1.0.11
- ๐ Pull 168 Move examples
- โ Pull 170 Add TestSubscriber
Artifacts: Maven Central
- ๐ Deprecate