route_definer 2.0.3
route_definer: ^2.0.3 copied to clipboard
An advanced router for Flutter with support for parsing routes, parameters, and guards.
Changelog #
1.0.0 Initial release #
- Added
AppRoutersetup. - Route matching and URI param parsing.
- Basic authorization and redirect support.
- Custom guards support via
RouteGuard. - Test coverage for core routing logic.
1.0.1 fix documentation and pub score #
- Improved documentation comments for public APIs and classes.
- Updated
README.mdwith clearer usage examples and removed informal tone. - Added missing
description,homepage, andrepositoryfields topubspec.yaml. - Ran
dart format .to ensure consistent code formatting. - Resolved all issues and warnings reported by
flutter analyze. - Ensured
dart pub publish --dry-runpasses without errors or warnings.
1.0.2 Add example #
- Add example
1.1.0 - 2025-06-18 #
Added #
RouteOptions.merge()method to allow merging specific route options with global defaults.- Documentation for
RouteOptionsfields and themerge()method for clarity and usability.
Changed #
- Updated GitHub Actions to auto-publish to pub.dev when pushing a version tag (e.g.,
v1.2.3). - Added basic permission checking in CI workflow to restrict who can push tags (manual check using
github.actor).
Fixed #
- Improved test coverage and organization of
AppRouterand guard logic.
1.2.0 - 2025-06-18 #
- Lowered SDK version requirement for better compatibility
- Updated overall project documentation
- Added comprehensive API documentation for the library
1.2.2 - 2025-06-18 #
- Resolved runtime error when redirecting during route build phase by deferring navigation with
Future.microtask
2.0.0 - 2025-08-28 #
- Stabilized public APIs and bumped package version to 2.0.0.
- Added tests for route guards, title updates, and loader widget to reach full coverage.
- Verified package readiness for publishing with a perfect pub score.
2.0.1 - 2025-08-30 #
- Downgraded
webdependency and allowed any version for maximum adaptability.
2.0.2 - 2025-08-31 #
- Exported all core classes in
route_definer.dartfor easier package consumption. - Replaced
dynamicwithObject?forRouteState.argumentsto improve type safety. - Refined and documented test suite for clearer coverage.
2.0.3 - 2025-09-11 #
- Change the route loader for an stateless widget