Repository navigation
v0.40.4 — rename currentCharges fields + hot-path query dedupe
Tech-debt batch 4 (epic #161). Behavior-preserving; money values byte-identical.
- #153 — renamed the in-memory fields that carry
currentChargesbut were misnamedtotalDueAmount(series/queries/csv/notifications + readers). The forbidden APItotalDueAmountis never used for analysis; the?? totalDueAmountPDF-not-yet-parsed fallback and the persistedNotification.payloadkey are deliberately unchanged (append-only). - #154 —
/api/settingsnow uses a lightweightgetAccountMetainstead of the full overview pipeline;getOverviewfetches account+bills once and feedsgetMonthlySeries(was double-querying per/api/overview).
Verified: Docker test 973 / build green; /api/verify 50/50 green on staging's real data; settings + dashboard render clean. No schema change.