We're releasing netbox-attachments v10.0.1 — a small feature release that adds support for NetBox Custom Objects, improves model discovery/registration, hardens configuration handling, and adds a full test suite and documentation for testing.
Highlights
- New: Support for NetBox Custom Objects — enable attachments for dynamic custom object types.
- Docs: README extended with configuration examples and a new "Custom Objects Support" section.
- Tests: Comprehensive tests added with fixtures and a helper script for swapping test configurations.
- Robustness: Improved model discovery, deduplication, and safer configuration validation.
- Version bumped from
10.0.0→10.0.1.
Upgrade / migration notes
- If you use NetBox Custom Objects:
- Install and configure the
netbox_custom_objectsplugin. - Add the plugin to your
PLUGINSlist and adjustPLUGINS_CONFIG.netbox_attachments.scope_filteras follows:- app mode: add
'netbox_custom_objects'to enable attachments for all custom object types. - model mode: add
'netbox_custom_objects.{CustomObjectType.name}'to enable attachments for specific custom object types.
- app mode: add
- Install and configure the
- NetBox must be restarted after adding/removing custom object types — custom object models are discovered at startup.
- Limitation:
additional_tabdisplay mode is not supported for dynamic custom object models due to their non-standard URL routing. The plugin will automatically usefull_width_pagefor custom objects (you can still set an explicitdisplay_setting, but be aware of routing limitations). - Ensure
scope_filteris a list in yourPLUGINS_CONFIG(the plugin now validates this more strictly).
Full changelog / compare
See full changes: v10.0.0...v10.0.1
Tests & QA
This release adds a dedicated tests/ directory with unit tests, configuration fixtures, and a swap_netbox_config.sh helper for manual testing. See netbox_attachments/tests/README.md for details and test commands.