clean_feature_arch 1.6.3
clean_feature_arch: ^1.6.3 copied to clipboard
Professional toolkit for scaffolding and enforcing Clean Architecture in Flutter projects with modern Dart 3.x patterns and automated architectural verification.
Changelog #
1.6.3 #
- Refactor: Optimized
AppRunnertemplate to generate state-manager-specific code during scaffolding, removing runtime switch redundancies.
1.6.2 #
- Feat: Implemented "Scoped Lifecycle" for Dependency Injection.
- Feat: Added
resetDependencies()toinjection_container.dartfor orchestrating state re-initialization (e.g., on Logout). - Refactor: Added automatic
disposecallbacks forAppDatabaseandDioto prevent resource leaks during resets.
1.6.1 #
- Refactor: Finalized core module integration by moving storage engine registrations to
CoreModule. - Refactor: Optimized
injection_container.dartto act as a pure dispatcher for modular registries.
1.6.0 #
- Feat: Implemented modern declarative AppRunner process using Record destructuring and high-level abstraction.
- Feat: Modernized all templates to utilize Dart 3.x features, including native Switch Expressions for UI state rendering.
- Refactor: Adopted idiomatic part/part of pattern for BLoC triads to consolidate Bloc, Event, and State into a single logical library.
- Feat: Converted environment and localization configuration to type-safe Enhanced Enums.
- Fix: Resolved strict_raw_type warnings and standardized template imports to achieve a Warning-Zero analysis state.
- Fix: Synchronized unit and integration test templates with updated constructor signatures and modern assertions.
- Refactor: Standardized core configuration naming conventions and absolute import path resolution.
1.5.0 #
- Feat: Migrated dependency injection to a Modular Registry pattern.
- Feat: Each feature now generates a dedicated
di/folder with its own registration logic. - Refactor: Updated
injection_container.dartto act as a dispatcher for feature-level DI modules. - Refactor: Standardized absolute imports across all DI templates for better feature isolation.
1.4.9 #
- Docs: Refactored entire changelog for technical clarity and professional tone.
- Docs: Verified and aligned historical version summaries with official publication records.
1.4.8 #
- Refactor: Renamed
lib/core/localization/app_strings.dartto matchapp_prefix pattern. - Feat: Implemented getters in
AppStringsto support reactive localization updates without app restarts. - Feat: Added
en-US.jsonandne-NP.jsonsample files toassets/translations/. - Docs: Updated architecture guides with resource suite and localization details.
1.4.7 #
- Fix: Resolved all remaining package lints and formatting issues to improve quality score.
- Style: Enforced mandatory curly braces across all flow control structures in the generator logic.
- Fix: Finalized absolute path resolution for all core resource templates.
1.4.6 #
- Feat: Added standard asset directory structure for images, icons, fonts, and animations.
- Feat: Integrated
easy_localizationwith centralized string management. - Feat: Added
BuildContextextensions for theme, media query, and localization access. - Feat: Added responsive scaling utilities for cross-device UI consistency.
1.4.5 #
- Refactor: Migrated all scaffolding and surgical patching to use fully-qualified package imports.
- Fix: Resolved relative path depth issues in nested feature structures.
1.4.4 #
- Feat: Added
LogReporterinterface and optional production error reporting hook. - Feat: Implemented automatic stacktrace capture for error-level logging.
- Refactor: Standardized environment-aware log filtering.
1.4.3 #
- Refactor: Converted
AppErrorto a Freezed sealed class for standardized diagnostics. - Feat: Added
BaseResponse<T>generic model andIBaseResponseinterface. - Fix: Enhanced
ErrorHandler.guardto support automatic backend error message extraction.
1.4.2 #
- Feat: Integrated
loggerandpretty_dio_loggerfor production-grade logging. - Fix: Resolved "Undefined name 'logger'" errors in core templates.
1.4.1 #
- Fix: Corrected relative import paths and prevented duplicate constructor generation during storage surgery.
- Fix: Ensured idempotent feature registration in
injection_container.dart.
1.4.0 #
- Feat: Added modular storage command suite with Drift and Shared Preferences support.
- Feat: Implemented dynamic presentation folder naming based on state management selection.
- Feat: Added
permissioncommand andtestcommand for cross-platform and QA scaffolding.
1.3.0 #
- Feat: Enhanced
initto generate fully wired production core infrastructure. - Feat: Added canonical implementations for
SecureStorageandNetworkInfo. - Feat: Automated dependency injection for all core singletons.
1.2.1 #
- UX: Added interactive conflict manager for file scaffolding.
1.2.0 #
- Feat: Populated
core/with Router, Theme, Storage, and Networking boilerplate. - Feat: Added
docscommand for terminal-based architectural reference.
1.1.0 #
- Feat: Added state management selection for BLoC and Riverpod.
- Refactor: Migrated to native Dart Analyzer Plugin system.
1.0.0 #
- Initial release with Absolute Rule Architecture scaffolding and enforcement.