docs/release-notes/version-2.5.md
2.5.11 (2019-04-29)
This release upgrades the Django framework to version 2.2.
tagged_items count in tags API endpointlast_login update on login when maintenance mode is enabledaction and add changed_object_type_choices endpointslug field to the Tenant filter for use in the API and search functionmime_type field lengthnull cable length_unit via APIdisplay_name to DeviceType API serializer; fix DeviceType list for bulk device editq query paramis_pool field for prefix filtering_choices endpoint/dcim/interface-connections/ API endpointAs promised, Python 2 support has been completed removed. Python 3.5 or higher is now required to run NetBox. Please see our Python 3 migration guide for assistance with upgrading.
The UserAction model, which was deprecated by the new change logging feature in NetBox v2.4, has been removed. If you need to archive legacy user activity, do so prior to upgrading to NetBox v2.5, as the database migration will remove all data associated with this model.
Django 2.1 introduces view permissions for object types (not to be confused with object-level permissions). Implementation of #323 is planned for NetBox v2.6. Users are encourage to begin assigning view permissions as desired in preparation for their eventual enforcement.
The upgrade.sh script has been tweaked so that it no longer invokes sudo internally. This was done to ensure compatibility when running NetBox inside a Python virtual environment. If you need elevated permissions when upgrading NetBox, call the upgrade script with sudo upgrade.sh.
NetBox now supports modeling physical cables for console, power, and interface connections. The new pass-through port component type has also been introduced to model patch panels and similar devices.
outer_width and outer_depth fields to rack modeldescription field to circuit terminationsasset_tag field for racksLOGIN_TIMEOUT configuration settingstatus field for racksSESSION_FILE_PATH configuration setting for authentication without write access to databaseupgrade.sh no longer invokes sudocabled and connection_status filters for device componentsouter_unit and Cable length_unit to integer-based choice fields0 to nullconnection_status field in nested represenations of connectable device componentsconnected_endpoint_type to connectable device component API representations/extras/recent-activity/ endpoint (replaced by change logging in v2.4) has been removedrpc_client field has been removed from dcim.Platform (see #2367)/dcim/cables/interface_connection on Interface and interface on CircuitTermination have been replaced with connected_endpoint and connection_statuscable field has been added to console, power, and interface components and to circuit terminationsstatus, asset_tag, outer_width, outer_depth, outer_unitis_console_server: console_server_portsis_pdu: power_outletsis_network_device: interfacesconsole_portspower_portspass_through_portsinterface_ordering has been removed from the DeviceType serializerdescription field to the CircuitTermination serializeripaddress_count to InterfaceSerializer to show the count of assigned IP addresses for each interfaceavailable-prefixes and available-ips IPAM endpoints now return an HTTP 204 response instead of HTTP 400 when no new objects can be creatednull instead of zero