Skip to content

Commit a0c0818

Browse files
1.0.7
1 parent c41b37d commit a0c0818

File tree

1 file changed

+44
-0
lines changed

1 file changed

+44
-0
lines changed

CHANGES.md

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,49 @@
11
# RxJava Releases #
22

3+
### Version 1.0.7 – Feburary 21st 2015 ([Maven Central](http://search.maven.org/#artifactdetails%7Cio.reactivex%7Crxjava%7C1.0.7%7C)) ###
4+
5+
This release includes some bug fixes along with a new operator and performance enhancements.
6+
7+
#### Experimental Operator
8+
9+
Note that these APIs [may still change or be removed altogether](https://github.com/ReactiveX/RxJava#experimental) since they are marked as `@Experimental`.
10+
11+
##### withLatestFrom(Observable, Selector)
12+
13+
This allows combining all values from one `Observable` with the latest value from a second `Observable` at each `onNext`.
14+
15+
For example:
16+
17+
```java
18+
Observable<Long> a = Observable.interval(1, TimeUnit.SECONDS);
19+
Observable<Long> b = Observable.interval(250, TimeUnit.MILLISECONDS);
20+
21+
22+
a.withLatestFrom(b, (x, y) -> new long[] { x, y })
23+
.toBlocking()
24+
.forEach(pair -> System.out.println("a: " + pair[0] + " b: " + pair[1]));
25+
```
26+
27+
This outputs:
28+
29+
```
30+
a: 0 b: 3
31+
a: 1 b: 6
32+
a: 2 b: 11
33+
a: 3 b: 15
34+
a: 4 b: 19
35+
a: 5 b: 23
36+
a: 6 b: 27
37+
```
38+
39+
40+
#### Changes
41+
42+
https://github.com/ReactiveX/RxJava/pull/2760 Operator: WithLatestFrom
43+
https://github.com/ReactiveX/RxJava/pull/2762 Optimized isUnsubscribed check
44+
https://github.com/ReactiveX/RxJava/pull/2759 Observable.using should use unsafeSubscribe and enable eager disposal
45+
https://github.com/ReactiveX/RxJava/pull/2655 SwitchOnNext: fix upstream producer replacing the ops own producer
46+
347
### Version 1.0.6 – Feburary 11th 2015 ([Maven Central](http://search.maven.org/#artifactdetails%7Cio.reactivex%7Crxjava%7C1.0.6%7C)) ###
448

549
This release adds an experimental operator and fixes several bugs.

0 commit comments

Comments
 (0)