Mon. Feb 17th, 2020

RxJava 3.0.0 releases: Rx Java implementation

2 min read

RxJava is a Java VM implementation of Reactive Extensions: a library for composing asynchronous and event-based programs by using observable sequences.

It extends the observer pattern to support sequences of data/events and adds operators that allow you to compose sequences together declaratively while abstracting away concerns about things like low-level threading, synchronization, thread-safety, and concurrent data structures.

rxjava

 

Changelog 3.0.0

Maven
JavaDocs

This is an early release for 3.0.0 to allow preparations for the breaking API changes and cleanups. Please check out the wiki page What’s different in 3.0 from time to time for the details and migration guide.

API changes

  • Rename Single.equals to Single.sequenceEqual. (#6856)
  • Change some Flowable.buffer overload signatures to use Publisher as input. (#6895)
  • Add delayError overload to Maybe.delay. (#6864)
  • Add Maybe/Single/Completable blockingSubscribe. (#6862)
  • Add onErrorComplete to FlowableObservable and Single. (#6867)
  • Add Completable.onErrorResumeWith. (#6868)
  • Add Single/Completable retryUntil. (#6869)
  • Add Maybe/Single/Completable switchOnNext & switchOnNextDelayError. (#6870)
  • Add Maybe.dematerialize. (#6871)
  • Add missing fromX operators. (#6873)
  • Add Maybe/Single timeInterval & timestamp. (#6874)
  • Add Maybe/Completable toFuture. (#6875)
  • Add Single.ofType. (#6876)
  • Add Maybe/Single/Completable doOnLifecycle. (#6877)
  • Add various concatMapX operators (aliases). (#6879)
  • Add various concatXDelayError operators. (#6881)
  • Add Single.mergeArray & mergeArrayDelayError. (#6882)
  • Add Completable.sequenceEqual. (#6884)
  • Add missing startWith overloads. (#6885)
  • Add Completable.onErrorReturn[Item]. (#6886)
  • Add safeSubscribe to MaybeSingle & Completable. (#6887)
  • Swap Maybe.flatMapSingle and Maybe.flatMapSingleElement, remove the latter. (#6891)
  • Add Single.flatMap overloads with combiner and notification selector mode (#6893)
  • Add concatEager(Iterator, int) to Maybe and Single. (#6899)
  • And concatEagerDelayError to FlowableObservableMaybe and Single. (#6899)

Bugfixes

  • Fix Flowable.groupBy not requesting more if a group is cancelled with items still buffered. (#6895)

Documentation enhancements

  • Improve Operator-Matrix Wiki with links and notes. (#6857)
  • Add last missing @throws tag to JavaDocs. (#6860)
  • Fix many marbles in Maybe. (#6866)
  • Add Maybe.retryUntil marble. (#6869)
  • Add the last set of Maybe marble diagrams. (#6897)

Other changes

  • Fix method argument naming across types. (#6853)
  • Verify the use of base interfaces in operator inputs & lambdas. (#6895)
  • Bump biz.aQute.bnd.gradle from 4.3.1 to 5.0.0 (#6861)
  • Use more appropriate operators when delegating to Flowable operators. (#6888)
  • Fix marble dimensions, add program that checks them. (#6890)

Download