zenrouter 0.4.7
zenrouter: ^0.4.7 copied to clipboard
A powerful Flutter router with deep linking, web support, type-safe routing, guards, redirects, and zero boilerplate.
0.4.7 #
- Docs: Update README
0.4.6 #
- Docs: Update README and add screenshots
0.4.5 #
- Feat: Add
RouteQueryParametersmixin for targeted query parameter updates usingValueNotifier. - Fix: Ensure
pathis set forRouteTargetwhen initialIndexedStackPath. - Fix: Ensure
layoutis resolve correct if they under deeper stack. - Refactor: Refactor folder structure and test folder structure to be more organized.
0.4.4 #
- Feat: New ZenRoute Logo!
- Docs: Improve document and update outdate example
0.4.3 #
- Feat: Add
CoordinatorNavigatorObservermixin to provide a list of observers for the coordinator's navigator. - Breaking Change: Complete redesign [RouteLayout] builder to be more flexible and powerful.
- Deprecate static method
RouteLayout.buildPrimitivePathand usebuildPathfunction instead. - Add ability to define new [StackPath] using
RouteLayout.definePath. You can create custom behavior path builder. (Eg: RecoverableHistoryStack like unrouter)
- Deprecate static method
0.4.2 #
- Feat: Add
transitionStrategytoCoordinatorfor default stack transition setup - Fix: Ensure when [Navigator.pop] called sync new stack with [NavigationPath]
0.4.1 #
- Fix: Ensure [Coordinator.routeDelegate] initialize once
- Improvement: Add [IndexedStackPathBuilder] for improve performance for rendering [IndexedStackPath]
0.4.0 #
- Breaking Change: Deprecated default constructors for
NavigationPathandIndexedStackPath. UseNavigationPath.create/createWithandIndexedStackPath.create/createWithinstead. - Breaking Change: Introduced
internalPropstoRouteTargetfor better deep equality and hash code generation. - Feat: Added
popGuardWithtoRouteGuardandredirectWithtoRouteRedirectfor coordinator-aware mixin logic. - Feat: Added strict path-coordinator binding support via
createWithfactories. - Docs: Added comprehensive Migration Guide.
- Feat: Added
routerDelegateWithInitalRoutetoCoordinator. - Feat: Enhanced
setInitialRoutePathto correctly handle initial routes vs deep links.
0.3.2 #
- Add
navigatefunction: A smarter alternative topushthat handles browser history restoration by popping to existing routes instead of duplicating them.
0.3.1 #
- Allow
parseRouteFromUrito returnFuturefor implementing deferred import/async route parsing
0.3.0 #
- Breaking change: Change return of
Coordinator.push()fromFuture<dynamic>toFuture<T?> - Fix
NavigationStackrerender page everytimepathupdated. Resolve #10. - Feat: Add
recoverfunction
0.2.3 #
- Update
activePathIndextoactiveIndexinIndexedStackPath - Update document for detailed, hand-written example of Coordinator pattern
0.2.2 #
- Expose pop result in Coordinator
- Fix memory leak: Complete route result futures when routes are removed via
pushOrMoveToTop - Fix memory leak: Complete intermediate route futures during
RouteRedirect.resolvechain
0.2.1 #
- Standardize how to access primitive path layout builder
- Define using
definePrimitivePath - Build using
buildPrimitivePath
- Define using
0.2.0 #
- BREAKING: Rename
activeHostPathstoactiveLayoutPathsto reflect correct concept.
0.1.2 #
- Update homepage link
0.1.0 #
- Initial release of ZenRouter.
- Unified Navigator 1.0 and 2.0 support.
- Coordinator pattern for centralized navigation logic.
- Support for both Declarative and Imperative navigation paradigms.
- Route mixins:
RouteGuard,RouteRedirect,RouteDeepLink. - Optimized Myers diff algorithm for efficient stack updates.
- Type-safe routing with
RouteUnique.
