flutter_simple_architecture 2.0.0
flutter_simple_architecture: ^2.0.0 copied to clipboard
A robust Flutter bootstrapping tool and project template emphasizing a clean, layer-first architecture with strict state management.
2.0.0 #
⚠️ BREAKING CHANGES #
- Core Rename:
ViewBuilderis nowAppViewBuilder. - Terminology Shift:
- Smart is now Async.
- Simple is now Sync.
- CLI Flags:
fsa generate page --type=smartis now--type=async.fsa generate page --type=simpleis now--type=sync. - Generator Command:
fsa generate smartis nowfsa generate async.
Improvements #
- Renaming: Renamed
ViewBuildertoAppViewBuilderto follow core widget naming conventions. - Terminology Update: Renamed Smart to Async and Simple to Sync for more intuitive architecture guidance. Updated CLI flags and documentation accordingly.
- Architectural Rule: Added a strict rule that
AppViewBuildervariants should only be used if the view needs to listen to an initial async task.
1.2.2 #
- State Management: Pivoted to
.autoDisposeproviders by default across the entire architecture to optimize memory usage and state cleanup. - Documentation: Updated
README.mdandGEMINI.mdwith strict guidelines on when to use Smart, Simple, and Static pages, and the new auto-dispose policy. - Guidance: Aligned documentation with the new
fsa-validatorskill heuristics. - Testing: Fixed
widget_test.dartto supportProviderScopeand match the new Todo app template.
1.2.1 #
- Documentation: Updated
README.mdwith strict guidelines on when to use Smart, Simple, and Static pages. - Guidance: Aligned documentation with the new
fsa-validatorskill heuristics.
1.2.0 #
- New Page Types: Added
--typeflag tofsa generate pagesupportingsmart(default),simple, andstaticarchetypes. - Architectural Refinement: Reduced boilerplate for simple features by allowing data-class state or stateless pages.
- Internal: Fixed casing logic in generators to support CamelCase inputs correctly.
1.1.0 #
- New Architectural Pattern: Introduced the
SideEffectNotifier for managing non-interactive events (Success, Failure, Info, Warning). - AppViewBuilder Enhancement: Added the
onSideEffecthook toAppViewBuilderfor customizable side-effect handling (e.g., SnackBars instead of Dialogs). - Generator Updates: The CLI now generates Notifiers and Views pre-configured with the
SideEffectpattern. - Improved Scaffolding: Added automatic copying of architecture templates for globally activated CLI usage.
1.0.2 #
- Fixed template directory resolution when the CLI is run as a globally activated package.
- Improved reliability of
fsa createin external directories.
1.0.1 #
- Improved
fsa createbootstrapping logic to ensure all dependencies and configurations are correctly applied. - Cleaned up
lib/main.darttemplate by removing default Flutter counter boilerplate. - Added copying of
.fvmrcandGEMINI.mdto new projects. - Added automated tests for project bootstrapping.
1.0.0 #
- Initial release of FSA (Flutter Simple Architecture).
- Integrated CLI tool with
createandgeneratecommands. - Layer-first architecture template including
core,domain, andpresentation. - Centralized design system with sealed widgets.
- Functional error handling with
fpdart. - Automated logging with
LoggerService.