git: fe377ff3846d - main - net-mgmt/netbox: Update to 4.6.8

Kai Knoblich <[email protected]>
Newsgroups gmane.os.freebsd.devel.cvs.ports
Message-ID <[email protected]>
The branch main has been updated by kai:

URL: https://cgit.FreeBSD.org/ports/commit/?id=fe377ff3846df9684933367b0a2eb62f0c20fc47

commit fe377ff3846df9684933367b0a2eb62f0c20fc47
Author:     Kai Knoblich <[email protected]>
AuthorDate: 2026-08-12 08:37:02 +0000
Commit:     Kai Knoblich <[email protected]>
CommitDate: 2026-08-12 08:37:02 +0000

    net-mgmt/netbox: Update to 4.6.8
    
    Changelog:
    
    Performance Improvements:
    * Avoid N+1 queries when resolving generic relations (e.g. assigned
      objects) via the GraphQL API
    * Improve performance when provisioning new custom fields
    * Omit implicit pagination when prefetching to-one relations via
      the GraphQL API
    * Improve caching logic when retrieving custom fields via
      get_for_model()
    
    Bug Fixes:
    * Clear a device's stale rack assignment when changing its site
    * Enforce object permissions on custom script write operations via
      the REST API
    * Avoid re-executing the LDAP configuration file on every
      permission check
    * Prevent the deletion of a tenant group from creating duplicate tenant
      names or slugs
    * Fix cable path tracing for paths which originate from a circuit
      termination and traverse only pass-through ports
    * Validate that a webhook's payload URL is a valid URL or Jinja2
      template when saving
    * Allow a null value for base_choices when creating a custom field
      choice set via the REST API
    * Ensure deterministic ordering of duplicate IP addresses to avoid
      repeating an object across paginated REST API results
    * Honor a custom script's notifications_default setting when the script
      is run from an event rule
    * Reference the appropriate component template types on the GraphQL
      type for inventory item templates
    * Improve the contrast of unselected radio buttons and checkboxes
      in dark mode
    * Fix support for the DISTINCT filter on nested GraphQL list fields
    * Sanitize the error message rendered when an exception occurs
      in "CustomLinkColumn:
    
    https://github.com/netbox-community/netbox/releases/tag/v4.6.8
    
    MFH:            2026Q3
---
 net-mgmt/netbox/Makefile  | 18 +++++++++---------
 net-mgmt/netbox/distinfo  |  6 +++---
 net-mgmt/netbox/pkg-plist |  4 ++++
 3 files changed, 16 insertions(+), 12 deletions(-)

diff --git a/net-mgmt/netbox/Makefile b/net-mgmt/netbox/Makefile
index 663f96930977..dd68dd482d0a 100644
--- a/net-mgmt/netbox/Makefile
+++ b/net-mgmt/netbox/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	netbox
 DISTVERSIONPREFIX=	v
-DISTVERSION=	4.6.7
+DISTVERSION=	4.6.8
 CATEGORIES=	net-mgmt python
 
 MAINTAINER=	[email protected]
@@ -23,11 +23,11 @@ LICENSE_FILE=	${WRKSRC}/LICENSE.txt
 # - www/py-dj60-django-tables2
 # - www/py-dj60-djangorestframework
 #
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}django60>=6.0.7<6.1:www/py-django60@${PY_FLAVOR} \
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}django60>=6.0.8<6.1:www/py-django60@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}dj60-django-cors-headers>=4.9.0<5:www/py-dj60-django-cors-headers@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}dj60-django-debug-toolbar>=7.0.0<8:www/py-dj60-django-debug-toolbar@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}dj60-django-debug-toolbar>=7.1.0<8:www/py-dj60-django-debug-toolbar@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}dj60-django-filter>=26.1<27:www/py-dj60-django-filter@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}dj60-django-htmx>=1.28.0<2:www/py-dj60-django-htmx@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}dj60-django-htmx>=1.29.0<2:www/py-dj60-django-htmx@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}dj60-django-mptt>=0.18.0<0.19:www/py-dj60-django-mptt@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}dj60-django-prometheus>=2.4.0<2.6:www/py-dj60-django-prometheus@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}dj60-django-redis>=7.0.0<8:www/py-dj60-django-redis@${PY_FLAVOR} \
@@ -39,11 +39,11 @@ RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}django60>=6.0.7<6.1:www/py-django60@${PY_FLA
 		${PYTHON_PKGNAMEPREFIX}dj60-django-timezone-field>=7.2.2<8:www/py-dj60-django-timezone-field@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}dj60-djangorestframework>=3.17.1<3.18.0:www/py-dj60-djangorestframework@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}dj60-drf-spectacular>=0.30.0<1:www/py-dj60-drf-spectacular@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}dj60-drf-spectacular-sidecar>=2026.7.1:www/py-dj60-drf-spectacular-sidecar@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}dj60-drf-spectacular-sidecar>=2026.8.1:www/py-dj60-drf-spectacular-sidecar@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}dj60-social-auth-app-django>=5.9.0<6:www/py-dj60-social-auth-app-django@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}dj60-sorl-thumbnail>=13.0.0<14:graphics/py-dj60-sorl-thumbnail@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}dj60-strawberry-graphql>=0.323.2<1:devel/py-dj60-strawberry-graphql@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}dj60-strawberry-graphql-django>=0.86.5<1:www/py-dj60-strawberry-graphql-django@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}dj60-strawberry-graphql>=0.324.0<1:devel/py-dj60-strawberry-graphql@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}dj60-strawberry-graphql-django>=0.87.0<1:www/py-dj60-strawberry-graphql-django@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}django-pglocks>=1.0.4<1.1:www/py-django-pglocks@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}colorama>=0.4.6<1:devel/py-colorama@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}feedparser>=6.0.12<7:textproc/py-feedparser@${PY_FLAVOR} \
