Skip to content

Releases: fluttersdk/magic_cli

v0.0.1-alpha.4

05 Apr 21:40
18fd905

Choose a tag to compare

v0.0.1-alpha.4 Pre-release
Pre-release

✨ New Features

  • Broadcasting Support: Add --without-broadcasting flag to install command with config/broadcasting.dart stub and Reverb connection config
  • Conditional Env Vars: Broadcasting env vars (BROADCAST_CONNECTION, REVERB_*) only generated when broadcasting is enabled

🔧 Improvements

  • Documentation: Update homepage URL to Magic website package page, add "Website" link to README, update CLI Commands link in welcome view stub

Full Changelog: 0.0.1-alpha.3...0.0.1-alpha.4

v0.0.1-alpha.3

24 Mar 16:18

Choose a tag to compare

v0.0.1-alpha.3 Pre-release
Pre-release

✨ New Features

  • Install Command Rewrite: Full project scaffold with welcome page, configs, providers, routes, and main.dart bootstrap
  • Install Stubs: External .stub templates for all install-generated files (configs, kernel, providers, welcome view, env)
  • New Generators: make:enum, make:event, make:listener, make:request commands registered and functional
  • StubLoader: Multi-strategy stub resolution via package_config.json, Platform.script walk-up, and env var override
  • Deep Merge Utilities: JsonEditor with additive deep merge mode for config file editing
  • StubLoader Export: StubLoader now available in public barrel export for plugin consumers
  • Welcome View: Animated welcome page with hero logo (bounce) and heart (pulse) generated on install

🐛 Bug Fixes

  • Auth Config: Wrapped auth configuration under 'auth' key and fixed provider boot order
  • Install Cross-Platform: magic install now produces a working app on all platforms
  • Stub Placeholders: Fixed double-async injection, missing replacements, and placeholder casing issues
  • main.dart Bootstrap: Correctly makes main() async when injecting await Magic.init()
  • Command Help: Fixed --help flag being blocked by global help check on namespaced commands
  • Generated Code Quality: All generated code now passes dart analyze on clean projects
  • StubLoader Paths: Removed hardcoded developer paths and FLUTTER_TEST branch that broke CI on Ubuntu

🔧 Improvements

  • Stub Extraction: Migrated all static Dart string constants to external .stub template files
  • Code Quality: Multi-line collections, catch comments, param docblocks, type safety fixes
  • Integration Tests: Kernel dispatch and key:generate flow tests
  • make:model Flags: Composite generation with -mcfsp and --all flags (migration + controller + factory + seeder + policy)
  • Barrel Export: Updated magic_cli.dart with complete public API surface
  • CI/CD: Bumped actions/checkout to v6 and codecov/codecov-action to v5
  • Project Infra: Added CLAUDE.md, GitHub issue templates, dependabot config, release workflow, and .claude/rules/

Full Changelog: v0.0.1-alpha.2...0.0.1-alpha.3