Docs › Releases › 1.21 › Release notes
Recurnix 1.21 release notes
Released 2026-07-31. Recurnix 2.11 is newer.
This release fixes nothing. That is the finding.
The admin menu is 57 hand-written links. Each one looks like this:
$this->link('Client Groups', '', '/'.self::adminPath().'/client-groups', 'resources.client-groups.*'),
Two literal strings per link: the URL path, and the route pattern used to decide whether the item shows as current. Neither is derived from the resource or page it points at. 57 links, 114 strings, and nothing anywhere checked that any of them corresponded to something real.
So the first thing to do was find out.
link() calls 57
filament.admin routes registered 129
paths with no matching route 0
patterns matching no route name 0
verdict: every link resolves
All of them were correct. The menu has been right by attention, not by construction — and the failure mode is the quiet kind: rename a resource slug, and the menu keeps pointing at the old address until somebody clicks it. The highlight patterns are quieter still. A pattern that matches nothing does not break the link at all; the item simply never shows as current, which is not a thing anyone files a bug about.
The deliverable is the test
AdminNavigationLinksTest resolves all 57 against the real router on every run. 114 literals that were unchecked are now checked.
There is a third test whose only job is to stop the other two from lying. Both parse the provider with a regex; if the call shape ever changes and the regex stops matching, they would iterate an empty list and report success. So it asserts that the parse found every $this->link( actually present in the file. A green test over nothing is worse than no test, because it is believed.
The refactor that was not done
The recorded finding said AdminPanelProvider::link() hardcodes each URL where Resource::getUrl() would do. That is true, and deriving the paths from the 59 resource and page classes is the structurally correct answer.
It was not done, on purpose. It means editing 57 call sites and adding 59 imports to a menu that is currently correct in every one of them — a large mechanical diff whose own risk of introducing exactly the breakage it prevents is higher than the residual risk it removes, now that the guard exists. Recorded here as a decision rather than left to look like an oversight.
Where these live
They need a booted application, because only the router knows what the panel registered. Tests\Unit\AdminNavigationTest, from v1.12, is explicitly pure — no database, no booted app — and covers the permission gate on the same menu: whether a link should be shown at all. These are the routing half: whether the link goes anywhere. Two halves of one question, deliberately not forced into one file.
207 committed tests, 654 assertions.