Skip to content

Sprite v0.5.1

Choose a tag to compare

@HundredBillion HundredBillion released this 29 Oct 17:03
· 104 commits to master since this release
51c1ef5

Sprite v0.5.1 stops configuration reloads from leaking memory and makes the app smaller.

  • Reloads no longer leak memory on macOS: every sprite config reload used to keep about 0.8 MB that was never given back. A window reloaded 100 times grew from 38 MB to 108 MB of heap; it now stays at 11.5 MB. Listing the installed fonts is also faster, so a reload holds up the window for less time.
  • Accurate reload timing: with SPRITE_LOG='sprite_app::perf=debug', the reload event now includes the time each pane takes to switch to the new font. It used to report 0 ms for a reload that took about 45 ms.
  • Smaller app: release builds are optimized across all crates and have their symbol table removed. The binary drops from 20.8 MB to 12.7 MB, and painting the terminal grid is about 18–20% faster in benchmarks. Release builds take about 45 s longer.
  • Fewer image formats: Sprite now compiles in only the formats it shows: GIF, JPEG, PNG and WebP. A BMP or TIFF image in a Markdown preview now shows its alternative text instead of the picture.

Building

Build from source with Rust 1.98.1, Zig 0.17.0 and the pinned Ghostty submodule. Clone recursively, check out v0.5.1, and update submodules before building. This release provides source archives only; no prebuilt application is attached. Follow the installation instructions.

Validation

  • Hosted release CI: Linux, macOS and release automation passed. The merged release commit has the same file tree as the tested PR.
  • Tag check: v0.5.1 matches the Cargo workspace version.
  • Each fix has a regression test that failed before the fix (#149, closes #148).

Full changes