From 3ece4f137f474895c3d015d295fa9671c14925f9 Mon Sep 17 00:00:00 2001 From: Jeremy Stretch Date: Thu, 23 Apr 2020 10:09:13 -0400 Subject: [PATCH] Release v2.8.1 --- docs/release-notes/version-2.8.md | 30 +++++++++++++++--------------- netbox/netbox/settings.py | 2 +- 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/docs/release-notes/version-2.8.md b/docs/release-notes/version-2.8.md index 16b61f442..6a7ff07df 100644 --- a/docs/release-notes/version-2.8.md +++ b/docs/release-notes/version-2.8.md @@ -2,6 +2,21 @@ ## v2.8.1 (FUTURE) +### Notes + +In accordance with the fix in [#4459](https://github.com/netbox-community/netbox/issues/4459), users that are experiencing invalid nested data with +regions, rack groups, or tenant groups can perform a one-time operation using the NetBox shell to rebuild the correct nested relationships after upgrading: + +```text +$ python netbox/manage.py nbshell +### NetBox interactive shell (localhost) +### Python 3.6.4 | Django 3.0.5 | NetBox 2.8.1 +### lsmodels() will show available models. Use help() for more info. +>>> Region.objects.rebuild() +>>> RackGroup.objects.rebuild() +>>> TenantGroup.objects.rebuild() +``` + ### Enhancements * [#4464](https://github.com/netbox-community/netbox/issues/4464) - Add 21-inch rack width (ETSI) @@ -19,21 +34,6 @@ * [#4496](https://github.com/netbox-community/netbox/issues/4496) - Fix exception when validating certain models via REST API * [#4510](https://github.com/netbox-community/netbox/issues/4510) - Enforce address family for device primary IPv4/v6 addresses -### Notes - -In accordance with the fix in [#4459](https://github.com/netbox-community/netbox/issues/4459), users that are experiencing invalid nested data with -regions, rack groups, or tenant groups can perform a one time operation using the NetBox shell to rebuild the correct nested relationships after upgrading: - -```text -$ python netbox/manage.py nbshell -### NetBox interactive shell (Mac-Pro.local) -### Python 3.6.4 | Django 3.0.5 | NetBox 2.8.1-dev -### lsmodels() will show available models. Use help() for more info. ->>> Region.objects.rebuild() ->>> RackGroup.objects.rebuild() ->>> TenantGroup.objects.rebuild() -``` - --- ## v2.8.0 (2020-04-13) diff --git a/netbox/netbox/settings.py b/netbox/netbox/settings.py index 7aafd9618..c7116b0af 100644 --- a/netbox/netbox/settings.py +++ b/netbox/netbox/settings.py @@ -16,7 +16,7 @@ from django.core.validators import URLValidator # Environment setup # -VERSION = '2.8.1-dev' +VERSION = '2.8.1' # Hostname HOSTNAME = platform.node()