docs/release-notes/version-4.2.md
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 items--readonly flag on upgrade scriptprepare_cloned_fields() should validate cloning support on modelbase_choicesload_yaml() convenience method on BaseScript should use SafeLoaderSESSION_COOKIE_SECURE valuehelp_text is passedget_field_value() should honor null values on bound form fieldsIndexError exception when creating multiple front ports with a labelkind is a required field when making journal entries<meta> tag to the page headerFieldDoesNotExist 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 earlierFieldDoesNotExist 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 under PROTECTION_RULESAttributeError exception when attempting to assign host devices to a clusterSTORAGE_BACKEND configuration parameterrequires_internet missing)site and provider_network foreign key fields on circuits.CircuitTermination have been replaced by the termination generic foreign key.site foreign key field on ipam.Prefix has been replaced by the scope generic foreign key.site foreign key field on virtualization.Cluster has been replaced by the scope generic foreign key.circuit foreign key field on circuits.CircuitGroupAssignment has been replaced by the member generic foreign key.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.
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.
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.
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.
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.
events_pipeline configuration parameter, which allows plugins to hook into NetBox event processingget_absolute_url() methodPluginTemplateExtension subclass for a single model has been deprecated (replace model with models)register_model_view() to handle list views*_import to *_bulk_import/api/circuits/virtual-circuits//api/circuits/virtual-circuit-terminations//api/dcim/mac-addresses//api/ipam/vlan-translation-policies//api/ipam/vlan-translation-rules/distance and distance_unit fieldscircuit field with member_type and member_id to support virtual circuit assignmentsite & provider_network fieldstermination_type & termination_id fields to facilitate termination assignmenttermination fieldmac_address field is now read-onlyprimary_mac_address relation to dcim.MACAddressmac_addresses listqinq_svlan relation to ipam.VLANvlan_translation_policy relation to ipam.VLANTranslationPolicymode choice "Q-in-Q"status choice fieldprefix_count fieldcolor fieldprefix_count fieldprefix_count fieldsite fieldscope_type & scope_id fields to facilitate scope assignmentscope fieldqinq_role selection fieldqinq_svlan recursive relationsite fieldscope_type & scope_id fields to facilitate scope assignmentscope fieldallocated_vcpus, allocated_memory, and allocated_diskmac_address field is now read-onlyprimary_mac_address relation to dcim.MACAddressmac_addresses listqinq_svlan relation to ipam.VLANvlan_translation_policy relation to ipam.VLANTranslationPolicymode choice "Q-in-Q"scope_type & scope_id fields to support scope assignmentscope field