net-mgmt/netbox: Update to 4.6.5
Changelog:
Enhancements:
- Add MDC connector type for fiber ports and cables
- Provide a REST API method to update or overwrite an existing custom script module
- Enforce a lower maximum uploaded image size (50 megapixels) than the Pillow default
- Add Korean language support
Performance Improvements:
- Add a prefetch hint to the GraphQL tags field to avoid N+1 queries on list endpoints
- Cache serializers to avoid repeated reinstantiation on the cables list REST API endpoint
Bug Fixes:
- Correct the OpenAPI schema for relation counts on nested (brief) object representations
- Return the configured maintenance mode message for REST API requests
- Honor RAM_BASE_UNIT for the default memory of a virtual machine type
- Restore the available IPs button for users with constrained permissions
- Avoid name collisions when a custom script's filename matches a core app label
- Fix uncaught ValueError (HTTP 500) when an invalid filter_id query parameter is provided
- Remove persistent scrollbar on the navigation menu in Chrome
- Ensure shared objects are treated consistently across the UI and REST API
- Use a theme-aware color for interface list row separators in dark mode
- Fix ValueError exception when viewing background tasks under RQ 2.10
- Require the "change" permission (rather than "add") when editing objects via the bulk import form
- Ensure custom link names are escaped when rendering fails
- Fix ValueError raised by object-level permission checks for cross-app proxy models
- Explicitly disable autoescaping for config templates rendered via SandboxedEnvironment
- Escape the exception message in the render_widget template tag before marking it safe
https://github.com/netbox-community/netbox/releases/tag/v4.6.5
MFH: 2026Q3
(cherry picked from commit 31162e58a5c24cfee8eb8d069ee52bb925974001)