Recurnix docs

Docs › Releases › 1.21 › Changelog

Recurnix 1.21 changelog

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

Added

  • Tests\Feature\AdminNavigationLinksTest — every one of the 57 admin navigation links is now resolved against the real router: the URL path must be a path the panel serves, and the highlight pattern must match at least one registered route name. 114 literals, previously unchecked, now checked on every run.
  • A third test that guards the other two: both parse AdminPanelProvider with a regex, and if the call shape changed they would pass over an empty list and report success. It asserts the parse found every $this->link( in the file.
  • 3 more committed tests (207 total, 654 assertions).

Notes

  • ⚠ NOTHING WAS BROKEN. All 57 links resolved. This release does not fix a defect; it converts a maintenance hazard into a checked property. The links were correct by attention rather than by construction, and the failure mode — rename a resource slug and the menu keeps pointing at the old address — is silent and only found by clicking.
  • The 57-call-site refactor was considered and not done. The recorded finding said AdminPanelProvider::link() hardcodes each URL where Resource::getUrl() would do, which is true. Deriving the paths from the resource and page classes would mean editing 57 call sites and adding 59 imports for a menu that is currently correct — a large mechanical diff whose own risk is larger than the problem it removes now that the guard exists. Recorded as a deliberate choice rather than an oversight.
  • Where the tests live, and why. They need a booted application, because only the router knows what the panel actually registered. The existing Tests\Unit\AdminNavigationTest from v1.12 is explicitly pure — no database, no booted app — and covers the permission gate on the same menu. These are the routing half, so they sit in Feature rather than being forced in beside it.

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