You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is it, general availability of RxJava 2! Rewritten from scratch to offer better performance, lower overhead, more features, a modern underlying technology and interoperation with the Reactive-Streams ecosystem. Big thanks goes to the several dozen people who gave feedback, fixes, enhancements and reviewed pull requests in the past, very intensive, 4 months.
Users are encouraged to read the wiki articles What's different in 2.0 and Writing operators for 2.0 to get a overview about changes and differences between working with RxJava 1 and 2. If you find something missing or under-explained, don't worry and open an issue about it!
Some other common libraries such as RxAndroid and Retrofit 2 Adapter were already following the 2.x development and you can expect them to release versions supporting the 2.0.0 GA shortly. In addition, there is an ongoing effort to port companion libraries of RxJava itself to support the 2.x line. For now, several ported features are available as part of the RxJava2Extensions project. RxJava 1 and 2 can live side by side in the same project and the RxJava2Interop library allows dataflow conversions between the two versions.
The sections below contain the changes since 2.0.0-RC5 beyond the general quality and test coverage improvements of the codebase.
Can we release another RC and publish it? Without publishing to maven, I doubt how many people really tested this version. We can just retag this RC to 2.0.0 if no critical issues are reported in 1-2 weeks.
Version 2.0.0 - October 29, 2016 (Maven)
This is it, general availability of RxJava 2! Rewritten from scratch to offer better performance, lower overhead, more features, a modern underlying technology and interoperation with the Reactive-Streams ecosystem. Big thanks goes to the several dozen people who gave feedback, fixes, enhancements and reviewed pull requests in the past, very intensive, 4 months.
Users are encouraged to read the wiki articles What's different in 2.0 and Writing operators for 2.0 to get a overview about changes and differences between working with RxJava 1 and 2. If you find something missing or under-explained, don't worry and open an issue about it!
Some other common libraries such as RxAndroid and Retrofit 2 Adapter were already following the 2.x development and you can expect them to release versions supporting the 2.0.0 GA shortly. In addition, there is an ongoing effort to port companion libraries of RxJava itself to support the 2.x line. For now, several ported features are available as part of the RxJava2Extensions project. RxJava 1 and 2 can live side by side in the same project and the RxJava2Interop library allows dataflow conversions between the two versions.
The sections below contain the changes since 2.0.0-RC5 beyond the general quality and test coverage improvements of the codebase.
API enhancements
Single.fromObservable(ObservableSource)
BackpressureStrategy.NONE
toMISSING
Documentation enhancements
Disposables.fromFuture
Performance enhancements
Flowable.publish()
and enable operator fusion on its inputFlowable.blockingSubscribe()
,Observable.blockingSubscribe()
andFlowable.subscribeOn()
MapNotification
,Materialize
,OnErrorReturn
last element backpressure under the same helper class.FlowableSequenceEqual
inFlowableSequenceEqualSingle
.Flowable.scan(T, BiFunction)
now emits the initial value only when the upstream signals an event.Bugfixes
Flowable.materialize()
terminal signal emission in face of backpressure.Flowable.onErrorReturn()
terminal signal emission in face of backpressure.Flowable.flatMapSingle()
andFlowable.flatMapMaybe()
termination detectiondistinctUntilChanged
to store the selected key instead of the valueFlowable.concatMapEager
hang due to bad request management.Flowable
operators.takeUntil
to avoidonSubscribe()
races.Flowable.skipUntil
lifecycle and concurrency properties.Flowable.concatMapEager
error management.subscribeOn
to work with blocking create.The text was updated successfully, but these errors were encountered: