github Kani999/netbox-attachments v10.0.1

8 hours ago

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.010.0.1.

Upgrade / migration notes

  1. If you use NetBox Custom Objects:
    • Install and configure the netbox_custom_objects plugin.
    • Add the plugin to your PLUGINS list and adjust PLUGINS_CONFIG.netbox_attachments.scope_filter as 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.
  2. NetBox must be restarted after adding/removing custom object types — custom object models are discovered at startup.
  3. Limitation: additional_tab display mode is not supported for dynamic custom object models due to their non-standard URL routing. The plugin will automatically use full_width_page for custom objects (you can still set an explicit display_setting, but be aware of routing limitations).
  4. Ensure scope_filter is a list in your PLUGINS_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.

Don't miss a new netbox-attachments release

NewReleases is sending notifications on new releases.