Skip to content

ledgermill 0.1.1

Choose a tag to compare

@srod srod released this 27 Oct 10:33
· 146 commits to main since this release
8734e05

Fixed

  • hledger: a commodity that ==* or =* zeroed on an account, when one posting with a lot on a
    sub-account made it, keeps that lot; zeroing it again gives the lot back, as hledger does.
    0.1.0 dropped it (a:b 4 X {10 EUR}, a 1 X, a ==* 3, then a == 2 EUR gave 4 X, not
    4 X {10 EUR}). Found by the release gate run on the v0.1.0 tag (random journal, seed 303).
  • hledger --cost (atCost()): in a transaction with two conversion pairs, one that fits the
    priced posting and one that does not, and a first plain posting that another repeats, the pair
    that fits is dropped and the other kept, as hledger does. 0.1.0 kept both (so 7 postings where
    hledger gives 5, and holdings followed). Found by CI's random journals (seed 21).

Release gate

From the release-gate workflow on commit 4643b81 (run 40479812101, 2026-10-27), CI on the same
commit (run 40479812678), and the owner's own runs.

  • Random hledger journals (5,000): 0 mismatches (2,232 that hledger accepts; the rest rejected by
    both, 42 skipped)
  • Random Beancount journals (5,000): 0 mismatches
  • Random price networks (5,000): 0 mismatches
  • Corpus comparison: 11,811 pass, 0 fail, 30 skip
  • Desktop bench against 0.1.0 from npm (CI runner, 10,000 transactions): every operation within
    0.74–1.06× of 0.1.0 (the 0.74 is check, at 0.02 ms); load+transactions 94.5 ms (hledger),
    134.1 ms (Beancount); start 19.3 ms
  • Stress test, 100,000 transactions: ok, no crash (peak wasm memory 930 MB hledger, 578 MB Beancount)
  • Similarity check score: max 0.102 (JPlag against rustledger 0.24.0; fail at 0.15), 0 fail,
    8 warn; copydetect max 0.275 (information only)
  • Real journals: pass
  • Device targets: not run again (the fix changes no timing or memory path)