Skip to content

v0.287.0 — coverage push round 1: pure-logic gaps in lib/

Choose a tag to compare

@budgets-au budgets-au released this 26 May 03:20
· 86 commits to main since this release

What's in this release

Added

  • Coverage push, round 1: pure-logic gaps in src/lib/. Six new test files pin behaviour previously uncovered by vitest. Targets were 0%-coverage files with concentrated logic and no React / DB dependencies.
    • investments/calc.test.ts — vesting (stock/paper/RSU/option), cost basis, current value with strike, dividends, total return, option intrinsic (18 cases)
    • super-people-slug.test.ts — slugifyPersonKey edge cases (5)
    • transfer-filter.test.ts — isTransferRow SQL fragment + factory (3)
    • schedule-colours.test.ts — palette lookups + dimColour + freqLabel (15)
    • utils.test.ts — formatAUD, formatAmount, formatDate, amountClass, diffDaysISO, toISO, numFmt, cn (16)
    • recurrence.test.ts — +4 cases for daily, fortnightly, default branch, fast-forward break
    • Lines covered: 15.58% → 16.26%. 470 → 531 tests, 53 → 60 files.

Container images

ghcr.io/budgets-au/budgets:0.287.0
ghcr.io/budgets-au/budgets:472e2be-dirty
ghcr.io/budgets-au/budgets:latest

Multi-arch (linux/amd64 + linux/arm64).

Upgrade hints

No migrations. Drop-in.