auto_route 1.0.0-beta.8
auto_route: ^1.0.0-beta.8 copied to clipboard
AutoRoute is a declarative routing solution, where everything needed for navigation is automatically generated for you.
ChangeLog #
1.0.0-beta.8 #
- Add support for null-Safety to generated code.
- Fix pop issues
- Add popUntil, popUntilRoot and popUntilRouteWithName helper functions to StackRouter
- Minor fixes Edit [BC] pushAndPopUntil uses the native predicate now.
1.0.0-beta.7 #
- Fix onRoutePop not called in declarative router #310
- Fix App reloads after pressing browser's back button #309
- Fix TabsRouter not displaying current route when pressing the browser's back button
- Add pop until method to StackRouter
- Prefix parent routes are now included if includePrefixMatches is true
- Add RouteMatcher tests
- Minor improvements
1.0.0-beta.6 #
- Fix reload issue when pressing the browser's back button #309
- Fix onPopRoute is not called in declarative Router #310
- Include empty paths as prefix-matched paths when deep-linking.
- Remove unnecessary dependencies
- Some minor improvements and code refactor
1.0.0-beta.5 #
- Refactor some code
- Update readme file
1.0.0-beta.4 #
- Fix page can not be used for multiple routes
- Add duplicate route-names check in generator.
1.0.0-beta.3+1 #
- Fix badge alignment in readme file
1.0.0-beta.3 #
- Fix crash on empty path deep-linking
- Fix parent does not take priority when child can't pop
- Change includePrefixMatches default value to false in DefaultRouteParser
- Add some updates to Readme file
1.0.0-beta.2 #
- Add lazyLoad option to AutoTabsRouter
- Replace AutoRouterConfig with an implementation of StackRouter
- Root delegate is now lazyLoaded
1.0.0-beta.1 Breaking Changes! #
- Add TabsAutoRouter
- Refactor some code
1.0.0-beta Breaking Changes! #
- Rebuild auto_route to work with Navigator 2.0
0.6.9 #
- Fix generator error running flutter version 1.22
- Fix bar-url not updated in flutter version 1.22
0.6.7 #
- Fix blue screen issue when using guards on initial route #189
- Fix relative import issues
- Add option to not prefer relative imports
- Fix some linter warnings
- Fix issue #176
0.6.6 #
- Fix hot reload issue #170
- Fix Hero animations not working with the new ExtendedNavigator # 169
- Add static builder to ExtendedNavigator to use with MaterialApp's builder
0.6.5 #
- Downgrade path package to >= 1.6.4 to solve conflict with flutter_test
- Clean up auto_route index file
0.6.4 #
- Add usage of const constructors when possible
- Fix material package is only imported if needed
- Fix spelling mistakes in changeLog
0.6.2 Breaking Change #
- Fix deep linking issue for nested routes
- Change ExtendedNavigator to wrap the native navigator instead of extending it
- Change generated class applies to most of effective dart rules including preferring relative imports
- Change initial route placeholder color to white
- Add extension to BuildContext to easily access the navigator
- Remove NestedNavigator, ExtendedNavigator can be used directly as a nested navigator
- Rename some properties and deprecate their older names
- Remove ExtendedNavigator.ofRouter method
- Minor fixes and enhancements
0.6.1 #
- Fix pop until name issue by implementing PopUntilPath and RouteData.withPath
- Fix opening deep links in new tabs pushes initial route only
0.6.0+1 #
- Fix README file links
0.6.0 Breaking Change #
- Change the way routes are declared from class fields to a static list
- Add support for path & query parameters
- Add support for path wildcards
- Add support for nested routes
- Add support for generic result types
- Add a get ExtendedNavigator by name feature
- Merge a fix for adaptive route web support issue
- Change generating arguments holder for single parameter routes is not optional anymore
- Minor fixes and enhancements
0.5.0 #
- Add allRoutes getter to RouterBase
- minor fixes
0.4.6 Skip #
0.4.5 Breaking Change #
- Add AdaptiveAutoRouter and AdaptiveRoute for native platforms
- Change using leading slashes is now options
- Change wrappedRoute is now a function that takes in build context
- Fix calling nested route returns null after popping parent route
- Fix initial route ignore custom transitions
- Add ability to name routes class
0.4.4 #
- Change generating arguments holder for single parameter routes is not optional
- Fix android soft back button always pops root navigator
0.4.3 Breaking Changes #
- Add ability to pass initial route arguments to ExtendedNavigator
- Change single route parameters will have argument holder classes too as requested
- Fix ExtendedNavigator.ofRouter
0.4.2 #
- Fix Android soft back button always exists App
0.4.1 Breaking Changes #
- Fix isInitialRoute not defined for RouteSettings in flutter 1.15.+
0.4.0 Breaking Changes #
- Change using ExtendedNavigator instead of the native Navigator
- Fix initial route does not go through guards
- Change generated router class is no longer static
- Change routes are generated in their own class now "Routers"
- Add option to generate navigation helper methods extension
- Update README file
0.3.1 #
- Fix Compilation Fails in flutter 1.15.+
- Fix third party imports src instead of library
- Fix guardedRoutes is generated even if it's empty
- Add support for custom unknown route screen
0.3.0 Breaking Changes! #
- Add global route customization
- Use MaterialAutoRouter, CupertinoAutoRouter or CustomAutoRouter instead of AutoRouter
- Navigator key is now accessed by calling Router.navigator.key instead of Router.navigatorKey.
- Add Route guards
- Add optional returnType param in all AutoRoute types.
- Remove generate Navigator Key optional.
- Fix generate error when using dynamic vars in route widget constructors
0.2.2 #
- Add option to generate a list with all route names
- change generating navigator key is now optional
- Fix prevent importing system library files
- Change generated route path name are now Kabab cased (url-friendly)
- Add ability to use custom path names in all route types
- Update README file
0.2.1 #
- add Route Wrapper
- add initial flag as a property in all route types
- change prefix const route names with class name.
- add fullscreenDialog property to @CustomRoute()
0.2.0+1 #
- format README file
0.2.0 #
Breaking Changes! #
- change to using a single config file instead of annotating the actual widget class due to performance issues.
- add @MaterialRoute(), @CupertinoRoute() and @CustomRoute() annotations
- remove @AutoRoute() annotation and add @AutoRouter()
- handle required parameters.
- add navigating with a global navigator key [without context].
- support nested navigators.
0.1.1 #
- code formatting.
0.1.0 #
- initial release.