dig_cli 1.7.3-dev.1
dig_cli: ^1.7.3-dev.1 copied to clipboard
A powerful command-line tool to automate building, cleaning, and packaging Flutter projects.
Changelog #
All notable changes to this project will be documented in this file.
1.7.3-dev.1 - 2026-03-19 #
Fixed #
- Asset Generation: Only deletes
lib/generated/assets/subfolder instead of the entirelib/generated/directory — localization files and other generated files are now preserved. - Numeric Filenames: Files starting with a number (e.g.,
4.png) now generate valid Dart constants withicprefix (e.g.,ic4) instead of invalid identifiers. - Pubspec Cleanup: Stale asset entries are now automatically removed from
pubspec.yamlwhen asset folders are deleted. Only entries within the configuredassets-dirare managed —.env, localization paths, and other manually-added entries are never touched.
1.7.2 - 2026-03-19 #
Fixed #
- Assets Generation: Fixed invalid Dart variable generation (e.g.
String 6) for numeric file names by auto-prependinga_. - Assets Cleanup: Fixed issue where deleted assets caused stale auto-generated Dart code to persist.
lib/generatedis now freshly wiped on each build. - Pubspec Formatter: Fixed an issue where the asset generator inadvertently skipped the end of the
assets:section if there were multiple subsections. - Console UI: Improved readability of the interactive menu on dark terminal backgrounds by changing the main color from blue to cyan.
Added #
- Categorized Developer Dashboard: The interactive menu is now organized into a clean 15-item list across 6 logical sections: BUILD & RELEASE, CLEAN & FIX, SIGNING & KEYS, CONFIGURATION, PROJECT MANAGEMENT, and UTILITIES.
- Enhanced Author Branding: Prominent "Made with ❤️ by Digvijaysinh Chauhan" branding added to the main dashboard and version command for a premium, personal touch.
- Fast Clean (Option 4): New dedicated option for a simple
flutter cleanto quickly wipe local build artifacts. - Full Project Reset (Option 5): Thorough cleanup command that runs
flutter clean,pub get, andpod install(on Mac), with an optional "Nuclear" global cache wipe. - One-click Update (Option 15): New helper in the UTILITIES section to check for updates on pub.dev and automatically run
dart pub global activateif a newer version is available. - Firebase Command Suite: New
dg firebasecommand withlogin,logout,configure, andchecksubcommands. - Firebase Auto-Installer: Automatic detection and installation of
firebase-toolsandflutterfire_cli. - Hash Key Generation: New option to generate base64-encoded SHA1 hash keys for Android (required for Facebook/Google Login).
- Firebase Account Display: Interactive menu now shows the currently logged-in Firebase email in the sub-menu header, with dynamic Login/Logout options.
- Pubspec Automation:
dg asset buildnow automatically registers new asset folders and.envfiles inpubspec.yaml.
Fixed #
- Ultra-Robust Firebase Detection: The CLI now reads the official Firebase config file directly, ensuring 100% accurate and instantaneous login status detection.
- Smart iOS Cleanup:
Full Project Resetnow explicitly checks for aPodfilebefore attempting CocoaPods operations, ensuring compatibility with SPM-only projects. - Cross-Platform Watching: Switched to
package:watcherfor reliable asset watching on Ubuntu, Windows, and macOS. - JKS Portability:
create-jksnow uses relative paths forstoreFileinkey.properties.
1.7.0 - 2026-02-25 #
Initial Release #
- Smart Scaffolding: Bootstrap a "Proper" Flutter Project with dynamic app name injection, pre-configured GetX architecture, and best practices.
- UIScene & SceneDelegate: Full support for the modern iOS
UIScenelifecycle by default. - Firebase Robustness: 100% crash-proof initial launch with pre-configured, commented-out Firebase initializers for easy setup.
- Asset Generation: Subfolder-based, type-safe asset constants generation with
dg asset build/watch. - Dependency Management: Native Swift Package Manager (SPM) integration for iOS, eliminating CocoaPods friction.
- Module Creator: Automated GetX scaffolding (
View,Controller,Binding) with auto-routing. - Deep Rename: One-command smart renaming for Android, iOS, macOS, Windows, Linux, and Web.
- Security: Automatic JKS generation and secure
.envAPI key injection. - Deep Clean: A "nuclear" clean command that wipes caches across all platforms.
- Notification Services: Pre-integrated, align with official best practices, and controllable via bindings.
- Documentation: Professional, "wowed"
README.mdand comprehensive asset generation guides.