v3.1.0
版本发布时间: 2021-08-09 15:10:47
ReactiveX/RxJava最新发布版本:v3.1.9(2024-08-13 15:46:12)
:warning: With this release, the minimum required Android API level is API 21 (Android 5.0).
:warning: Note that the 3.0.x patch line won't be developed further.
API promotions
-
Flowable.onBackpressureReduce()
+ 1 (#7296) -
RxJavaPlugins.getOnParallelSubscribe()
andRxJavaPlugins.setOnParallelSubscribe()
(#7296) -
TestScheduler([...] boolean useOnScheduleHook)
(#7296)
API additions
-
subscribe([...], DisposableContainer)
for betterDisposable
management and reference cleanup. (#7298) -
RxJavaPlugins.createExecutorScheduler()
for creating anExecutor
-basedScheduler
before theSchedulers
class (and thus the standard schedulers) gets initialized. (#7306)
Behavior changes
- The scheduler purge thread has been removed. Removing cancelled timed operations is now managed by the
setRemoveOnCancelPolicy
of the underlyingScheduledExecutorService
. (#7293)
Documentation
- Fixed wording of the
fair
parameter ofSchedulers.from
. (#7301) - Update
withLatestFrom
javadoc about upstream early complete (#7289)