vrouter 1.1.2+2
vrouter: ^1.1.2+2 copied to clipboard
A Flutter package that makes navigation and routing easy on every platform.
Emojis codes #
- 🛠️ : FIX A bug has been fixed
- ✨ : NEW New features have been added. Those are non breaking.
- 🚨 : BREAKING Some class/attribute/method changed and will break your code. Read comment to know how to migrate.
- 🔁 : DEPRECIATED Some class/attribute/method is depreciated. Read the documentation to know how to migrate.
1.1.2+2 07/05/2021. #
- 🛠️ :
pathParametersare now all passed toVNester.subroutes - 🛠️ :
AppBarnow displays aBackButtoninnestedRoutesif it can pop
1.1.2+1 07/05/2021. #
- 🛠️ : Fix pushSegments: it was missing a '/' at the start of the url given to push
1.1.2 07/05/2021. #
- ✨ : Adding pushSegments which encodes the different part of the url for you
1.1.1+9 03/05/2021. #
- 🛠️ : pub.dev like count shield was not disposed properly on package updates
1.1.1+8 03/05/2021. #
- 🛠️ :
VWidgetGuardwas not disposed properly - ✨ : Redesigned README: more readable and added
VRouteElementBuilderinfo
1.1.1+7 30/04/2021. #
- 🛠️ :
pathParameterswill be passed properly inVNester - 🛠️ : A edge in
onPopofVNesterPageBasehas been solved
1.1.1+6 29/04/2021. #
- 🛠️ :
onSystemPopwill now pop by also looking in nestedRoutes - ✨ :
VNesternow supportsnavigatorKey, see the documentation for more details
1.1.1+5 29/04/2021. #
- 🔁 : Please use
VDefaultPageinstead ofVBasePage
1.1.1+4 29/04/2021. #
- ✨ : Add
fullscreenDialogoption toVWidgetandVWidgetBase
1.1.1+3 29/04/2021. #
- 🛠️ :
onPopandonSystemPopare now called when needed, even if deeply nested
1.1.1+2 28/04/2021. #
- 🛠️ : Remove
scrollBehaviorfromCupertinoVRouter
1.1.1+1 28/04/2021. #
- 🛠️ : Make
VRouteInformationParserandVBackButtonDispatchervisible
1.1.1 27/04/2021. #
- 🚨 :
onPopandonSystemPopare not called ONLY when theVRouteElementare popped (not as long as they are in the route) - 🚨 :
pageBuildernow gives you anameparameter that you can give to yourPage. Change(key, child) => YourPage(key, child)to(key, child, name) => YourPage(key, child, name) - 🛠️ :
VWidgetGuardis now disposed properly when it is no longer in the route - 🛠️ :
VWidgetGuard.beforeUpdateis now called properly - ✨ : Support for extending
VRouteElementBuilderto create customVRouteElement - ✨ :
VPathwhich only constrains the path, without the need to given a widget or a page - ✨ :
VPageBasewhich is the same asVPagewithout the argument relative to the path - ✨ :
VWidgetBasewhich is the same asVWidgetwithout the argument relative to the path - ✨ :
VNesterBasewhich is the same asVNesterwithout the argument relative to the path - ✨ :
VNesterPageBasewhich is the same asVNesterPagewithout the argument relative to the path - ✨ :
MaterialApp.routerCupertinoApp.routerorWidgetApp.routercan now be used usingVRouterDelegate,VRouteInformationParserandVBackButtonDispatcher - ✨ :
navigatorObserverscan now be passed toVRouterand will be passed to everyNavigator - Refactor to use the new
VRouteElementBuilder - Removed dependency on SimpleUrlHandler
1.1.0+22 20/04/2021. #
- Remove prints
1.1.0+21 17/04/2021. #
- ✨ :
popandpushNamednow return errors when needed
1.1.0+20 09/04/2021. #
- 🚨 : Changing
popandsystemPopdefault behaviour to include previous path parameters
1.1.0+19 09/04/2021. #
- 🛠️ :
VRouter.oferror when called fromVRouter.builder
1.1.0+18 09/04/2021. #
- 🛠️ : stackedRoute in VNested which did not built VNester widget
1.1.0+17 09/04/2021. #
- 🛠️ : vRedirector use in onPop and onSystemPop which was only stopping the redirection
1.1.0+16 06/04/2021. #
- 🛠️ : last onPop on MacOS, Linux and Windows
1.1.0+15 01/04/2021. #
- 🛠️ : initialUrl breaking deep-linking
1.1.0+14 01/04/2021. #
- 🛠️ : default pop onto path parameters
- Add more migration doc
1.1.0+13 30/03/2021. #
- 🛠️ : default Page key value
1.1.0+12 30/03/2021. #
- 🛠️ : pop forming path when parent path end with '/'
1.1.0+11 30/03/2021. #
- ✨ : Provide customizable key argument for VRouteElement with
widgetargument
1.1.0+10 30/03/2021. #
- Solve pop issue when calling setState before popping
1.1.0+9 29/03/2021. #
- Remove prints
1.1.0+8 29/03/2021. #
- 🛠️ : url sync in edge case redirection situations
1.1.0+7 29/03/2021. #
- Code formatting using dartfmt
1.1.0+6 29/03/2021. #
- 🚨 : Adding LocalKey to VPage.buildPage, helping animations
1.1.0+5 28/03/2021. #
- Code formatting using dartfmt
1.1.0+4 28/03/2021. #
- Change import to support desktop yet again
1.1.0+3 28/03/2021. #
- Update readme
1.1.0+2 28/03/2021. #
- Change import to support desktop
1.1.0+1 28/03/2021. #
- Change dependency constraints for null safety
1.1.0 28/03/2021. #
- 🚨 : VRouteData should not be used anymore, use VRouterData to access the current route data
- 🚨 : VRouterData should not be used to get the navigation methods (push, ...), use VRouter instead
- 🚨 : Navigation control methods inside VRouteElement (beforeLeave, beforeEnter, ...) are now called even if the VRouteElement is not the last element of the route
- ✨ : New description in classes comment, example of class uses can now be found there
- ✨ : Use VRouterData to access route information (url, path params, ...)
- ✨ : Use VRouter to access navigation methods (push, ...)
- ✨ : Use context.VRouter instead of VRouter.of(context)
- ✨ : Use context.VRouterData instead of VRouterData.of(context)
- ✨ : Use context.VRouteElementData instead of VRouteElementData.of(context)
- ✨ : You can now set a initial url using VRouter.initialUrl and the InitialUrl class
- ✨ : VRouteElements now have beforeUpdate method called when the route changes but it remains in the route
- ✨ : widgetBuilder (from VChild and VStack) have a new attribute which gives you access to the current vChild in its stackedRoutes if any
See the migration guide at the end of the README to migrate!
1.0.0-nullsafety.11 27/02/2021. #
- ✨ : Enable access to VRouterState to enable navigation without context
1.0.0-nullsafety.10+1 24/02/2021. #
- Update README
1.0.0-nullsafety.10 23/02/2021. #
- Change import to display web badge on pub.dev
1.0.0-nullsafety.9 23/02/2021. #
- ✨ : Enable CupertinoPage when on IOS (https://github.com/lulupointu/vrouter/issues/3)
1.0.0-nullsafety.8 23/02/2021. #
- 🛠️ : Map type error (https://github.com/lulupointu/vrouter/issues/4)
1.0.0-nullsafety.7 21/02/2021. #
- Path parameters given in pushNamed are now encoded
- ✨ : pushNamed will now also search in aliases and pick the right path depending on the given pathParameters
1.0.0-nullsafety.6+1 20/02/2021. #
- Minor correction in the default pop event
1.0.0-nullsafety.6 20/02/2021. #
- ✨ : give a vRedirector when handling pop events
- 🚨 : pop events don't have (context, from to). See VRedirector for the new argument
1.0.0-nullsafety.5+1 19/02/2021. #
- Correcting CHANGELOG
1.0.0-nullsafety.5 19/02/2021. #
- ✨ : widgetBuilder to VChild and VStack
1.0.0-nullsafety.4 18/02/2021. #
- ✨ : add vRouteData in beforeLeave and beforeEnter
- 🛠️ : error when replacing path parameters in pushNamed
- 🛠️ : error with pushReplace on the web
1.0.0-nullsafety.3 16/02/2021. #
- 🛠️ :Fix error when pushing a url which does not start with '/'
1.0.0-nullsafety.2 16/02/2021. #
- Formatting with dartfmt
- Remove unnecessary statements
1.0.0-nullsafety.1 16/02/2021. #
- Remove unnecessary statements
- Add package description in pubspec.yaml
1.0.0-nullsafety.0 16/02/2021. #
- Initial nullsafe release