Skip to content

Releases: tomgilder/routemaster

v0.10.0-dev5

14 Oct 12:32
Compare
Choose a tag to compare
v0.10.0-dev5 Pre-release
Pre-release
  • Added: length property to PageStack to find out how many pages the stack will generate.

  • Added: PageStackNavigator.builder constructor for advanced scenarios to filter which pages are shown in the navigator.

  • Fixed: an issue with getting RouteData.of(context) in some advanced circumstances.

  • Breaking change: renamed and refactored some core Routemaster objects. Unlikely to affect anyone unless you're making custom stateful pages.

v0.10.0-dev4

07 Oct 08:30
74f928f
Compare
Choose a tag to compare
v0.10.0-dev4 Pre-release
Pre-release
  • Fixes a bug with forward history navigation.

v0.10.0-dev3

07 Oct 08:30
Compare
Choose a tag to compare
v0.10.0-dev3 Pre-release
Pre-release

Important: this release has some major breaking changes with how Routemaster
interacts with the system back button on Android and web.

  • Minimum supported Flutter version is now 2.5.0.

  • Breaking change: by default, the Android system back button now navigates
    backwards chronologically, instead of just popping the navigation stack.

  • Breaking change: by default, tabs no longer add an entry to the web history
    stack. This means the browser back button will not navigate between tabs.
    To use the previous behavior, specify backBehavior: TabBackBehavior.history in
    the tab page's constructor.

  • Added: history property on Routemaster for chronological history navigation,
    for example Routemaster.of(context).history.back().

  • Added: popUntil to pop multiple times with a predicate.

  • Fixed: when navigating to a relative route, use the current context's path as
    the base, instead of the router's current path.

v0.10.0-dev2

01 Aug 12:46
8e328ed
Compare
Choose a tag to compare
v0.10.0-dev2 Pre-release
Pre-release
  • Added: TransitionPage and TransitionBuilderPage to make it much easier to customize page push and pop animations.

  • Added: private routes - route segments that start with an underscore are not shown to the user. For example /sign-up/_stepTwo will be displayed as /sign-up in the address bar, and the user can not navigate to it by URL.

v0.9.5

11 Jul 08:05
Compare
Choose a tag to compare
  • Fixed: an issue where pages would not receive query parameters

v0.9.4

17 Jun 11:09
Compare
Choose a tag to compare
  • Fixed: an issue where pages were incorrectly rebuilding, causing state such as the active tab to reset
  • Fixed: you can now use the ternary operator in page builders without having to do extra casts

v0.9.3

01 Jun 19:32
Compare
Choose a tag to compare
  • Fixed: incorrect path reference in file (thanks to Thomas Frantz for PR)

v0.9.2

31 May 21:10
Compare
Choose a tag to compare
  • Fixed: navigating to an unknown page on startup could throw an exception

v0.9.1

31 May 17:49
Compare
Choose a tag to compare
  • Fixed: issue where routesBuilder could be called outside the build phase.

v0.9.0

27 May 14:51
Compare
Choose a tag to compare
  • Breaking change: PageStackNavigator no longer automatically provides a HeroController - to use heroes, wrap the navigator in a HeroControllerScope
  • Breaking change: refactored PageWrapper and StatefulPage (this is unlikely to affect you)
  • Added a new property to get the current route: Routemaster.of(context).currentRoute
  • Added documentation to all classes, properties and methods
  • Fixed: RouteData.of(context) sometimes throwing when navigating away from a page
  • Fixed: issue with rebuilding routes when RoutemasterDelegate is recreated