pulsar 0.1.1
pulsar: ^0.1.1 copied to clipboard
Flutter dependency injection and Navigator 2 routing: modular binds, route guards, async binds, RouterOutlet, and transitions.
Changelog #
All notable changes to pulsar will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
Earlier entries referred to upstream history and were removed when this changelog was reset.
0.1.1 - 2026-05-05 #
Fixed #
- Nested routes:
ParallelRoutenow forwardsparentandschematoPulsarRouteImplvia super-parameters instead of shadowing them as unused constructor locals.ChildRoute/ nestedModuleRoutetrees again receive correctparentafter assembly, soPulsarRouteInformationParser.selectBookrebuilds the ancestor stack (shell + leaf) instead of a single full-screen page when usingRouterOutlet. - Tests: integration regression for shell +
ModuleRoute(getRouteleafparent,selectBookstack length).
0.1.0 - 2026-04-07 #
Added #
- Domain errors:
EmptyRoutePathExceptionandInvalidRouteResolutionException(replacing genericExceptionfor empty path and failed route resolution inPulsarRouteInformationParser). RouterOutletDelegate.setNewRoutePath: minimal merge into the parentPulsarRouterDelegateby outletschema, with class-level Router 2.0 documentation.- Tests: injector lifecycle (
disposeModuleByTag,removeBindContext,BindNotFound,isModuleReady), navigation regression contracts, and outlet delegate coverage.
Changed #
- Example app (pub.dev Example tab): expanded
example/README.md(feature table, file map, run/tests, minimal integration snippet); clearerexample/pubspec.yamldescription;example/lib/main.dartapp bar and library documentation. - README dependency snippet updated to
^0.1.0. - DI / injector:
InjectorImplkeeps an explicit module stack (no per-lookup list allocation);BindContextImplcaches non-export binds for lookups. Behavior and precedence unchanged. - Navigation:
PulsarRouterDelegatehandles null or emptycurrentConfigurationforpushNamed,pushReplacementNamed, andpushNamedAndRemoveUntil;onDidRemovePageno longer crashes when configuration is missing;popAndPushNamedawaitsNavigatorState.maybePopbefore resolving the next route.
0.0.4 - 2026-04-07 #
Added #
- Pub.dev metadata:
homepage,repository,issue_tracker, andtopics. - README: dependency snippet and minimal
PulsarApp+MaterialApp.routersetup.
Changed #
- Dev tooling:
mocktail^1.x,flutter_lints^5; analyzer cleanups; tests updated for genericisModuleReadystubs. - Publish tarball excludes build artifacts via
.pubignore;.dart_tool/build/coverageare no longer tracked in git.