RxJava 2.0.0 RC5 发布了,该版本包含API修复和增强,进一步清理代码和javadoc更好的测试覆盖率和错误修正。RxJava 是一个在 Java VM 上使用可观测的序列来组成异步的、基于事件的程序的库。
更新内容:
API 增强
Pull 4685: Test static from methods and add
Maybe.fromSingle&fromCompletablePull 4687: Add
Observable.rangeLong&Flowable.rangeLong.Pull 4690:
BaseTestConsumeraddassertValueAt(index, Predicate<T>).Pull 4711: Decouple stream operators from Function interface (
FlowableOperatorand co).Pull 4712: make
Observable.sequenceEqualreturn SinglePull 4714: have
Flowable.toList(Callable)return SinglePull 4720: remove variance from the input source of
retryWhenPull 4723: remove
flatMapIterable(Function, int)overload and haveflatMapIterable(Function)use the flatten operator.Pull 4729: Merge
FlowableEmitter.BackpressureModeintoBackpressureStrategyPull 4710: Remove checked exceptions from transformer interfaces.
性能增强
Pull 4723: enable fusion on
Observable.observeOn
Bug修复
Pull 4681: Fix
Flowable+SingleelementAtandelementAtOrErroroperators on empty sources.Pull 4686: Fix
flatMapXover-cancellation in case of an inner error.Pull 4689: Fix
doOnEventNPE ondispose()Pull 4695:
CompositeExceptionfix order of exceptionsPull 4696: Fix inner
Throwableorder forCompletablePeekPull 4705: fix
Observable.flatMap's dispose behavior and error accumulationPull 4707: Fix
Flowable.elementAton empty sources.Pull 4708: fix
Observable.publish(Function)latecommer behaviorPull 4712: fix
Observable.combineLatesterror management, fixObservable.flatMapmaxConcurrencybehavior with scalars, use of unbounded queue, fixObservable.timeIntervalnot saving theDisposablePull 4723: fix fusion of
Observable.just, fixObservable.replay()potential emission beforeonSubscribecallPull 4731: Delegate null
Collections down toonErrorintoListPull 4736: fix
onBackpressureBuffer(long, Action, BufferOverflowStrategy)return type, fixconcatMapDelayErrorwrong barrier mode selected.Pull 4738: Fix
Flowable.flatMaperror, cancellation and resource management.
清除
Pull 4689: Remove
Maybe.toCompletable, useMaybe.ignoreElement.Pull 4708: remove
bufferSizeoverloads ofObservable.publishas there is no need to buffer anything for anObservablePull 4723: remove
flatMapIterable(Function, int)overload
其他更新
Pull 4682: Update Mockito to 2.1.0
Pull 4699: Clean up null usages by using
ObjectHelper.requireNonNull.
下载地址:
引用来自“554330833a”的评论
一般是不是都是下载RC版本?引用来自“554330833a”的评论
一般是不是都是下载RC版本?引用来自“丶一意孤行”的评论
RC版本是候选版本,不是正式版。引用来自“554330833a”的评论
那正式版 是怎么写的引用来自“554330833a”的评论
一般是不是都是下载RC版本?引用来自“丶一意孤行”的评论
RC版本是候选版本,不是正式版。引用来自“554330833a”的评论
一般是不是都是下载RC版本?