Docs › Releases › 1.05 › Changelog
Recurnix 1.05 changelog
Every change in 1.05, by kind. For what it means and whether to update, read the release notes.
Fixed
- A renewal window wider than the billing cycle billed the same service again every night.
RenewalService::issue()advancesnext_due_dateby exactly one cycle, so withrenewal_days = 60on a monthly service the new date was still inside the window: the next run billed the period after that, and the one after that, until the date finally cleared the horizon. The setting accepts up to 120 days - four duplicate invoices on a monthly service - and only the shipped default of 14 is safe for one. Nothing warned the operator, and the duplicates were real invoices that dunning then chased. - A service may now have one open renewal invoice at a time. The rule needs no date arithmetic, so there is no boundary a wider window can slip past, and it holds for every other way a duplicate could arise: the cron running twice, a manual re-run, a billing cycle changed underneath a pending invoice.
- Non-payment is deliberately not what the guard keys on. Stacking a second invoice on a client who has not paid the first is not this routine's answer to a late payer - the dunning, late-fee and suspension ladder is. Once the outstanding invoice is settled, the next period is raised on the following run as normal.
Added
renewals_heldin the nightlyrecurnix:dailysummary line and in the System Health snapshot, so a held renewal is visible rather than silent. An operator who set a wide window and expected more invoices can see exactly what happened.- The Billing settings field now says what the window is: lead time, not permission to bill a period ahead.
Notes
- The 14-day default is unchanged and behaves exactly as before.
- Services that are not active, are due beyond the window, or have a cancellation requested are still never renewed - asserted, not assumed.
- Verified with 24 assertions simulating three consecutive nightly runs, then payment and a fourth run.