cleany 2.0.2
cleany: ^2.0.2 copied to clipboard
Interactive Flutter architecture CLI for features and components with Cubit or Bloc, Freezed, safe generation, project repair, and native flavors.
Changelog #
2.0.2 - 2026-10-31 #
- Reorganize the colored CLI into Generation, Cleanup, Inspection & Management, Core & Setup, and Maintenance & Recovery, using the new 1–13 numbering.
- Explain each command before its prompts, including listing, recovery, maintenance, and exit; keep retry and maintenance-shortcut routing independent of menu numbers.
- Generate component widgets directly inside their component folder, with sibling Cubit/Bloc directories and corrected imports and page factories.
- Track component layouts so Doctor, registry recovery, rename/move, and removal preserve components generated with the previous widgets subfolder.
- Refresh the pub.dev README, command examples, environment setup guide, and CLI/generated Flutter regression coverage.
- Add menu option 3 to create entity-returning or void use cases on existing features, with shared feature repository contracts and Data implementations, central DI, independent typed Cubit/Bloc action state, and a documented backend connection hook that returns Failure until implemented.
- Include added use cases in ownership, Doctor repair/discovery, rename/move, removal, and generated Flutter runtime tests for both API providers.
- Extend the existing feature repository for new use cases instead of creating one repository per operation; retain compatibility with legacy operation contracts.
- Add environment/native VS Code launch profiles with public API URL prompts and a generated run guide. Connect recognizable Flutter scaffold main functions to dev with exact original backups, preserve custom entrypoints/profiles, and support Doctor/reset.
- Prevent builders from replacing existing unstaged files; freeze validated plans and preserve output permissions.
- Preserve customized Doctor integrations and unrelated refactoring bytes; track ownership of individual integration nodes.
- Retain unknown recovery backups, add independent checksummed journal snapshots, and append per-file transitions.
- Separate application outcomes from progress/log/cleanup warnings, retain retry inputs, and isolate operation logs.
- Share pubspec repair/reset settings, follow referenced configurations, validate SDK consistency and flavor prerequisites, and improve startup/service lifecycle diagnostics.
2.0.0 - 2026-10-31 #
- Replace legacy commands with a colored numbered CLI for initialization, feature/component generation, listing, removal, repair, refactoring, maintenance, and native flavors.
- Generate one Feature-Based + Clean Architecture template with Cubit/Bloc, Freezed, multiple_result, central DI, and optional Retrofit over Dio.
- Add compact response fields (
name:type:jsonKey) with y/n nullability and direct review; fix repository constructor lints on current Dart. - Add isolated validation, versioned file ownership, selective staging, kernel locks, per-file rollback/recovery, and archived reset.
- Support official Arabic/English localization, dev/UAT/prod identities, and transactional Android/iOS/macOS Flavorizr configuration.
- Refresh pub.dev metadata, API documentation, runnable examples, usage guides, and current dependencies. Cleany now requires Dart 3.13+.
- Breaking: replace the 1.x template/helper APIs and command aliases; existing generated layouts require an explicit migration. No database SDK is forced.
1.0.22 #
✨ Improvements #
- General library updates and minor bug fixes to enhance overall performance and stability.
1.0.20 31-03-2025 #
✨ Improvements #
- General library updates and minor bug fixes to enhance overall performance and stability.
1.0.19 31-03-2025 #
✨ Improvements #
- General library updates and minor bug fixes to enhance overall performance and stability.
1.0.18 31-03-2025 #
♻️ Changed #
- Models: Fully migrated from
dart_mappabletofreezedfor data classes and code generation.
🐛 Fixed #
- Localization: Resolved the naming issue for language files in the
assetsdirectory. Renamed the files fromar-Ar.jsonanden-US.jsonto the standard formatar.jsonanden.json.
✨ Improvements #
- General library updates and minor bug fixes to enhance overall performance and stability.
1.0.16 07-03-2025 #
Added #
- Smart Collision Detection: The tool now recursively scans all feature directories (
lib/features/,lib/features/sub/, and parent sub-folders) to prevent duplicate feature names and avoid import conflicts. - Full Windows Support: Enhanced CLI commands execution for Windows OS using shell resolution.
Fixed #
- Improved Output Logging: Refactored all console outputs using a dedicated
Loggerfor a cleaner and more professional terminal experience. - Optimized README.md: Completely redesigned the documentation with clear guides for installation, Windows setup, and usage examples.
- Modular DI Structure: Each generated feature now has its own isolated
di/folder and dependency injection file for better maintainability and cleaner code. - Performance Optimization: Eliminated redundant
build_runnercalls during the generation process to speed up feature creation.
1.0.13 #
1.0.1 #
- 🛠 Fixed bug with package installation on Windows.
1.0.0 #
- Initial release of Cleany.
- First public version published.
- Core structure generation.
- Feature generation (Screen & Widget) with Clean Architecture.
- Automatic Dependency Injection and Routing setup.