content_types, type_create, type_update, type_delete, type_job_start, type_job_end, enabled, and conditions. Webhooks are now tied to events via event rules. Existing webhooks will have event rules created automatically upon upgrade.ui_visibility field on the custom field model has been replaced with two new fields: ui_visible and ui_editable. Existing values will be migrated automatically upon upgrade.FeatureQuery class for querying content types by model feature has been removed. Plugins should now use the new with_feature() manager method on NetBox's proxy model for ContentType.extras to core. Configuration history will be retained throughout the upgrade process.ipam app to the new vpn app. All object data will be retained, however please note that the relevant API endpoints have moved to /api/vpn/.CustomFieldsMixin, SavedFiltersMixin, and TagsMixin classes have moved from the extras.forms.mixins module to netbox.forms.mixins.Several new models have been introduced to enable VPN tunnel management. Users can now define tunnels with two or more terminations to replicate peer-to-peer or hub-and-spoke topologies. Each termination is made to a virtual interface on a device or VM. Additionally, users can define IKE and IPSec policies which can be applied to tunnels to document encryption and authentication strategies.
This release introduces event rules, which can be used to send webhooks or execute custom scripts automatically in response to NetBox events. For example, it's now possible to run a custom script whenever a new site is created with a particular status or tag.
Event rules replace and extend functionality that was previously built into the webhook model. Event rules will be created for any existing webhooks upon upgrade.
A new VirtualDisk model has been introduced to enable tracking the assignment of discrete virtual disks to virtual machines. The original size field has been retained on the VirtualMachine model, and will be automatically updated with the aggregate size of all assigned virtual disks. (Users who opt to eschew the new model may continue using the VirtualMachine size attribute as before.)
A new PROTECTION_RULES configuration parameter is now available. Similar to how custom validation rules can be used to enforce certain values for object attributes, protection rules guard against the deletion of objects which do not meet specified criteria. This enables an administrator to prevent, for example, the deletion of a site which has a status of "active."
The old ui_visible field on the custom field model](../models/extras/customfield.md) has been replaced by two new fields, ui_visible and ui_editable, which control how and whether a custom field is displayed when view and editing an object, respectively. Separating these two functions into discrete fields enables more control over how each custom field is presented to users. The values of these fields will be appropriately set automatically during the upgrade process depending on the value of the original field.
Global search results now include additional context about each object, such as a description, status, and/or related objects. The set of attributes to be displayed is specific to each object type, and is defined by setting display_attrs under the object's SearchIndex class.
Plugins can now register their own custom columns for inclusion on core NetBox tables. For example, a plugin can register a new column on SiteTable using the new register_table_column() utility function, and it will become available for users to select for display.
Plugins can now register their own data backends for use with synchronized data sources. This enables plugins to introduce new backends in addition to the git, S3, and local path backends provided natively.
color field for circuit typeserror field to the Job model to record any errors associated with its execution/render-config REST API endpoint for virtual machinesdescription field for webhooksjob_start and job_end signalsActionsMixin (backward compatibility has been retained)sentry-sdk Python library is now required only if Sentry reporting is enabledextras app into netbox (backward compatibility has been retained)FeatureQuery with new with_feature() method on ContentType manageripam app to the new vpn appextras app to coreextras app to netboxextras.webhooks_worker.process_webhook() to extras.webhooks.send_webhook() (backward compatibility has been retained)/api/extras/event-rules//api/virtualization/virtual-disks//api/vpn/ike-policies//api/vpn/ike-proposals//api/vpn/ipsec-policies//api/vpn/ipsec-profiles//api/vpn/ipsec-proposals//api/vpn/tunnels//api/vpn/tunnel-terminations//api/ipam/l2vpns/ -> /api/vpn/l2vpns//api/ipam/l2vpn-terminations/ -> /api/vpn/l2vpn-terminations/color choice fielderror character fieldcontent_types, type_create, type_update, type_delete, type_job_start, type_job_end, enabled, and conditions (these have been moved to the new EventRule model)description fieldexclude_from_utilization boolean fieldui_visibility fieldui_visible and ui_editable choice fieldsvirtual_disk_count integer field/render-config endpoint