[PR #3478] [MERGED] Release v2.6.3 #12565

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

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/3478
Author: @jeremystretch
Created: 9/4/2019
Status: Merged
Merged: 9/4/2019
Merged by: @jeremystretch

Base: masterHead: develop


📝 Commits (10+)

📊 Changes

90 files changed (+2966 additions, -1137 deletions)

View changed files

📝 .gitignore (+2 -0)
📝 CHANGELOG.md (+31 -0)
docs/additional-features/custom-links.md (+35 -0)
docs/additional-features/custom-scripts.md (+213 -0)
📝 docs/additional-features/reports.md (+1 -1)
📝 docs/configuration/optional-settings.md (+8 -0)
📝 docs/development/extending-models.md (+1 -1)
📝 netbox/circuits/api/views.py (+2 -2)
📝 netbox/circuits/filters.py (+13 -2)
📝 netbox/circuits/models.py (+8 -10)
📝 netbox/circuits/signals.py (+5 -1)
📝 netbox/circuits/views.py (+8 -14)
📝 netbox/dcim/api/views.py (+34 -68)
📝 netbox/dcim/filters.py (+12 -3)
📝 netbox/dcim/forms.py (+6 -6)
📝 netbox/dcim/models.py (+112 -62)
📝 netbox/dcim/signals.py (+10 -2)
📝 netbox/dcim/tables.py (+1 -0)
📝 netbox/dcim/tests/test_models.py (+131 -1)
📝 netbox/dcim/views.py (+70 -72)

...and 70 more files

📄 Description

New Features

Custom Scripts (#3415)

Custom scripts allow for the execution of arbitrary code via the NetBox UI. They can be used to automatically create, manipulate, or clean up objects or perform other tasks within NetBox. Scripts are defined as Python files which contain one or more subclasses of extras.scripts.Script. Variable fields can be defined within scripts, which render as form fields within the web UI to prompt the user for input data. Scripts are executed and information is logged via the web UI. Please see the docs for more detail.

Note: There are currently no API endpoints for this feature. These are planned for the upcoming v2.7 release.

Bug Fixes

  • #3392 - Add database index for ObjectChange time
  • #3420 - Serial number filter for racks, devices, and inventory items is now case-insensitive
  • #3428 - Fixed cache invalidation issues (#3300, #3363, #3379, #3382) by switching to prefetch_related() instead of select_related() and removing use of update()
  • #3421 - Fix exception when ordering power connections list by PDU
  • #3424 - Fix tag coloring for non-linked tags
  • #3426 - Improve API error handling for ChoiceFields

Enhancements

  • #3386 - Add mac_address filter for virtual machines
  • #3391 - Update Bootstrap CSS to v3.4.1
  • #3405 - Fix population of power port/outlet details on device creation
  • #3422 - Prevent navigation menu from overlapping page content
  • #3430 - Linkify platform field on device view
  • #3454 - Enable filtering circuits by region
  • #3456 - Enable bulk editing of tag color

🔄 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/3478 **Author:** [@jeremystretch](https://github.com/jeremystretch) **Created:** 9/4/2019 **Status:** ✅ Merged **Merged:** 9/4/2019 **Merged by:** [@jeremystretch](https://github.com/jeremystretch) **Base:** `master` ← **Head:** `develop` --- ### 📝 Commits (10+) - [`3a2fc43`](https://github.com/netbox-community/netbox/commit/3a2fc43542e961c0421039e057952e4e42b6094d) Post-release version bump - [`068a0e2`](https://github.com/netbox-community/netbox/commit/068a0e22573f16fb88c6eaca6fcf5240077ed3cc) Removed invalid contact email - [`86cd044`](https://github.com/netbox-community/netbox/commit/86cd044a68fe4c0310be82c67b27888d25b39393) Fixes #3405: Move device component creation logic into template models - [`605be30`](https://github.com/netbox-community/netbox/commit/605be30fb2d0107b9536f8a1f99716f58417ccc7) Add test for device component creation - [`0516aec`](https://github.com/netbox-community/netbox/commit/0516aecb0314046f130c0907a619f14640e99113) Changelog for #3405 - [`f18c3be`](https://github.com/netbox-community/netbox/commit/f18c3be745c25c502e0876b0e40af938e38353af) Merge pull request #3412 from netbox-community/3405-bugfix - [`a25a27f`](https://github.com/netbox-community/netbox/commit/a25a27f31f4d9971db5121d8a4270afb2e665e8a) Initial work on custom scripts (#3415) - [`9d054fb`](https://github.com/netbox-community/netbox/commit/9d054fb345b360257124a9fd3dadfb01b6969257) Add options for script vars; include script output - [`4fc1974`](https://github.com/netbox-community/netbox/commit/4fc19742ec74b8e45a0beae65c64b9ee2ede2729) Added documentation for custom scripts - [`3f7f3f8`](https://github.com/netbox-community/netbox/commit/3f7f3f88f3ab8409e7b6c290047a718ef7ed5995) Fix form field ordering ### 📊 Changes **90 files changed** (+2966 additions, -1137 deletions) <details> <summary>View changed files</summary> 📝 `.gitignore` (+2 -0) 📝 `CHANGELOG.md` (+31 -0) ➕ `docs/additional-features/custom-links.md` (+35 -0) ➕ `docs/additional-features/custom-scripts.md` (+213 -0) 📝 `docs/additional-features/reports.md` (+1 -1) 📝 `docs/configuration/optional-settings.md` (+8 -0) 📝 `docs/development/extending-models.md` (+1 -1) 📝 `netbox/circuits/api/views.py` (+2 -2) 📝 `netbox/circuits/filters.py` (+13 -2) 📝 `netbox/circuits/models.py` (+8 -10) 📝 `netbox/circuits/signals.py` (+5 -1) 📝 `netbox/circuits/views.py` (+8 -14) 📝 `netbox/dcim/api/views.py` (+34 -68) 📝 `netbox/dcim/filters.py` (+12 -3) 📝 `netbox/dcim/forms.py` (+6 -6) 📝 `netbox/dcim/models.py` (+112 -62) 📝 `netbox/dcim/signals.py` (+10 -2) 📝 `netbox/dcim/tables.py` (+1 -0) 📝 `netbox/dcim/tests/test_models.py` (+131 -1) 📝 `netbox/dcim/views.py` (+70 -72) _...and 70 more files_ </details> ### 📄 Description ## New Features ### Custom Scripts ([#3415](https://github.com/netbox-community/netbox/issues/3415)) Custom scripts allow for the execution of arbitrary code via the NetBox UI. They can be used to automatically create, manipulate, or clean up objects or perform other tasks within NetBox. Scripts are defined as Python files which contain one or more subclasses of `extras.scripts.Script`. Variable fields can be defined within scripts, which render as form fields within the web UI to prompt the user for input data. Scripts are executed and information is logged via the web UI. Please see [the docs](https://netbox.readthedocs.io/en/stable/additional-features/custom-scripts/) for more detail. Note: There are currently no API endpoints for this feature. These are planned for the upcoming v2.7 release. ## Bug Fixes * [#3392](https://github.com/netbox-community/netbox/issues/3392) - Add database index for ObjectChange time * [#3420](https://github.com/netbox-community/netbox/issues/3420) - Serial number filter for racks, devices, and inventory items is now case-insensitive * [#3428](https://github.com/netbox-community/netbox/issues/3428) - Fixed cache invalidation issues ([#3300](https://github.com/netbox-community/netbox/issues/3300), [#3363](https://github.com/netbox-community/netbox/issues/3363), [#3379](https://github.com/netbox-community/netbox/issues/3379), [#3382](https://github.com/netbox-community/netbox/issues/3382)) by switching to `prefetch_related()` instead of `select_related()` and removing use of `update()` * [#3421](https://github.com/netbox-community/netbox/issues/3421) - Fix exception when ordering power connections list by PDU * [#3424](https://github.com/netbox-community/netbox/issues/3424) - Fix tag coloring for non-linked tags * [#3426](https://github.com/netbox-community/netbox/issues/3426) - Improve API error handling for ChoiceFields ## Enhancements * [#3386](https://github.com/netbox-community/netbox/issues/3386) - Add `mac_address` filter for virtual machines * [#3391](https://github.com/netbox-community/netbox/issues/3391) - Update Bootstrap CSS to v3.4.1 * [#3405](https://github.com/netbox-community/netbox/issues/3405) - Fix population of power port/outlet details on device creation * [#3422](https://github.com/netbox-community/netbox/issues/3422) - Prevent navigation menu from overlapping page content * [#3430](https://github.com/netbox-community/netbox/issues/3430) - Linkify platform field on device view * [#3454](https://github.com/netbox-community/netbox/issues/3454) - Enable filtering circuits by region * [#3456](https://github.com/netbox-community/netbox/issues/3456) - Enable bulk editing of tag color --- <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:22:21 +01:00
adam closed this issue 2025-12-29 22:22:21 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#12565