Litestream v0.5.0 is Here
read at source ↗ fly.io
Litestream v0.5.0 is Here
Source: fly.io Date: 2025-10-02 URL: https://fly.io/blog/litestream-v050-is-here/
Summary
Release announcement for Litestream v0.5.0, introducing the LTX file format and a major architectural overhaul. Key changes: hierarchical compaction across three time windows (30-second, 5-minute, 1-hour) enables efficient point-in-time recovery from a dozen files rather than per-page S3 fetches; the “generations” concept is eliminated, replaced by monotonically incrementing transaction IDs; CGO dependency removed (now uses modernc.org/sqlite for cross-platform builds); NATS JetStream support added.
Implications
Local-first architecture / edge deployment economics. The LTX format is the foundation for everything that follows in the Litestream VFS and writable VFS work. The elimination of the generations concept simplifies the mental model significantly — one of the main operational complexities of earlier Litestream was understanding why a backup had multiple generations and which one to restore from. Cross-platform builds without CGO is a meaningful practical improvement for teams deploying on ARM or Windows. NATS JetStream support opens Litestream to event-streaming-based replication, which is a different architecture from S3-polling and matters for latency-sensitive sync.