ソースを参照

Release v4.2.6

Jason Novinger 10 ヶ月 前
コミット
34d80beaa2
39 ファイル変更3170 行追加2925 行削除
  1. 1 1
      .github/ISSUE_TEMPLATE/01-feature_request.yaml
  2. 1 1
      .github/ISSUE_TEMPLATE/02-bug_report.yaml
  3. 5 3
      base_requirements.txt
  4. 6 0
      contrib/generated_schema.json
  5. 36 0
      docs/release-notes/version-4.2.md
  6. 0 0
      netbox/project-static/dist/netbox.js
  7. 0 0
      netbox/project-static/dist/netbox.js.map
  8. 2 2
      netbox/project-static/package.json
  9. 11 11
      netbox/project-static/yarn.lock
  10. 2 2
      netbox/release.yaml
  11. BIN
      netbox/translations/cs/LC_MESSAGES/django.mo
  12. 208 200
      netbox/translations/cs/LC_MESSAGES/django.po
  13. BIN
      netbox/translations/da/LC_MESSAGES/django.mo
  14. 205 198
      netbox/translations/da/LC_MESSAGES/django.po
  15. BIN
      netbox/translations/de/LC_MESSAGES/django.mo
  16. 205 198
      netbox/translations/de/LC_MESSAGES/django.po
  17. BIN
      netbox/translations/es/LC_MESSAGES/django.mo
  18. 205 198
      netbox/translations/es/LC_MESSAGES/django.po
  19. BIN
      netbox/translations/fr/LC_MESSAGES/django.mo
  20. 205 198
      netbox/translations/fr/LC_MESSAGES/django.po
  21. BIN
      netbox/translations/it/LC_MESSAGES/django.mo
  22. 205 198
      netbox/translations/it/LC_MESSAGES/django.po
  23. BIN
      netbox/translations/ja/LC_MESSAGES/django.mo
  24. 205 198
      netbox/translations/ja/LC_MESSAGES/django.po
  25. BIN
      netbox/translations/nl/LC_MESSAGES/django.mo
  26. 205 198
      netbox/translations/nl/LC_MESSAGES/django.po
  27. BIN
      netbox/translations/pl/LC_MESSAGES/django.mo
  28. 205 198
      netbox/translations/pl/LC_MESSAGES/django.po
  29. BIN
      netbox/translations/pt/LC_MESSAGES/django.mo
  30. 433 324
      netbox/translations/pt/LC_MESSAGES/django.po
  31. BIN
      netbox/translations/ru/LC_MESSAGES/django.mo
  32. 205 198
      netbox/translations/ru/LC_MESSAGES/django.po
  33. BIN
      netbox/translations/tr/LC_MESSAGES/django.mo
  34. 205 198
      netbox/translations/tr/LC_MESSAGES/django.po
  35. BIN
      netbox/translations/uk/LC_MESSAGES/django.mo
  36. 205 198
      netbox/translations/uk/LC_MESSAGES/django.po
  37. BIN
      netbox/translations/zh/LC_MESSAGES/django.mo
  38. 205 198
      netbox/translations/zh/LC_MESSAGES/django.po
  39. 5 5
      requirements.txt

+ 1 - 1
.github/ISSUE_TEMPLATE/01-feature_request.yaml

@@ -15,7 +15,7 @@ body:
     attributes:
       label: NetBox version
       description: What version of NetBox are you currently running?
-      placeholder: v4.2.5
+      placeholder: v4.2.6
     validations:
       required: true
   - type: dropdown

+ 1 - 1
.github/ISSUE_TEMPLATE/02-bug_report.yaml

@@ -27,7 +27,7 @@ body:
     attributes:
       label: NetBox Version
       description: What version of NetBox are you currently running?
-      placeholder: v4.2.5
+      placeholder: v4.2.6
     validations:
       required: true
   - type: dropdown

+ 5 - 3
base_requirements.txt

@@ -8,7 +8,10 @@ django-cors-headers
 
 # Runtime UI tool for debugging Django
 # https://github.com/jazzband/django-debug-toolbar/blob/main/docs/changes.rst
-django-debug-toolbar
+# See: https://django-debug-toolbar.readthedocs.io/en/latest/changes.html#id1
+# "Wrap SHOW_TOOLBAR_CALLBACK function with sync_to_async or async_to_sync to allow sync/async
+# compatibility." breaks stawberry-graphql-django at version 0.52.0 (current)
+django-debug-toolbar==5.0.1
 
 # Library for writing reusable URL query filters
 # https://github.com/carltongibson/django-filter/blob/main/CHANGES.rst
