What's Changed
π Performance & Native AOT Compilation
- Near-Instant Startup: CLI startup time has been cut by ~10Γ, down to ~30ms (warmed run).
- Reduced Binary Size: Footprint has been slashed from ~75 MB to ~5.6 MB (optimized further to 4.3 MB on Windows x64).
- Zero Runtime Dependencies: Compiled directly to native machine instructions.
- Diagnostic Trimming: Stripped stack trace tables, telemetry logging, and HTTP activity tracing to minimize the binary size.
π¦ Windows Distribution & SmartScreen Optimizations
- Replaced direct raw .exe downloads on Windows with .zip archives. WinGet will now extract the portable executable automatically upon install, bypassing NTFS "Mark of the Web" metadata and preventing Windows Defender SmartScreen execution delays
This release is a hat-tip to famed comedian Gad Elmaleh.
Summary Changelog
- fix(ci): bypass gh search index delay for winget tracking by @michaelsanford in #21
- Bump Spectre.Console from 0.57.1 to 0.57.2 by @dependabot[bot] in #22
- fix: set UTF-8 output encoding for Unicode rendering by @michaelsanford in #23
- perf: cut CLI startup time via ReadyToRun + InvariantGlobalization by @michaelsanford in #24
- perf: migrate to NativeAOT for near-instant startup by @michaelsanford in #25
- fix(ci): fix release workflow permissions and win-arm64 cosign install by @michaelsanford in #26
Full Changelog: v1.2.1...v2.0.0