Skip to content

Releases: ReactiveX/RxAndroid

1.2.0

04 May 21:57
Compare
Choose a tag to compare
  • Rewrite the Android-specific schedulers (main thread or custom) to greatly reduce allocation and
    performance overhead of scheduling work.
  • HandlerScheduler.create has been deprecated in favor of AndroidSchedulers.from(Looper) as
    a Looper is the actual mechanism of scheduling on Android, not Handler.
  • Fix: Correct the behavior of AndroidSchedulers.mainThread() to only invoke the registered
    RxAndroidSchedulersHook for creating the main thread scheduler and to cache the result instead
    of invoking it every time. This behvior change eliminates a performance overhead and brings
    behavior in line with RxJava. If you were relying on the ability to change the main thread
    scheduler over time (such as for tests), return a delegating scheduler from the hook which allows
    changing the delegate instance at will.
  • RxJava dependency now points at v1.1.4.
  • RxAndroidPlugins.reset() is now marked as @Experimental to match the RxJava method of the
    same name and behavior.

1.1.0

09 Dec 20:24
Compare
Choose a tag to compare
  • New: MainThreadSubscription utility class runs its onUnsubscribe action on the Android main
    thread. This aids in adding tear-down actions which must be executed on the main thread without
    having to deal with posting to the main thread yourself.
  • Fix: Lazily initialize mainThread() scheduler so that no Android code is run when overridden.
    This allows unit tests overriding the implementation to work correctly.
  • RxJava dependency now points at v1.1.0.

Download:

compile 'io.reactivex:rxandroid:1.1.0'

1.0.1

10 Aug 00:42
Compare
Choose a tag to compare
  • Fix: Correctly check isUnsubscribed() state in HandlerScheduler's worker before scheduling
    more work.
  • Fix: Eliminate a potential race condition in HandlerScheduler to ensure any posted work will
    be canceled on unsubscription.

Download:

compile 'io.reactivex:rxandroid:1.0.1'

1.0.0

05 Aug 19:39
Compare
Choose a tag to compare

Initial stable release!

In order to provide a library that no project using RxJava would hesitate to depend on, the decision was made to remove the APIs which were not absolutely fundamental to all apps. That is what's contained in this release.

Functionality which was previously part of this library is being explored in separate, modular
libraries:

This allows for a simpler process of design, development, and experimentation for the best ways to provide features like hooks into the lifecycle, binding to UI components, and simplifying interaction with all of Android's API. Not only can these projects now have their own release schedule, but it allows developers to pick and choose which ones are appropriate for your
application.

Applications using the various APIs which were previously in this library do not need to update immediately. Due to the number of APIs removed, switching to 1.0 and the use of these third-party libraries should be done gradually.

Breaking changes:

  • AndroidSchedulers.handlerThread() is now HandlerScheduler.from().
  • All other APIs have been removed aside from AndroidSchedulers.mainThread(), RxAndroidPlugins, and RxAndroidSchedulersHook.

Download:

compile 'io.reactivex:rxandroid:1.0.0'

0.25.0

29 Jun 16:18
Compare
Choose a tag to compare
  • New: RxAndroidPlugins and its RxAndroidSchedulersHook provides a mechanism similar to RxJavaPlugins (and its RxJavaSchedulersHook) for
    changing the scheduler returned from AndroidSchedulers.mainThread() as well as a callback for each subscription on any Handler-based scheduler.
  • Fix: Ensure errors are properly propagated from ContentObservable.fromCursor.
  • Fix: LifecycleObservable now correctly unsubscribes from its sources.

Breaking changes:

  • Users of AppObservable.bindFragment with a support-v4 Fragment should now use bindSupportFragment.

0.24.0

29 Jun 16:17
Compare
Choose a tag to compare

This release has some breaking changes:

  • rx.android.observables.AndroidObservable has changed to rx.android.app.AppObservable;
  • ViewObservable has moved from rx.android.observables to rx.android.view
  • (as part of RxJava's breaking changes) collect has changed

0.23.0

03 Dec 10:04
Compare
Choose a tag to compare

Mostly internal changes to project setup, code cleanup, etc.

Also added ViewActions:
#27

0.22.0

16 Oct 14:17
Compare
Choose a tag to compare

This release adds a number of new operators:

  • Add operator to monitor SharedPreference changes
  • Add view state event types to streamline ViewObservable
  • Add OperatorAdapterViewOnItemClick to observe OnItemClick events in AdapterViews

0.21.0

01 Oct 06:39
Compare
Choose a tag to compare

This is the first release after splitting from RxJava into its own top level project RxAndroid.

This is the same code as version 0.20.4 except:

  • all deprecated methods and types are deleted
  • now published to groupId io.reactivex instead of com.netflix.rxjava
  • artifactId is now rxandroid instead of rxjava-android
io.reactivex:rxandroid:0.21.0

Issues and discussions specific to RxAndroid should now be had in the RxAndroid Issues. Issues with core Observable and operators remain in RxJava Issues.

The artifacts can be found on maven Central at: http://repo1.maven.org/maven2/io/reactivex/rxandroid

Artifacts: Maven Central

0.20.4

01 Oct 06:37
Compare
Choose a tag to compare

Last release as submodule of of RxJava: https://github.com/ReactiveX/RxJava/releases/tag/0.20.4