Skip to content

Version 1.0.0

Compare
Choose a tag to compare
@slovnicki slovnicki released this 03 Dec 09:37
· 263 commits to master since this release
29bcae4

CHANGELOG

  • BREAKING: "top-level state", the one in BeamerDelegate is now RouteInformation instead of BeamState
    • BeamerDelegate.state doesn't exist anymore and is replaced with BeamerDelegate.configuration which is RouteInformation and not BeamState
    • locationBuilder now works with RouteInformation and BeamConfiguration instead of BeamState
    • super() constructor on BeamLocation now takes optional RouteInformation instead of BeamState
    • in order to continue using custom BeamLocations with BeamState state, generic type has to be specified; class MyBeamLocation extends BeamLocation<BeamState>
  • BREAKING: pathBlueprints is renamed to pathPatterns
    • BeamLocation.pathPatterns is List<Pattern>
    • BeamState.pathBlueprintSegments renamed to BeamState.pathPatternSegments
    • BeamGuard.pathBlueprints renamed to BeamGuard.pathPatterns
  • BREAKING: SimpleLocationBuilder is renamed to RoutesLocationBuilder
    • also the SimpleBeamLocation is renamed to RoutesBeamLocation
    • routes values now additionally receive data
  • BREAKING: beamStateHistory and beamLocationHistory have been replaced with beamingHistory that is a List<BeamLocation> and each BeamLocation has history that is List<HistoryElement> where HistoryElement holds RouteInformation and BeamParameters.
  • BREAKING: BeamerDelegate.listener has been renamed to BeamerDelegate.routeListener
  • BREAKING: The property pageRouteBuilder in BeamPage is replaced with a new property routeBuilder which works with any RouteBuilder not just PageRouteBuilder.
  • BREAKING: BeamGuard beamTo receives the origin and target BeamLocations alongside BuildContext.
  • BREAKING: BeamGuard beamToNamed is now a function that receives the origin and target BeamLocations and returns a String.
  • Add: guard_riverpod example
  • Add: firebase_core example
  • Add: firebase_auth example
  • Add: change_notifier_custom_state example
  • Add: BeamerBackButtonDispatcher.alwaysBeamBack to make Android back button always go to previous route, even if it can pop.
  • Add: BeamPage.routePop that can be used for onPopPage instead of default pathsegmentPop
  • Add: BeamerDelegate.buildListener, which is called after the pages are built.
  • Add: fullScreenDialog property to BeamPage
  • Add: flutter_lints
  • Add: a presentation resource about beamer
  • Fix: clearing history range when using popToNamed
  • Fix: passing BeamPage.title to CupertinoPageRoutes