What's Changed
-
NetBox 4.7 support, declarative UI panels, and several bug fixes (see CHANGELOG.md).
-
Cross-checked against #106 (@cfoellmann): the FloorplanFilterSet.search() FieldError fix was already here. Picked up two gaps it found — FloorplanImageViewSet had no filterset, and FloorplanImage.filename lacked a type hint for drf-spectacular.
-
Fixes #104: setting PLUGINS_CONFIG['netbox_floorplan']['top_level_menu'] = True registers a dedicated top-level "Floorplan" menu instead of nesting "Floorplan Images" under NetBox's shared "Plugins" menu. Defaults to False, preserving current behaviour.
-
Fixes #94: FloorplanMapEditView inherited LoginRequiredMixin instead of PermissionRequiredMixin and referenced a nonexistent permission codename, so any logged-in user — including one with only view permission — could open the canvas editor. It now requires change_floorplan, and the Add/Edit/Delete Floorplan buttons on the site/location tab are hidden without the corresponding permission.
Full Changelog: 0.9.2...v0.10.0