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

Latest commit

 

History

History
77 lines (48 loc) · 3.72 KB

CHANGELOG.md

File metadata and controls

77 lines (48 loc) · 3.72 KB

Changelog

2.1.0 (2018-10-25)

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

2.0.1 (2018-05-20)

  • #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

2.0 (2016-11-21)

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

1.0 (2016-08-09)

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.

0.2.2 (2016-08-09)

  • #62 Added Event.POST_CREATE and Event.POST_CREATE_PERSISTABLE

0.2.1 (2016-07-05)

  • #57 Added Event.VIEW_CREATED for Fragments
  • #54 Use final modifier for interface implementations
  • #53 Add @CallSuper annotation on component classes

0.2.0 (2016-02-27)

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.

0.1.3 (2015-12-03)

  • #24 Converted hasEvent() -> handlesEvents()

0.1.2 (2015-11-25)

  • #20 Added Event.ALL for listening to all events

0.1.1 (2015-11-09)

  • #16 Fixed concurrency problems with add/removing listeners while emitting an event

0.1.0 (2015-11-04)

Initial release!