Releases: ReactiveX/RxJava
Releases · ReactiveX/RxJava
2.1.10
API changes
- Pull 5845: Add efficient
concatWith(Single|Maybe|Completable)overloads toFlowableandObservable. - Pull 5847: Add efficient
mergeWith(Single|Maybe|Completable)overloads toFlowableandObservable. - Pull 5860: Add
Flowable.groupByoverload with evicting map factory.
Documentation changes
- Pull 5824: Improve the wording of the
share()JavaDocs. - Pull 5826: Fix
Observable.blockingIterable(int)and addObservable.blockingLatestmarbles. - Pull 5828: Document size-bounded
replayemission's item retention property. - Pull 5830: Reword the
just()operator and reference other typical alternatives. - Pull 5834: Fix copy-paste errors in
SingleSubjectJavaDoc. - Pull 5837: Detail
distinct()anddistinctUntilChanged()in JavaDoc. - Pull 5841: Improve JavaDoc of
Observer,SingleObserver,MaybeObserverandCompletableObserver. - Pull 5843: Expand the JavaDocs of the
SchedulerAPI. - Pull 5844: Explain the properties of the
{Flowable|Observable|Single|Maybe|Completable}Emitterinterfaces in detail. - Pull 5848: Improve the wording of the
Maybe.fromCallableJavaDoc. - Pull 5856: Add finite requirement to various collector operators' JavaDoc.
Bugfixes
- Pull 5833: Fix
Observable.switchMapmainonErrornot disposing the current inner source.
Other changes
1.3.6
1.3.5
2.1.9
API changes
- Pull 5799: Add missing
{Maybe|Single}.mergeDelayErrorvariants.
Performance improvements
- Pull 5790: Improve request accounting overhead in
Flowableretry/repeat.
Documentation changes
- Pull 5783: Fix JavaDoc wording of
onTerminateDetach. - Pull 5780: Improve
BehaviorSubjectJavaDoc + related clarifications. - Pull 5781: Describe
merge()error handling. - Pull 5785: Update
Maybe doOn{Success,Error,Complete}JavaDoc. - Pull 5786: Add error handling section to
merge()operator JavaDocs. - Pull 5802: Improved
XSubjectJavaDocs. - Marble diagram fixes to
Observable: - Pull 5816: Add
SubjectandProcessormarbles.
Bugfixes
2.1.8
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 someSchedulers. - Pull 5734: Add
RxJavaPlugins.unwrapRunnableto help with RxJava-internal wrappers inSchedulers. - Pull 5753: Add
retry(times, predicate)toSingle&Completableand verify behavior across them andMaybe.
Documentation changes
- Pull 5746: Improve wording and links in
package-infos + remove unused imports. - Pull 5745: Add/update
Observablemarbles 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
@seetoCompletable. - Pull 5759: Marble additions and updates (12/11)
- Pull 5773: Improve JavaDoc of
retryWhen()operators. - Pull 5778: Improve
BehaviorProcessorJavaDoc.
Bugfixes
- Pull 5747: Fix
TrampolineSchedulernot callingRxJavaPlugins.onSchedule(), add tests for all schedulers. - Pull 5748: Check
runnable == nullin*Scheduler.schedule*(). - Pull 5761: Fix timed exact
buffer()calling cancel unnecessarily. - Pull 5760:
Subject/FlowableProcessorNPE fixes, addUnicastProcessorTCK.
Other
2.1.7
API changes
- Pull 5729: Implement
as()operator on the 6 base classes - similar toto()but dedicated functional interface for each base class instead of justFunction.
Documentation changes
- Pull 5706: Remove mentions of Main thread from
Schedulers.single()JavaDoc. - Pull 5709: Improve JavaDocs of
flatMapSingleandflatMapMaybe. - Pull 5713: Add
BaseTestConsumervalues()anderrors()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 threadonCompletemay get signaled. - Pull 5738: Correct JavaDoc for
ConnectableFlowable,GroupedFlowable,FlowableAutoConnect. - Pull 5740: Marbles for
Observableall,fromPublisher,zipArray.
Bugfixes
- Pull 5695: Fix
Completable.concatto use replace (don't dispose old). - Pull 5715: Distinguish between sync and async dispose in
ScheduledRunnable. - Pull 5743: Check
isDisposedbefore emitting inSingleFromCallable.
Other
- Pull 5723: Remove duplicate nullity check line in
toMap.
1.3.4
Bugfixes
- Pull 5696: Fix
Completable.concatto usereplaceand don't dispose the oldSubscriptionon switching to the next source. - Pull 5726: Fix broken backpressure through
unsubscribeOn().
Documentation
- Pull 5719: Document the timed
take()operator will signal theonCompletedevent on the givenSchedulerwhen it times out.
2.1.6
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.reactivexandio.reactivex.observers. - Pull 5647: Fix
subscribeWithdocumentation examples. - Pull 5651: Update
Observable.just(2..10)andswitchOnNextDelayErrormarbles. - Pull 5668: Fix a misleading documentation of
Observable.singleElement(). - Pull 5680: More
Observablemarble fixes.
Bugfixes
- Pull 5669: Fix
PublishProcessorcancel/emission overflow bug. - Pull 5677: Make
parallel()a fusion-async-boundary.
Other
1.3.3
2.1.5
API changes
- Pull 5616: Add
Single.delayoverload that delays errors. - Pull 5624: Add
onTerminateDetachtoSingleandCompletable.
Documentation changes
- Pull 5617: Fix
Observable.delay&Flowable.delayjavadoc. - Pull 5637: Fixing JavaDoc warnings.
- Pull 5640: Additional warnings for
fromPublisher().
Bugfixes
- No bugs were reported.