Repository navigation
Releases
v4.7.6-ls12
CI
LinuxServer changes
Full Changelog: v4.7.6-ls11...v4.7.6-ls12
Upstream changes
Source: https://github.com/netbox-community/netbox/releases/tag/v4.7.6
Note
The fixes for #21960 and #23490 don't update cable paths which have already been recorded: these remain marked as split until one of their cables is saved again. To retrace them, run manage.py trace_paths --force after upgrading. On large installations, you can instead delete only the split paths in nbshell (CablePath.objects.filter(is_split=True).delete()), then run manage.py trace_paths.
Enhancements
- #23531 - Preserve the
color,length, andlength_unitvalues when cloning a cable or using "Create & Add Another" - #23656 - Add the
netbox.graphql.querylogger, which logs each GraphQL API operation (including the user, client IP, operation name, query, duration, and error count) at the INFO level - #23757 - Add an object ID field to the change log filter form, to find the changes recorded for a specific object (including deleted objects)
Performance Improvements
- #23349 - Batch the loading of related objects for the contact assignment, circuit group assignment, and port mapping table columns, rather than querying them for each row
- #23721 - Avoid a slow query when filtering devices by whether they have interfaces (
interfaces), which could time out on installations with many devices that have none
Bug Fixes
- #21960 - Fix cable tracing from a multi-position front port whose rear ports converge on the same remote endpoint, which was reported as a split path with no
connected_endpoints - #23199 - Require permission to change a device (in addition to the virtual chassis) when adding it as a member of a virtual chassis
- #23398 - Restrict the dependent objects listed when an object can't be deleted (in the UI and in REST API 409 responses) to those the user is permitted to view
- #23471 - Avoid reporting a 404 error to Sentry for requests redirected to add a missing trailing slash
- #23490 - Fix cable tracing through a partially connected profiled cable (e.g. a
1C4P:4C1Pbreakout with fewer than four legs connected), which was reported as a split path with no endpoints - #23493 - Fix exception when creating a device whose device type has an inventory item template assigned to a component template named with
{vc_position} - #23552 - Prevent database writes while
MAINTENANCE_MODEis enabled, which previously permitted them on most paths - #23583 - Prevent the object delete view from redirecting to an external site via a protocol-relative
return_url(e.g.//example.com) - #23603 - Prevent cleared multiple-selection fields (e.g. tags) from being restored when an edit form refreshes
- #23608 - Fix the editing of tags and other objects whose color is a custom value rather than one of the predefined colors
- #23617 - Record pre-change data in the change log for objects updated as a side effect of other changes, such as cables, wireless link interfaces, primary MAC addresses, synced templates, and child devices
- #23632 - Fix
ValueErrorexception when passingnullto a substring or regex lookup filter (e.g.name__ic=null) - #23635 - Reject a custom field
related_object_filterwith nested values, which could be saved but raised an exception on list and edit views - #23637 - Support the
module_bay_typesfield when importing module types - #23652 - Include event types registered by plugins in the event rule add, edit, bulk edit, and import forms
- #23665 - Fix
AttributeErrorexception when the login form is submitted without ausernamefield - #23691 - Fix negated (
__n) object type filters (e.g.changed_object_type__n) returning matching objects instead of excluding them, and remove the text lookups (e.g.object_type__ic), which had no effect, from many-to-many object type filters - #23696 - Rebuild the config context cache when running
netbox upgrade - #23702 - Translate the "Owner" and "Owner group" form field labels, and other labels which always rendered in English
- #23711 - Restore the action to add an IP address on the IP addresses panel of the interface view
- #23746 - Prevent closed toast messages from reappearing when a table is paginated or otherwise refreshed
- #23747 - Fix exception when creating a device whose device type has a child interface template named with
{vc_position} - #23751 - Translate the Markdown hint shown under comments fields
- #23752 - Translate the "Changelog message" field label on object edit forms
- #23753 - Translate the "Created by" column header in journal entry tables
- #23758 - Fix filtering device types by
front_imageandrear_imagevia GraphQL
v4.7.6-ls11
CI
LinuxServer changes
Full Changelog: v4.7.5-ls10...v4.7.6-ls11
Upstream changes
Source: https://github.com/netbox-community/netbox/releases/tag/v4.7.6
Note
The fixes for #21960 and #23490 don't update cable paths which have already been recorded: these remain marked as split until one of their cables is saved again. To retrace them, run manage.py trace_paths --force after upgrading. On large installations, you can instead delete only the split paths in nbshell (CablePath.objects.filter(is_split=True).delete()), then run manage.py trace_paths.
Enhancements
- #23531 - Preserve the
color,length, andlength_unitvalues when cloning a cable or using "Create & Add Another" - #23656 - Add the
netbox.graphql.querylogger, which logs each GraphQL API operation (including the user, client IP, operation name, query, duration, and error count) at the INFO level - #23757 - Add an object ID field to the change log filter form, to find the changes recorded for a specific object (including deleted objects)
Performance Improvements
- #23349 - Batch the loading of related objects for the contact assignment, circuit group assignment, and port mapping table columns, rather than querying them for each row
- #23721 - Avoid a slow query when filtering devices by whether they have interfaces (
interfaces), which could time out on installations with many devices that have none
Bug Fixes
- #21960 - Fix cable tracing from a multi-position front port whose rear ports converge on the same remote endpoint, which was reported as a split path with no
connected_endpoints - #23199 - Require permission to change a device (in addition to the virtual chassis) when adding it as a member of a virtual chassis
- #23398 - Restrict the dependent objects listed when an object can't be deleted (in the UI and in REST API 409 responses) to those the user is permitted to view
- #23471 - Avoid reporting a 404 error to Sentry for requests redirected to add a missing trailing slash
- #23490 - Fix cable tracing through a partially connected profiled cable (e.g. a
1C4P:4C1Pbreakout with fewer than four legs connected), which was reported as a split path with no endpoints - #23493 - Fix exception when creating a device whose device type has an inventory item template assigned to a component template named with
{vc_position} - #23552 - Prevent database writes while
MAINTENANCE_MODEis enabled, which previously permitted them on most paths - #23583 - Prevent the object delete view from redirecting to an external site via a protocol-relative
return_url(e.g.//example.com) - #23603 - Prevent cleared multiple-selection fields (e.g. tags) from being restored when an edit form refreshes
- #23608 - Fix the editing of tags and other objects whose color is a custom value rather than one of the predefined colors
- #23617 - Record pre-change data in the change log for objects updated as a side effect of other changes, such as cables, wireless link interfaces, primary MAC addresses, synced templates, and child devices
- #23632 - Fix
ValueErrorexception when passingnullto a substring or regex lookup filter (e.g.name__ic=null) - #23635 - Reject a custom field
related_object_filterwith nested values, which could be saved but raised an exception on list and edit views - #23637 - Support the
module_bay_typesfield when importing module types - #23652 - Include event types registered by plugins in the event rule add, edit, bulk edit, and import forms
- #23665 - Fix
AttributeErrorexception when the login form is submitted without ausernamefield - #23691 - Fix negated (
__n) object type filters (e.g.changed_object_type__n) returning matching objects instead of excluding them, and remove the text lookups (e.g.object_type__ic), which had no effect, from many-to-many object type filters - #23696 - Rebuild the config context cache when running
netbox upgrade - #23702 - Translate the "Owner" and "Owner group" form field labels, and other labels which always rendered in English
- #23711 - Restore the action to add an IP address on the IP addresses panel of the interface view
- #23746 - Prevent closed toast messages from reappearing when a table is paginated or otherwise refreshed
- #23747 - Fix exception when creating a device whose device type has a child interface template named with
{vc_position} - #23751 - Translate the Markdown hint shown under comments fields
- #23752 - Translate the "Changelog message" field label on object edit forms
- #23753 - Translate the "Created by" column header in journal entry tables
- #23758 - Fix filtering device types by
front_imageandrear_imagevia GraphQL
v4.7.5-ls10
CI
LinuxServer changes
Full Changelog: v4.7.5-ls9...v4.7.5-ls10
Upstream changes
Source: https://github.com/netbox-community/netbox/releases/tag/v4.7.5
Enhancements
- #23470 - Add 3C8P, 3C12P, and 4C12P trunk cable profiles
Performance Improvements
- #23505 - Avoid redundant query conditions when filtering by a non-unique name or slug, such as MAC addresses by
interfaceor device components bydevice - #23562 - Batch the loading of related objects read by export templates, rather than querying them for each object
- #23563 - Batch the loading of related objects when rendering global search results
- #23564 - Batch the loading of cable terminations and their parent objects when listing cables, cable terminations, ports, and power feeds via the REST API
- #23565 - Batch the loading of deferred fields and related objects which the GraphQL query optimizer can't anticipate, such as those read when resolving
link_peersandconnected_endpoints
Bug Fixes
- #23185 - Prevent the deletion of a region or site group from also deleting the circuit terminations attached to its sites and locations
- #23260 - Fix exception when applying migration
dcim.0245_consolidate_unique_constraintson installations whose location, region, or site group unique constraints have auto-generated names - #23407 - Restrict the image attachments listed under an object's Images tab to those the user is permitted to view
- #23446 - Prevent duplicate submissions of object add and edit forms (such as duplicate image attachments) by disabling the submit button after the first click
- #23447 - Fix exception when ordering REST API results by an object count field (e.g.
count_ipaddresses) which is omitted from the response bybrieforfields - #23477 - Include the
asn_countfield in the REST API representation of ASN ranges - #23478 - Validate
{module}placeholders in component labels and module bay templates when installing a module, rather than raising an exception or resolving them to an empty string - #23486 - Record pre-change data in the change log for virtual chassis members when creating, editing, or deleting a virtual chassis
- #23510 - Prevent a queued background job from running after it has been deleted or marked as failed
- #23511 - Display the correct file path on a script's Source tab, and identify the script file (rather than
<string>) in error tracebacks - #23534 - Fix
IntegrityErrorexception when completing a job whose owner already has a notification for it - #23535 - Prevent a duplicate recurring sync job from being created when a data source is saved as its scheduled sync finishes
- #23542 - Fix
FileNotFoundErrorexception when synchronizing a local data source whose subdirectory paths repeat the root path (e.g./scripts/scripts_old/) - #23558 - Fix errors when editing an API token without permission to view users, or from the user's own API tokens view
- #23559 - Fix the prefetching of related objects shown as display attributes in global search results
- #23574 - Fix exception when passing
nullto several filters (e.g.present_in_vrf_id,available_at_site, andinterface_id), and support filtering data sources bysync_interval=null - #23584 - Enforce SSO allowlist settings (e.g.
WHITELISTED_DOMAINSandWHITELISTED_EMAILS) by addingauth_allowedto the defaultSOCIAL_AUTH_PIPELINE - #23585 - Enforce view permissions on parent and related objects when adding individual components or component templates, and when bulk adding prefixes, IP addresses, and VLANs
- #23595 - Implement
update_dependent_objects()for wireless links, circuit terminations, and channel subinterfaces, to rebuild cable paths after writes which bypasssave() - #23596 - Record pre-change data in the change log for components adopted when installing a module
- #23597 - Record change log entries and trigger event rules for port mappings created from device type and module type templates, or moved with a module to another device
v4.7.5-ls9
CI
LinuxServer changes
Full Changelog: v4.7.5-ls8...v4.7.5-ls9
Upstream changes
Source: https://github.com/netbox-community/netbox/releases/tag/v4.7.5
Enhancements
- #23470 - Add 3C8P, 3C12P, and 4C12P trunk cable profiles
Performance Improvements
- #23505 - Avoid redundant query conditions when filtering by a non-unique name or slug, such as MAC addresses by
interfaceor device components bydevice - #23562 - Batch the loading of related objects read by export templates, rather than querying them for each object
- #23563 - Batch the loading of related objects when rendering global search results
- #23564 - Batch the loading of cable terminations and their parent objects when listing cables, cable terminations, ports, and power feeds via the REST API
- #23565 - Batch the loading of deferred fields and related objects which the GraphQL query optimizer can't anticipate, such as those read when resolving
link_peersandconnected_endpoints
Bug Fixes
- #23185 - Prevent the deletion of a region or site group from also deleting the circuit terminations attached to its sites and locations
- #23260 - Fix exception when applying migration
dcim.0245_consolidate_unique_constraintson installations whose location, region, or site group unique constraints have auto-generated names - #23407 - Restrict the image attachments listed under an object's Images tab to those the user is permitted to view
- #23446 - Prevent duplicate submissions of object add and edit forms (such as duplicate image attachments) by disabling the submit button after the first click
- #23447 - Fix exception when ordering REST API results by an object count field (e.g.
count_ipaddresses) which is omitted from the response bybrieforfields - #23477 - Include the
asn_countfield in the REST API representation of ASN ranges - #23478 - Validate
{module}placeholders in component labels and module bay templates when installing a module, rather than raising an exception or resolving them to an empty string - #23486 - Record pre-change data in the change log for virtual chassis members when creating, editing, or deleting a virtual chassis
- #23510 - Prevent a queued background job from running after it has been deleted or marked as failed
- #23511 - Display the correct file path on a script's Source tab, and identify the script file (rather than
<string>) in error tracebacks - #23534 - Fix
IntegrityErrorexception when completing a job whose owner already has a notification for it - #23535 - Prevent a duplicate recurring sync job from being created when a data source is saved as its scheduled sync finishes
- #23542 - Fix
FileNotFoundErrorexception when synchronizing a local data source whose subdirectory paths repeat the root path (e.g./scripts/scripts_old/) - #23558 - Fix errors when editing an API token without permission to view users, or from the user's own API tokens view
- #23559 - Fix the prefetching of related objects shown as display attributes in global search results
- #23574 - Fix exception when passing
nullto several filters (e.g.present_in_vrf_id,available_at_site, andinterface_id), and support filtering data sources bysync_interval=null - #23584 - Enforce SSO allowlist settings (e.g.
WHITELISTED_DOMAINSandWHITELISTED_EMAILS) by addingauth_allowedto the defaultSOCIAL_AUTH_PIPELINE - #23585 - Enforce view permissions on parent and related objects when adding individual components or component templates, and when bulk adding prefixes, IP addresses, and VLANs
- #23595 - Implement
update_dependent_objects()for wireless links, circuit terminations, and channel subinterfaces, to rebuild cable paths after writes which bypasssave() - #23596 - Record pre-change data in the change log for components adopted when installing a module
- #23597 - Record change log entries and trigger event rules for port mappings created from device type and module type templates, or moved with a module to another device
v4.7.5-ls8
CI
LinuxServer changes
Full Changelog: v4.7.5-ls7...v4.7.5-ls8
Upstream changes
Source: https://github.com/netbox-community/netbox/releases/tag/v4.7.5
Enhancements
- #23470 - Add 3C8P, 3C12P, and 4C12P trunk cable profiles
Performance Improvements
- #23505 - Avoid redundant query conditions when filtering by a non-unique name or slug, such as MAC addresses by
interfaceor device components bydevice - #23562 - Batch the loading of related objects read by export templates, rather than querying them for each object
- #23563 - Batch the loading of related objects when rendering global search results
- #23564 - Batch the loading of cable terminations and their parent objects when listing cables, cable terminations, ports, and power feeds via the REST API
- #23565 - Batch the loading of deferred fields and related objects which the GraphQL query optimizer can't anticipate, such as those read when resolving
link_peersandconnected_endpoints
Bug Fixes
- #23185 - Prevent the deletion of a region or site group from also deleting the circuit terminations attached to its sites and locations
- #23260 - Fix exception when applying migration
dcim.0245_consolidate_unique_constraintson installations whose location, region, or site group unique constraints have auto-generated names - #23407 - Restrict the image attachments listed under an object's Images tab to those the user is permitted to view
- #23446 - Prevent duplicate submissions of object add and edit forms (such as duplicate image attachments) by disabling the submit button after the first click
- #23447 - Fix exception when ordering REST API results by an object count field (e.g.
count_ipaddresses) which is omitted from the response bybrieforfields - #23477 - Include the
asn_countfield in the REST API representation of ASN ranges - #23478 - Validate
{module}placeholders in component labels and module bay templates when installing a module, rather than raising an exception or resolving them to an empty string - #23486 - Record pre-change data in the change log for virtual chassis members when creating, editing, or deleting a virtual chassis
- #23510 - Prevent a queued background job from running after it has been deleted or marked as failed
- #23511 - Display the correct file path on a script's Source tab, and identify the script file (rather than
<string>) in error tracebacks - #23534 - Fix
IntegrityErrorexception when completing a job whose owner already has a notification for it - #23535 - Prevent a duplicate recurring sync job from being created when a data source is saved as its scheduled sync finishes
- #23542 - Fix
FileNotFoundErrorexception when synchronizing a local data source whose subdirectory paths repeat the root path (e.g./scripts/scripts_old/) - #23558 - Fix errors when editing an API token without permission to view users, or from the user's own API tokens view
- #23559 - Fix the prefetching of related objects shown as display attributes in global search results
- #23574 - Fix exception when passing
nullto several filters (e.g.present_in_vrf_id,available_at_site, andinterface_id), and support filtering data sources bysync_interval=null - #23584 - Enforce SSO allowlist settings (e.g.
WHITELISTED_DOMAINSandWHITELISTED_EMAILS) by addingauth_allowedto the defaultSOCIAL_AUTH_PIPELINE - #23585 - Enforce view permissions on parent and related objects when adding individual components or component templates, and when bulk adding prefixes, IP addresses, and VLANs
- #23595 - Implement
update_dependent_objects()for wireless links, circuit terminations, and channel subinterfaces, to rebuild cable paths after writes which bypasssave() - #23596 - Record pre-change data in the change log for components adopted when installing a module
- #23597 - Record change log entries and trigger event rules for port mappings created from device type and module type templates, or moved with a module to another device
v4.7.5-ls7
CI
LinuxServer changes
Full Changelog: v4.7.4-ls6...v4.7.5-ls7
Upstream changes
Source: https://github.com/netbox-community/netbox/releases/tag/v4.7.5
Enhancements
- #23470 - Add 3C8P, 3C12P, and 4C12P trunk cable profiles
Performance Improvements
- #23505 - Avoid redundant query conditions when filtering by a non-unique name or slug, such as MAC addresses by
interfaceor device components bydevice - #23562 - Batch the loading of related objects read by export templates, rather than querying them for each object
- #23563 - Batch the loading of related objects when rendering global search results
- #23564 - Batch the loading of cable terminations and their parent objects when listing cables, cable terminations, ports, and power feeds via the REST API
- #23565 - Batch the loading of deferred fields and related objects which the GraphQL query optimizer can't anticipate, such as those read when resolving
link_peersandconnected_endpoints
Bug Fixes
- #23185 - Prevent the deletion of a region or site group from also deleting the circuit terminations attached to its sites and locations
- #23260 - Fix exception when applying migration
dcim.0245_consolidate_unique_constraintson installations whose location, region, or site group unique constraints have auto-generated names - #23407 - Restrict the image attachments listed under an object's Images tab to those the user is permitted to view
- #23446 - Prevent duplicate submissions of object add and edit forms (such as duplicate image attachments) by disabling the submit button after the first click
- #23447 - Fix exception when ordering REST API results by an object count field (e.g.
count_ipaddresses) which is omitted from the response bybrieforfields - #23477 - Include the
asn_countfield in the REST API representation of ASN ranges - #23478 - Validate
{module}placeholders in component labels and module bay templates when installing a module, rather than raising an exception or resolving them to an empty string - #23486 - Record pre-change data in the change log for virtual chassis members when creating, editing, or deleting a virtual chassis
- #23510 - Prevent a queued background job from running after it has been deleted or marked as failed
- #23511 - Display the correct file path on a script's Source tab, and identify the script file (rather than
<string>) in error tracebacks - #23534 - Fix
IntegrityErrorexception when completing a job whose owner already has a notification for it - #23535 - Prevent a duplicate recurring sync job from being created when a data source is saved as its scheduled sync finishes
- #23542 - Fix
FileNotFoundErrorexception when synchronizing a local data source whose subdirectory paths repeat the root path (e.g./scripts/scripts_old/) - #23558 - Fix errors when editing an API token without permission to view users, or from the user's own API tokens view
- #23559 - Fix the prefetching of related objects shown as display attributes in global search results
- #23574 - Fix exception when passing
nullto several filters (e.g.present_in_vrf_id,available_at_site, andinterface_id), and support filtering data sources bysync_interval=null - #23584 - Enforce SSO allowlist settings (e.g.
WHITELISTED_DOMAINSandWHITELISTED_EMAILS) by addingauth_allowedto the defaultSOCIAL_AUTH_PIPELINE - #23585 - Enforce view permissions on parent and related objects when adding individual components or component templates, and when bulk adding prefixes, IP addresses, and VLANs
- #23595 - Implement
update_dependent_objects()for wireless links, circuit terminations, and channel subinterfaces, to rebuild cable paths after writes which bypasssave() - #23596 - Record pre-change data in the change log for components adopted when installing a module
- #23597 - Record change log entries and trigger event rules for port mappings created from device type and module type templates, or moved with a module to another device
v4.7.4-ls6
CI
LinuxServer changes
Full Changelog: v4.7.4-ls5...v4.7.4-ls6
Upstream changes
Source: https://github.com/netbox-community/netbox/releases/tag/v4.7.4
Warning
This release upgrades the sorl-thumbnail dependency to v13.4.0, which fixes how cached image thumbnails resolve their storage backend. If your STORAGES configuration defines OPTIONS for a BACKEND path which re-exports a class defined elsewhere (for example, storages.backends.s3boto3.S3Boto3Storage, which is an alias of storages.backends.s3.S3Storage), run manage.py thumbnail clear once after upgrading. This purges sorl-thumbnail's record of previously generated thumbnails, which may reference the storage backend without its configured options. No image files are deleted.
Warning
The GraphQL enum for circuit and virtual circuit status is now exposed correctly as CircuitStatusEnum, and its values carry the STATUS_ prefix used by other status enums. Queries which filter on unprefixed values (e.g. {exact: ACTIVE}) must be updated to use the prefixed form (e.g. {exact: STATUS_ACTIVE}). See #23469 for details.
Enhancements
- #23031 - Add 8C1P, 12C1P, and 24C1P trunk cable profiles
- #23238 - Support the
__emptylookup for boolean custom field filters - #23365 - Add a copy-to-clipboard button for site addresses
- #23463 - Include the IDs of the associated change log records (
object_change_ids) in event data and webhook payloads
Performance Improvements
- #23076 - Avoid reloading deferred columns for each object when resolving the
displayfield via GraphQL - #23259 - Coalesce search cache updates rather than enqueuing a background job for each change
- #23286 - Count the IP addresses and FHRP group assignments of device and VM interfaces in REST API responses without loading the related objects
- #23355 - Prefetch the objects referenced by object custom fields when rendering REST API lists
- #23371 - Avoid deep-copying cached config context data when serializing REST and GraphQL API responses
Bug Fixes
- #22359 - Apply the
query_paramsof a custom scriptObjectVarto its object selector - #22714 - Recover the schedules of system jobs (e.g. housekeeping) lost from the task queue, such as after restoring a database backup
- #22883 - Retain existing terminations when editing a cable with multiple devices on one end, and identify the device of each termination
- #23212 - Prevent the removal of a virtual chassis member whose interfaces form a LAG with another member
- #23235 - Restrict the jobs listed under an object's or script's jobs tab to those the user is permitted to view
- #23329 - Prevent a search within the object selector from reloading the parent form
- #23364 - Restrict the most recent job reported by the scripts REST API endpoint to jobs the user is permitted to view
- #23372 - Fix exception when listing bookmarks, journal entries, and other objects assigned to objects which have no REST API serializer
- #23375 - Resolve the deprecated
finalizeenvironment parameter for export and config templates only from the template's saved record - #23422 - Fix exception when assigning a service or service template to an object custom field via the REST API
- #23423 - Represent 64-bit integer fields (such as object IDs) as
BigIntin the GraphQL API - #23424 - Declare object IDs as 64-bit integers in the OpenAPI schema
- #23425 - Fix "integer out of range" error when tagging an object with an ID greater than 2,147,483,647
- #23445 - Prevent concurrent REST API updates to an object from overwriting each other's changes
- #23448 - Fix the GraphQL
config_contextfield when selected within an inline or named fragment - #23464 - Apply data source synchronizations atomically, so that a failed sync leaves the previously synchronized files unchanged
- #23467 - Enforce view permissions on parent devices and virtual machines when creating components in bulk
- #23469 - Expose the GraphQL circuit status enum as
CircuitStatusEnum, with values prefixed bySTATUS_(consistent with other status enums) - #23473 - Enable filtering circuits, circuit terminations, virtual circuits, and virtual circuit terminations by provider network name
- #23484 - Pre-populate the location when adding a non-racked device from a location's view
v4.7.4-ls5
CI
LinuxServer changes
Full Changelog: v4.7.4-ls4...v4.7.4-ls5
Upstream changes
Source: https://github.com/netbox-community/netbox/releases/tag/v4.7.4
Warning
This release upgrades the sorl-thumbnail dependency to v13.4.0, which fixes how cached image thumbnails resolve their storage backend. If your STORAGES configuration defines OPTIONS for a BACKEND path which re-exports a class defined elsewhere (for example, storages.backends.s3boto3.S3Boto3Storage, which is an alias of storages.backends.s3.S3Storage), run manage.py thumbnail clear once after upgrading. This purges sorl-thumbnail's record of previously generated thumbnails, which may reference the storage backend without its configured options. No image files are deleted.
Warning
The GraphQL enum for circuit and virtual circuit status is now exposed correctly as CircuitStatusEnum, and its values carry the STATUS_ prefix used by other status enums. Queries which filter on unprefixed values (e.g. {exact: ACTIVE}) must be updated to use the prefixed form (e.g. {exact: STATUS_ACTIVE}). See #23469 for details.
Enhancements
- #23031 - Add 8C1P, 12C1P, and 24C1P trunk cable profiles
- #23238 - Support the
__emptylookup for boolean custom field filters - #23365 - Add a copy-to-clipboard button for site addresses
- #23463 - Include the IDs of the associated change log records (
object_change_ids) in event data and webhook payloads
Performance Improvements
- #23076 - Avoid reloading deferred columns for each object when resolving the
displayfield via GraphQL - #23259 - Coalesce search cache updates rather than enqueuing a background job for each change
- #23286 - Count the IP addresses and FHRP group assignments of device and VM interfaces in REST API responses without loading the related objects
- #23355 - Prefetch the objects referenced by object custom fields when rendering REST API lists
- #23371 - Avoid deep-copying cached config context data when serializing REST and GraphQL API responses
Bug Fixes
- #22359 - Apply the
query_paramsof a custom scriptObjectVarto its object selector - #22714 - Recover the schedules of system jobs (e.g. housekeeping) lost from the task queue, such as after restoring a database backup
- #22883 - Retain existing terminations when editing a cable with multiple devices on one end, and identify the device of each termination
- #23212 - Prevent the removal of a virtual chassis member whose interfaces form a LAG with another member
- #23235 - Restrict the jobs listed under an object's or script's jobs tab to those the user is permitted to view
- #23329 - Prevent a search within the object selector from reloading the parent form
- #23364 - Restrict the most recent job reported by the scripts REST API endpoint to jobs the user is permitted to view
- #23372 - Fix exception when listing bookmarks, journal entries, and other objects assigned to objects which have no REST API serializer
- #23375 - Resolve the deprecated
finalizeenvironment parameter for export and config templates only from the template's saved record - #23422 - Fix exception when assigning a service or service template to an object custom field via the REST API
- #23423 - Represent 64-bit integer fields (such as object IDs) as
BigIntin the GraphQL API - #23424 - Declare object IDs as 64-bit integers in the OpenAPI schema
- #23425 - Fix "integer out of range" error when tagging an object with an ID greater than 2,147,483,647
- #23445 - Prevent concurrent REST API updates to an object from overwriting each other's changes
- #23448 - Fix the GraphQL
config_contextfield when selected within an inline or named fragment - #23464 - Apply data source synchronizations atomically, so that a failed sync leaves the previously synchronized files unchanged
- #23467 - Enforce view permissions on parent devices and virtual machines when creating components in bulk
- #23469 - Expose the GraphQL circuit status enum as
CircuitStatusEnum, with values prefixed bySTATUS_(consistent with other status enums) - #23473 - Enable filtering circuits, circuit terminations, virtual circuits, and virtual circuit terminations by provider network name
- #23484 - Pre-populate the location when adding a non-racked device from a location's view
v4.7.4-ls4
CI
LinuxServer changes
Full Changelog: v4.7.4-ls3...v4.7.4-ls4
Upstream changes
Source: https://github.com/netbox-community/netbox/releases/tag/v4.7.4
Warning
This release upgrades the sorl-thumbnail dependency to v13.4.0, which fixes how cached image thumbnails resolve their storage backend. If your STORAGES configuration defines OPTIONS for a BACKEND path which re-exports a class defined elsewhere (for example, storages.backends.s3boto3.S3Boto3Storage, which is an alias of storages.backends.s3.S3Storage), run manage.py thumbnail clear once after upgrading. This purges sorl-thumbnail's record of previously generated thumbnails, which may reference the storage backend without its configured options. No image files are deleted.
Warning
The GraphQL enum for circuit and virtual circuit status is now exposed correctly as CircuitStatusEnum, and its values carry the STATUS_ prefix used by other status enums. Queries which filter on unprefixed values (e.g. {exact: ACTIVE}) must be updated to use the prefixed form (e.g. {exact: STATUS_ACTIVE}). See #23469 for details.
Enhancements
- #23031 - Add 8C1P, 12C1P, and 24C1P trunk cable profiles
- #23238 - Support the
__emptylookup for boolean custom field filters - #23365 - Add a copy-to-clipboard button for site addresses
- #23463 - Include the IDs of the associated change log records (
object_change_ids) in event data and webhook payloads
Performance Improvements
- #23076 - Avoid reloading deferred columns for each object when resolving the
displayfield via GraphQL - #23259 - Coalesce search cache updates rather than enqueuing a background job for each change
- #23286 - Count the IP addresses and FHRP group assignments of device and VM interfaces in REST API responses without loading the related objects
- #23355 - Prefetch the objects referenced by object custom fields when rendering REST API lists
- #23371 - Avoid deep-copying cached config context data when serializing REST and GraphQL API responses
Bug Fixes
- #22359 - Apply the
query_paramsof a custom scriptObjectVarto its object selector - #22714 - Recover the schedules of system jobs (e.g. housekeeping) lost from the task queue, such as after restoring a database backup
- #22883 - Retain existing terminations when editing a cable with multiple devices on one end, and identify the device of each termination
- #23212 - Prevent the removal of a virtual chassis member whose interfaces form a LAG with another member
- #23235 - Restrict the jobs listed under an object's or script's jobs tab to those the user is permitted to view
- #23329 - Prevent a search within the object selector from reloading the parent form
- #23364 - Restrict the most recent job reported by the scripts REST API endpoint to jobs the user is permitted to view
- #23372 - Fix exception when listing bookmarks, journal entries, and other objects assigned to objects which have no REST API serializer
- #23375 - Resolve the deprecated
finalizeenvironment parameter for export and config templates only from the template's saved record - #23422 - Fix exception when assigning a service or service template to an object custom field via the REST API
- #23423 - Represent 64-bit integer fields (such as object IDs) as
BigIntin the GraphQL API - #23424 - Declare object IDs as 64-bit integers in the OpenAPI schema
- #23425 - Fix "integer out of range" error when tagging an object with an ID greater than 2,147,483,647
- #23445 - Prevent concurrent REST API updates to an object from overwriting each other's changes
- #23448 - Fix the GraphQL
config_contextfield when selected within an inline or named fragment - #23464 - Apply data source synchronizations atomically, so that a failed sync leaves the previously synchronized files unchanged
- #23467 - Enforce view permissions on parent devices and virtual machines when creating components in bulk
- #23469 - Expose the GraphQL circuit status enum as
CircuitStatusEnum, with values prefixed bySTATUS_(consistent with other status enums) - #23473 - Enable filtering circuits, circuit terminations, virtual circuits, and virtual circuit terminations by provider network name
- #23484 - Pre-populate the location when adding a non-racked device from a location's view
v4.7.4-ls3
CI
LinuxServer changes
Full Changelog: v4.7.4-ls2...v4.7.4-ls3
Upstream changes
Source: https://github.com/netbox-community/netbox/releases/tag/v4.7.4
Warning
This release upgrades the sorl-thumbnail dependency to v13.4.0, which fixes how cached image thumbnails resolve their storage backend. If your STORAGES configuration defines OPTIONS for a BACKEND path which re-exports a class defined elsewhere (for example, storages.backends.s3boto3.S3Boto3Storage, which is an alias of storages.backends.s3.S3Storage), run manage.py thumbnail clear once after upgrading. This purges sorl-thumbnail's record of previously generated thumbnails, which may reference the storage backend without its configured options. No image files are deleted.
Warning
The GraphQL enum for circuit and virtual circuit status is now exposed correctly as CircuitStatusEnum, and its values carry the STATUS_ prefix used by other status enums. Queries which filter on unprefixed values (e.g. {exact: ACTIVE}) must be updated to use the prefixed form (e.g. {exact: STATUS_ACTIVE}). See #23469 for details.
Enhancements
- #23031 - Add 8C1P, 12C1P, and 24C1P trunk cable profiles
- #23238 - Support the
__emptylookup for boolean custom field filters - #23365 - Add a copy-to-clipboard button for site addresses
- #23463 - Include the IDs of the associated change log records (
object_change_ids) in event data and webhook payloads
Performance Improvements
- #23076 - Avoid reloading deferred columns for each object when resolving the
displayfield via GraphQL - #23259 - Coalesce search cache updates rather than enqueuing a background job for each change
- #23286 - Count the IP addresses and FHRP group assignments of device and VM interfaces in REST API responses without loading the related objects
- #23355 - Prefetch the objects referenced by object custom fields when rendering REST API lists
- #23371 - Avoid deep-copying cached config context data when serializing REST and GraphQL API responses
Bug Fixes
- #22359 - Apply the
query_paramsof a custom scriptObjectVarto its object selector - #22714 - Recover the schedules of system jobs (e.g. housekeeping) lost from the task queue, such as after restoring a database backup
- #22883 - Retain existing terminations when editing a cable with multiple devices on one end, and identify the device of each termination
- #23212 - Prevent the removal of a virtual chassis member whose interfaces form a LAG with another member
- #23235 - Restrict the jobs listed under an object's or script's jobs tab to those the user is permitted to view
- #23329 - Prevent a search within the object selector from reloading the parent form
- #23364 - Restrict the most recent job reported by the scripts REST API endpoint to jobs the user is permitted to view
- #23372 - Fix exception when listing bookmarks, journal entries, and other objects assigned to objects which have no REST API serializer
- #23375 - Resolve the deprecated
finalizeenvironment parameter for export and config templates only from the template's saved record - #23422 - Fix exception when assigning a service or service template to an object custom field via the REST API
- #23423 - Represent 64-bit integer fields (such as object IDs) as
BigIntin the GraphQL API - #23424 - Declare object IDs as 64-bit integers in the OpenAPI schema
- #23425 - Fix "integer out of range" error when tagging an object with an ID greater than 2,147,483,647
- #23445 - Prevent concurrent REST API updates to an object from overwriting each other's changes
- #23448 - Fix the GraphQL
config_contextfield when selected within an inline or named fragment - #23464 - Apply data source synchronizations atomically, so that a failed sync leaves the previously synchronized files unchanged
- #23467 - Enforce view permissions on parent devices and virtual machines when creating components in bulk
- #23469 - Expose the GraphQL circuit status enum as
CircuitStatusEnum, with values prefixed bySTATUS_(consistent with other status enums) - #23473 - Enable filtering circuits, circuit terminations, virtual circuits, and virtual circuit terminations by provider network name
- #23484 - Pre-populate the location when adding a non-racked device from a location's view