Docs › Releases › 1.03 › Changelog
Recurnix 1.03 changelog
Every change in 1.03, by kind. For what it means and whether to update, read the release notes.
Security
.env.exampleshippedAPP_DEBUG=true. Every install copies that file, so every install started in debug mode: one uncaught exception renders a page printing the whole environment -APP_KEY,DB_PASSWORD, every mail and S3 credential - to whoever triggered it. A leakedAPP_KEYalso undoes v1.01's encryption at rest, because that is the keyCryptuses. The template now shipsAPP_DEBUG=falseandAPP_ENV=production, with the reason written above them.- The session cookie was never marked
Secure(H8).config/session.phpreadenv('SESSION_SECURE_COOKIE')with no default - null, which means off - so an admin session cookie went over plain HTTP too. It now defaults to true whenAPP_URLis https, so a TLS install is protected without configuring anything and a plain-HTTP trial is not locked out. The environment variable still overrides either way.
Fixed
- The application log grew forever.
LOG_STACKdefaulted tosingle: one file, no rotation, no ceiling. A long-lived install fills its own disk and stops, and the first anyone hears of it is a quota error. The shipped default is nowdaily, which rotates per day and prunes toLOG_DAILY_DAYS(14). LOG_LEVELshipped asdebug, which put every query - and on an install that had not configured SMTP yet, every outgoing message body, client names and password-reset links included - into that same plain-text file. Nowinfo, which still keeps the nightlyrecurnix:dailysummary line.
Added
- Logs & data retention, in Settings > Automation: application log days and level, audit log days, email log days, and a system-tables window. All admin-set; no file needs editing. The log values are applied in
AppServiceProvider::boot()- late enough for a database read, early enough that Laravel has not yet resolved a log channel - and that code never throws, so a database being down cannot take logging down with it. - The nightly run now sweeps what nothing else bounded: stale log files, the email log, failed jobs, job batches, expired password-reset tokens, expired database-cache rows (the database cache store never removes its own) and webhook events. Each group is isolated, so one failure costs neither the others nor the billing run.
- The email log is the dunning idempotency store.
AppMailer::hasSent()reads it to decide whether a reminder already went out, so pruning it naively would re-send overdue notices - the exact failure B9 was about. A row is only removed once what it is about can no longer trigger a send: its invoice settled, its domain inactive. A paid invoice can never be re-chased. - 0 in any retention field means keep forever.
Notes
- Database dumps were already bounded by
update.backup_keepand the audit log byautomation.activity_retention_days. Both are unchanged; they now sit in the same card. - Existing installs keep their own
.env. If yours still saysLOG_STACK=single, change it todailyor the new retention setting has nothing to prune. - Verified with 42 assertions plus a live round trip: a value typed into the admin form reaches Monolog's channel configuration in a fresh process with the config cached.