Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dependency update: rxjava #45

Merged
merged 2 commits into from
Jan 8, 2018

Conversation

jared-bot
Copy link
Contributor

RxJava

2.1.8

Maven

Warning! Behavior change regarding handling illegal calls with null in Processors and Subjects.

The Reactive Streams specification mandates that calling onNext and onError with null should
result in an immediate NullPointerException thrown from these methods. Unfortunately, this requirement was overlooked (it resulted in calls to onError with NullPointerException which meant the Processor/Subject variants entered their terminal state).

If, for some reason, the original behavior is required, one has to call onError with a NullPointerException explicitly:

PublishSubject<Integer> ps = PublishSubject.create();

TestObserver<Integer> to = ps.test();

// ps.onNext(null); // doesn't work anymore

ps.onError(new NullPointerException());

to.assertFailure(NullPointerException.class);

API changes

  • Pull 5741: API to get distinct Workers from some Schedulers.
  • Pull 5734: Add RxJavaPlugins.unwrapRunnable to help with RxJava-internal wrappers in Schedulers.
  • Pull 5753: Add retry(times, predicate) to Single & Completable and verify behavior across them and Maybe.

Documentation changes

  • Pull 5746: Improve wording and links in package-infos + remove unused imports.
  • Pull 5745: Add/update Observable marbles 11/28.
  • Commit 53d5a235: Fix JavaDoc link in observables/package-info.
  • Pull 5755: Add marbles for Observable (12/06).
  • Pull 5756: Improve autoConnect() JavaDoc + add its marble.
  • Pull 5758: Add a couple of @ see to Completable.
  • Pull 5759: Marble additions and updates (12/11)
  • Pull 5773: Improve JavaDoc of retryWhen() operators.
  • Pull 5778: Improve BehaviorProcessor JavaDoc.

Bugfixes

  • Pull 5747: Fix TrampolineScheduler not calling RxJavaPlugins.onSchedule(), add tests for all schedulers.
  • Pull 5748: Check runnable == null in *Scheduler.schedule*().
  • Pull 5761: Fix timed exact buffer() calling cancel unnecessarily.
  • Pull 5760: Subject/FlowableProcessor NPE fixes, add UnicastProcessor TCK.

Other

  • Pull 5771: Upgrade dependency to Reactive Streams 1.0.2
  • Pull 5766: Rename XOnSubscribe parameter name to emitter for better IDE auto-completion.

2.1.7

Maven

API changes

  • Pull 5729: Implement as() operator on the 6 base classes - similar to to() but dedicated functional interface for each base class instead of just Function.

Documentation changes

  • Pull 5706: Remove mentions of Main thread from Schedulers.single() JavaDoc.
  • Pull 5709: Improve JavaDocs of flatMapSingle and flatMapMaybe.
  • Pull 5713: Add BaseTestConsumer values() and errors() thread-safety clarifications.
  • Pull 5717: Add period to custom scheduler use sentences in Schedulers.
  • Pull 5718: Add a sentence to documentation of take() operator about the thread onComplete may get signaled.
  • Pull 5738: Correct JavaDoc for ConnectableFlowable, GroupedFlowable, FlowableAutoConnect.
  • Pull 5740: Marbles for Observable all, fromPublisher, zipArray.

Bugfixes

  • Pull 5695: Fix Completable.concat to use replace (don't dispose old).
  • Pull 5715: Distinguish between sync and async dispose in ScheduledRunnable.
  • Pull 5743: Check isDisposed before emitting in SingleFromCallable.

Other

  • Pull 5723: Remove duplicate nullity check line in toMap.

2.1.6

Maven

API changes

  • Pull 5649: Add Observable.concatMapCompletable().
  • Pull 5655: Add Flowable.limit() to limit both item count and request amount.

Documentation changes

  • Pull 5648: Improve package JavaDoc of io.reactivex and io.reactivex.observers.
  • Pull 5647: Fix subscribeWith documentation examples.
  • Pull 5651: Update Observable.just(2..10) and switchOnNextDelayError marbles.
  • Pull 5668: Fix a misleading documentation of Observable.singleElement().
  • Pull 5680: More Observable marble fixes.

Bugfixes

  • Pull 5669: Fix PublishProcessor cancel/emission overflow bug.
  • Pull 5677: Make parallel() a fusion-async-boundary.

Other

  • Pull 5652: Inline disposability in Observable.concatMap(Completable).
  • Pull 5653: Upgrade testng to get method names to show up in gradle console when skipping, and in testng html output.
  • Pull 5661: Improve Flowable.timeout().

@mirland mirland merged commit 5c5619a into master Jan 8, 2018
@mirland mirland deleted the update/io.reactivex.rxjava2-rxjava/2.1.5-2.1.8 branch January 8, 2018 18:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants