Recurnix docs

Docs › Releases › 1.15 › Changelog

Recurnix 1.15 changelog

Every change in 1.15, by kind. For what it means and whether to update, read the release notes.

Fixed

  • The migration set was quietly MySQL-only. The first schema-changing migration used raw ALTER TABLE ... MODIFY, which no other engine parses, so php artisan migrate died on the first statement anywhere else. Two backfills in the ticket foundation were the same story: UPDATE ... JOIN ... and LPAD(). The product was portable everywhere except the one place that builds its own database.
  • Setting::allCached() threw on a database with no settings table. Recurnix is downloaded and unzipped before it is installed, so the first request a customer ever makes arrives at an empty database. It now returns nothing and lets every caller fall through to the default it already passes for an absent key — and deliberately does not cache that emptiness, which would have survived the install and left the product convinced it had no settings.

Added

  • The first Feature tests. RefreshDatabase needs to build the schema on SQLite, which the two defects above made impossible — that, and not a shortage of intent, is why every proof in the H1–H9 series had to be a throwaway probe that got swept at the end of its release. tests/Feature/RevokedSubUserTest is the H9 proof made permanent: an active colleague reaches the portal, a revoked one is signed out on their next request, a session pointing at nothing fails closed, and the account owner is never touched.
  • 4 Feature tests (117 total, 416 assertions).

Notes

  • The correlated subqueries that replaced UPDATE ... JOIN are standard SQL and both engines take them. LPAD() has no portable equivalent, so that padding now happens in PHP via chunkById — a one-time upgrade backfill where a fresh install has no rows at all, so correctness on every engine beats speed on one.
  • A guard already in tests/TestCase.php refuses to run the suite while bootstrap/cache/config.php exists, because a cached connection would override phpunit.xml and let RefreshDatabase drop the real database. It fired correctly the first time a Feature test was run. php artisan config:clear first, optimize after.
  • One failure during this work looked like a product bug — the dashboard calling Currency::format(null) — and was not: credit_balance is NOT NULL DEFAULT 0, and the null came from an in-memory model that had not been refreshed after create(). The fixture was wrong, not the product. Checked before writing it up.

Last modified: 16 November 2026 · This page documents Recurnix, self-hosted billing and automation. Ask a question.