Skip to content

Update dependency netbox to v4.2.0

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

This MR contains the following updates:

Package Update Change
netbox minor v4.1.10 -> v4.2.0

Release Notes

netbox-community/netbox (netbox)

v4.2.0: - 2025-01-06

Compare Source

[!WARNING] This release requires PostgreSQL 13 or later. Please ensure you are running a suitable version of PostgreSQL before attempting to upgrade.

Breaking Changes

  • Support for the Django admin UI has been completely removed. (The Django admin UI was disabled by default in NetBox v4.0.)
  • This release drops support for PostgreSQL 12. PostgreSQL 13 or later is required to run this release.
  • NetBox has adopted collation-based natural ordering for many models. This may alter the order in which some objects are listed by default.
  • Automatic redirects from pre-v4.1 UI views for virtual disks have been removed.
  • The site and provider_network foreign key fields on circuits.CircuitTermination have been replaced by the termination generic foreign key.
  • The site foreign key field on ipam.Prefix has been replaced by the scope generic foreign key.
  • The site foreign key field on virtualization.Cluster has been replaced by the scope generic foreign key.
  • The circuit foreign key field on circuits.CircuitGroupAssignment has been replaced by the member generic foreign key.
  • Obsolete nested REST API serializers have been removed. These were deprecated in NetBox v4.1 under #​17143.

New Features

Assign Multiple MAC Addresses per Interface (#​4867)

MAC addresses are now managed as independent objects, rather than attributes on device and VM interfaces. NetBox now supports the assignment of multiple MAC addresses per interface, and allows a primary MAC address to be designated for each.

Quick Add UI Widget (#​5858)

A new UI widget has been introduced to enable conveniently creating new related objects while creating or editing an object. For instance, it is now possible to create and assign a new device role when creating or editing a device from within the device form.

VLAN Translation (#​7336)

User can now define policies which track the translation of VLAN IDs on IEEE 802.1Q-encapsulated interfaces. Translation policies can be reused across multiple interfaces.

Virtual Circuits (#​13086)

New models have been introduced to support the documentation of virtual circuits as an extension to the physical circuit modeling already supported. This enables users to accurately reflect point-to-point or multipoint virtual circuits atop infrastructure comprising physical circuits and cables.

Q-in-Q Encapsulation (#​13428)

NetBox now supports the designation of customer VLANs (CVLANs) and service VLANs (SVLANs) to support IEEE 802.1ad/Q-in-Q encapsulation. Each interface can now have it mode designated "Q-in-Q" and be assigned an SVLAN.

Enhancements

  • #​6414 - Prefixes can now be scoped by region, site group, site, or location
  • #​7699 - Virtualization clusters can now be scoped by region, site group, site, or location
  • #​9604 - The scope of a circuit termination now include a region, site group, site, location, or provider network
  • #​10711 - Wireless LANs can now be scoped by region, site group, site, or location
  • #​11279 - Improved the use of natural ordering for various models throughout the application
  • #​12596 - Extended the virtualization clusters REST API endpoint to report on allocated VM resources
  • #​16547 - Add a geographic distance field for circuits
  • #​16783 - Add an operational status field for inventory items
  • #​17195 - Add a color field for power outlets

Plugins

  • #​15093 - Introduced the events_pipeline configuration parameter, which allows plugins to hook into NetBox event processing
  • #​16546 - NetBoxModel now provides a default get_absolute_url() method
  • #​16971 - Plugins can now easily register system jobs to perform background tasks
  • #​17029 - Registering a PluginTemplateExtension subclass for a single model has been deprecated (replace model with models)
  • #​18023 - Extend register_model_view() to handle list views

Other Changes

  • #​16136 - Removed support for the Django admin UI
  • #​17165 - All obsolete nested REST API serializers have been removed
  • #​17472 - The legacy staged changes API has been deprecated, and will be removed in Netbox v4.3
  • #​17476 - Upgrade to Django 5.1
  • #​17752 - Bulk object import URL paths have been renamed from *_import to *_bulk_import
  • #​17761 - Optional choice fields now store empty values as null (rather than empty strings) in the database
  • #​18093 - Redirects for pre-v4.1 virtual disk UI views have been removed

v4.1.11: - 2025-01-06

Compare Source

Bug Fixes

  • #​17771 - Fix duplicate entries appearing on VLAN list when filtering by interface assignment
  • #​18222 - Pass event rule action data to webhooks as context data
  • #​18263 - Fix recalculation of cable paths when modifying cable terminations via the REST API
  • #​18271 - Require only encryption or authentication algorithm when creating an IPSec proposal via the REST API
  • #​18289 - Enable ordering modules and module types by created & last updated times

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

♻️ Rebasing: Whenever MR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this MR and you won't be reminded about this update again.


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

This MR has been generated by Renovate Bot.

Edited by Renovate Bot

Merge request reports

Loading