Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
RxJava
2.1.8
Maven
Warning! Behavior change regarding handling illegal calls with
null
inProcessor
s andSubject
s.The Reactive Streams specification mandates that calling
onNext
andonError
withnull
shouldresult in an immediate
NullPointerException
thrown from these methods. Unfortunately, this requirement was overlooked (it resulted in calls toonError
withNullPointerException
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 aNullPointerException
explicitly:API changes
Worker
s from someScheduler
s.RxJavaPlugins.unwrapRunnable
to help with RxJava-internal wrappers inScheduler
s.retry(times, predicate)
toSingle
&Completable
and verify behavior across them andMaybe
.Documentation changes
package-info
s + remove unused imports.Observable
marbles 11/28.Observable
(12/06).autoConnect()
JavaDoc + add its marble.@ see
toCompletable
.retryWhen()
operators.BehaviorProcessor
JavaDoc.Bugfixes
TrampolineScheduler
not callingRxJavaPlugins.onSchedule()
, add tests for all schedulers.runnable == null
in*Scheduler.schedule*()
.buffer()
calling cancel unnecessarily.Subject
/FlowableProcessor
NPE fixes, addUnicastProcessor
TCK.Other
XOnSubscribe
parameter name toemitter
for better IDE auto-completion.2.1.7
Maven
API changes
as()
operator on the 6 base classes - similar toto()
but dedicated functional interface for each base class instead of justFunction
.Documentation changes
Schedulers.single()
JavaDoc.flatMapSingle
andflatMapMaybe
.BaseTestConsumer
values()
anderrors()
thread-safety clarifications.Schedulers
.take()
operator about the threadonComplete
may get signaled.ConnectableFlowable
,GroupedFlowable
,FlowableAutoConnect
.Observable
all
,fromPublisher
,zipArray
.Bugfixes
Completable.concat
to use replace (don't dispose old).ScheduledRunnable
.isDisposed
before emitting inSingleFromCallable
.Other
toMap
.2.1.6
Maven
API changes
Observable.concatMapCompletable()
.Flowable.limit()
to limit both item count and request amount.Documentation changes
io.reactivex
andio.reactivex.observers
.subscribeWith
documentation examples.Observable.just(2..10)
andswitchOnNextDelayError
marbles.Observable.singleElement()
.Observable
marble fixes.Bugfixes
PublishProcessor
cancel/emission overflow bug.parallel()
a fusion-async-boundary.Other
Observable.concatMap(Completable)
.Flowable.timeout()
.