Skip to content

Releases: slovnicki/beamer

Version 0.14.0

08 Jun 00:33
136255c
Compare
Choose a tag to compare

CHANGELOG:

  • BREAKING: routes in SimpleLocationBuilder now also bring the state
  • Add: support for RegExp in pathBlueprints (in both BeamGuards and BeamLocations)
  • Add: updating nested Beamers on parent navigation
  • Add: onBack to BeamerbackButtonDispatcher
  • Add: navigator getter to BeamerDelegate
  • Add: beamStateHistory and BeamLocationHistory to context extension methods
  • Add: data parameter to beamBack
  • Change: BeamPage.pageRouteBuilder return type to be a superclass
  • Fix: removing last BeamState from history on default pop
  • Fix: BeamGuard behavior on query parameters
  • Fix: ignoring trailing / in URIs
  • Fix: keeping data as long as possible when beaming
  • Improved Android back button behavior
  • Improved bottom navigation examples
  • Improved README

Version 0.13.3

22 May 01:20
Compare
Choose a tag to compare

CHANGELOG:

  • Add: authentication_riverpod example
  • Add: "Tips and Common Issues" to README
  • Fix: Drawer pop
  • Fix: beamBackOnPop:true while beaming
  • Make beamStateHistory and beamLocationHistory public

Version 0.13.2

18 May 23:16
Compare
Choose a tag to compare

CHANGELOG:

  • Add: BeamerDelegate.notFoundRedirectNamed
  • Add: public static BeamPage.defaultOnPopPage
  • Fix: top-level guard updating URL
  • Improved guards example
  • Improved README Quick Start

Version 0.13.1

17 May 23:20
Compare
Choose a tag to compare

CHANGELOG:

  • Fix: correctly updating delegate after applying guards

Version 0.13.0

16 May 23:11
Compare
Choose a tag to compare

CHANGELOG:

  • BREAKING: renamed BeamerRouterDelegate to BeamerDelegate
  • BREAKING: renamed BeamerRouteInformationParser to BeamerParser
  • BREAKING: renamed pagesBuilder to buildPages
  • BREAKING: renamed Beamer.of(context).currentLocation to Beamer.of(context).currentBeamLocation
  • Add: BeamPage.popToNamed and BeamPage.onPopPage for fine control of popping
  • Add: BeamPage.title for setting the browser tab title
  • Add: SimpleLocationBuilder can now mix BeamPages and Widgets
  • Add: BeamerParser.onParse for intercepting the parsed state on app load
  • Add: encoding the data into browser history
  • Add: blocking capability to BeamGuards
  • Add: slide and scale transitions to BeamPageType
  • Add: optional transitionDelegate for beaming
  • Fix: cascade guarding
  • Fix: delegate listener not being called always
  • All examples improved and migrated to null-safety
  • Improved documentation

Version 0.12.4

27 Apr 20:12
Compare
Choose a tag to compare

CHANGELOG:

  • Add Beamer.setPathUrlStrategy() for removing # from URL
  • Add persistent auth state on browser refresh in authentication_bloc example
  • Fix detection of NotFound when using SimpleLocationBuilder
  • Fix updating route on guard actions
  • Fix not pushing BeamState in history if it's on top
  • Fix taking currentLocation on setting initial path

Version 0.12.3

24 Apr 21:34
Compare
Choose a tag to compare

CHANGELOG

Version 0.12.2

24 Apr 21:33
Compare
Choose a tag to compare

CHANGELOG:

  • Add listener attribute to BeamerRouterDelegate
  • Add root attribute to BeamerRouterDelegate and {bool root = false} attribute to Beamer.of
  • Add canHandle(Uri uri) method to BeamLocation
  • Fix Updating parent on nested navigation
  • Fix README typos

Version 0.12.1

19 Apr 21:14
Compare
Choose a tag to compare

CHANGELOG:

  • Fix updating browser history

Version 0.12.0

19 Apr 20:26
Compare
Choose a tag to compare

CHANGELOG:

  • BREAKING: There's no RootRouterDelegate any more. Just rename it to BeamerRouterDelegate. If you were using its homeBuilder, use SimpleLocationBuilder and then routes: {'/': (context) => HomeScreen()}
  • BREAKING: Behavior of beamBack() was changed to go to previous BeamState, not BeamLocation. If this is not what you want, use popBeamLocation() that has the same behavior as old beamback()
  • Fix: Important bug while using multiple sibling Beamers