2020-06-24 12:44:00 -04:00
# NetBox v2.9
2020-06-01 16:30:20 -04:00
2020-12-11 16:33:08 -05:00
## v2.9.11 (2020-12-11)
2020-11-25 11:47:53 -05:00
2020-12-08 16:14:52 -05:00
### Enhancements
* [#5424 ](https://github.com/netbox-community/netbox/issues/5424 ) - Allow passing Python code to `nbshell` using `--command`
2020-12-11 08:56:02 -05:00
* [#5439 ](https://github.com/netbox-community/netbox/issues/5439 ) - Add CS and SN fiber port types
2020-12-08 16:14:52 -05:00
2020-11-25 11:47:53 -05:00
### Bug Fixes
* [#5383 ](https://github.com/netbox-community/netbox/issues/5383 ) - Fix setting user password via REST API
2020-12-03 13:40:42 -05:00
* [#5396 ](https://github.com/netbox-community/netbox/issues/5396 ) - Fix uniqueness constraint for virtual machine names
2020-12-11 16:20:46 -05:00
* [#5387 ](https://github.com/netbox-community/netbox/issues/5387 ) - Fix error when rendering config contexts when objects have multiple tags assigned
2020-12-03 14:15:48 -05:00
* [#5407 ](https://github.com/netbox-community/netbox/issues/5407 ) - Add direct link to secret on secrets list
2020-12-03 15:22:44 -05:00
* [#5408 ](https://github.com/netbox-community/netbox/issues/5408 ) - Fix updating secrets without setting new plaintext
2020-12-04 08:57:19 -05:00
* [#5410 ](https://github.com/netbox-community/netbox/issues/5410 ) - Restore tags field on cable connection forms
2020-12-11 09:27:00 -05:00
* [#5433 ](https://github.com/netbox-community/netbox/issues/5433 ) - Exclude SVG files from front/rear image upload for device types (currently unsupported)
2020-12-10 08:52:55 -05:00
* [#5436 ](https://github.com/netbox-community/netbox/issues/5436 ) - Show assigned IP addresses in interfaces list
2020-12-11 16:05:50 -05:00
* [#5446 ](https://github.com/netbox-community/netbox/issues/5446 ) - Fix validation for plugin version and required settings
2020-11-25 11:47:53 -05:00
---
2020-11-24 16:36:46 -05:00
## v2.9.10 (2020-11-24)
2020-11-16 09:38:00 -05:00
### Enhancements
2020-11-24 16:29:09 -05:00
* [#5319 ](https://github.com/netbox-community/netbox/issues/5319 ) - Add USB types for power ports and outlets
2020-11-16 09:38:00 -05:00
* [#5337 ](https://github.com/netbox-community/netbox/issues/5337 ) - Add "splice" type for pass-through ports
2020-11-16 10:17:05 -05:00
### Bug Fixes
2020-11-16 10:59:41 -05:00
* [#5235 ](https://github.com/netbox-community/netbox/issues/5235 ) - Fix exception when editing IP address with a NAT IP assigned to a non-racked device
2020-11-20 15:40:09 -05:00
* [#5309 ](https://github.com/netbox-community/netbox/issues/5309 ) - Avoid extraneous database queries when manipulating objects
2020-11-16 10:17:05 -05:00
* [#5345 ](https://github.com/netbox-community/netbox/issues/5345 ) - Fix non-deterministic ordering of prefixes and IP addresses
2020-11-16 10:38:57 -05:00
* [#5350 ](https://github.com/netbox-community/netbox/issues/5350 ) - Filter available racks by selected group when creating a rack reservation
2020-11-17 16:25:20 -05:00
* [#5355 ](https://github.com/netbox-community/netbox/issues/5355 ) - Limit rack groups by selected site when editing a rack
2020-11-17 16:30:58 -05:00
* [#5356 ](https://github.com/netbox-community/netbox/issues/5356 ) - Populate manufacturer field when adding a device component template
2020-11-20 14:40:21 -05:00
* [#5360 ](https://github.com/netbox-community/netbox/issues/5360 ) - Clear VLAN assignments when setting interface mode to none
2020-11-16 10:17:05 -05:00
2020-11-16 09:38:00 -05:00
---
2020-11-09 20:51:35 -05:00
## v2.9.9 (2020-11-09)
2020-11-04 13:23:56 -05:00
2020-11-04 17:11:57 -05:00
### Enhancements
* [#5304 ](https://github.com/netbox-community/netbox/issues/5304 ) - Return server error messages as JSON when handling REST API requests
2020-11-05 14:24:22 -05:00
* [#5310 ](https://github.com/netbox-community/netbox/issues/5310 ) - Link to rack groups within rack list table
2020-11-09 16:48:11 -05:00
* [#5327 ](https://github.com/netbox-community/netbox/issues/5327 ) - Be more strict when capturing anticipated ImportError exceptions
2020-11-04 17:11:57 -05:00
2020-11-04 13:23:56 -05:00
### Bug Fixes
* [#5271 ](https://github.com/netbox-community/netbox/issues/5271 ) - Fix auto-population of region field when editing a device
2020-11-09 14:19:22 -05:00
* [#5314 ](https://github.com/netbox-community/netbox/issues/5314 ) - Fix config context rendering when multiple tags are assigned to an object
2020-11-09 16:22:45 -05:00
* [#5316 ](https://github.com/netbox-community/netbox/issues/5316 ) - Dry running scripts should not trigger webhooks
2020-11-09 14:19:22 -05:00
* [#5324 ](https://github.com/netbox-community/netbox/issues/5324 ) - Add missing template extension tags for plugins for VM interface view
2020-11-09 16:04:09 -05:00
* [#5328 ](https://github.com/netbox-community/netbox/issues/5328 ) - Fix CreatedUpdatedFilterTest when running in non-UTC timezone
2020-11-09 15:58:59 -05:00
* [#5331 ](https://github.com/netbox-community/netbox/issues/5331 ) - Fix filtering of sites by null region
2020-11-04 13:23:56 -05:00
---
2020-10-30 10:11:13 -04:00
## v2.9.8 (2020-10-30)
2020-10-14 20:10:21 -04:00
2020-10-30 09:14:52 -04:00
### Enhancements
* [#4559 ](https://github.com/netbox-community/netbox/issues/4559 ) - Improve device/VM context data rendering performance
2020-10-14 20:10:21 -04:00
### Bug Fixes
2020-10-30 09:14:52 -04:00
2020-10-25 18:20:21 -04:00
* [#3672 ](https://github.com/netbox-community/netbox/issues/3672 ) - Fix a caching issue causing incorrect related object counts in API responses
2020-10-14 20:10:21 -04:00
* [#5113 ](https://github.com/netbox-community/netbox/issues/5113 ) - Fix incorrect caching of permission object assignments to user groups in the admin panel
2020-10-15 16:55:20 -04:00
* [#5243 ](https://github.com/netbox-community/netbox/issues/5243 ) - Redirect user to appropriate tab after modifying device components
2020-10-27 10:01:49 -04:00
* [#5273 ](https://github.com/netbox-community/netbox/issues/5273 ) - Fix exception when validating a new permission with no models selected
2020-10-30 09:14:52 -04:00
* [#5282 ](https://github.com/netbox-community/netbox/issues/5282 ) - Fix high CPU load when LDAP authentication is enabled
* [#5285 ](https://github.com/netbox-community/netbox/issues/5285 ) - Plugins no longer need to define `app_name` for API URLs to be included in the root view
2020-10-15 16:55:20 -04:00
---
2020-10-14 20:10:21 -04:00
2020-10-12 09:39:39 -04:00
## v2.9.7 (2020-10-12)
2020-10-09 15:53:45 -04:00
### Bug Fixes
* [#5231 ](https://github.com/netbox-community/netbox/issues/5231 ) - Fix KeyError exception when viewing object with custom link and debugging is disabled
---
2020-10-09 13:17:16 -04:00
## v2.9.6 (2020-10-09)
2020-10-09 13:16:07 -04:00
### Bug Fixes
* [#5229 ](https://github.com/netbox-community/netbox/issues/5229 ) - Fix AttributeError exception when LDAP authentication is enabled
---
2020-10-09 12:57:14 -04:00
## v2.9.5 (2020-10-09)
2020-09-24 10:01:02 -04:00
2020-10-09 12:36:09 -04:00
### Enhancements
* [#5202 ](https://github.com/netbox-community/netbox/issues/5202 ) - Extend the available context data when rendering custom links
2020-09-24 10:01:02 -04:00
### Bug Fixes
2020-09-29 19:55:59 -05:00
* [#4523 ](https://github.com/netbox-community/netbox/issues/4523 ) - Populate site vlan list when bulk editing interfaces under certain circumstances
2020-09-24 10:11:34 -04:00
* [#5174 ](https://github.com/netbox-community/netbox/issues/5174 ) - Ensure consistent alignment of rack elevations
2020-09-24 10:01:02 -04:00
* [#5175 ](https://github.com/netbox-community/netbox/issues/5175 ) - Fix toggling of rack elevation order
2020-09-27 16:32:42 -04:00
* [#5184 ](https://github.com/netbox-community/netbox/issues/5184 ) - Fix missing Power Utilization
2020-10-02 14:17:55 -04:00
* [#5197 ](https://github.com/netbox-community/netbox/issues/5197 ) - Limit duplicate IPs shown on IP address view
2020-10-01 09:25:56 -05:00
* [#5199 ](https://github.com/netbox-community/netbox/issues/5199 ) - Change default LDAP logging to INFO
2020-10-02 13:54:57 -04:00
* [#5201 ](https://github.com/netbox-community/netbox/issues/5201 ) - Fix missing querystring when bulk editing/deleting VLAN Group VLANs when selecting "select all x items matching query"
* [#5206 ](https://github.com/netbox-community/netbox/issues/5206 ) - Apply user pagination preferences to all paginated object lists
2020-10-09 11:46:16 -04:00
* [#5211 ](https://github.com/netbox-community/netbox/issues/5211 ) - Add missing `has_primary_ip` filter for virtual machines
2020-10-07 13:09:08 -04:00
* [#5217 ](https://github.com/netbox-community/netbox/issues/5217 ) - Prevent erroneous removal of prefetched GenericForeignKey data from tables
2020-10-07 13:23:19 -04:00
* [#5218 ](https://github.com/netbox-community/netbox/issues/5218 ) - Raise validation error if a power port's `allocated_draw` exceeds its `maximum_draw`
2020-10-08 12:50:29 -05:00
* [#5220 ](https://github.com/netbox-community/netbox/issues/5220 ) - Fix API patch request against IP Address endpoint with null assigned_object_type
2020-10-08 12:39:20 -05:00
* [#5221 ](https://github.com/netbox-community/netbox/issues/5221 ) - Fix bulk component creation for virtual machines
2020-10-08 16:24:08 -04:00
* [#5224 ](https://github.com/netbox-community/netbox/issues/5224 ) - Don't allow a rear port to have fewer positions than the number of mapped front ports
2020-10-09 11:34:50 -04:00
* [#5226 ](https://github.com/netbox-community/netbox/issues/5226 ) - Custom choice fields should be blank initially if no default choice has been designated
2020-09-24 10:01:02 -04:00
---
2020-09-23 15:24:59 -04:00
## v2.9.4 (2020-09-23)
2020-09-09 09:52:57 -04:00
2020-09-23 13:28:05 -04:00
**NOTE:** This release removes support for the `DEFAULT_TIMEOUT` parameter under `REDIS` database configuration. Set `RQ_DEFAULT_TIMEOUT` as a global configuration parameter instead.
2020-09-23 13:40:15 -04:00
**NOTE:** Any permissions referencing the legacy ReportResult model (e.g. `extras.view_reportresult` ) should be updated to reference the Report model.
2020-09-14 14:22:21 -04:00
### Enhancements
* [#1755 ](https://github.com/netbox-community/netbox/issues/1755 ) - Toggle order in which rack elevations are displayed
2020-09-16 12:53:11 -04:00
* [#5128 ](https://github.com/netbox-community/netbox/issues/5128 ) - Increase maximum rear port positions from 64 to 1024
2020-09-16 12:44:49 -04:00
* [#5134 ](https://github.com/netbox-community/netbox/issues/5134 ) - Display full hierarchy in breadcrumbs for sites/racks
2020-09-21 15:26:32 -04:00
* [#5149 ](https://github.com/netbox-community/netbox/issues/5149 ) - Add rack group field to device edit form
2020-09-23 09:46:52 -04:00
* [#5164 ](https://github.com/netbox-community/netbox/issues/5164 ) - Show total rack count per rack group under site view
2020-09-23 13:28:05 -04:00
* [#5171 ](https://github.com/netbox-community/netbox/issues/5171 ) - Introduce the `RQ_DEFAULT_TIMEOUT` configuration parameter
2020-09-14 14:22:21 -04:00
2020-09-09 09:52:57 -04:00
### Bug Fixes
2020-09-09 10:29:17 -04:00
* [#5050 ](https://github.com/netbox-community/netbox/issues/5050 ) - Fix potential failure on `0016_replicate_interfaces` schema migration from old release
2020-09-23 13:40:15 -04:00
* [#5066 ](https://github.com/netbox-community/netbox/issues/5066 ) - Update `view_reportresult` to `view_report` permission
2020-09-23 11:48:32 -04:00
* [#5075 ](https://github.com/netbox-community/netbox/issues/5075 ) - Include a VLAN membership view for VM interfaces
2020-09-16 11:10:30 -04:00
* [#5105 ](https://github.com/netbox-community/netbox/issues/5105 ) - Validation should fail when reassigning a primary IP from device to VM
2020-09-09 11:47:21 -04:00
* [#5109 ](https://github.com/netbox-community/netbox/issues/5109 ) - Fix representation of custom choice field values for webhook data
2020-09-14 10:41:04 -04:00
* [#5108 ](https://github.com/netbox-community/netbox/issues/5108 ) - Fix execution of reports via CLI
2020-09-09 09:52:57 -04:00
* [#5111 ](https://github.com/netbox-community/netbox/issues/5111 ) - Allow use of tuples when specifying ObjectVar `query_params`
2020-09-09 13:43:10 -04:00
* [#5118 ](https://github.com/netbox-community/netbox/issues/5118 ) - Specifying an empty list of tags should clear assigned tags (REST API)
2020-09-16 11:20:00 -04:00
* [#5133 ](https://github.com/netbox-community/netbox/issues/5133 ) - Fix disassociation of an IP address from a VM interface
2020-09-16 13:07:55 -04:00
* [#5136 ](https://github.com/netbox-community/netbox/issues/5136 ) - Fix exception when bulk editing interface 802.1Q mode
2020-09-21 15:14:44 -04:00
* [#5156 ](https://github.com/netbox-community/netbox/issues/5156 ) - Add missing "add" button to rack reservations list
2020-09-22 16:17:39 -04:00
* [#5167 ](https://github.com/netbox-community/netbox/issues/5167 ) - Support filtering ObjectChanges by multiple users
2020-09-09 09:52:57 -04:00
---
2020-09-04 15:45:23 -04:00
## v2.9.3 (2020-09-04)
2020-08-31 15:26:00 -04:00
2020-09-02 10:21:22 -04:00
### Enhancements
2020-09-04 13:57:29 -04:00
* [#4977 ](https://github.com/netbox-community/netbox/issues/4977 ) - Redirect authenticated users from login view
2020-09-04 15:10:34 -04:00
* [#5048 ](https://github.com/netbox-community/netbox/issues/5048 ) - Show the device/VM name when editing a component
2020-09-02 16:10:07 -04:00
* [#5072 ](https://github.com/netbox-community/netbox/issues/5072 ) - Add REST API filters for image attachments
2020-09-02 10:21:22 -04:00
* [#5080 ](https://github.com/netbox-community/netbox/issues/5080 ) - Add 8P6C, 8P4C, 8P2C port types
2020-08-31 15:26:00 -04:00
### Bug Fixes
2020-09-04 14:13:35 -04:00
* [#5046 ](https://github.com/netbox-community/netbox/issues/5046 ) - Disabled plugin menu items are no longer clickable
2020-08-31 15:26:00 -04:00
* [#5063 ](https://github.com/netbox-community/netbox/issues/5063 ) - Fix "add device" link in rack elevations for opposite side of half-depth devices
2020-08-31 15:34:40 -04:00
* [#5074 ](https://github.com/netbox-community/netbox/issues/5074 ) - Fix inclusion of VC member interfaces when viewing VC master
2020-09-01 10:19:28 -04:00
* [#5078 ](https://github.com/netbox-community/netbox/issues/5078 ) - Fix assignment of existing IP addresses to interfaces via web UI
2020-09-01 09:54:45 -04:00
* [#5081 ](https://github.com/netbox-community/netbox/issues/5081 ) - Fix exception during webhook processing with custom select field
2020-09-01 15:18:47 -04:00
* [#5085 ](https://github.com/netbox-community/netbox/issues/5085 ) - Fix ordering by assignment in IP addresses table
2020-09-01 13:59:50 -04:00
* [#5087 ](https://github.com/netbox-community/netbox/issues/5087 ) - Restore label field when editing console server ports, power ports, and power outlets
2020-09-02 13:45:15 -04:00
* [#5089 ](https://github.com/netbox-community/netbox/issues/5089 ) - Redirect to device view after editing component
2020-09-01 16:28:11 -04:00
* [#5090 ](https://github.com/netbox-community/netbox/issues/5090 ) - Fix status display for console/power/interface connections
2020-09-02 13:30:19 -04:00
* [#5091 ](https://github.com/netbox-community/netbox/issues/5091 ) - Avoid KeyError when handling invalid table preferences
2020-09-04 15:46:39 -04:00
* [#5095 ](https://github.com/netbox-community/netbox/issues/5095 ) - Show assigned prefixes in VLANs list
2020-08-31 15:26:00 -04:00
---
2020-08-27 14:03:51 -04:00
## v2.9.2 (2020-08-27)
2020-08-24 09:41:04 -04:00
2020-08-27 09:43:20 -04:00
### Enhancements
* [#5055 ](https://github.com/netbox-community/netbox/issues/5055 ) - Add tags column to device/VM component list tables
2020-08-27 13:46:31 -04:00
* [#5056 ](https://github.com/netbox-community/netbox/issues/5056 ) - Add interface and parent columns to IP address list
2020-08-27 09:43:20 -04:00
2020-08-24 09:41:04 -04:00
### Bug Fixes
2020-08-24 12:04:48 -04:00
* [#4988 ](https://github.com/netbox-community/netbox/issues/4988 ) - Fix ordering of rack reservations with identical creation times
2020-08-24 15:17:36 -04:00
* [#5002 ](https://github.com/netbox-community/netbox/issues/5002 ) - Correct OpenAPI definition for `available-prefixes` endpoint
2020-08-24 10:39:41 -04:00
* [#5035 ](https://github.com/netbox-community/netbox/issues/5035 ) - Fix exception when modifying an IP address assigned to a VM
2020-08-24 09:41:04 -04:00
* [#5038 ](https://github.com/netbox-community/netbox/issues/5038 ) - Fix validation of primary IPs assigned to virtual machines
2020-08-24 10:51:47 -04:00
* [#5040 ](https://github.com/netbox-community/netbox/issues/5040 ) - Limit SLAAC status to IPv6 addresses
2020-08-24 10:56:23 -04:00
* [#5041 ](https://github.com/netbox-community/netbox/issues/5041 ) - Fix form tabs when assigning an IP to a VM interface
2020-08-24 10:47:26 -04:00
* [#5042 ](https://github.com/netbox-community/netbox/issues/5042 ) - Fix display of SLAAC label for IP addresses status
2020-08-24 11:33:45 -04:00
* [#5045 ](https://github.com/netbox-community/netbox/issues/5045 ) - Allow assignment of interfaces to non-master VC peer LAG during import
2020-08-27 09:26:56 -04:00
* [#5058 ](https://github.com/netbox-community/netbox/issues/5058 ) - Correct URL for front rack elevation images when using external storage
2020-08-27 09:22:53 -04:00
* [#5059 ](https://github.com/netbox-community/netbox/issues/5059 ) - Fix inclusion of checkboxes for interfaces in virtual machine view
2020-08-27 11:27:17 -04:00
* [#5060 ](https://github.com/netbox-community/netbox/issues/5060 ) - Fix validation when bulk-importing child devices
2020-08-27 13:26:41 -04:00
* [#5061 ](https://github.com/netbox-community/netbox/issues/5061 ) - Allow adding/removing tags when bulk editing virtual machine interfaces
2020-08-24 09:41:04 -04:00
---
2020-08-22 21:03:51 -04:00
## v2.9.1 (2020-08-22)
2020-08-21 12:58:48 -04:00
### Enhancements
2020-08-21 13:17:41 -04:00
* [#4540 ](https://github.com/netbox-community/netbox/issues/4540 ) - Add IP address status type for SLAAC
2020-08-21 13:35:03 -04:00
* [#4814 ](https://github.com/netbox-community/netbox/issues/4814 ) - Allow nested LAG interfaces
2020-08-21 12:58:48 -04:00
* [#4991 ](https://github.com/netbox-community/netbox/issues/4991 ) - Add Python and NetBox versions to error page
2020-08-22 20:39:46 -04:00
* [#5033 ](https://github.com/netbox-community/netbox/issues/5033 ) - Support backward compatibility for `REMOTE_AUTH_BACKEND` configuration parameter
2020-08-21 12:58:48 -04:00
---
2020-08-21 09:39:31 -04:00
## v2.9.0 (2020-08-21)
2020-08-18 14:01:59 -04:00
2020-08-22 20:53:21 -04:00
**Note:** Redis 4.0 or later is required for this release.
2020-08-21 09:18:28 -04:00
### New Features
2020-08-13 13:04:33 -04:00
2020-08-21 09:18:28 -04:00
#### Object-Based Permissions ([#554](https://github.com/netbox-community/netbox/issues/554))
2020-07-27 10:19:24 -04:00
2020-08-21 09:18:28 -04:00
NetBox v2.9 replaces Django's built-in permissions framework with one that supports object-based assignment of permissions using arbitrary constraints. When granting a user or group permission to perform a certain action on one or more types of objects, an administrator can optionally specify a set of constraints. The permission will apply only to objects which match the specified constraints. For example, assigning permission to modify devices with the constraint `{"tenant__group__name": "Customers"}` would allow the associated users/groups to perform an action only on devices assigned to a tenant belonging to the "Customers" group.
2020-07-29 12:12:00 -04:00
2020-08-21 09:18:28 -04:00
#### Background Execution of Scripts & Reports ([#2006](https://github.com/netbox-community/netbox/issues/2006))
2020-07-29 12:12:00 -04:00
2020-08-21 09:18:28 -04:00
When running a report or custom script, its execution is now queued for background processing and the user receives an immediate response indicating its status. This prevents long-running scripts from resulting in a timeout error. Once the execution has completed, the page will automatically refresh to display its results. Both scripts and reports now store their output in the new JobResult model. (The ReportResult model has been removed.)
2020-08-03 16:10:51 -04:00
2020-08-21 09:18:28 -04:00
#### Named Virtual Chassis ([#2018](https://github.com/netbox-community/netbox/issues/2018))
2020-08-03 16:10:51 -04:00
2020-08-21 09:18:28 -04:00
The VirtualChassis model now has a mandatory `name` field. Names are assigned to the virtual chassis itself rather than referencing the master VC member. Additionally, the designation of a master is now optional: a virtual chassis may have only non-master members.
2020-07-27 10:19:24 -04:00
2020-08-21 09:18:28 -04:00
#### Changes to Tag Creation ([#3703](https://github.com/netbox-community/netbox/issues/3703))
2020-07-23 14:46:06 -04:00
2020-08-21 09:18:28 -04:00
Tags are no longer created automatically: A tag must be created by a user before it can be applied to any object. Additionally, the REST API representation of assigned tags has been expanded to be consistent with other objects.
2020-06-01 16:30:20 -04:00
2020-08-21 09:18:28 -04:00
#### Dedicated Model for VM Interfaces ([#4721](https://github.com/netbox-community/netbox/issues/4721))
2020-06-01 16:30:20 -04:00
2020-08-21 09:18:28 -04:00
A new model has been introduced to represent virtual machine interfaces. Although this change is largely transparent to the end user, note that the IP address model no longer has a foreign key to the Interface model under the DCIM app. This has been replaced with a generic foreign key named `assigned_object` .
2020-06-01 16:30:20 -04:00
2020-08-21 09:18:28 -04:00
#### REST API Endpoints for Users and Groups ([#4877](https://github.com/netbox-community/netbox/issues/4877))
2020-06-01 16:30:20 -04:00
2020-08-21 09:18:28 -04:00
Two new REST API endpoints have been added to facilitate the retrieval and manipulation of users and groups:
2020-07-06 14:02:06 -04:00
2020-08-21 09:18:28 -04:00
* `/api/users/groups/`
* `/api/users/users/`
2020-07-06 14:02:06 -04:00
2020-06-10 14:55:46 -04:00
### Enhancements
2020-07-21 16:58:31 -04:00
* [#4615 ](https://github.com/netbox-community/netbox/issues/4615 ) - Add `label` field for all device components and component templates
2020-08-21 09:18:28 -04:00
* [#4639 ](https://github.com/netbox-community/netbox/issues/4639 ) - Improve performance of web UI prefixes list
2020-06-10 14:55:46 -04:00
* [#4742 ](https://github.com/netbox-community/netbox/issues/4742 ) - Add tagging for cables, power panels, and rack reservations
2020-06-25 12:22:21 -04:00
* [#4788 ](https://github.com/netbox-community/netbox/issues/4788 ) - Add dedicated views for all device components
2020-06-25 14:18:29 -04:00
* [#4792 ](https://github.com/netbox-community/netbox/issues/4792 ) - Add bulk rename capability for console and power ports
2020-06-30 15:12:53 -04:00
* [#4793 ](https://github.com/netbox-community/netbox/issues/4793 ) - Add `description` field to device component templates
2020-06-25 17:08:51 -04:00
* [#4795 ](https://github.com/netbox-community/netbox/issues/4795 ) - Add bulk disconnect capability for console and power ports
2020-07-06 16:41:08 -04:00
* [#4806 ](https://github.com/netbox-community/netbox/issues/4806 ) - Add a `url` field to all API serializers
2020-06-30 15:22:30 -04:00
* [#4807 ](https://github.com/netbox-community/netbox/issues/4807 ) - Add bulk edit ability for device bay templates
2020-07-02 12:08:19 -04:00
* [#4817 ](https://github.com/netbox-community/netbox/issues/4817 ) - Standardize device/VM component `name` field to 64 characters
2020-07-09 09:50:01 -04:00
* [#4837 ](https://github.com/netbox-community/netbox/issues/4837 ) - Use dynamic form widget for relationships to MPTT objects (e.g. regions)
2020-07-09 17:09:03 -04:00
* [#4840 ](https://github.com/netbox-community/netbox/issues/4840 ) - Enable change logging for config contexts
2020-08-21 09:39:31 -04:00
* [#4885 ](https://github.com/netbox-community/netbox/issues/4885 ) - Add MultiChoiceVar for custom scripts
2020-08-21 09:18:28 -04:00
* [#4940 ](https://github.com/netbox-community/netbox/issues/4940 ) - Add an `occupied` field to rack unit representations for rack elevation views
* [#4945 ](https://github.com/netbox-community/netbox/issues/4945 ) - Add a user-friendly 403 error page
* [#4969 ](https://github.com/netbox-community/netbox/issues/4969 ) - Replace secret role user/group assignment with object permissions
* [#4982 ](https://github.com/netbox-community/netbox/issues/4982 ) - Extended ObjectVar to allow filtering API query
* [#4994 ](https://github.com/netbox-community/netbox/issues/4994 ) - Add `cable` attribute to PowerFeed API serializer
* [#4997 ](https://github.com/netbox-community/netbox/issues/4997 ) - The browsable API now lists available endpoints alphabetically
* [#5024 ](https://github.com/netbox-community/netbox/issues/5024 ) - List available options for choice fields within CSV import forms
2020-06-10 14:55:46 -04:00
2020-06-01 16:30:20 -04:00
### Configuration Changes
2020-08-22 20:39:46 -04:00
* If using NetBox's built-in remote authentication backend, update `REMOTE_AUTH_BACKEND` to `'netbox.authentication.RemoteUserBackend'` , as the authentication class has moved.
* If using LDAP authentication, set `REMOTE_AUTH_BACKEND` to `'netbox.authentication.LDAPBackend'` . (LDAP configuration parameters in `ldap_config.py` remain unchanged.)
2020-06-01 16:30:20 -04:00
* `REMOTE_AUTH_DEFAULT_PERMISSIONS` now takes a dictionary rather than a list. This is a mapping of permission names to a dictionary of constraining attributes, or `None` . For example, `['dcim.add_site', 'dcim.change_site']` would become `{'dcim.add_site': None, 'dcim.change_site': None}` .
2020-09-09 10:00:50 -04:00
* Backward compatibility for the old `webhooks` Redis queue name has been dropped. Ensure that your `REDIS` configuration parameter specifies both the `tasks` and `caching` databases.
2020-06-02 09:47:31 -04:00
2020-06-17 11:29:59 -04:00
### REST API Changes
2020-07-22 14:41:39 -04:00
* Added new endpoints for users, groups, and permissions under `/api/users/` .
2020-07-21 16:58:31 -04:00
* A `url` field is now included on all object representations, identifying the unique REST API URL for each object.
* The `tags` field of an object now includes a more complete representation of each tag, rather than just its name.
2020-06-17 11:29:59 -04:00
* The assignment of tags to an object is now achieved in the same manner as specifying any other related device. The `tags` field accepts a list of JSON objects each matching a desired tag. (Alternatively, a list of numeric primary keys corresponding to tags may be passed instead.) For example:
```json
"tags": [
{"name": "First Tag"},
{"name": "Second Tag"}
]
```
2020-07-21 16:58:31 -04:00
* Legacy numeric values for choice fields are no longer conveyed or accepted.
2020-08-21 09:39:31 -04:00
* circuits.CircuitTermination: Added `cable` field
2020-07-21 16:58:31 -04:00
* dcim.Cable: Added `tags` field
* dcim.ConsolePort: Added `label` field
* dcim.ConsolePortTemplate: Added `description` and `label` fields
* dcim.ConsoleServerPort: Added `label` field
* dcim.ConsoleServerPortTemplate: Added `description` and `label` fields
* dcim.DeviceBay: Added `label` field
* dcim.DeviceBayTemplate: Added `description` and `label` fields
* dcim.FrontPort: Added `label` field
* dcim.FrontPortTemplate: Added `description` and `label` fields
* dcim.Interface: Added `label` field
* dcim.InterfaceTemplate: Added `description` and `label` fields
2020-08-13 10:30:28 -04:00
* dcim.PowerFeed: Added `cable` field
2020-07-21 16:58:31 -04:00
* dcim.PowerPanel: Added `tags` field
* dcim.PowerPort: Added ``label` field
* dcim.PowerPortTemplate: Added `description` and `label` fields
* dcim.PowerOutlet: Added `label` field
* dcim.PowerOutletTemplate: Added `description` and `label` fields
2020-08-03 13:37:32 -04:00
* dcim.Rack: Added an `occupied` field to rack unit representations for rack elevation views
2020-07-21 16:58:31 -04:00
* dcim.RackGroup: Added a `_depth` attribute indicating an object's position in the tree.
* dcim.RackReservation: Added `tags` field
* dcim.RearPort: Added `label` field
* dcim.RearPortTemplate: Added `description` and `label` fields
* dcim.Region: Added a `_depth` attribute indicating an object's position in the tree.
* dcim.VirtualChassis: Added `name` field (required)
* extras.ConfigContext: Added `created` and `last_updated` fields
* extras.JobResult: Added the `/api/extras/job-results/` endpoint
2020-07-06 14:02:06 -04:00
* extras.Report: The `failed` field has been removed. The `completed` (boolean) and `status` (string) fields have been introduced to convey the status of a report's most recent execution. Additionally, the `result` field now conveys the nested representation of a JobResult.
* extras.Script: Added `module` and `result` fields. The `result` field now conveys the nested representation of a JobResult.
2020-07-21 16:58:31 -04:00
* extras.Tag: The count of `tagged_items` is no longer included when viewing the tags list when `brief` is passed.
* ipam.IPAddress: Removed `interface` field; replaced with `assigned_object` generic foreign key. This may represent either a device interface or a virtual machine interface. Assign an object by setting `assigned_object_type` and `assigned_object_id` .
2020-08-21 09:39:31 -04:00
* ipam.VRF: Added `display_name`
2020-07-21 16:58:31 -04:00
* tenancy.TenantGroup: Added a `_depth` attribute indicating an object's position in the tree.
* users.ObjectPermissions: Added the `/api/users/permissions/` endpoint
* virtualization.VMInterface: Removed `type` field (VM interfaces have no type)
2020-06-17 11:29:59 -04:00
2020-06-02 09:47:31 -04:00
### Other Changes
2020-06-24 12:44:00 -04:00
* A new model, `VMInterface` has been introduced to represent interfaces assigned to VirtualMachine instances. Previously, these interfaces utilized the DCIM model `Interface` . Instances will be replicated automatically upon upgrade, however any custom code which references or manipulates virtual machine interfaces will need to be updated accordingly.
2020-06-02 09:47:31 -04:00
* The `secrets.activate_userkey` permission no longer exists. Instead, `secrets.change_userkey` is checked to determine whether a user has the ability to activate a UserKey.
2020-06-02 15:36:31 -04:00
* The `users.delete_token` permission is no longer enforced. All users are permitted to delete their own API tokens.
2020-06-03 14:15:29 -04:00
* Dropped backward compatibility for the `webhooks` Redis queue configuration (use `tasks` instead).
* Dropped backward compatibility for the `/admin/webhook-backend-status` URL (moved to `/admin/background-tasks/` ).
2020-07-21 16:58:31 -04:00
* Virtual chassis are now created by navigating to `/dcim/virtual-chassis/add/` rather than via the devices list.
2020-06-24 16:22:37 -04:00
* A name is required when creating a virtual chassis.