From 9cd0a0d872f84a02a2e9dd71be2bd19a9383aad3 Mon Sep 17 00:00:00 2001 From: Jeremy Stretch Date: Thu, 9 May 2024 15:41:20 -0400 Subject: [PATCH] Release v4.0.1 --- .github/ISSUE_TEMPLATE/bug_report.yaml | 2 +- .github/ISSUE_TEMPLATE/feature_request.yaml | 2 +- contrib/generated_schema.json | 2 ++ docs/release-notes/version-4.0.md | 27 ++++++++++++++++++++- netbox/netbox/settings.py | 2 +- netbox/project-static/package.json | 2 +- netbox/project-static/yarn.lock | 11 ++++++++- requirements.txt | 2 +- 8 files changed, 43 insertions(+), 7 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug_report.yaml b/.github/ISSUE_TEMPLATE/bug_report.yaml index e5cbc2ece..21e66ec05 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yaml +++ b/.github/ISSUE_TEMPLATE/bug_report.yaml @@ -26,7 +26,7 @@ body: attributes: label: NetBox Version description: What version of NetBox are you currently running? - placeholder: v4.0.0 + placeholder: v4.0.1 validations: required: true - type: dropdown diff --git a/.github/ISSUE_TEMPLATE/feature_request.yaml b/.github/ISSUE_TEMPLATE/feature_request.yaml index 83125b4fa..671fdbf87 100644 --- a/.github/ISSUE_TEMPLATE/feature_request.yaml +++ b/.github/ISSUE_TEMPLATE/feature_request.yaml @@ -14,7 +14,7 @@ body: attributes: label: NetBox version description: What version of NetBox are you currently running? - placeholder: v4.0.0 + placeholder: v4.0.1 validations: required: true - type: dropdown diff --git a/contrib/generated_schema.json b/contrib/generated_schema.json index b6632dd4c..fe9d56b34 100644 --- a/contrib/generated_schema.json +++ b/contrib/generated_schema.json @@ -353,6 +353,8 @@ "800gbase-x-qsfpdd", "800gbase-x-osfp", "1000base-kx", + "2.5gbase-kx", + "5gbase-kr", "10gbase-kr", "10gbase-kx4", "25gbase-kr", diff --git a/docs/release-notes/version-4.0.md b/docs/release-notes/version-4.0.md index a0a4fad84..42926243b 100644 --- a/docs/release-notes/version-4.0.md +++ b/docs/release-notes/version-4.0.md @@ -1,6 +1,31 @@ # NetBox v4.0 -## v4.0.1 (FUTURE) +## v4.0.1 (2024-05-09) + +### Enhancements + +* [#15148](https://github.com/netbox-community/netbox/issues/15148) - Add copy-to-clipboard button for config context data +* [#15328](https://github.com/netbox-community/netbox/issues/15328) - Add a virtual machines UI tab for host devices +* [#15451](https://github.com/netbox-community/netbox/issues/15451) - Add 2.5 and 5 Gbps backplane Ethernet interface types +* [#16010](https://github.com/netbox-community/netbox/issues/16010) - Enable Prometheus middleware only if metrics are enabled + +### Bug Fixes + +* [#15968](https://github.com/netbox-community/netbox/issues/15968) - Avoid resizing quick search field to display clear button +* [#15973](https://github.com/netbox-community/netbox/issues/15973) - Fix AttributeError exception when modifying cable termination type +* [#15977](https://github.com/netbox-community/netbox/issues/15977) - Hide all admin menu items for non-authenticated users +* [#15982](https://github.com/netbox-community/netbox/issues/15982) - Restore the "assign IP" tab for assigning existing IP addresses to interfaces +* [#15992](https://github.com/netbox-community/netbox/issues/15992) - Fix AttributeError exception when Sentry integration is enabled +* [#15995](https://github.com/netbox-community/netbox/issues/15995) - Permit nullable fields referenced by unique constraints to be omitted from REST API requests +* [#15999](https://github.com/netbox-community/netbox/issues/15999) - Fix layout of login form labels for certain languages +* [#16003](https://github.com/netbox-community/netbox/issues/16003) - Enable cache busting for `setmode.js` asset to avoid breaking dark mode support on upgrade +* [#16011](https://github.com/netbox-community/netbox/issues/16011) - Fix site tenant assignment by PK via REST API +* [#16020](https://github.com/netbox-community/netbox/issues/16020) - Include Python version in system UI view +* [#16022](https://github.com/netbox-community/netbox/issues/16022) - Fix database migration failure when encountering a script module which no longer exists on disk +* [#16025](https://github.com/netbox-community/netbox/issues/16025) - Fix execution of scripts via the `runscript` management command +* [#16031](https://github.com/netbox-community/netbox/issues/16031) - Render Markdown content in script log messages +* [#16051](https://github.com/netbox-community/netbox/issues/16051) - Translate "empty" text for object tables +* [#16061](https://github.com/netbox-community/netbox/issues/16061) - Omit hidden fields from display within event rule edit form --- diff --git a/netbox/netbox/settings.py b/netbox/netbox/settings.py index f2b01041f..8fba7cffc 100644 --- a/netbox/netbox/settings.py +++ b/netbox/netbox/settings.py @@ -25,7 +25,7 @@ from utilities.string import trailing_slash # Environment setup # -VERSION = '4.0.1-dev' +VERSION = '4.0.1' HOSTNAME = platform.node() # Set the base directory two levels up BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) diff --git a/netbox/project-static/package.json b/netbox/project-static/package.json index 4a931232f..e11df2520 100644 --- a/netbox/project-static/package.json +++ b/netbox/project-static/package.json @@ -30,7 +30,7 @@ "gridstack": "10.1.2", "htmx.org": "1.9.12", "query-string": "9.0.0", - "sass": "1.76.0", + "sass": "1.77.0", "tom-select": "2.3.1", "typeface-inter": "3.18.1", "typeface-roboto-mono": "1.1.13" diff --git a/netbox/project-static/yarn.lock b/netbox/project-static/yarn.lock index d5d5a642e..e7d96b9e5 100644 --- a/netbox/project-static/yarn.lock +++ b/netbox/project-static/yarn.lock @@ -2482,7 +2482,16 @@ safe-regex-test@^1.0.3: es-errors "^1.3.0" is-regex "^1.1.4" -sass@1.76.0, sass@^1.7.3: +sass@1.77.0: + version "1.77.0" + resolved "https://registry.yarnpkg.com/sass/-/sass-1.77.0.tgz#e736c69aff9fae4a4e6dae60a979eee9c942f321" + integrity sha512-eGj4HNfXqBWtSnvItNkn7B6icqH14i3CiCGbzMKs3BAPTq62pp9NBYsBgyN4cA+qssqo9r26lW4JSvlaUUWbgw== + dependencies: + chokidar ">=3.0.0 <4.0.0" + immutable "^4.0.0" + source-map-js ">=0.6.2 <2.0.0" + +sass@^1.7.3: version "1.76.0" resolved "https://registry.yarnpkg.com/sass/-/sass-1.76.0.tgz#fe15909500735ac154f0dc7386d656b62b03987d" integrity sha512-nc3LeqvF2FNW5xGF1zxZifdW3ffIz5aBb7I7tSvOoNu7z1RQ6pFt9MBuiPtjgaI62YWrM/txjWlOCFiGtf2xpw== diff --git a/requirements.txt b/requirements.txt index b12495195..02d9a180b 100644 --- a/requirements.txt +++ b/requirements.txt @@ -30,7 +30,7 @@ PyYAML==6.0.1 requests==2.31.0 social-auth-app-django==5.4.1 social-auth-core==4.5.4 -strawberry-graphql==0.227.3 +strawberry-graphql==0.227.4 strawberry-graphql-django==0.39.2 svgwrite==1.4.3 tablib==3.6.1