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.4.5Release Notes
netbox-community/netbox (netbox-community/netbox)
v4.4.5: - 2025-10-28Compare Source
Enhancements
assignedandprimaryboolean filters for MAC addressesBug Fixes
is_oob&is_primaryfields under IP address bulk importAttributeErrorexception raised by the object changes REST API endpointFieldErrorexception when attempting to sort permissions list by actionsv4.4.4: - 2025-10-15Compare Source
Bug Fixes
<app>.<model>format matching POST requestsv4.4.3: - 2025-10-14Compare Source
Enhancements
Bug Fixes
IntegerRangeSerializerMAX_PAGE_SIZEvaluev4.4.2: - 2025-09-30Compare Source
Enhancements
/) for the global search fieldSENTRY_CONFIGconfiguration parameterfacilityfield to bulk edit forms for sites and locationsBug Fixes
v4.4.1: - 2025-09-16Compare Source
Enhancements
HttpOnlyflag for CSRF cookiedeserialize_object()utilityBug Fixes
kindfilter for interfaces in GraphQL APIValueErrorcomplaining of missingscopewhen bulk importing wireless LANsAttributeErrorexception on background jobs with no request IDdistinct()on device/VM queryset when fetching config context datav4.4.0: - 2025-09-02Compare Source
New Features
Background Jobs for Bulk Operations (#19589, #19891)
Most bulk operations, such as the import, modification, or deletion of objects can now be executed as a background job. This frees the user to continue working in NetBox while the bulk operation is processed. Once completed, the user will be notified of the job's result.
Logging Mechanism for Background Jobs (#19816)
A dedicated logging mechanism has been implemented for background jobs. Jobs can now easily record log messages by calling e.g.
self.logger.info("Log message")under therun()method. These messages are displayed along with the job's resulting data. Supported log levels includeDEBUG,INFO,WARNING, andERROR.Changelog Comments (#19713)
When creating, editing, or deleting objects in NetBox, users now have the option of providing a short message explaining the change. This message will be recorded on the resulting changelog records for all affected objects.
Config Context Data Validation (#19377)
A new ConfigContextProfile model has been introduced to support JSON schema validation for config context data. If a validation schema has been defined for a profile, all config contexts assigned to it will have their data validated against the schema whenever a change is made. (The assignment of a config context to a profile is optional.)
Enhancements
HOSTNAMEconfiguration parameter to override the system hostname reported by NetBoxstatusfield for rack reservations/api/status/REST API endpoint now includes the system hostnamePlugins
ObjectActionDeprecations
Other Changes
/api/core/nbshellmanagement commandv4.3.7: - 2025-08-26Compare Source
Enhancements
Bug Fixes
emptyfilter lookup on custom fieldsAttributeErrorexception when assigning tags during bulk import/api/core/background-tasks/IntegrityErrorexception when a duplicate notification is triggeredValueErrorexception when attempting to add power outlets to devices in bulkv4.3.6: - 2025-08-12Compare Source
Enhancements
Bug Fixes
containsGraphQL filter for IPAM prefixes and IP rangesis_api_request()should not evaluate a request's content typeTypeErrorexception when bulk deleting bookmarksv4.3.5: - 2025-07-29Compare Source
Enhancements
regexandiregexlookups for advanced pattern matchingBug Fixes
v4.3.4: - 2025-07-15Compare Source
Enhancements
Bug Fixes
v4.3.3: - 2025-06-26Compare Source
Enhancements
Bug Fixes
runscriptmanagement commandschedule_atwhen invoking a custom script via the REST APITypeErrorexception when creating a new module profile type with no schemapresent_in_vrffilterDoesNotExistexception when deleting a notification group with an associated event rulev4.3.2: - 2025-06-05Compare Source
Enhancements
Bug Fixes
FieldErrorexception when ordering circuit or tunnel terminations by the terminating objectAttributeErrorexception when rendering a config template with no outputoccupiedfilter should include interfaces terminating a wireless linkAttributeErrorexception when sorting change history under user viewFieldErrorexception when sorting tunnel terminations by tenantv4.3.1: - 2025-05-13Compare Source
Enhancements
Job.enqueue()Bug Fixes
FieldDoesNotExistexception when global search results include a contactqinq_rolevia the REST APIv4.3.0: - 2025-05-01Compare Source
Breaking Changes
ALLOW_TOKEN_RETRIEVALconfiguration parameter now defaults to False.deviceandvirtual_machineforeign keys on the Service model have been replaced with a genericparentrelationship to support the assignment of services to FHRP groups as well.groupforeign key on the Contact model has been replaced with a many-to-manygroupsfield.django-storagesis now a required dependency. (It will be installed automatically on upgrade.)modelattribute (usemodelsinstead).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_populatedboolean 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_intervalfield. 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_ROUTERSconfiguration 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_HIDDENconfiguration parameterfile_namefield to the export template modelcommentsfield to all nested group models (Region, SiteGroup, Location, ContactGroup, TenantGroup, and WirelessLANGroup)statusfield to the L2VPN model/api/extras/tagged-objects/)weightfield to the Tag model to influence orderingtenantfield to the VLAN group modelstatusfield to the power outlet modelouter_heightfield to the rack & rack type modelsDATABASESandDATABASE_ROUTERSconfiguration parameters to enable defining connections to external databases (e.g. for plugins)Plugins
<head>block via the newplugin_head()method on PluginTemplateExtensionvisibleargument to control tab renderingrelease_trackattribute to PluginConfigOther Changes
modelattribute on PluginTemplateExtension (usemodelsinstead)ALLOW_TOKEN_RETRIEVALto Falsesqlmigratemanagement commandv4.2.9: - 2025-04-30Compare Source
Enhancements
Bug Fixes
AttributeErrorexception when bulk import objects which have a multi-object custom field with a default valueDEBUGis falseNoReverseMatchexceptionValueErrorexception when attempting to nullify interface mode when a VLAN is assignedtypefield should not be required when bulk editing interfacesstatusfield should not be required when bulk editing inventory itemsv4.2.8: - 2025-04-22Compare Source
Enhancements
--readonlyflag on upgrade scriptBug Fixes
prepare_cloned_fields()should validate cloning support on modelbase_choicesConfiguration
📅 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.