Skip to content
This repository has been archived by the owner on May 23, 2020. It is now read-only.

Releases: trello/navi

v2.1.0

25 Oct 14:55
5a1111e
Compare
Choose a tag to compare

Notice: As of this release, the navi library is deprecated in favor of lifecycle-aware components. No more development will be taking place.

  • #103 Switched to AndroidX libraries

v2.0.1

20 May 14:10
ca64b33
Compare
Choose a tag to compare
  • #93 Make NaviAppCompatDialogFragment extend from AppCompatDialogFragment
  • #96 Fail early on null component or event
  • #97 Remove unnecessary throws Exception in NaviOnSubscribe
  • #98 Disable BuildConfig generation

v2.0

21 Nov 19:00
Compare
Choose a tag to compare

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

The one major behavior change to be aware of is that, since RxJava 2 does not allow nulls, Navi
no longer emits nulls either. This means that any former Void types are now Object types
(where the Object is just a signal). There were also cases of null Bundles that are now replaced
by empty Bundles.

  • #79 Made all base Activities/Fragments abstract
  • #77 Switch to using RxJava 2.0
  • #76 Avoid using null
  • #75 Use AutoValue for models (which changed the method signature of RequestPermissionsResult.permissions())
  • #74 Change signature of NaviEmitter.onViewCreated() to match the rest of the API
  • #73 Bumped version to 2.0 and use com.trello.navi2

v1.0: Merge pull request #72 from trello/dlew/prep-1.0

31 Oct 16:01
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.

v0.2.2

09 Aug 18:41
Compare
Choose a tag to compare
  • #62 Added Event.POST_CREATE and Event.POST_CREATE_PERSISTABLE

v0.2.1

05 Jul 21:45
Compare
Choose a tag to compare
  • #57 Added Event.VIEW_CREATED for Fragments
  • #54 Use final modifier for interface implementations
  • #53 Add @CallSuper annotation on component classes

v0.2.0

27 Feb 16:00
Compare
Choose a tag to compare

There are a few method signature and behavior changes, so upgrade carefully.

  • #47 Added Type.CREATE_PERSISTABLE, Type.SAVE_INSTANCE_STATE_PERSISTABLE and Type.RESTORE_INSTANCE_STATE_PERSISTABLE so that the ALL tracker can distinguish between events.

    Also avoided calling CREATE, SAVE_INSTANCE_STATE and RESTORE_INSTANCE_STATE too often in persistable Activities.

  • #46 Destruction events now emit before their super() calls.

  • #41 Removed unnecessary Event parameter from NaviComponent.removeListener().

  • #39 Added NaviAppCompatDialogFragment.

v0.1.3

03 Dec 14:55
Compare
Choose a tag to compare
  • #24 Converted hasEvent() -> handlesEvents()

v0.1.2

25 Nov 21:37
Compare
Choose a tag to compare
  • #20 Added Event.ALL for listening to all events

v0.1.1

09 Nov 15:56
Compare
Choose a tag to compare
  • #16 Fixed concurrency problems with add/removing listeners while emitting an event