flutter_setup 1.2.0
flutter_setup: ^1.2.0 copied to clipboard
A professional Flutter development, scaffolding, and release automation CLI tool supporting Shorebird, Fastlane, CI/CD, and multi-environment orchestration.
CHANGELOG #
1.2.0 #
Fixes & Pub.dev Hardening #
- Build Subsystem: Restored and exported complete compilation subsystem under
lib/build/(BuildPlatform,BuildFormat,BuildContext,BuildResult,BuildManager,ArtifactFinder). - Package Ignore Rules: Fixed unanchored
.gitignorerule to/build/solib/build/is reliably tracked by Git and packaged by pub. - Static Analysis & Types: Resolved all 101+ static analysis issues, strict type inference warnings, and lower-bound downgrade compatibility.
- Documentation & Dartdoc: Resolved dartdoc package graph generation crash and provided rich API documentation across all public build classes and methods.
- Package Metadata: Added
issue_trackerandtopicstopubspec.yamlfor enhanced package discovery. - Pub.dev Score: Elevated verified package score from 60/160 to 150/160.
- CLI Version: Synchronized
packageVersionto 1.2.0.
1.1.0 #
Production Release Automation & CLI Hardening (Phase 1 to Phase 12 Final Release) #
🚀 Release Orchestration Framework
- Implemented
ReleaseManager,ReleaseContext,ReleaseStrategy, andReleaseResult. - Supported
normalFlutter release workflow andshorebirdOTA release workflow. - Implemented
flutter_setup patchfor Shorebird over-the-air Dart code updates. - Added dry-run preview execution mode (
--dry-run) across all release, build, patch, and deployment commands.
🏭 Multi-Environment & Flavor Support
- Added
TargetEnvironmentdomain model (development,staging,production) with alias resolution. - Added
--environment/--env,--flavor, and--dart-defineoptions across CLI commands. - Implemented
EnvironmentResolverwith CLI, ENV, and config file hierarchy.
🛡️ Pre-Flight Validation & Production Safety Gates
- Built
ReleaseValidatorPipelinewith pre-flight checks for Flutter SDK, Git repository state, tool discovery, environment alignment, duplicate version detection, and tag collisions. - Created
ProductionReleaseGuard,VersionSafetyGuard, andGitTagSafetyGuard.
🚀 Build & Fastlane Deployment Layer
- Built
BuildManagerfor Android AAB/APK and iOS IPA builds with artifact discovery. - Built
DeploymentManagerandFastlaneRunnerfor automated Google Play & App Store deployment.
🤖 CI/CD & GitHub Actions Automation
- Built
WorkflowGeneratorgenerating production-grade GitHub Actions release workflows with environment inputs, concurrency scoping, and secret protection. - Built
CiDoctorfor verifying CI runner dependencies.
🏷️ Git Release Tracking, Changelog & Notes
- Implemented
GitClientfor commit counting, tag management, commit range parsing, and tag verification. - Built
CommitClassifierandChangelogManagerfor generating categorized release summaries and changelogs (feat:,fix:,docs:,refactor:).
🔔 Notification Subsystem & Webhooks
- Built
NotificationManagersupportingSlackNotificationProvider,DiscordNotificationProvider,WebhookNotificationProvider, andGitHubNotificationProvider.
🔒 Safety, Recovery & Concurrency Control
- Added
ReleaseLockManagermanaging.flutter_setup/release.lockwith active PID check and 1-hour stale threshold. - Added
ReleaseStateTrackerpersisting release lifecycle state to.flutter_setup/releases/current_state.json. - Added
ArtifactIntegritycalculating and matching SHA-256 artifact checksums. - Added CLI recovery commands (
flutter_setup release status,flutter_setup release verify,flutter_setup release recover,flutter_setup deploy --retry).
🔒 Security, Standardization & UX
- Created
SecretRedactorutility sanitizing passwords, tokens, private keys, and webhooks in output logs, metadata, and notifications. - Standardized exit codes across all commands and exception types (
0success,1general,2args,3validation,4tool,5build,6deploy,7safety). - Exported clean package library interface in
lib/flutter_setup.dart.
1.0.1 #
- Scaffolding improvements, riverpod provider generation fixes, asset scanner optimization.
1.0.0 #
- Initial stable production release of
flutter_setupCLI with project scaffolding, feature generators, asset scanning, and template engine.
0.1.0 #
- Initial preview release of
flutter_setupCLI framework.