Release notes

Every DriftDB release with its breaking changes, features and fixes. The latest is v0.9.0.

v0.9.0

On-disk format v2 and Python 3.13 wheels

New file format with 40% smaller files and sub-second crash recovery. Requires a one-time migration.

Breaking

  • New on-disk format v2. 0.9 opens 0.8 files read-only until you run driftdb migrate. See why we changed it.
  • Series::query is renamed to Series::range. The old name is removed, not deprecated.
  • Minimum supported Rust version is now 1.85.

Features

  • Block checksums. A corrupted block is skipped and logged instead of failing the query.
  • Write-ahead index, so recovery after a crash takes under a second.
  • Python wheels for 3.13 on Linux, macOS and Windows.

Fixes

  • downsample no longer drops the last bucket when the range ends exactly on a bucket boundary.
v0.8.2

Retention and compaction fixes

Fixes a compaction race and retention that skipped the oldest block.

Fixes

  • Fixed a race where compaction and a concurrent append could write the same block twice. Thanks to @mhollis for the reproduction.
  • Retention now drops the oldest block too, instead of keeping one block past the limit.
  • driftdb stats reports compressed size correctly on Windows.
v0.8.0

Retention policies and the CLI

Per-series retention, a driftdb command-line tool and 2x faster appends.

Features

  • Retention policies per series with set_retention. Old blocks are dropped in the background.
  • New driftdb CLI with stats, export and compact commands. Install it with cargo install driftdb-cli.
  • Appends are about 2x faster thanks to a lock-free write buffer.

Fixes

  • Opening a database on a read-only filesystem now returns an error instead of panicking.