Skip to content

Airreload CLI v0.3.0-beta.5

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 30 Sep 16:54
· 4 commits to main since this release
ff3b5e5

Windows x64 installations can now use airreload update to install future CLI updates.

Changes

  • Support automatic updates for installer-owned Windows x64 installations, alongside macOS Apple Silicon.
  • Open a separate PowerShell updater window and wait for the current CLI process to exit before replacing the locked executable.
  • Use Windows process checks to prevent replacing an active Airreload session.
  • Fetch the installer and manifest from the same pinned revision, verify the installer-pinned binary checksum, and preserve downloaded SDKs and pairing data without changing PATH.
  • Report the update handoff accurately; the PowerShell window confirms success or shows the failure and cleans up temporary files.

Upgrading older Windows versions

Windows CLI versions through 0.3.0-beta.4 cannot update themselves. Stop running Airreload sessions and run this once in PowerShell:

& ([scriptblock]::Create((Invoke-WebRequest -UseBasicParsing 'https://raw.githubusercontent.com/Airreload/installer/main/install.ps1').Content)) -Replace -PreserveData -NoPath
airreload version

After installing 0.3.0-beta.5, future updates can use airreload update. Source checkouts remain manual updates. Airreload Go does not need a new release for this fix.

Validation and downloads

Formatting, static analysis, full Dart tests, native compilation, and executable smoke checks run on Windows, macOS, and Linux. Windows tests cover the PowerShell helper, parent-process exit, installer arguments, failure cleanup, and active-session blocking.

Download the native executable for your platform with its matching .sha256 file. Flutter SDKs continue to download on demand.

Full changes: v0.3.0-beta.4...v0.3.0-beta.5