go_router_tree 0.1.1
go_router_tree: ^0.1.1 copied to clipboard
Code generator that builds route trees for package:go_router.
0.1.1 #
Support analyzer 10.0
0.1.0 #
- Breaking change: requires
analyzer >=8.2.0 <10.0.0 - No functional changes compared to 0.0.3
- This version starts the analyzer 8+ support line
- Recommended for Flutter SDKs using analyzer 8+
For analyzer < 8.2.0, use
go_router_tree ^0.0.4.
0.0.4 #
- Maintenance: Downgraded
build_runner(to ^2.3.3) andbuild_testconstraints to support older development environments. - Refactor: Migrated internal generator logic to use
Element2API for compatibility withanalyzer>=7.5.9. - Fix: Capped
analyzerdependency to<8.2.0to ensure stability.
0.0.3 #
- Fix: Adjusted version constraints for
analyzer(>=7.5.9) anddart_style(^3.0.0). - Build: Bumped minimum Dart SDK version to
3.8.0.
0.0.2 #
- Feat: Enhanced generated API documentation for navigation methods (
goNamed,pushNamed, etc.). The docs now include:- Action-specific descriptions (e.g., "Pushes onto stack").
- Detailed list of required path parameters.
- Descriptions for
queryParametersandextra.
- Fix: Relaxed version constraints for
analyzer,build, andsource_gento improve compatibility with other ecosystem packages.
0.0.1 #
- Initial release.
- Implemented code generation for route trees based on
@RouterTreeConfigannotation. - Added generation of typed navigation methods for each route:
goNamed(),pushNamed(),pushReplacementNamed(), andreplaceNamed(). - Added support for extraction of path parameters (e.g.,
user/:id). - Included compile-time validation:
- Detects duplicate route names and paths.
- Validates path syntax and structure.
- Checks for path parameter conflicts in nested routes.