Skip to content

deps: update dependency netbox-community/netbox to v4.1.1

Renovate requested to merge renovate/netbox-community-netbox-4.x into master

This MR contains the following updates:

Package Update Change
netbox-community/netbox minor v4.0.10 -> v4.1.1

Release Notes

netbox-community/netbox (netbox-community/netbox)

v4.1.1: - 2024-09-12

Compare Source

Enhancements

  • #​16926 - Add USB front & rear port types
  • #​17347 - Add NEMA L22-20 power port & outlet types

Bug Fixes

  • #​17066 - Fix OpenAPI schema definition for custom scripts REST API endpoint
  • #​17332 - Restore pagination for object list dashboard widgets
  • #​17333 - Avoid prefetching all jobs when retrieving custom scripts via the REST API
  • #​17353 - Fix styling of map buttons under site and device views
  • #​17354 - Prevent object & multi-object custom fields from breaking bulk import forms
  • #​17362 - Remove duplicate prefixes & IP addresses returned by the present_in_vrf query filter
  • #​17364 - Fix rendering of Markdown tables inside object list dashboard widgets
  • #​17387 - Fix display of the changelog tab for users with sufficient permission
  • #​17410 - Enable debug toolbar middleware for strawberry-django only when DEBUG is true
  • #​17414 - Fix support for declaring individual VLAN IDs within a VLAN group
  • #​17431 - Fix database migration error when upgrading to v4.1 from v3.7 or earlier
  • #​17437 - Fix exception when specifying a bridge relationship on an interface template
  • #​17444 - Custom script fails to execute when triggered by an event rule
  • #​17457 - GraphQL service_list filter should not require a port number

v4.1.0: - 2024-09-03

Compare Source

Breaking Changes

  • Several filters deprecated in v4.0 have been removed (see #​15410).
  • The unit size for VirtualMachine.disk and VirtualDisk.size has been changed from 1 gigabyte to 1 megabyte. Existing values will be adjusted automatically during the upgrade process.
  • The min_vid and max_vid fields on the VLAN group model have been replaced with vid_ranges, an array of starting and ending VLAN ID pairs.
  • The five individual event type fields on the EventRule model have been replaced by a single event_types array field, which lists applicable event types by name.
  • All UI views & API endpoints associated with change records have been moved from /extras to /core.
  • The validate() method on CustomValidator subclasses now must accept the request argument (deprecated in v4.0 by #​14279).

New Features

Circuit Groups (#​7025)

Circuits can now be assigned to groups for administrative purposes. Each circuit may be assigned to multiple groups, and each assignment may optionally indicate a priority (primary, secondary, or tertiary).

VLAN Group ID Ranges (#​9627)

The VLAN group model has been enhanced to support multiple VLAN ID (VID) ranges, whereas previously it could track only a single beginning and ending VID pair. VID ranges are stored as an array of beginning and ending (inclusive) integer pairs, e.g. 1-100,1000-1999.

Nested Device Modules (#​10500)

Module bays can now be added to modules to effect a hierarchical arrangement of submodules within a device. A module installed within a device's module bay may itself have module bays into which child modules may be installed.

Rack Types (#​12826)

A new rack type model has been introduced, which functions similarly to device types. Users can now define a common make and model of equipment rack, the attributes of which are automatically populated when creating a new rack of that type. Backward compatibility for racks with individually defined characteristics is fully retained.

Plugins Catalog Integration (#​14731)

The NetBox UI now integrates directly with the canonical plugins catalog hosted by NetBox Labs. Users can now explore available plugins and check for newer releases natively within the NetBox user interface.

User Notifications (#​15621)

NetBox now includes a user notification system. Users can subscribe to individual objects and be alerted to changes within the web interface. Additionally, event rules can be created to trigger notifications for specific users and/or groups. Plugins can also employ this notification system for their own purposes.

Enhancements

  • #​7537 - Add a serial number field for virtual machines
  • #​8198 - Enable uniqueness enforcement for custom field values
  • #​8984 - Enable filtering of custom script output by log level
  • #​11969 - Support for tracking airflow on racks and module types
  • #​14656 - Dynamically render the custom field edit form depending on the selected field type
  • #​15106 - Add distance and distance_unit fields for wireless links
  • #​15156 - Add display_url field to all REST API serializers, which links to the corresponding UI view for an object
  • #​16574 - Add last_synced time to REST API serializer for data sources
  • #​16580 - Enable plugin views to enforce LOGIN_REQUIRED selectively (remove AUTH_EXEMPT_PATHS)
  • #​16782 - Enable filtering of selection choices for object and multi-object custom fields
  • #​16907 - Update user interface styling
  • #​17051 - Introduce ISOLATED_DEPLOYMENT config parameter for denoting Internet isolation
  • #​17221 - ObjectEditView now supports HTMX-based object editing
  • #​17288 - Introduce a configurable limit on the number of aliases within a GraphQL API request
  • #​17289 - Enforce a standard policy for local passwords by default
  • #​17318 - Include the assigned provider in nested API representation of circuits

Bug Fixes (From Beta1)

  • #​17086 - Fix exception when viewing a job with no related object
  • #​17097 - Record static object representation when calling NotificationGroup.notify()
  • #​17098 - Prevent automatic deletion of related notifications when deleting an object
  • #​17159 - Correct file paths in plugin installation instructions
  • #​17163 - Fix filtering of related services under IP address view
  • #​17169 - Avoid duplicating catalog listings for installed plugins
  • #​17301 - Correct styling of the edit & delete buttons for custom script modules
  • #​17302 - Fix log level filtering support for custom script messages
  • #​17306 - Correct rounding of reported VLAN group utilization

Plugins

  • #​15692 - Introduce improved plugin support for background jobs
  • #​16359 - Enable plugins to embed content in the top navigation bar
  • #​16726 - Extend PluginTemplateExtension to enable registering multiple models
  • #​16776 - Add an alerts() method to PluginTemplateExtension for embedding important information on object views
  • #​16886 - Introduce a mechanism for plugins to register custom event types (for use with user notifications)

Other Changes

  • #​14692 - Change the atomic unit for virtual disks from 1GB to 1MB
  • #​14861 - The URL path for UI views concerning virtual disks has been standardized to /virtualization/virtual-disks/
  • #​15410 - Remove various deprecated query filters
  • #​15908 - Indicate product edition in release data
  • #​16388 - Move all change logging resources from extras to core
  • #​16884 - Remove the ID column from the default table configuration for changelog records
  • #​16988 - Relocate rack items in navigation menu
  • #​17143 - The use of legacy "nested" serializer classes has been deprecated

v4.0.11: - 2024-09-03

Compare Source

Bug Fixes
  • #​17310 - Enforce restricted queryset for related objects in GraphQL API requests
  • #​17321 - Ensure the job is attributed to the specified user when using the runscript management command
  • #​17323 - Associate job with script object when executed using the runscript management command
  • #​17337 - Fix ordering of virtual device contexts by device name
  • #​17341 - Avoid NoReverseMatch exceptions with specific dashboard widget configurations

  • If you want to rebase/retry this MR, check this box

 

Merge request reports

Loading