From 70c0aec53a96f61bc4d641d8995c91a64ec0365c Mon Sep 17 00:00:00 2001 From: Jeremy Stretch Date: Tue, 14 May 2024 11:02:17 -0400 Subject: [PATCH] Release v4.0.2 --- .github/ISSUE_TEMPLATE/bug_report.yaml | 2 +- .github/ISSUE_TEMPLATE/feature_request.yaml | 2 +- base_requirements.txt | 2 +- docs/release-notes/version-4.0.md | 5 ++++- netbox/netbox/settings.py | 2 +- netbox/project-static/package.json | 2 +- netbox/project-static/yarn.lock | 14 +++++++------- requirements.txt | 8 ++++---- 8 files changed, 20 insertions(+), 17 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug_report.yaml b/.github/ISSUE_TEMPLATE/bug_report.yaml index 21e66ec05..b87d627ed 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.1 + placeholder: v4.0.2 validations: required: true - type: dropdown diff --git a/.github/ISSUE_TEMPLATE/feature_request.yaml b/.github/ISSUE_TEMPLATE/feature_request.yaml index 671fdbf87..6c245c7ef 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.1 + placeholder: v4.0.2 validations: required: true - type: dropdown diff --git a/base_requirements.txt b/base_requirements.txt index 305df4dba..9912f1d6b 100644 --- a/base_requirements.txt +++ b/base_requirements.txt @@ -131,7 +131,7 @@ social-auth-app-django strawberry-graphql # Strawberry GraphQL Django extension -# https://github.com/strawberry-graphql/strawberry-django/blob/main/CHANGELOG.md +# https://github.com/strawberry-graphql/strawberry-django/releases strawberry-graphql-django # SVG image rendering (used for rack elevations) diff --git a/docs/release-notes/version-4.0.md b/docs/release-notes/version-4.0.md index a136da5bd..0970b0357 100644 --- a/docs/release-notes/version-4.0.md +++ b/docs/release-notes/version-4.0.md @@ -1,6 +1,9 @@ # NetBox v4.0 -## v4.0.2 (FUTURE) +## v4.0.2 (2024-05-14) + +!!! warning "Important" + This release includes an important security fix, and is a strongly recommended update for all users. More details will follow. ### Enhancements diff --git a/netbox/netbox/settings.py b/netbox/netbox/settings.py index c9e2d1de1..dd8ffa2bd 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.2-dev' +VERSION = '4.0.2' 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 e11df2520..6a971332e 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.77.0", + "sass": "1.77.1", "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 e7d96b9e5..5a8df2293 100644 --- a/netbox/project-static/yarn.lock +++ b/netbox/project-static/yarn.lock @@ -1816,9 +1816,9 @@ ignore@^5.2.0: integrity sha512-5Fytz/IraMjqpwfd34ke28PTVMjZjJG2MPn5t7OE4eUCUNf8BAa7b5WUS9/Qvr6mwOQS7Mk6vdsMno5he+T8Xw== immutable@^4.0.0: - version "4.3.5" - resolved "https://registry.yarnpkg.com/immutable/-/immutable-4.3.5.tgz#f8b436e66d59f99760dc577f5c99a4fd2a5cc5a0" - integrity sha512-8eabxkth9gZatlwl5TBuJnCsoTADlL6ftEr7A4qgdaTsPyreilDSnUk57SO+jfKcNtxPa22U5KK6DSeAYhpBJw== + version "4.3.6" + resolved "https://registry.yarnpkg.com/immutable/-/immutable-4.3.6.tgz#6a05f7858213238e587fb83586ffa3b4b27f0447" + integrity sha512-Ju0+lEMyzMVZarkTn/gqRpdqd5dOPaz1mCZ0SH3JV6iFw81PldE/PEB1hWVEA288HPt4WXW8O7AWxB10M+03QQ== import-fresh@^3.2.1: version "3.3.0" @@ -2482,10 +2482,10 @@ safe-regex-test@^1.0.3: es-errors "^1.3.0" is-regex "^1.1.4" -sass@1.77.0: - version "1.77.0" - resolved "https://registry.yarnpkg.com/sass/-/sass-1.77.0.tgz#e736c69aff9fae4a4e6dae60a979eee9c942f321" - integrity sha512-eGj4HNfXqBWtSnvItNkn7B6icqH14i3CiCGbzMKs3BAPTq62pp9NBYsBgyN4cA+qssqo9r26lW4JSvlaUUWbgw== +sass@1.77.1: + version "1.77.1" + resolved "https://registry.yarnpkg.com/sass/-/sass-1.77.1.tgz#018cdfb206afd14724030c02e9fefd8f30a76cd0" + integrity sha512-OMEyfirt9XEfyvocduUIOlUSkWOXS/LAt6oblR/ISXCTukyavjex+zQNm51pPCOiFKY1QpWvEH1EeCkgyV3I6w== dependencies: chokidar ">=3.0.0 <4.0.0" immutable "^4.0.0" diff --git a/requirements.txt b/requirements.txt index 02d9a180b..9c3edf6ee 100644 --- a/requirements.txt +++ b/requirements.txt @@ -20,18 +20,18 @@ feedparser==6.0.11 gunicorn==22.0.0 Jinja2==3.1.4 Markdown==3.6 -mkdocs-material==9.5.21 +mkdocs-material==9.5.22 mkdocstrings[python-legacy]==0.25.1 netaddr==1.2.1 nh3==0.2.17 Pillow==10.3.0 -psycopg[c,pool]==3.1.18 +psycopg[c,pool]==3.1.19 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.4 -strawberry-graphql-django==0.39.2 +strawberry-graphql==0.229.0 +strawberry-graphql-django==0.40.0 svgwrite==1.4.3 tablib==3.6.1 tzdata==2024.1