2.0.0-RC5
This release contains API fixes, further cleanups to code and javadoc, better test coverage and bugfixes. Thanks to the respective contributors and @JakeWharton for the reviews.
API enhancements
- Pull 4685: Test static from methods and add
Maybe.fromSingle
&fromCompletable
- Pull 4687: Add
Observable.rangeLong
&Flowable.rangeLong
. - Pull 4690:
BaseTestConsumer
addassertValueAt(index, Predicate<T>)
. - Pull 4711: Decouple stream operators from Function interface (
FlowableOperator
and co). - Pull 4712: make
Observable.sequenceEqual
return Single - Pull 4714: have
Flowable.toList(Callable)
return Single - Pull 4720: remove variance from the input source of
retryWhen
- Pull 4723: remove
flatMapIterable(Function, int)
overload and haveflatMapIterable(Function)
use the flatten operator. - Pull 4729: Merge
FlowableEmitter.BackpressureMode
intoBackpressureStrategy
- Pull 4710: Remove checked exceptions from transformer interfaces.
Performance enhancements
- Pull 4723: enable fusion on
Observable.observeOn
Bugfixes
- Pull 4681: Fix
Flowable
+Single
elementAt
andelementAtOrError
operators on empty sources. - Pull 4686: Fix
flatMapX
over-cancellation in case of an inner error. - Pull 4689: Fix
doOnEvent
NPE ondispose()
- Pull 4695:
CompositeException
fix order of exceptions - Pull 4696: Fix inner
Throwable
order forCompletablePeek
- Pull 4705: fix
Observable.flatMap
's dispose behavior and error accumulation - Pull 4707: Fix
Flowable.elementAt
on empty sources. - Pull 4708: fix
Observable.publish(Function)
latecommer behavior - Pull 4712: fix
Observable.combineLatest
error management, fixObservable.flatMap
maxConcurrency
behavior with scalars, use of unbounded queue, fixObservable.timeInterval
not saving theDisposable
- Pull 4723: fix fusion of
Observable.just
, fixObservable.replay()
potential emission beforeonSubscribe
call - Pull 4731: Delegate null
Collection
s down toonError
intoList
- Pull 4736: fix
onBackpressureBuffer(long, Action, BufferOverflowStrategy)
return type, fixconcatMapDelayError
wrong barrier mode selected. - Pull 4738: Fix
Flowable.flatMap
error, cancellation and resource management.
Removals
- Pull 4689: Remove
Maybe.toCompletable
, useMaybe.ignoreElement
. - Pull 4708: remove
bufferSize
overloads ofObservable.publish
as there is no need to buffer anything for anObservable
- Pull 4723: remove
flatMapIterable(Function, int)
overload
Other