Skip to content

Commit ca353fa

Browse files
committed
Merge pull request #171 from zsxwing/0.25.0-release-note
RxScala 0.25.0 Release Note
2 parents 271fa51 + 8e90294 commit ca353fa

File tree

2 files changed

+49
-2
lines changed

2 files changed

+49
-2
lines changed

CHANGES.md

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,50 @@
11
# RxScala Releases
22

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+
348
## 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))
449

550
This release upgrades RxJava to 1.0.8 along with ExecutionContextScheduler and onBackpressureDropDo.

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ Since RxScala is part of the RxJava family the communication channels are simila
8181

8282
| RxScala version | Compatible RxJava version |
8383
| ------------------- | ------------------------- |
84+
| 0.25.* | 1.0.* |
8485
| 0.24.* | 1.0.* |
8586
| 0.23.*<sup>[1]</sup> | 1.0.* |
8687
| 0.22.0 | 1.0.0-rc.5 |
@@ -90,11 +91,12 @@ Since RxScala is part of the RxJava family the communication channels are simila
9091
[1] You can use any release of RxScala 0.23 with any release of RxJava 1.0. E.g, use RxScala 0.23.0 with RxJava 1.0.1 <br/>
9192
[2] You should use the same version of RxScala with RxJava. E.g, use RxScala 0.20.1 with RxJava 0.20.1
9293

93-
From 0.24.0, RxScala adds ExperimentalAPIs, which contains APIs using RxJava Beta/Experimental APIs. As these APIs are unstable in RxJava,
94-
if you `import ExperimentalAPIs`, you should use the corresponding version of RxJava as the following table:
94+
If you are using APIs labeled with `Experimental/Beta`, or `ExperimentalAPIs` (deprecated since 0.25.0), which uses RxJava Beta/Experimental APIs,
95+
you should use the corresponding version of RxJava as the following table:
9596

9697
| RxScala version | Compatible RxJava version |
9798
| ------------------- | ------------------------- |
99+
| 0.25.0 | 1.0.11+ |
98100
| 0.24.1 | 1.0.8+ |
99101
| 0.24.0 | 1.0.7+ |
100102

0 commit comments

Comments
 (0)