RxJava 2.0.0 RC5 发布,Rx 的 Java 实现
欢迎加入运维网交流群:263444886http://onexin.iyunv.com/source/plugin/onexin_bigdata/https://my.oschina.net/img/hot3.pngRxJava 2.0.0 RC5 发布了,该版本包含API修复和增强,进一步清理代码和javadoc更好的测试覆盖率和错误修正。RxJava 是一个在 Java VM 上使用可观测的序列来组成异步的、基于事件的程序的库。
更新内容:
API 增强
[*] Pull 4685: Test static from methods and add Maybe.fromSingle & fromCompletable
[*] Pull 4687: Add Observable.rangeLong & Flowable.rangeLong.
[*] Pull 4690: BaseTestConsumer add assertValueAt(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 into BackpressureStrategy
[*] Pull 4710: Remove checked exceptions from transformer interfaces.
性能增强
[*] Pull 4723: enable fusion on Observable.observeOn
Bug修复
[*] Pull 4681: Fix Flowable + Single elementAt and elementAtOrError operators on empty sources.
[*] Pull 4686: Fix flatMapX over-cancellation in case of an inner error.
[*] Pull 4689: Fix doOnEvent NPE on dispose()
[*] Pull 4695: CompositeException fix order of exceptions
[*] Pull 4696: Fix inner Throwable order for CompletablePeek
[*] 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, fix Observable.flatMapmaxConcurrency behavior with scalars, use of unbounded queue, fixObservable.timeInterval not saving the Disposable
[*] Pull 4723: fix fusion of Observable.just, fix Observable.replay() potential emission beforeonSubscribe call
[*] Pull 4731: Delegate null Collections down to onError in toList
[*] Pull 4736: fix onBackpressureBuffer(long, Action, BufferOverflowStrategy) return type, fixconcatMapDelayError wrong barrier mode selected.
[*] Pull 4738: Fix Flowable.flatMap error, cancellation and resource management.
清除
[*] Pull 4689: Remove Maybe.toCompletable, use Maybe.ignoreElement.
[*] Pull 4708: remove bufferSize overloads of Observable.publish as there is no need to buffer anything for an Observable
[*] Pull 4723: remove flatMapIterable(Function, int) overload
其他更新
[*] Pull 4682: Update Mockito to 2.1.0
[*] Pull 4699: Clean up null usages by using ObjectHelper.requireNonNull.
下载地址:
[*] Source code (zip)
[*] Source code (tar.gz)
页:
[1]