|
1 | 1 | # RxScala Releases
|
2 | 2 |
|
| 3 | +## Version 0.25.0 - TODO ([Maven Central](http://search.maven.org/#search%7Cga%7C1%7C%22rxscala%22%20AND%20g%3A%22io.reactivex%22)) |
| 4 | + |
| 5 | +This release upgrades RxJava to 1.0.11 along with the following enhancements: |
| 6 | + |
| 7 | +* Deprecate `ExperimentalAPIs` and use `@Experimental/@Beta` annotations directly. Unstable APIs wil be labeled `Experimental/Beta` in Scaladoc. |
| 8 | +* Change `error[T]` to `error: Observable[Nothing]` |
| 9 | +* Add `TestSubscriber` and its examples. Writing unit tests is much easier now. |
| 10 | +* Add `onBackpressureLatest` and variants of `flatMap` and `using`. |
| 11 | +* Add more experimental methods of `Subject`. |
| 12 | +* Move examples to `examples` package: https://github.com/ReactiveX/RxScala/tree/0.x/examples/src/test/scala/examples |
| 13 | +* Some document fixes |
| 14 | + |
| 15 | +#### Migration from 0.24.1 to 0.25.0 |
| 16 | + |
| 17 | +`Observable.error` does not have a type parameter any more. Please remove the type parameter of `Observable.error` in your codes. |
| 18 | +Sometimes removing the type parameter may break your codes. E.g., |
| 19 | + |
| 20 | +```Scala |
| 21 | +val x = Observable.error[Int](new RuntimeException("Oops")).toBlocking.single |
| 22 | +println(x + 1) |
| 23 | +``` |
| 24 | +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 |
| 25 | + |
| 26 | +```Scala |
| 27 | +val x: Int = Observable.error(new RuntimeException("Oops")).toBlocking.single |
| 28 | +println(x + 1) |
| 29 | +``` |
| 30 | + |
| 31 | +`ExperimentalAPIs` is deprecated. It's not a breaking change, but we plan to remove `ExperimentalAPIs` in 0.26.0. If you are using `ExperimentalAPIs`, |
| 32 | +please recompile your codes and fix them as per the deprecated messages provided by the compiler as soon as possible. Once `ExperimentalAPIs` is removed, |
| 33 | +you won't get the deprecated messages. |
| 34 | + |
| 35 | +### Pull Requests |
| 36 | + |
| 37 | +* [Pull 157] (https://github.com/ReactiveX/RxScala/pull/157) Update the out-of-date example in "Notification" doc |
| 38 | +* [Pull 159] (https://github.com/ReactiveX/RxScala/pull/159) Correct documentation for Observable.merge |
| 39 | +* [Pull 162] (https://github.com/ReactiveX/RxScala/pull/162) Fixed minor documentation typo |
| 40 | +* [Pull 163] (https://github.com/ReactiveX/RxScala/pull/163) Update to Scala 2.10.5 / 2.11.6 |
| 41 | +* [Pull 164] (https://github.com/ReactiveX/RxScala/pull/164) Change `error[T]` to `error: Observable[Nothing]` |
| 42 | +* [Pull 166] (https://github.com/ReactiveX/RxScala/pull/166) Update to using RxJava 1.0.11 |
| 43 | +* [Pull 168] (https://github.com/ReactiveX/RxScala/pull/168) Move examples |
| 44 | +* [Pull 170] (https://github.com/ReactiveX/RxScala/pull/170) Add TestSubscriber |
| 45 | + |
| 46 | +Artifacts: [Maven Central](http://search.maven.org/#search%7Cga%7C1%7C%22rxscala%22%20AND%20g%3A%22io.reactivex%22) |
| 47 | + |
3 | 48 | ## Version 0.24.1 - March 31st 2015 ([Maven Central](http://search.maven.org/#search%7Cga%7C1%7C%22rxscala%22%20AND%20g%3A%22io.reactivex%22))
|
4 | 49 |
|
5 | 50 | This release upgrades RxJava to 1.0.8 along with ExecutionContextScheduler and onBackpressureDropDo.
|
|
0 commit comments