@@ -65,11 +65,11 @@ RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}django60>=6.0.7<6.1:www/py-django60@${PY_FLA
 		${PYTHON_PKGNAMEPREFIX}rq>=2.10<3:devel/py-rq@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}social-auth-core4>=4.8.7<4.9.0:security/py-social-auth-core4@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}svgwrite>=1.4.3<2:graphics/py-svgwrite@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}tablib>=3.9.0<4:textproc/py-tablib@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}tablib>=3.10.0<4:textproc/py-tablib@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}tzdata>=2026.3:devel/py-tzdata@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}pyyaml>=6.0.3<7:devel/py-pyyaml@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}gunicorn>=26.0.0:www/py-gunicorn@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}zensical>=0.0.52<1:textproc/py-zensical@${PY_FLAVOR}
+		${PYTHON_PKGNAMEPREFIX}zensical>=0.0.53<1:textproc/py-zensical@${PY_FLAVOR}
 
 USES=		cpe pgsql:14+ python:3.12+
 CPE_VENDOR=	netbox
diff --git a/net-mgmt/netbox/distinfo b/net-mgmt/netbox/distinfo
index 3702a310e52f..9977694570cb 100644
--- a/net-mgmt/netbox/distinfo
+++ b/net-mgmt/netbox/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1785518136
-SHA256 (netbox-community-netbox-v4.6.7_GH0.tar.gz) = f64d8c5964d10851af0e0f95ede2bd7baa2c4e0d9362430e2c0980194bce941e
-SIZE (netbox-community-netbox-v4.6.7_GH0.tar.gz) = 20091357
+TIMESTAMP = 1786456272
+SHA256 (netbox-community-netbox-v4.6.8_GH0.tar.gz) = 5d9bad64684b62b5f30e9d929d31f885e5a7cf20b9adc7e4a10547b652476dcc
+SIZE (netbox-community-netbox-v4.6.8_GH0.tar.gz) = 20134225
diff --git a/net-mgmt/netbox/pkg-plist b/net-mgmt/netbox/pkg-plist
index 787e620af7b0..3d80a57e81b1 100644
--- a/net-mgmt/netbox/pkg-plist
+++ b/net-mgmt/netbox/pkg-plist
@@ -660,6 +660,7 @@
 %%DATADIR%%/extras/api/__init__.py
 %%DATADIR%%/extras/api/customfields.py
 %%DATADIR%%/extras/api/mixins.py
+%%DATADIR%%/extras/api/routers.py
 %%DATADIR%%/extras/api/serializers.py
 %%DATADIR%%/extras/api/serializers_/__init__.py
 %%DATADIR%%/extras/api/serializers_/attachments.py
@@ -795,6 +796,7 @@
 %%DATADIR%%/extras/tests/__init__.py
 %%DATADIR%%/extras/tests/query_counts.json
 %%DATADIR%%/extras/tests/test_api.py
+%%DATADIR%%/extras/tests/test_api_routers.py
 %%DATADIR%%/extras/tests/test_conditions.py
 %%DATADIR%%/extras/tests/test_custom_validation.py
 %%DATADIR%%/extras/tests/test_customfields.py
@@ -890,6 +892,7 @@
 %%DATADIR%%/ipam/migrations/0091_alter_service_index_and_ordering.py
 %%DATADIR%%/ipam/migrations/0092_iprange_host_indexes.py
 %%DATADIR%%/ipam/migrations/0093_alter_prefix__region_alter_prefix__site_group.py
+%%DATADIR%%/ipam/migrations/0094_ipaddress_host_index.py
 %%DATADIR%%/ipam/migrations/__init__.py
 %%DATADIR%%/ipam/models/__init__.py
 %%DATADIR%%/ipam/models/asns.py
@@ -985,6 +988,7 @@
 %%DATADIR%%/netbox/graphql/filter_lookups.py
 %%DATADIR%%/netbox/graphql/filter_mixins.py
 %%DATADIR%%/netbox/graphql/filters.py
+%%DATADIR%%/netbox/graphql/optimization.py
 %%DATADIR%%/netbox/graphql/pagination.py
 %%DATADIR%%/netbox/graphql/scalars.py
 %%DATADIR%%/netbox/graphql/schema.py
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.