Skip to content

Releases: trello-archive/RxLifecycle

v2.0

21 Nov 19:47
Compare
Choose a tag to compare

This major revision was made to support RxJava 2. RxLifecycle 2.0 lives in a new namespace and package
names so that it can work side-by-side with RxLifecycle 1.0 (while transitioning).

The biggest change is that LifecycleTransformer now works for all RxJava types:
Observable, Flowable, Single, Maybe and Completable. Unlike before, there's
no extra steps you have to take to make it work with types other than Observable.

  • #167: Upgrade to RxJava 2
  • #169: Move to com.trello.rxlifecycle2
  • #170: Added Maybe support
  • #172: Added Flowable support

v1.0: Merge pull request #165 from trello/dlew/prep-1.x

03 Nov 19:49
Compare
Choose a tag to compare

First and (hopefully) final release of 1.x branch!

This release marks the start of maintenance mode for RxJava 1 support. Future work will be devoted to supporting
RxJava 2. Important bugs may be squashed but new features will have to be extraordinarily compelling in order
to be added.

  • #162: Made all components abstract
  • #157: Added RxPreferenceFragment

v0.8.0

19 Sep 15:08
Compare
Choose a tag to compare
  • #152: Support RxJava 1.2.0.

    This change is not backwards compatible with RxJava 1.1.x, so if you want to continue
    receiving updates for RxLifecycle you will eventually need to upgrade to RxJava 1.2.x.

v0.7.0

24 Aug 21:01
Compare
Choose a tag to compare

There are a couple major breaking changes in this release, so read carefully.

  • #143: Split Android parts of rxlifecycle into rxlifecycle-android

    Now the rxlifecycle dependency is a pure Java core. To use RxLifecycle with Android, you should also include
    rxlifecycle-android as well now.

    RxLifecycle methods that are for Android (bindActivity(), bindFragment() and bindView()) are now in
    RxLifecycleAndroid (found in the rxlifecycle-android artifact).

    Deprecated methods in RxLifecycle were removed as well.

  • #138 / #139:
    Replace ActivityLifecycleProvider and FragmentLifecycleProvider with LifecycleProvider<T>.

    This means that you need to replace ActivityLifecycleProvider with LifecycleProvider<ActivityEvent> and
    FragmentLifecycleProvider with LifecycleProvider<FragmentEvent>.

Other changes:

  • #140: Fixed type inference for LifecycleTransformer.forSingle()
  • #135: Add Kotlin extensions for Singles and Completables

v0.6.1

11 May 22:27
Compare
Choose a tag to compare
  • #118: Use LifecycleTransformer in the provider interfaces

v0.6.0

06 May 14:05
Compare
Choose a tag to compare
  • Added LifecycleTransformer, which provides Single and Completable support.
  • #111: Added component support for AppCompatDialogFragment
  • #107: Fixed navi component package

v0.5.0

27 Feb 20:50
Compare
Choose a tag to compare

There are a few methods which have been deprecated and will be removed in a future release. Each one has a drop-in replacement (and currently calling the deprecated version just routes to the new one):

  • bindUntilActivityEvent() and bindUntilFragmentEvent() -> bindUntilEvent()
  • bindView() -> bind()

The other changes mostly involve opening up the API for more customization:

  • #78: Added rxlifecycle-kotlin (adds some extensions)
  • #79: Made bindUntilEvent() public, deprecated more specific calls
  • #82: Opened up bind() methods for public consumption
  • #83, #85: Added
    annotations for better lint checking
  • #88: Use .equals() instead of == for event comparison (for
    custom event support with the newly opened-up bind())
  • #89: Make OutsideLifecycleException public (for anyone who wants
    to write their own bind() implementations)

v0.4.0

10 Dec 15:31
Compare
Choose a tag to compare
  • #62, #67: Added
    Navi-based implementation of providers.
  • #61: Moved ActivityLifecycleProvider and
    FragmentLifecycleProvider into the core library so that multiple implementations can share them easily. The package
    name changed so you may need to re-import them in your code.
  • #60: Reverted generic parameters back to Transformer<T, T>

v0.3.1

27 Nov 20:58
Compare
Choose a tag to compare
  • #46: Updated generic parameters of Transformer<T, T> to support Kotlin type inference.

v0.3.0

05 Sep 16:12
Compare
Choose a tag to compare
  • #12: Added RxLifecycle.bindView(). This allows binding a
    Subscription until a View detaches itself from the window.
  • #30: Calling bindActivity() or bindFragment() outside of the
    lifecycle causes the sequence to immediately complete (instead of throwing an error).
  • #31: Passing nulls to RxLifecycle now always immediately throws an
    exception.