Skip to content

Almanac 2.0.0

Choose a tag to compare

@twodxme twodxme released this 18 Oct 17:06
· 232 commits to main since this release

Almanac is now written in Rust. Same app, same look, same files on disk.

What changed for you

Nothing you can see, by design. Every page, dialog, action and command-line
option of 1.7 is here, and your settings, history and caches carry straight
over: 2.0 reads and writes the same files in the same format.

How it was checked

  • Ported line for line from the Python, module by module, each module then
    reviewed by a second pass looking only for differences.
  • The Python's whole test suite, ported: all 184 of its tests have a Rust
    counterpart, among 509 Rust tests.
  • A parity check runs the Python and the Rust on the same inputs —
    30,140 cases, on a real machine and in demo mode — and fails on any
    difference. It runs in CI on every push. The few accepted differences are
    listed in rust/parity/run.py, each with its reason (numbers beyond 64 bits,
    live disk sizes).
  • Every page compared screenshot-for-screenshot with the Python, in dark and
    light: pixel-identical.
  • Deeply nested input can no longer crash anything: a corrupted state or
    config file nested tens of thousands of levels deep is reported the way the
    Python reports it, at any stack size.

Fixed along the way

  • A late icon download could land on a different row of a list that had been
    scrolled (the Python had this too).
  • Vendor logos from sites that refuse a TLS handshake without post-handshake
    authentication (openai.com, gnome.org) now load.

Updating

Installed as a package, Almanac defers to pacman. A build from a checkout
cannot replace itself while it runs, so it tells you to pull and run
cargo build --release.

The Python sources stay in the repository as the reference the parity check
holds the Rust to.