zenrouter_core 2.1.0 copy "zenrouter_core: ^2.1.0" to clipboard
zenrouter_core: ^2.1.0 copied to clipboard

The core routing engine and unified interfaces for the ZenRouter navigation system. Contains common models, types, and logic used across the zenrouter ecosystem.

2.1.0 #

New Features #

  • GuardRule / RouteGuardRule: Composable pop-guard chains (first non-null bool wins), mirroring RedirectRule / RouteRedirectRule.
  • RouteGuard.canPop / canPopListenable: Sync PopScope hint plus optional ListenableMixin invalidation when leave-safety changes.
  • ListenableMixin: Subscribe-only reactive surface (with ListenableMixin.merge); ListenableObject now implements it.

Breaking Changes #

  • CoordinatorCore.pop: Pops only the nearest eligible stack path. Nested shells are no longer popped together with child stacks in a single call.
  • RouteRedirect.resolve: Throws StateError when a redirect returns a different route type (previously silently ignored).

2.0.3 #

  • chore: make RedirectRule can be const

2.0.2 #

  • Fix CoordinatorModular.getModule now correctly resolves the coordinator itself by registering runtimeType: this in _allModules, enabling getModule<MyCoordinator>() to work at any level of the hierarchy.

2.0.1 #

  • Fix CoordinatorModular edge case cascading dispose and prevent duplicate definitions.

2.0.0 #

  • Extract core function from zenrouter package
2
likes
140
points
14k
downloads

Documentation

API reference

Publisher

verified publisherzennn.dev

Weekly Downloads

The core routing engine and unified interfaces for the ZenRouter navigation system. Contains common models, types, and logic used across the zenrouter ecosystem.

Homepage
Repository (GitHub)
View/report issues

Topics

#router #routing #core #navigation #zenrouter

License

Apache-2.0 (license)

Dependencies

collection, meta

More

Packages that depend on zenrouter_core