All Versions
14
Latest Version
Avg Release Cycle
96 days
Latest Release
1258 days ago

Changelog History
Page 1

  • v1.0-alpha3

    April 18, 2017

    ๐Ÿ›  Important bug fixes for 1.0 alpha, and introduction of HistoryFilter.

    • API change: added Flow#setHistoryFilter to address https://github.com/square/flow/issues/220
    • ๐Ÿ‘ป JavaDoc for Flow#get, better exception when it fails.
    • ๐Ÿ›  Fix for crasher when calling goBack() during a transition
    • ๐Ÿ›  Fix for intent handling (@Zhuinden)
    • ๐Ÿ‘ Allow saving state for multiple views in a single State (for MultiKeys) (@edenman)
  • v1.0-alpha2

    September 02, 2016

    ๐Ÿ›  Important bug fixes for 1.0 alpha.

    • API change: KeyChanger is now an interface
    • ๐Ÿ›  Fix for service accounting bugs (@novachevskyi)
    • ๐Ÿ‘ Better exceptions for bad setup (@maxandron)
  • v1.0-alpha

    February 18, 2016

    ๐Ÿ“„ Presented for review and feedback. API should still be considered unstable, docs incomplete, and functionality buggy. All of the above should be mostly resolved before beta.

    1.0 brings major functional improvements and API changes.

    • ๐Ÿ”ง Activity integration has been rewritten and is much simpler. One line to configure and install; one optional line to handle the back button; one optional line to handle new Intent. Flow handles lifecycle internally.
    • ๐Ÿ‘ Resource management (including shared resources) is now natively supported via TreeKeys-- Path has effectively been absorbed and simplified. Contexts are now managed internally and there's much less nesting of wrappers.
    • ๐Ÿ”Š Multiple simultaneous states are now supported via MultiKeys-- Flow now works natively with UIs composed of dialogs, sheets, master-detail views, etc. MultiKeys can be composed of TreeKeys for resource sharing.
    • Persistence has been expanded and simplified. You can now save a Bundle along with view state, and Flow takes care of all the lifecycle.
    • Nested/queued traversals are much safer and more efficient.
    • The goBack operation in particular is safer and more predictable.
    • ๐Ÿ’พ Save state and view state are managed internally and orthogonally to History; you no longer have to take care to avoid losing state when changing History.
  • v0.12

    August 13, 2015
    • ๐Ÿ›  Fix: History.Builder#pop is nullable again, and adds History.Builder#isEmpty.
  • v0.11

    August 11, 2015
    • ๐Ÿ›  Fix: No longer persists an empty list of states if the filter excludes everything.
  • v0.10

    May 01, 2015
    • ๐Ÿ›  Fix: The Builder returned by History#buildUpon() is now safer to use. See javadoc for detail.
  • v0.9

    April 24, 2015

    A large number of breaking changes have been made in the interest of focusing the library.

    • Backstack is now called History and has some new method names.
    • The resetTo, goTo, replaceTo, forward, and backward operations are all gone. In their place are two simple methods: set(Object) and set(History, Direction).
    • HasParent and goUp are gone. "Up" navigation is left as an exercise to app authors who need it, at least for the time being.
    • ๐Ÿšš The @Layout annotation has been removed. You can find it in the sample if you want a copy.
    • Listener is now called Dispatcher, and can be set on a Flow after construction. Dispatcher gets more information than Listener did.

    There are also some new features, and more are coming.

    • โž• Added a Context service for easily obtaining the Flow.
    • โž• Added FlowDelegate for easier integration into an Activity.
    • โž• Added the flow-path module. Paths generally represent states/screens in an app, and are associated with Contexts which can be created by a user-supplied factory. PathContainer helps with switching views while maintaining view state.
  • v0.8

    September 17, 2014
    • API break: The Listener now gets a Callback, which it must call when it has completed a transition.
    • ๐Ÿ‘ Flow now supports reentry. While a Listener is executing, calls to Flow which modify the backstack are enqueued.
    • Beefed up sample app, including demonstration of providing view persistence via the back stack
  • v0.7

    May 16, 2014
    • replaceTo and goUp keep original screens for a matching prefix of the stack.
    • ๐Ÿ›  Fix waitForMeasureLoop in example code.
  • v0.6

    April 21, 2014
    • API break: replaceTo() now has a new Direction associated with it, REPLACE. This is logically more correct because the incumbent backstack is not consulted, and convenient because a replace transition is typically different from a forward or backward transition.