Update dependency netbox-community/netbox to v4 #100
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
v3.5.1
->v4.3.2
Release Notes
netbox-community/netbox (netbox-community/netbox)
v4.3.2
: - 2025-06-05Compare Source
Enhancements
Bug Fixes
FieldError
exception when ordering circuit or tunnel terminations by the terminating objectAttributeError
exception when rendering a config template with no outputoccupied
filter should include interfaces terminating a wireless linkAttributeError
exception when sorting change history under user viewFieldError
exception when sorting tunnel terminations by tenantv4.3.1
: - 2025-05-13Compare Source
Enhancements
Job.enqueue()
Bug Fixes
FieldDoesNotExist
exception when global search results include a contactqinq_role
via the REST APIv4.3.0
: - 2025-05-01Compare Source
Breaking Changes
ALLOW_TOKEN_RETRIEVAL
configuration parameter now defaults to False.device
andvirtual_machine
foreign keys on the Service model have been replaced with a genericparent
relationship to support the assignment of services to FHRP groups as well.group
foreign key on the Contact model has been replaced with a many-to-manygroups
field.django-storages
is now a required dependency. (It will be installed automatically on upgrade.)model
attribute (usemodels
instead).New Features
Module Type Profiles & Custom Attributes (#19002)
The new module type profile model enables users to declare custom profiles for module types, with the ability to define custom attributes for each profile according to its functional role. For example, a CPU module type might declare architecture and clock speed attributes; a hard disk profile might declare attributes for type and speed.
Attributes can be declared on each profile using JSON schema, which allows for attributes to be declared as strings (text), integers, decimals, booleans, or choice fields. Profile attributes render as individual form fields when modifying a module type. Several profiles have been included by default to serve as examples, however these may be modified or removed.
Reusable Table Configurations (#14591)
After modifying the displayed columns and/or ordering for a specific object table in the user interface, users now have the option to save that configuration so that it can be reused in the future. Similar to saved filters, table configs can be shared with other users to easily replicate table layouts crafted to serve specific use cases.
Option to Treat IP Ranges as Fully Populated (#9763)
A new
mark_populated
boolean field has been added to the IPRange model. If set to true, NetBox will consider the IP range to be fully populated, and will not permit the creation of individual IP addresses within the range. For example, you might defer the management of an IP range to an external DHCP server, and wish for NetBox to treat the range as a opaque monolithic block for planning and allocation purposes.Hierarchical Device Roles (#18245)
Device roles can now be arranged hierarchically, with one role optionally serving as a parent to one or more child roles. For example, you might wish to create a generic "Server" role for devices with "Application Server" and "Database Server" roles beneath it. A device could then be assigned to any of these three roles.
Periodic Synchronization of Data Sources (#18287)
Data sources can now be configured to synchronize automatically at a specified interval, as indicated by the new
sync_interval
field. No additional system configuration is necessary to support this functionality; background jobs will be scheduled automatically by the RQ worker process.Proxy Routing (#18627)
User can now declare one or more proxy routers via the
PROXY_ROUTERS
configuration parameter to control the use of specific proxy servers for various outbound connections. For example, it is now possible to configure NetBox to use different proxies based on the type of outbound traffic or its destination.Enhancements
LOGIN_FORM_HIDDEN
configuration parameterfile_name
field to the export template modelcomments
field to all nested group models (Region, SiteGroup, Location, ContactGroup, TenantGroup, and WirelessLANGroup)status
field to the L2VPN model/api/extras/tagged-objects/
)weight
field to the Tag model to influence orderingtenant
field to the VLAN group modelstatus
field to the power outlet modelouter_height
field to the rack & rack type modelsDATABASES
andDATABASE_ROUTERS
configuration parameters to enable defining connections to external databases (e.g. for plugins)Plugins
<head>
block via the newplugin_head()
method on PluginTemplateExtensionvisible
argument to control tab renderingrelease_track
attribute to PluginConfigOther Changes
model
attribute on PluginTemplateExtension (usemodels
instead)ALLOW_TOKEN_RETRIEVAL
to Falsesqlmigrate
management commandv4.2.9
: - 2025-04-30Compare Source
Enhancements
Bug Fixes
AttributeError
exception when bulk import objects which have a multi-object custom field with a default valueDEBUG
is falseNoReverseMatch
exceptionValueError
exception when attempting to nullify interface mode when a VLAN is assignedtype
field should not be required when bulk editing interfacesstatus
field should not be required when bulk editing inventory itemsv4.2.8
: - 2025-04-22Compare Source
Enhancements
--readonly
flag on upgrade scriptBug Fixes
prepare_cloned_fields()
should validate cloning support on modelbase_choices
load_yaml()
convenience method on BaseScript should use SafeLoaderSESSION_COOKIE_SECURE
valuev4.2.7
: - 2025-04-10Compare Source
Enhancements
Bug Fixes
help_text
is passedget_field_value()
should honor null values on bound form fieldsIndexError
exception when creating multiple front ports with a labelv4.2.6
: - 2025-03-21Compare Source
Enhancements
Bug Fixes
kind
is a required field when making journal entriesv4.2.5
: - 2025-03-06Compare Source
Enhancements
Bug Fixes
v4.2.4
: - 2025-02-21Compare Source
Enhancements
Bug Fixes
v4.2.3
: - 2025-02-04Compare Source
Enhancements
<meta>
tag to the page headerBug Fixes
FieldDoesNotExist
exception when search results include virtual circuitcollectstatic
management command in debug mode with Redis not runningFieldError
exception when sorting interface tables on MAC Address columns0072_prefix_cached_relations
when upgrading from v4.1 or earlierv4.2.2
: - 2025-01-17Compare Source
Bug Fixes
FieldDoesNotExist
exception when global search results include a circuit terminationISOLATED_DEPLOYMENT
is enabledtags
,created
,last_updated
, and custom fields)TypeError
exception when rendering the system configuration view with one or more custom classes defined underPROTECTION_RULES
AttributeError
exception when attempting to assign host devices to a clusterSTORAGE_BACKEND
configuration parameterv4.2.1
: - 2025-01-08Compare Source
Bug Fixes
requires_internet
missing)v4.2.0
: - 2025-01-06Compare Source
Breaking Changes
site
andprovider_network
foreign key fields oncircuits.CircuitTermination
have been replaced by thetermination
generic foreign key.site
foreign key field onipam.Prefix
has been replaced by thescope
generic foreign key.site
foreign key field onvirtualization.Cluster
has been replaced by thescope
generic foreign key.circuit
foreign key field oncircuits.CircuitGroupAssignment
has been replaced by themember
generic foreign key.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
Plugins
events_pipeline
configuration parameter, which allows plugins to hook into NetBox event processingget_absolute_url()
methodPluginTemplateExtension
subclass for a single model has been deprecated (replacemodel
withmodels
)register_model_view()
to handle list viewsOther Changes
*_import
to*_bulk_import
v4.1.11
: - 2025-01-06Compare Source
Bug Fixes
v4.1.10
: - 2024-12-23Compare Source
Bug Fixes
v4.1.9
: - 2024-12-18Compare Source
Enhancements
Bug Fixes
ZeroDivisionError
exception under specific circumstances when generating a cable tracecabletermination_set
via the GraphQL APIAttributeError
exception when attempting to edit an IP address assigned to a virtual machine interfacev4.1.8
: - 2024-12-12Compare Source
Enhancements
DEBUG
is enabledBug Fixes
MAX_PAGE_SIZE
valuesv4.1.7
: - 2024-11-21Compare Source
Enhancements
Bug Fixes
name
field of module type component templatesLOGIN_REQUIRED
when requesting static mediato_grams()
utility function should always return an integer valuev4.1.6
: - 2024-10-31Compare Source
Bug Fixes
v4.1.5
: - 2024-10-28Compare Source
Enhancements
Bug Fixes
commit=False
.webp
file extensiondevicetypes
andchildren
fields for several objects in GraphQL APIjob_timeout
value when scheduling a recurring custom scriptConfiguration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.