Skip to content

v0.8.0

Compare
Choose a tag to compare
@tomgilder tomgilder released this 15 May 19:22
· 104 commits to main since this release

0.8.0

  • Breaking change: Guard properties have been renamed: validate is now canNavigate and onValidationFailed is now onNavigationFailed
  • Breaking change: removed abstract RouteConfig class; to create custom routing maps, inherit from RouteMap
  • Deprecation: StackNavigator has been renamed PageStackNavigator
  • Added NotFound return page type
  • Added ability to customise the top-level navigator with RoutemasterDelegate.builder
  • Added ability to use tabs with a custom page type
  • Fixed replace() not working with hashes on web
  • Fixed path URL strategy not working when it's set outside Routemaster
  • Fixed tabs creating a redirect loop on web
  • Note: Use of Guard is no longer recommended - use standard if statements and NotFound or Redirect