@@ -88,8 +91,7 @@ mkdocs-material
 
 # Introspection for embedded code
 # https://github.com/mkdocstrings/mkdocstrings/blob/main/CHANGELOG.md
-# See #18568
-mkdocstrings[python-legacy]==0.27.0
+mkdocstrings[python]
 
 # Library for manipulating IP prefixes and addresses
 # https://github.com/netaddr/netaddr/blob/master/CHANGELOG.rst

+ 6 - 0
contrib/generated_schema.json

@@ -500,6 +500,9 @@
                         "n",
                         "mrj21",
                         "fc",
+                        "fc-pc",
+                        "fc-upc",
+                        "fc-apc",
                         "lc",
                         "lc-pc",
                         "lc-upc",
@@ -565,6 +568,9 @@
                         "n",
                         "mrj21",
                         "fc",
+                        "fc-pc",
+                        "fc-upc",
+                        "fc-apc",
                         "lc",
                         "lc-pc",
                         "lc-upc",

+ 36 - 0
docs/release-notes/version-4.2.md

@@ -1,5 +1,41 @@
 # NetBox v4.2
 
+## v4.2.6 (2025-03-21)
+
+### Enhancements
+
+* [#17503](https://github.com/netbox-community/netbox/issues/17503) - Add rack title above rack on rack detail view
+* [#17686](https://github.com/netbox-community/netbox/issues/17686) - Add config option for disk space divisor
+* [#18579](https://github.com/netbox-community/netbox/issues/18579) - Update filtersets and filter forms to include contact filters where missing
+* [#18744](https://github.com/netbox-community/netbox/issues/18744) - Ensure contact link in tables is hyperlinked
+* [#18816](https://github.com/netbox-community/netbox/issues/18816) - Add FC/UPC, FC/APC and FC/PC port types
+* [#18880](https://github.com/netbox-community/netbox/issues/18880) - Delay enqueuing background tasks until DB transaction is committed to avoid race condition
+* [#18939](https://github.com/netbox-community/netbox/issues/18939) - Support site group search for ASNs
+
+### Bug Fixes
+
+* [#18409](https://github.com/netbox-community/netbox/issues/18409) - Eliminate N+1 issue by adding generic prefetch operation to Interface API endpoint
+* [#18557](https://github.com/netbox-community/netbox/issues/18557) - Update JSONField to enclose bare string values in quotes
+* [#18582](https://github.com/netbox-community/netbox/issues/18582) - Fix prefix bulk import with
+* associated VLAN and conflicting VLAN IDs
+* [#18742](https://github.com/netbox-community/netbox/issues/18742) - Ensure location list and detail views show related VLAN group information
+* [#18782](https://github.com/netbox-community/netbox/issues/18782) - Ensure misconfigured object list widgets on the dashboard now degrade gracefully
+* [#18833](https://github.com/netbox-community/netbox/issues/18833) - Fix inventory item bulk to ensure that component name and type are both validated properly
+* [#18838](https://github.com/netbox-community/netbox/issues/18838) - Esnure that local context context data correctly rejects false-y value
+* [#18845](https://github.com/netbox-community/netbox/issues/18845) - Restore default sort behavior of name column on devices list view
+* [#18863](https://github.com/netbox-community/netbox/issues/18863) - Exempt MPTT-based models from ordering fix introduced in #18279
+* [#18869](https://github.com/netbox-community/netbox/issues/18869) - Ensure numeric conversion helper always return a clean decimal value
+* [#18872](https://github.com/netbox-community/netbox/issues/18872) - Ensure that `kind` is a required field when making journal entries
+* [#18884](https://github.com/netbox-community/netbox/issues/18884) - Ensure tag deserialization is handled correctly
+* [#18887](https://github.com/netbox-community/netbox/issues/18887) - Allow VM interface objects to be set on prefix object-type custom field
+* [#18926](https://github.com/netbox-community/netbox/issues/18926) - Fix icon displayed for Github authentication on login page
+* [#18928](https://github.com/netbox-community/netbox/issues/18928) - Support cascading deletions when cleaning up expired changelog records
+* [#18933](https://github.com/netbox-community/netbox/issues/18933) - Allow filtering VLAN groups by associated site groups
+* [#18944](https://github.com/netbox-community/netbox/issues/18944) - Ensure clearing widget type field when adding widgets to dashboard does not cause a 500 error
+* [#18949](https://github.com/netbox-community/netbox/issues/18949) - Add missing contacts property to GraphQL types where the associated model has a connection to a contact
+
+---
+
 ## v4.2.5 (2025-03-06)
 
 ### Enhancements

ファイルの差分が大きいため隠しています
+ 0 - 0
netbox/project-static/dist/netbox.js


ファイルの差分が大きいため隠しています
+ 0 - 0
netbox/project-static/dist/netbox.js.map


+ 2 - 2
netbox/project-static/package.json

@@ -27,10 +27,10 @@
     "bootstrap": "5.3.3",
     "clipboard": "2.0.11",
     "flatpickr": "4.6.13",
-    "gridstack": "11.3.0",
+    "gridstack": "11.5.0",
     "htmx.org": "1.9.12",
     "query-string": "9.1.1",
-    "sass": "1.85.0",
+    "sass": "1.86.0",
     "tom-select": "2.4.3",
     "typeface-inter": "3.18.1",
     "typeface-roboto-mono": "1.1.13"

+ 11 - 11
netbox/project-static/yarn.lock

@@ -769,9 +769,9 @@
     bootstrap "5.3.3"
 
 "@tabler/icons@^3.14.0":
-  version "3.16.0"
-  resolved "https://registry.yarnpkg.com/@tabler/icons/-/icons-3.16.0.tgz#d618670b80163925a31a6c2290e8775f6058d81a"
-  integrity sha512-GU7MSx4uQEr55BmyON6hD/QYTl6k1v0YlRhM91gBWDoKAbyCt6QIYw7rpJ/ecdh5zrHaTOJKPenZ4+luoutwFA==
+  version "3.31.0"
+  resolved "https://registry.yarnpkg.com/@tabler/icons/-/icons-3.31.0.tgz#92d39dc336f2e3e312170420b00ffe9ca474925e"
+  integrity sha512-dblAdeKY3+GA1U+Q9eziZ0ooVlZMHsE8dqP0RkwvRtEsAULoKOYaCUOcJ4oW1DjWegdxk++UAt2SlQVnmeHv+g==
 
 "@tanstack/react-virtual@^3.0.0-beta.60":
   version "3.5.0"
@@ -1911,10 +1911,10 @@ graphql@16.10.0:
   resolved "https://registry.yarnpkg.com/graphql/-/graphql-16.10.0.tgz#24c01ae0af6b11ea87bf55694429198aaa8e220c"
   integrity sha512-AjqGKbDGUFRKIRCP9tCKiIGHyriz2oHEbPIbEtcSLSs4YjReZOIPQQWek4+6hjw62H9QShXHyaGivGiYVLeYFQ==
 
-gridstack@11.3.0:
-  version "11.3.0"
-  resolved "https://registry.yarnpkg.com/gridstack/-/gridstack-11.3.0.tgz#b110c66bafc64c920fc54933e2c9df4f7b2cfffe"
-  integrity sha512-Z0eRovKcZTRTs3zetJwjO6CNwrgIy845WfOeZGk8ybpeMCE8fMA8tScyKU72Y2M6uGHkjgwnjflglvPiv+RcBQ==
+gridstack@11.5.0:
+  version "11.5.0"
+  resolved "https://registry.yarnpkg.com/gridstack/-/gridstack-11.5.0.tgz#ecd507776db857f3308d37a8fd67d6a24c7fdd74"
+  integrity sha512-SE1a/aC2K8VKQr5cqV7gSJ+r/xIYghijIjHzkZ3Xo3aS1/4dvwIgPYT7QqgV1z+d7XjKYUPEizcgVQ5HhdFTng==
 
 has-bigints@^1.0.1, has-bigints@^1.0.2:
   version "1.0.2"
@@ -2673,10 +2673,10 @@ safe-regex-test@^1.0.3:
     es-errors "^1.3.0"
     is-regex "^1.1.4"
 
-sass@1.85.0:
-  version "1.85.0"
-  resolved "https://registry.yarnpkg.com/sass/-/sass-1.85.0.tgz#0127ef697d83144496401553f0a0e87be83df45d"
-  integrity sha512-3ToiC1xZ1Y8aU7+CkgCI/tqyuPXEmYGJXO7H4uqp0xkLXUqp88rQQ4j1HmP37xSJLbCJPaIiv+cT1y+grssrww==
+sass@1.86.0:
+  version "1.86.0"
+  resolved "https://registry.yarnpkg.com/sass/-/sass-1.86.0.tgz#f49464fb6237a903a93f4e8760ef6e37a5030114"
+  integrity sha512-zV8vGUld/+mP4KbMLJMX7TyGCuUp7hnkOScgCMsWuHtns8CWBoz+vmEhoGMXsaJrbUP8gj+F1dLvVe79sK8UdA==
   dependencies:
     chokidar "^4.0.0"
     immutable "^5.0.2"

+ 2 - 2
netbox/release.yaml

@@ -1,3 +1,3 @@
-version: "4.2.5"
+version: "4.2.6"
 edition: "Community"
-published: "2025-03-06"
+published: "2025-03-21"

BIN
netbox/translations/cs/LC_MESSAGES/django.mo


ファイルの差分が大きいため隠しています
+ 208 - 200
netbox/translations/cs/LC_MESSAGES/django.po


BIN
netbox/translations/da/LC_MESSAGES/django.mo


ファイルの差分が大きいため隠しています
+ 205 - 198
netbox/translations/da/LC_MESSAGES/django.po


BIN
netbox/translations/de/LC_MESSAGES/django.mo


ファイルの差分が大きいため隠しています
+ 205 - 198
netbox/translations/de/LC_MESSAGES/django.po


BIN
netbox/translations/es/LC_MESSAGES/django.mo


ファイルの差分が大きいため隠しています
+ 205 - 198
netbox/translations/es/LC_MESSAGES/django.po


BIN
netbox/translations/fr/LC_MESSAGES/django.mo


ファイルの差分が大きいため隠しています
+ 205 - 198
netbox/translations/fr/LC_MESSAGES/django.po


BIN
netbox/translations/it/LC_MESSAGES/django.mo


ファイルの差分が大きいため隠しています
+ 205 - 198
netbox/translations/it/LC_MESSAGES/django.po


BIN
netbox/translations/ja/LC_MESSAGES/django.mo


ファイルの差分が大きいため隠しています
+ 205 - 198
netbox/translations/ja/LC_MESSAGES/django.po


BIN
netbox/translations/nl/LC_MESSAGES/django.mo


ファイルの差分が大きいため隠しています
+ 205 - 198
netbox/translations/nl/LC_MESSAGES/django.po


BIN
netbox/translations/pl/LC_MESSAGES/django.mo


ファイルの差分が大きいため隠しています
+ 205 - 198
netbox/translations/pl/LC_MESSAGES/django.po


BIN
netbox/translations/pt/LC_MESSAGES/django.mo


ファイルの差分が大きいため隠しています
+ 433 - 324
netbox/translations/pt/LC_MESSAGES/django.po


BIN
netbox/translations/ru/LC_MESSAGES/django.mo


ファイルの差分が大きいため隠しています
+ 205 - 198
netbox/translations/ru/LC_MESSAGES/django.po


BIN
netbox/translations/tr/LC_MESSAGES/django.mo


ファイルの差分が大きいため隠しています
+ 205 - 198
netbox/translations/tr/LC_MESSAGES/django.po


BIN
netbox/translations/uk/LC_MESSAGES/django.mo


ファイルの差分が大きいため隠しています
+ 205 - 198
netbox/translations/uk/LC_MESSAGES/django.po


BIN
netbox/translations/zh/LC_MESSAGES/django.mo


ファイルの差分が大きいため隠しています
+ 205 - 198
netbox/translations/zh/LC_MESSAGES/django.po


+ 5 - 5
requirements.txt

@@ -2,7 +2,7 @@ Django==5.1.7
 django-cors-headers==4.7.0
 django-debug-toolbar==5.0.1
 django-filter==25.1
-django-htmx==1.22.0
+django-htmx==1.23.0
 django-graphiql-debug-toolbar==0.2.0
 django-mptt==0.16.0
 django-pglocks==1.0.4
@@ -20,18 +20,18 @@ feedparser==6.0.11
 gunicorn==23.0.0
 Jinja2==3.1.6
 Markdown==3.7
-mkdocs-material==9.6.7
-mkdocstrings[python]==0.28.2
+mkdocs-material==9.6.9
+mkdocstrings[python]==0.29.0
 netaddr==1.3.0
 nh3==0.2.21
 Pillow==11.1.0
-psycopg[c,pool]==3.2.5
+psycopg[c,pool]==3.2.6
 PyYAML==6.0.2
 requests==2.32.3
 rq==2.1.0
 social-auth-app-django==5.4.3
 social-auth-core==4.5.6
-strawberry-graphql==0.262.0
+strawberry-graphql==0.262.5
 strawberry-graphql-django==0.52.0
 svgwrite==1.4.3
 tablib==3.8.0

この差分においてかなりの量のファイルが変更されているため、一部のファイルを表示していません