github jmasarweh/UniFi-Insights-Plus v3.5.0
v3.5.0 — Phase 1 Transition, Batched Retention & Purge Performance

latest releases: v3.7.0, v3.6.3, v3.6.2...
one month ago

For full documentation and setup guides, visit insightsplus.dev/docs.

Community contributions: Credit to @leto1210 for the performance analysis and index designs in #77 and #78, implemented locally following repo conventions. #76 and #79 merged directly.

What's New

As part of this release (phase 1), users relying on Log-detection for Network & WAN setup will need to transition to the UniFi API. Log-detection will be slowly phased out and deprecated in the next releases.

Phase 1: Two-Phase Transition

  • UniFi API-backed network identity now seeds WAN IPs, gateway IPs, and VPN networks directly from UniFi API data during setup and polling, replacing log-based detection for UniFi-connected installs
  • API-backed interface discovery uses UniFi API topology data when available, with automatic fallback to log-based detection
  • Log-detection deprecation notices guide installs still using log-based detection toward the UniFi API path via a deprecation modal and setup wizard warnings

Retention & Purge Performance

  • Batched retention cleanup runs in small committed batches (5,000 rows) instead of a single large DELETE, preventing lock contention and WAL bloat on large databases
  • Async cleanup job runs manual retention cleanup as a background job with real-time progress polling, replacing the old synchronous API that could time out on large tables
  • Purge index acceleration via new composite index dramatically speeds up WiFi/System log purge operations (5x+ faster on 100K+ row tables)
  • Added non-DNS retention index to accelerate the non-DNS retention cleanup pass

Bug Fixes

  • Fixed time range filters not capping to the actual data retention period, and the confirmation modal not dismissing properly
  • Hardened connection pool to roll back non-IDLE connections before return, preventing transaction leaks
  • Fixed browser extension tab container threshold to support devices running only one UniFi application

Dependencies & Maintenance

  • Updated security libraries to latest versions
  • Internal database maintenance routines modernized for better reliability

Don't miss a new UniFi-Insights-Plus release

NewReleases is sending notifications on new releases.