← Back to all sparks
N

NetBox

INFRA · APIS
Velocity5.0

Infrastructure resource modeling and IPAM source of truth

NetBox 4.7.5 batches its slowest queries and stops a delete from taking circuits with it.

network-managementdcimipamapi-performancedata-integrity
◆Current state
Five 4.7 patches have followed the September 4.7.0 release. 4.7.5 batches related-object loading in export templates, global search, cable listings and GraphQL, adds three more trunk cable profiles, and fixes a bug where deleting a region or site group also deleted circuit terminations at its sites. Earlier patches fixed a plaintext API token leak in job results and restored hierarchy triggers lost on database restore.
◆Where it's heading
The 4.7 line has turned into a sustained performance and correctness pass. Query batching now reaches REST, GraphQL, search and export templates, and each patch closes permission and data-integrity gaps such as image attachments shown to users who cannot view them. Cooling modelling from 4.7.0 has had no visible follow-up yet.
◆Prediction
More 4.7.x patches on the same two-week rhythm with further query batching are likely; the entries do not show what 4.8 will contain.

◆Recent moves

  1. 3d ago

    4.7.5 batches API queries and stops a cascade delete of circuits

    Batches related-object loading across export templates, global search, cable endpoints and GraphQL, and fixes region and site group deletes that also removed circuit terminations. The fifth patch in a line that has become mostly performance and data-integrity work.

    View source ↗
  2. 17d ago

    4.7.4 adds change-log IDs to webhooks, renames a GraphQL enum

    Webhook and event payloads now carry the IDs of their change-log records, trunk cable profiles and an empty lookup for boolean custom fields are added, and the circuit status GraphQL enum gains its STATUS_ prefix, which breaks unprefixed queries. Useful for automation, with one migration to watch.

    View source ↗
  3. 1mo ago

    4.7.3 speeds up REST serialisation and fixes cable paths

    A performance-focused patch: REST responses skip unused config context and prefetches, nested serializers are reused and GraphQL schema building is deferred, plus cable-path fixes and a permission leak in rack elevations.

    View source ↗
  4. 1mo ago

    4.7.2 stops API tokens leaking into job results

    Fixes a leak where 4.7.0 and 4.7.1 stored plaintext API tokens from background bulk requests in job results, readable by anyone who could view jobs; such tokens should be replaced. Also adds a cable-path rebuild hook for plugins.

    View source ↗
  5. 1mo ago

    4.7.1 restores hierarchy triggers lost on database restore

    Restores the triggers that cascade hierarchical paths, which a pg_dump restore of 4.7.0 silently dropped, and documents how to repair stale paths. The clearest cost of the ltree migration so far.

    View source ↗
  6. 2mo ago

    NetBox v4.7.0

    ⚡ SPARK

    NetBox 4.7 ships two genuinely directional changes: cooling infrastructure modeling (CoolingSource, CoolingFeed, CoolingIntake, CoolingOutflow — mirroring the power model exactly) and a full replacement of django-mptt with PostgreSQL ltree for all hierarchical group models. Combined with config context pre-rendering, unified service port_mappings, and API token hardening, this is a release that reshapes the platform's internals as much as its feature surface.

    View source ↗