zenrouter_file_annotation 1.0.0
zenrouter_file_annotation: ^1.0.0 copied to clipboard
Shared annotation and structure for zenrouter file-based routing.
1.0.0 #
- Stable release: Production-ready annotation package
- Compatible with
zenrouter: ^1.0.0andzenrouter_file_generator: ^1.0.0
0.4.10 #
New Features #
- deferredImport in
@ZenCoordinator: New optionaldeferredImportfield to configure global deferred import behavior via annotation- Overrides the
deferredImportoption inbuild.yamlwhen specified - Example:
@ZenCoordinator(name: 'AppCoordinator', deferredImport: true)
- Overrides the
- routeBasePath in
@ZenCoordinator: New optionalrouteBasePathfield to import a custom base route class- When set, the generator imports the base class from the specified path instead of generating it
- Example:
@ZenCoordinator(routeBase: 'MyAppRoute', routeBasePath: 'package:my_app/routes/base.dart')
0.4.9 #
- Refactor: Extract shared code generation utilities (
LayoutCodeGenerator,RouteCodeGenerator) for use by bothbuild_runner
0.4.7 #
- Docs: Update README
0.4.6 #
- Docs: Update README and add screenshots
0.4.5 #
- Support new
RouteQueryParametersand new dot notation flavor in naming convention.
0.4.0 #
- Update README.md
0.3.1 #
- Add support for lazy loading routes using the
deferredImportoption in the@ZenCoordinatorannotation.
0.3.0 #
- Add support for catch-all parameters ([...slugs], [...ids], etc) in routes, including
List<String>type handling and updated route specificity sorting.
0.2.1 #
- Initial extraction of annotations and structure from
zenrouter_file_generator.