riverpod_craft_plugin 0.10.0
riverpod_craft_plugin: ^0.10.0 copied to clipboard
Riverpod code generator plus the plugin interface and data models for riverpod_craft code generation plugins.
0.10.0 #
Breaking #
- Now a craft_runner builder.
RiverpodCraftBuilder(aCraftBuilderSingleFile) replaces the old plugin registration; the build_runnerBuilderand itsbuild.yamlare removed. Configure it underriverpod_craft_plugin:RiverpodCraftBuilderincraft_runner.yaml, witherror_mapperandpaged_provider_mapperas nested keys. - A missing
partdirective is now an error. The generator no longer rewrites your source to insert it; it throws, naming the exact line to add. ProjectWideCraftPluginis removed.RiverpodCraftPlugin.collecttakes the activeRiverpodCraftOptionsas a second argument.- Requires analyzer
>=13.3.0 <15.0.0for the AST redesign (namePart,NamedArgument, flatFormalParameter).
Added #
- Generates the
.futureaccessor, theproviderInitcall (respecting@noInit), and key-based paged notifiers for riverpod_craft 0.10.0. RiverpodCraftOptionsresolves the error mapper and paged mapper from source, inlining each under a private name so re-exported provider files never collide.
0.7.0 #
- Synchronized release across the
riverpod_craftecosystem (riverpod_craft,riverpod_craft_plugin,craft_runner,retrofit_craft,retrofit_craft_plugin). No functional changes in this package.
0.5.0 #
- Synchronized release across
riverpod_craft_plugin,craft_runner,retrofit_craft, andretrofit_craft_plugin. No functional changes vs 0.4.0 — version bumped to keep the four packages in lock-step going forward.
0.4.0 #
- Add
ProjectWideCraftPlugin— a complementary interface for generators that must aggregate information across the entire project and emit standalone output files (e.g. a singleAppApiaggregator), as opposed to the per-fileRiverpodCraftPlugin<T>interface which emits apartfile next to a source.
0.3.0 #
- Version bump to align with riverpod_craft 0.3.0
0.2.2 #
- Version bump to align with riverpod_craft 0.2.2
0.2.1 #
- Version bump to align with riverpod_craft 0.2.1
0.2.0 #
- Version bump to align with riverpod_craft 0.2.0
0.1.0 #
- Initial release
- Plugin interface (
RiverpodCraftPlugin<T>) - Clean data models (
DartClassInfo,DartFunctionInfo,AnnotationInfo,MethodInfo) - Shared
ParameterInfo