欢迎加入运维网交流群:263444886
RxJava 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、欢迎大家加入本站运维交流群:群②:261659950 群⑤:202807635 群⑦870801961 群⑧679858003
2、本站所有主题由该帖子作者发表,该帖子作者与运维网 享有帖子相关版权
3、所有作品的著作权均归原作者享有,请您和我们一样尊重他人的著作权等合法权益。如果您对作品感到满意,请购买正版
4、禁止制作、复制、发布和传播具有反动、淫秽、色情、暴力、凶杀等内容的信息,一经发现立即删除。若您因此触犯法律,一切后果自负,我们对此不承担任何责任
5、所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其内容的准确性、可靠性、正当性、安全性、合法性等负责,亦不承担任何法律责任
6、所有作品仅供您个人学习、研究或欣赏,不得用于商业或者其他用途,否则,一切后果均由您自己承担,我们对此不承担任何法律责任
7、如涉及侵犯版权等问题,请您及时通知我们,我们将立即采取措施予以解决
8、联系人Email:admin@iyunv.com 网址:www.yunweiku.com