fluttercraft 0.1.8
fluttercraft: ^0.1.8 copied to clipboard
Cross-platform Flutter build CLI - Craft Your Flutter Builds with Precision.
0.1.8 - 2025-12-19 #
π Bug Fixes #
- Shorebird Integration: Fixed missing
--flutter-versionflag in Shorebird command generation when FVM is used. - Config UI: Fixed
info -vnot displayingdart_define_from_filewhen the dart define map is empty.
0.1.7 - 2025-12-19 #
β¨ New Features #
- Run Aliases - Enhanced
runcommand:- Direct Execution - Run aliases directly in shell (e.g.
> my_alias) - Runtime Parameters - Support for
{0}(positional) and{key}(named) placeholders. - Preview - Shows command preview before execution
- Auto-list -
flc runlists available aliases
- Direct Execution - Run aliases directly in shell (e.g.
0.1.6 - 2025-12-18 #
β¨ New Features #
- No Review Option - Added
no_reviewconfig and CLI flag to skip final build confirmationbuild --no-revieworbuild -yskips the "Do you want to proceed?" prompt- Configurable via
build.no_review: trueinfluttercraft.yaml
0.1.5 - 2025-12-18 #
π§ Improvements #
- Output path - Changed default from
dist/to.fluttercraft/dist/ - Auto gitignore -
flc gennow adds.fluttercraft/to.gitignore - Console edge cases -
choose()now handles empty options and invalid defaultIndex
0.1.4 - 2025-12-17 #
β οΈ Breaking: Renamed Flag #
should_add_dart_defineβshould_prompt_dart_define- Config-defined
global_dart_define+dart_definenow always apply to builds - Flag now only controls interactive prompting for custom dart-defines at build time
- Config-defined
β¨ New Features #
- Interactive dart-define input - When
should_prompt_dart_define: true, prompts for customKEY=VALUEpairs during build - Always apply config dart-defines -
global_dart_defineanddart_definevalues are always included in build commands
π§ Technical Changes #
- Removed conditional guards from
finalDartDefineandfinalDartDefineFromFilegetters - Added interactive input loop in
build_command.dart - Updated
gencommand template with new flag name
0.1.3 - 2025-12-17 #
π§ Enhancements #
- Shell UI - Added
dart_define_from_filedisplay ininfo -vcommand- Shows file path in "Dart Define" section when configured
- Helps users understand where dart define values are sourced from
- Display format:
From File .env.prod(shown before individual defines)
0.1.2 - 2025-12-17 #
β¨ New Features #
- dart_define_from_file support - Configure
--dart-define-from-fileparameter influttercraft.yaml- Global configuration in
build_defaults.dart_define_from_file - Flavor-specific overrides via
flavors.<flavor>.dart_define_from_file - Supports
.env,.env.dev,.jsonfile formats - Automatically included in build command
- Global configuration in
π§ Updates #
- gen command - Updated
flc gento includedart_define_from_fileexamples in generated config - YAML structure - Added
dart_define_from_file: nullto build_defaults section
0.1.1 - 2025-12-16 #
β οΈ Breaking: New YAML Structure #
build_defaultsanchor for inheritanceenvironmentssection (groups fvm, shorebird, bundletool)- Renamed flags:
use_*βshould_*
β¨ New Features #
- Build Flavors - dev/staging/prod overrides
- Explicit Dart Define - global + flavor merging
- No Color Mode -
environments.no_color
See detailed changes for migration guide.
0.1.0 - 2025-12-15 #
β οΈ Breaking Changes #
- Breaking: Renamed
auto_confirmβno_confirmin Shorebird config (update yourfluttercraft.yaml)
β¨ New Features #
- Edit before build - Type
eat confirmation to modify the build command interactively - Reload command - Added
reload/rcommand in shell to hot-reload config from disk - Improved help - Updated help format with proper sections
π Bug Fixes #
- fix: Removed
--releaseflag from Shorebird builds (per official docs: "never add --release when using shorebird") - fix: Shorebird artifact now correctly derived from build type
π Documentation #
- Cleaner YAML format in generated
fluttercraft.yaml(comments above lines, no uppercase labels) - Added
@read-onlyannotation for derived config values
0.0.6 - 2025-12-15 - Initial Release #
Craft Your Flutter Builds with Precision
β¨ Key Features #
- Interactive Shell - Continuous REPL for rapid development
- Streamlined Build Process - Build, version, and deploy in one flow
- Seamless Integrations - FVM, Shorebird, auto-determine versions and context
- Custom Command Aliases - Define reusable command sequences via
flc run <alias>
π¦ Installation #
# From pub.flutter-io.cn
dart pub global activate fluttercraft
# From binary
# Download fluttercraft.exe from releases
0.0.5 - 2025-12-15 #
- feat: Add BuildConfig for YAML-based project configuration, FVM integration, and update documentation and gitignore
- refactor: FlutterCraft (renamed ALL)
- fix: Complete rename to fluttercraft, also alias flb to flc
- fix: Auto-detect FVM Flutter version from
.fvmrc - fix: Auto-detect Shorebird app_id from
shorebird.yaml
0.0.4 - 2025-12-13 #
- New
gencommand - Generatefluttercraft.yamlwith--forceflag support - Smart defaults - CLI works without config file, reads from
pubspec.yaml - Warning banner - Shows message when
fluttercraft.yamlis missing
0.0.3 #
- Shell mode improvements
- Build logging enhancements
- Version management fixes
1.0.0 #
- Initial version.