Skip to content

Latest commit

 

History

History
161 lines (98 loc) · 3.59 KB

CHANGELOG.md

File metadata and controls

161 lines (98 loc) · 3.59 KB

2.0.5

  • change RouteSettings.copyWith to copyWithShim

2.0.4

  • shim RouteSettings.copyWith for Flutter ~3.5.0

2.0.3

  • null-safety

1.7.8

  • remove nullOk

1.7.7

  • fix unecessary platform check that caused 'dependOnInheritedWidgetOfExactType' was called on null error

1.7.6

  • more null coalesce guards

1.7.5

  • fix route.transitionDuration null coalesce

1.7.4

  • add documentation to public members

1.7.3

  • add FluroRouter.navigateTo(.rootNavigator, .nullOk)
  • add custom transitions in define
  • add BuildContext.settings and BuildContext.arguments extensions

1.7.2

  • Change to MIT license
  • Setup GitHub Actions
  • Update README text & badges

1.7.1

  • No changes, publish error.

1.7.0

  • Regenerated package & example
  • remove Router class
  • add maintainState to FluroRouter.navigateTo
  • add transitionDuration to FluroRouter.define
  • add TransitionType.none
  • add TransitionType.inFromTop
  • Pass custom RouteSettings with FluroRouter.navigateTo
  • basic flutter web support
  • add FluroRouter.pop result

1.6.4

  • Rename Router to FluroRouter to avoid namespace collisions with the Router class from the new Pages / Navigator 2.0 API.

1.6.3

  • Remove upper bounds on Flutter SDK checks because Flutter releases are a ridiculous mess

1.6.2

  • Support for Flutter >=1.12 <=1.17

1.6.1

  • Support for Flutter 1.12

1.6.0

  • No changes other than fixes for non-backwards compatible Flutter changes
  • Flutter >= 1.12.0 is required due to Flutter compatibility issues
  • Dart >= 2.6.0 is required

1.5.2

  • Remove dependency on dart:io
  • 1.5.x and lower now only supports Flutter versions < 1.13.0

1.5.1

  • Add explicit material and full screen material transition types
  • Fix issue in transition logic
  • Remove redundant new, const, etc qualifiers
  • Tidy example
  • Add font license info

1.5.0

  • Native transitions will now use the Cupertino page route on iOS and Material page route on android. This will enable swipe gestures on iOS.
  • Added cupertino specific transition types.
  • You should not be using Cupertino types on non-iOS platforms. It's up to you, but it's bad design.

1.4.0

  • Added the ability to define a transition at the point of route definition. Route transitions are optional and any transition defined a "push" will override the route definition.

1.3.7

  • Add toString for custom RouteNotFoundException type

1.3.6

  • Small fix to error return type when no route match was made

1.3.5

  • add pop convenience
  • add clearStack flag so that you can clear the history when pushing a route

1.3.4

  • Change lower dart version to cater to older flutter versions

1.3.3

  • Fix analyzer issues
  • Remove deprecations in example code
  • Fix pubspec analysis issue

1.3.2

  • Dart 2 package (pubspec) compliance changes ONLY
  • Note: No functional changes

1.3.1

  • Fixes an issue with the route generator (result cannot be Null)

1.3.0

  • BREAKING: Parameters now return an array of results even if they have a single value.
  • Support for parameter arrays. e.g: /some/route?color=red&color=green&color=blue.
  • Results can now be passed via Navigator.pop via use of a Future.
  • A few bug fixes

1.1.0

BREAKING: In order to support function handlers you will need to change all of your route handler definitions to use the new Handler class. The RouteHandler definition has now been removed.

Swapping out the handlers should be as simple as changing:

RouteHandler usersHandler = (Map<String, String> params) {}

to

var usersHandler = new Handler(handlerFunc: (BuildContext context, Map<String, dynamic> params) {});