Skip to content

Commit

Permalink
1.2.1 - Update changes.md
Browse files Browse the repository at this point in the history
  • Loading branch information
akarnokd committed Oct 5, 2016
1 parent 843a57e commit e7bf735
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 3 deletions.
21 changes: 21 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,26 @@
# RxJava Releases #

### Version 1.2.1 - October 5, 2016 ([Maven](http://search.maven.org/#artifactdetails%7Cio.reactivex%7Crxjava%7C1.2.1%7C))

#### API enhancements

- [Pull 4555](https://github.com/ReactiveX/RxJava/pull/4555): enhance generics of `doOnError` and `doOnRequest`
- [Pull 4580](https://github.com/ReactiveX/RxJava/pull/4580): rename `AsyncEmitter` to `Emitter`

#### Performance enhancements

- [Pull 4621](https://github.com/ReactiveX/RxJava/pull/4621): `NotificationLite` - reduce allocations
- [Pull 4648](https://github.com/ReactiveX/RxJava/pull/4648): rework `Single` internals to reduce overhead and stack depth

#### Deprecations

- [Pull 4580](https://github.com/ReactiveX/RxJava/pull/4580): `CompletableEmitter.setCancellation` will change its type in 1.2.2.
- [Pull 4648](https://github.com/ReactiveX/RxJava/pull/4648): Deprecate `Single(Observable.OnSubscribe)` constructor

#### Bugfixes

- [Pull 4641](https://github.com/ReactiveX/RxJava/pull/4641): `SafeSubscriber` not to call `RxJavaHooks` before delivering the error

### Version 1.2.0 - September 17, 2016 ([Maven](http://search.maven.org/#artifactdetails%7Cio.reactivex%7Crxjava%7C1.2.0%7C))

This is a minor release that is functionally equivalent to 1.1.10 minus the removal of some deprecated experimental APIs.
Expand Down
6 changes: 3 additions & 3 deletions src/test/java/rx/plugins/RxJavaHooksTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -1087,18 +1087,18 @@ public Completable.Operator onLift(Completable.Operator lift) {
public void noCallToHooksOnPlainError() {

final boolean[] called = { false };

RxJavaHooks.setOnError(new Action1<Throwable>() {
@Override
public void call(Throwable t) {
called[0] = true;
}
});

try {
Observable.error(new TestException())
.subscribe(new TestSubscriber<Object>());

assertFalse(called[0]);
} finally {
RxJavaHooks.reset();
Expand Down

0 comments on commit e7bf735

Please sign in to comment.