[PR #4528] [MERGED] Release v2.8.1 #12863

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

📋 Pull Request Information

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

Base: masterHead: develop


📝 Commits (10+)

  • f7e7699 add rack width of 21 inches for ETSI racks
  • 8b57a88 Post-release version bump
  • e972059 Fixes #4481: Remove extraneous material from example configuration file
  • d37a748 Remove format strings to ensure compilation under old Python releases
  • 9ed0494 Clarify requirement for Python 3.6 or later
  • 0ffc74c Fix link to logging configuration docs
  • 819f842 Call out requirement for Python 3.6 or later
  • fc1feec Fix format string
  • 2dbc04c Fix typo
  • 788909d Fixes #4489: Fix display of parent/child role on device type view

📊 Changes

38 files changed (+958 additions, -637 deletions)

View changed files

📝 docs/configuration/optional-settings.md (+1 -1)
📝 docs/installation/3-netbox.md (+4 -2)
📝 docs/installation/upgrading.md (+3 -0)
📝 docs/media/installation/netbox_application_stack.png (+0 -0)
📝 docs/models/dcim/rackgroup.md (+1 -1)
📝 docs/models/tenancy/tenantgroup.md (+2 -0)
📝 docs/release-notes/version-2.8.md (+39 -1)
📝 netbox/dcim/api/serializers.py (+2 -4)
📝 netbox/dcim/api/views.py (+1 -1)
📝 netbox/dcim/choices.py (+2 -0)
📝 netbox/dcim/exceptions.py (+9 -0)
📝 netbox/dcim/forms.py (+397 -432)
netbox/dcim/migrations/0105_interface_name_collation.py (+18 -0)
📝 netbox/dcim/models/__init__.py (+42 -27)
📝 netbox/dcim/models/device_components.py (+36 -10)
📝 netbox/dcim/signals.py (+31 -20)
📝 netbox/dcim/tests/test_api.py (+5 -0)
📝 netbox/dcim/tests/test_models.py (+145 -40)
📝 netbox/dcim/tests/test_natural_ordering.py (+6 -0)
📝 netbox/dcim/urls.py (+1 -1)

...and 18 more files

📄 Description

v2.8.1 (2020-04-23)

Notes

In accordance with the fix in #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:

$ 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(<model>) for more info.
>>> Region.objects.rebuild()
>>> RackGroup.objects.rebuild()
>>> TenantGroup.objects.rebuild()

Enhancements

  • #4464 - Add 21-inch rack width (ETSI)

Bug Fixes

  • #2994 - Prevent modifying termination points of existing cable to ensure end-to-end path integrity
  • #3356 - Correct Swagger schema specification for the available prefixes/IPs API endpoints
  • #4139 - Enable assigning all relevant attributes during bulk device/VM component creation
  • #4336 - Ensure interfaces without a subinterface ID are ordered before subinterface zero
  • #4361 - Fix Type of connection_state in Swagger schema
  • #4388 - Fix detection of connected endpoints when connecting rear ports
  • #4459 - Fix caching issue resulting in erroneous nested data for regions, rack groups, and tenant groups
  • #4489 - Fix display of parent/child role on device type view
  • #4496 - Fix exception when validating certain models via REST API
  • #4510 - Enforce address family for device primary IPv4/v6 addresses

🔄 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/4528 **Author:** [@jeremystretch](https://github.com/jeremystretch) **Created:** 4/23/2020 **Status:** ✅ Merged **Merged:** 4/23/2020 **Merged by:** [@jeremystretch](https://github.com/jeremystretch) **Base:** `master` ← **Head:** `develop` --- ### 📝 Commits (10+) - [`f7e7699`](https://github.com/netbox-community/netbox/commit/f7e7699d93c1d8752857b781a868f7df55f3fb8c) add rack width of 21 inches for ETSI racks - [`8b57a88`](https://github.com/netbox-community/netbox/commit/8b57a888e797d7077a29bfcb6bb665d8eead9495) Post-release version bump - [`e972059`](https://github.com/netbox-community/netbox/commit/e97205922c5f70c4d40e7e0e493af69b456cb97c) Fixes #4481: Remove extraneous material from example configuration file - [`d37a748`](https://github.com/netbox-community/netbox/commit/d37a74846a6a424faf66cd7ac4d2b949a539a698) Remove format strings to ensure compilation under old Python releases - [`9ed0494`](https://github.com/netbox-community/netbox/commit/9ed0494b4502d107f5d67f9bef05b90319a0a4f8) Clarify requirement for Python 3.6 or later - [`0ffc74c`](https://github.com/netbox-community/netbox/commit/0ffc74c66965f70e2cf535de9d2381beef946443) Fix link to logging configuration docs - [`819f842`](https://github.com/netbox-community/netbox/commit/819f842cf1a8c5e2f2816090a6de53611babce0f) Call out requirement for Python 3.6 or later - [`fc1feec`](https://github.com/netbox-community/netbox/commit/fc1feec8bfc3fe7f836964687ef6cdb14bf5bbbf) Fix format string - [`2dbc04c`](https://github.com/netbox-community/netbox/commit/2dbc04c6fb9fedfe3f9e4ea0438e20475bed9248) Fix typo - [`788909d`](https://github.com/netbox-community/netbox/commit/788909de94e46ec2617b7278253f9ecc687c9bf2) Fixes #4489: Fix display of parent/child role on device type view ### 📊 Changes **38 files changed** (+958 additions, -637 deletions) <details> <summary>View changed files</summary> 📝 `docs/configuration/optional-settings.md` (+1 -1) 📝 `docs/installation/3-netbox.md` (+4 -2) 📝 `docs/installation/upgrading.md` (+3 -0) 📝 `docs/media/installation/netbox_application_stack.png` (+0 -0) 📝 `docs/models/dcim/rackgroup.md` (+1 -1) 📝 `docs/models/tenancy/tenantgroup.md` (+2 -0) 📝 `docs/release-notes/version-2.8.md` (+39 -1) 📝 `netbox/dcim/api/serializers.py` (+2 -4) 📝 `netbox/dcim/api/views.py` (+1 -1) 📝 `netbox/dcim/choices.py` (+2 -0) 📝 `netbox/dcim/exceptions.py` (+9 -0) 📝 `netbox/dcim/forms.py` (+397 -432) ➕ `netbox/dcim/migrations/0105_interface_name_collation.py` (+18 -0) 📝 `netbox/dcim/models/__init__.py` (+42 -27) 📝 `netbox/dcim/models/device_components.py` (+36 -10) 📝 `netbox/dcim/signals.py` (+31 -20) 📝 `netbox/dcim/tests/test_api.py` (+5 -0) 📝 `netbox/dcim/tests/test_models.py` (+145 -40) 📝 `netbox/dcim/tests/test_natural_ordering.py` (+6 -0) 📝 `netbox/dcim/urls.py` (+1 -1) _...and 18 more files_ </details> ### 📄 Description ## v2.8.1 (2020-04-23) ### 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(<model>) 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) ### Bug Fixes * [#2994](https://github.com/netbox-community/netbox/issues/2994) - Prevent modifying termination points of existing cable to ensure end-to-end path integrity * [#3356](https://github.com/netbox-community/netbox/issues/3356) - Correct Swagger schema specification for the available prefixes/IPs API endpoints * [#4139](https://github.com/netbox-community/netbox/issues/4139) - Enable assigning all relevant attributes during bulk device/VM component creation * [#4336](https://github.com/netbox-community/netbox/issues/4336) - Ensure interfaces without a subinterface ID are ordered before subinterface zero * [#4361](https://github.com/netbox-community/netbox/issues/4361) - Fix Type of `connection_state` in Swagger schema * [#4388](https://github.com/netbox-community/netbox/issues/4388) - Fix detection of connected endpoints when connecting rear ports * [#4459](https://github.com/netbox-community/netbox/issues/4459) - Fix caching issue resulting in erroneous nested data for regions, rack groups, and tenant groups * [#4489](https://github.com/netbox-community/netbox/issues/4489) - Fix display of parent/child role on device type view * [#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 --- <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:03 +01:00
adam closed this issue 2025-12-29 22:24:03 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#12863