[PR #4479] [MERGED] Release v2.8.0 #12857

Closed
opened 2025-12-29 22:24:01 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/4479
Author: @jeremystretch
Created: 4/13/2020
Status: Merged
Merged: 4/13/2020
Merged by: @jeremystretch

Base: masterHead: develop


📝 Commits (10+)

📊 Changes

218 files changed (+3857 additions, -1316 deletions)

View changed files

📝 .github/ISSUE_TEMPLATE/bug_report.md (+10 -9)
📝 .travis.yml (+1 -2)
📝 base_requirements.txt (+1 -2)
📝 docs/additional-features/custom-scripts.md (+1 -1)
📝 docs/administration/netbox-shell.md (+2 -2)
📝 docs/api/overview.md (+25 -51)
📝 docs/configuration/optional-settings.md (+89 -0)
docs/development/application-registry.md (+55 -0)
📝 docs/extra.css (+8 -1)
📝 docs/index.md (+1 -1)
📝 docs/installation/4-http-daemon.md (+3 -3)
📝 docs/installation/index.md (+4 -0)
📝 docs/installation/migrating-to-systemd.md (+1 -1)
docs/media/installation/netbox_application_stack.png (+0 -0)
docs/media/plugins/plugin_admin_ui.png (+0 -0)
docs/media/plugins/plugin_rest_api_endpoint.png (+0 -0)
docs/plugins/development.md (+392 -0)
docs/plugins/index.md (+82 -0)
docs/release-notes/version-2.8.md (+63 -0)
📝 mkdocs.yml (+5 -0)

...and 80 more files

📄 Description

New Features (Beta)

This releases introduces two new features in beta status. While they are expected to be functional, their precise implementation is subject to change during the v2.8 release cycle. It is recommended to wait until NetBox v2.9 to deploy them in production.

Remote Authentication Support (#2328)

Several new configuration parameters provide support for authenticating an incoming request based on the value of a specific HTTP header. This can be leveraged to employ remote authentication via an nginx or Apache plugin, directing NetBox to create and configure a local user account as needed. The configuration parameters are:

  • REMOTE_AUTH_ENABLED - Enables remote authentication (disabled by default)
  • REMOTE_AUTH_HEADER - The name of the HTTP header which conveys the username
  • REMOTE_AUTH_AUTO_CREATE_USER - Enables the automatic creation of new users (disabled by default)
  • REMOTE_AUTH_DEFAULT_GROUPS - A list of groups to assign newly created users
  • REMOTE_AUTH_DEFAULT_PERMISSIONS - A list of permissions to assign newly created users

If further customization of remote authentication is desired (for instance, if you want to pass group/permission information via HTTP headers as well), NetBox allows you to inject a custom Django authentication backend to retain full control over the authentication and configuration of remote users.

Plugins (#3351)

This release introduces support for custom plugins, which can be used to extend NetBox's functionality beyond what the core product provides. For example, plugins can be used to:

  • Add new Django models
  • Provide new views with custom templates
  • Inject custom template into object views
  • Introduce new API endpoints
  • Add custom request/response middleware

For NetBox plugins to be recognized, they must be installed and added by name to the PLUGINS configuration parameter. (Plugin support is disabled by default.) Plugins can be configured under the PLUGINS_CONFIG parameter. More information can be found the in the plugins documentation.

Enhancements

  • #1754 - Added support for nested rack groups
  • #3939 - Added support for nested tenant groups
  • #4078 - Standardized description fields across all models
  • #4195 - Enabled application logging (see logging configuration)

Bug Fixes

  • #4474 - Fix population of device types when bulk editing devices
  • #4476 - Correct typo in slugs for Infiniband interface types

API Changes

  • The _choices API endpoints have been removed. Instead, use an OPTIONS request to a model's endpoint to view the available values for all fields. (#3416)
  • The id__in filter has been removed from all models (#4313). Use the format ?id=1&id=2 instead.
  • dcim.Manufacturer: Added a description field
  • dcim.Platform: Added a description field
  • dcim.Rack: The /api/dcim/racks/<pk>/units/ endpoint has been replaced with /api/dcim/racks/<pk>/elevation/.
  • dcim.RackGroup: Added a description field
  • dcim.Region: Added a description field
  • extras.Tag: Renamed comments to description; truncated length to 200 characters; removed Markdown rendering
  • ipam.RIR: Added a description field
  • ipam.VLANGroup: Added a description field
  • tenancy.TenantGroup: Added a description field
  • virtualization.ClusterGroup: Added a description field
  • virtualization.ClusterType: Added a description field

Other Changes

  • #4081 - The family field has been removed from the Aggregate, Prefix, and IPAddress models. The field remains available in the API representations of these models, however the column has been removed from the database table.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/netbox-community/netbox/pull/4479 **Author:** [@jeremystretch](https://github.com/jeremystretch) **Created:** 4/13/2020 **Status:** ✅ Merged **Merged:** 4/13/2020 **Merged by:** [@jeremystretch](https://github.com/jeremystretch) **Base:** `master` ← **Head:** `develop` --- ### 📝 Commits (10+) - [`8274903`](https://github.com/netbox-community/netbox/commit/8274903985428c752d0f1d73b1a9b3d5e87392c7) version bump for v2.8.0 - [`926b1fa`](https://github.com/netbox-community/netbox/commit/926b1fadf2ccf13c29989281a26ddcc4005ad3f8) Merge branch 'develop' into develop-2.8 - [`8cb6aed`](https://github.com/netbox-community/netbox/commit/8cb6aed8fa47da3671864df63137fe0b3602eb28) Closes #3753: Remove rack units endpoint (replaced with elevation) - [`b475a57`](https://github.com/netbox-community/netbox/commit/b475a575e43003143ae80f858995934a89319860) Drop family column from Aggregate, Prefix, and IPAddress models - [`047f13a`](https://github.com/netbox-community/netbox/commit/047f13ac5d47038568f49ea55d0861222a93e4b0) Update tests - [`8687226`](https://github.com/netbox-community/netbox/commit/8687226cc74b2dfb2c1e06ef929f57e0a58b953d) Update family filters in querysets - [`fcdb052`](https://github.com/netbox-community/netbox/commit/fcdb05238c5ce46e9dac4fd12e640b4decc9d9ad) Restore filters - [`f0ced98`](https://github.com/netbox-community/netbox/commit/f0ced98dc6cbe25df11191fcceb6676ceb2e19c0) Delete unused test data - [`f6cbce6`](https://github.com/netbox-community/netbox/commit/f6cbce65fa64e8ef116c99105dffba27753577ec) Merge pull request #4178 from netbox-community/4081-drop-ip-family - [`d6ccf13`](https://github.com/netbox-community/netbox/commit/d6ccf131670c321e046b79ed40f68ea5a7c391c2) Changelog for #4081 ### 📊 Changes **218 files changed** (+3857 additions, -1316 deletions) <details> <summary>View changed files</summary> 📝 `.github/ISSUE_TEMPLATE/bug_report.md` (+10 -9) 📝 `.travis.yml` (+1 -2) 📝 `base_requirements.txt` (+1 -2) 📝 `docs/additional-features/custom-scripts.md` (+1 -1) 📝 `docs/administration/netbox-shell.md` (+2 -2) 📝 `docs/api/overview.md` (+25 -51) 📝 `docs/configuration/optional-settings.md` (+89 -0) ➕ `docs/development/application-registry.md` (+55 -0) 📝 `docs/extra.css` (+8 -1) 📝 `docs/index.md` (+1 -1) 📝 `docs/installation/4-http-daemon.md` (+3 -3) 📝 `docs/installation/index.md` (+4 -0) 📝 `docs/installation/migrating-to-systemd.md` (+1 -1) ➕ `docs/media/installation/netbox_application_stack.png` (+0 -0) ➕ `docs/media/plugins/plugin_admin_ui.png` (+0 -0) ➕ `docs/media/plugins/plugin_rest_api_endpoint.png` (+0 -0) ➕ `docs/plugins/development.md` (+392 -0) ➕ `docs/plugins/index.md` (+82 -0) ➕ `docs/release-notes/version-2.8.md` (+63 -0) 📝 `mkdocs.yml` (+5 -0) _...and 80 more files_ </details> ### 📄 Description ### New Features (Beta) This releases introduces two new features in beta status. While they are expected to be functional, their precise implementation is subject to change during the v2.8 release cycle. It is recommended to wait until NetBox v2.9 to deploy them in production. #### Remote Authentication Support ([#2328](https://github.com/netbox-community/netbox/issues/2328)) Several new configuration parameters provide support for authenticating an incoming request based on the value of a specific HTTP header. This can be leveraged to employ remote authentication via an nginx or Apache plugin, directing NetBox to create and configure a local user account as needed. The configuration parameters are: * `REMOTE_AUTH_ENABLED` - Enables remote authentication (disabled by default) * `REMOTE_AUTH_HEADER` - The name of the HTTP header which conveys the username * `REMOTE_AUTH_AUTO_CREATE_USER` - Enables the automatic creation of new users (disabled by default) * `REMOTE_AUTH_DEFAULT_GROUPS` - A list of groups to assign newly created users * `REMOTE_AUTH_DEFAULT_PERMISSIONS` - A list of permissions to assign newly created users If further customization of remote authentication is desired (for instance, if you want to pass group/permission information via HTTP headers as well), NetBox allows you to inject a custom [Django authentication backend](https://docs.djangoproject.com/en/stable/topics/auth/customizing/) to retain full control over the authentication and configuration of remote users. #### Plugins ([#3351](https://github.com/netbox-community/netbox/issues/3351)) This release introduces support for custom plugins, which can be used to extend NetBox's functionality beyond what the core product provides. For example, plugins can be used to: * Add new Django models * Provide new views with custom templates * Inject custom template into object views * Introduce new API endpoints * Add custom request/response middleware For NetBox plugins to be recognized, they must be installed and added by name to the `PLUGINS` configuration parameter. (Plugin support is disabled by default.) Plugins can be configured under the `PLUGINS_CONFIG` parameter. More information can be found the in the [plugins documentation](https://netbox.readthedocs.io/en/stable/plugins/). ### Enhancements * [#1754](https://github.com/netbox-community/netbox/issues/1754) - Added support for nested rack groups * [#3939](https://github.com/netbox-community/netbox/issues/3939) - Added support for nested tenant groups * [#4078](https://github.com/netbox-community/netbox/issues/4078) - Standardized description fields across all models * [#4195](https://github.com/netbox-community/netbox/issues/4195) - Enabled application logging (see [logging configuration](../configuration/optional-settings.md#logging)) ### Bug Fixes * [#4474](https://github.com/netbox-community/netbox/issues/4474) - Fix population of device types when bulk editing devices * [#4476](https://github.com/netbox-community/netbox/issues/4476) - Correct typo in slugs for Infiniband interface types ### API Changes * The `_choices` API endpoints have been removed. Instead, use an `OPTIONS` request to a model's endpoint to view the available values for all fields. ([#3416](https://github.com/netbox-community/netbox/issues/3416)) * The `id__in` filter has been removed from all models ([#4313](https://github.com/netbox-community/netbox/issues/4313)). Use the format `?id=1&id=2` instead. * dcim.Manufacturer: Added a `description` field * dcim.Platform: Added a `description` field * dcim.Rack: The `/api/dcim/racks/<pk>/units/` endpoint has been replaced with `/api/dcim/racks/<pk>/elevation/`. * dcim.RackGroup: Added a `description` field * dcim.Region: Added a `description` field * extras.Tag: Renamed `comments` to `description`; truncated length to 200 characters; removed Markdown rendering * ipam.RIR: Added a `description` field * ipam.VLANGroup: Added a `description` field * tenancy.TenantGroup: Added a `description` field * virtualization.ClusterGroup: Added a `description` field * virtualization.ClusterType: Added a `description` field ### Other Changes * [#4081](https://github.com/netbox-community/netbox/issues/4081) - The `family` field has been removed from the Aggregate, Prefix, and IPAddress models. The field remains available in the API representations of these models, however the column has been removed from the database table. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
adam added the pull-request label 2025-12-29 22:24:01 +01:00
adam closed this issue 2025-12-29 22:24:01 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#12857