v0.1.1
Patch release fixing a production-blocking 500 on every list / detail
page in v0.1.0. All v0.1.0 users should upgrade.
Compatibility: NetBox v4.5, NetBox v4.6 · Python 3.12.
Fixed
NoReverseMatch500 on every UI page. NetBox 4.x's object detail
and list-row templates reverse<label>_changelogand
<label>_journalunconditionally for every model, but the plugin's
_crud()URL factory only registered the eight basic CRUD verbs.
The first time a logged-in user opened any list or detail page,
NetBox tried to render the per-row dropdown, hit
django.urls.exceptions.NoReverseMatch, and produced a red 500. The
factory now registers the two missing routes (changelog,journal)
for every model, backed by NetBox's stockObjectChangeLogViewand
ObjectJournalView(PR #13). The bug existed for every model in
v0.1.0 — not justACIFabric.
Added
tests/test_urls.py— regression guard. Enumerates every
UI-bearing model in the plugin and asserts every route in the
ten-route block (list / add / import / bulk-edit / bulk-delete /
detail / edit / delete / changelog / journal) reverses cleanly. The
test class explicitly checkschangelogandjournalso a future
regression of this exact bug fails the build with an obvious error.
CI did not catch the original failure because NetBox's
ViewTestCasesandAPIViewTestCasesonly reverse the explicit
verbs they cover — they never touch*_changelogor*_journal.