Docs › Releases › 1.19 › Changelog
Recurnix 1.19 changelog
Every change in 1.19, by kind. For what it means and whether to update, read the release notes.
Fixed
- The dashboard added money across currencies and labelled the result with the base currency.
RecurnixStatsOverviewran its ownsum('amount')over every transaction this month and renderednumber_format($income).' '.$currency. Measured on a book of $131.22 + €500 + £300, the front page said 931.22 USD while the reports page — which converts — said 1,105.94 USD for the same month. A gap of 174.72, and the smaller number was the one on the front page. revenueByMonth()'s own docblock said this could not happen: "Mirrors the dashboard's Income KPI so the two never disagree." It was a description of an intention, not of the code.- The daily digest had the same bug on a different surface.
RunDailyTaskssummedinvoices.balanceraw intoopen_balance. With one €400 invoice in the book it reported 423.99 wherereceivables()reported 481.13 for the same invoices.
Added
ReportsService::incomeThisMonth()— literallyrevenueByMonth(1)for the current month, so the dashboard and the reports page are not two implementations that happen to agree, they are one computation asked twice.- 8 more committed tests (194 total, 624 assertions), including a guard that fails if
ReportsServiceever sums an amount column raw again.
Changed
- The Income tile's description now reads "Payments minus refunds, converted to USD" rather than implying the figure was always in that currency.
Notes
- The fix is not "convert in both places". Two implementations of one number will drift; the second one was deleted instead. The widget no longer references
Transactionat all, and a test asserts it. - What was already right, stated rather than left to be assumed.
ReportsServicehas converted every figure throughCurrencyService::toBase()since I6 —mrr,arr,revenueByMonth,receivables,topProducts. The reports page was never wrong. Only the two places that bypassed it were. - A difference that was measured and turned out not to matter. The widget filtered on
transacted_atand the service filters oncreated_at. On this book that made 0.00 difference, so it is recorded as a latent divergence rather than reported as part of the defect. The tile now uses one code path, so it cannot contribute there any more. - How it was measured. The sandbox book is single-currency, so the defect cannot show itself unaided: the probe created one EUR and one GBP transaction and one EUR invoice, read both screens through their real code paths (
getStats()by reflection, not a re-implementation), then removed the scratch rows and asserted the row counts were back to 11 transactions and 18 invoices.