github opensensor/lightNVR v0.49.0
Release v0.49.0

2 hours ago

🤖 AI-Generated Changelog

Added

  • Display the last captured image as a fallback when a camera cannot connect on the live view
  • Register and serve go2rtc OPTIONS preflight requests for CORS compatibility
  • Support ZimaOS Custom App installs with persistent data paths
  • Add draggable PTZ control panel with preset deletion support
  • Show unknown storage usage and disable policy selector while busy
  • Expose go2rtc config YAML override editor with line structure preservation
  • Display UTF-8 byte limit errors for go2rtc overrides
  • Add go2rtc config preview keyboard accessibility
  • Test S3 single PUT rejection above five GiB
  • Verify authorized batch deletion enters the storage journal

Changed

  • Upgrade FAAC to version 3.0 and update direct dependencies
  • Upgrade go2rtc to pinned fork with patched Go toolchain
  • Improve CMake source discovery and LiteRT C++ standard handling
  • Export only required ARM sysroot files for Docker builds
  • Accept ARM64 variants throughout Docker builds
  • Load the packaged SQLite library on every Docker architecture
  • Cancel superseded PR workflows on merge via concurrency groups
  • Make migration progress accessible and clear stale policy previews
  • Announce go2rtc override validation and size errors via accessibility
  • Improve ONVIF reference headers handling in renew and unsubscribe requests
  • Keep ONVIF reference parameters as direct SOAP headers
  • Parse malformed ONVIF Motion attributes more precisely
  • Reset HLS player state and playback during privacy mode transitions
  • Reset HLS fallback tracking per stream and isolate privacy controls
  • Reload native HLS manifests on network failure
  • Handle HLS initialization failures and stale manual play states
  • Disable wildcard CORS and restart through procfs
  • Validate go2rtc port configuration and build required ffmpeg guards
  • Serialize config publication and use atomic saves
  • Use per-thread borrowed streaming snapshots
  • Reclaim HTTP receive bytes without losing pipelined requests
  • Bound HTTP body growth and harden static and compressed responses
  • Handle HEAD responses without sending representation bytes
  • Validate HTTP gzip quality values with grammar and locale independence
  • Merge go2rtc preset YAML before saving settings
  • Traverse multipart XML children in document order
  • Handle namespaced S3 upload IDs and nonblocking source validation
  • Reject upstream go2rtc redirects in both proxy handlers
  • Prevent caching of authenticated go2rtc proxy responses
  • Bypass environment proxies for go2rtc media lease requests
  • Remove unreachable go2rtc proxy methods and align CORS handling

Fixed

  • Fix PTZ touch controls and preset deletion contract
  • Fix HLS preflight gating and playback lifecycle
  • Fix HLS snapshot CORS and zoom control placement
  • Fix storage form width on narrow screens
  • Hide HLS play overlay during privacy mode
  • Fix ONVIF event classification, malformed XML, and LPR buffering
  • Fix container restart contract and RTL layout gate
  • Fix storage target routing and blank archive trigger handling
  • Allow fallback targets outside a selected primary pool
  • Recognize namespaced S3 multipart completion errors
  • Fix Rust conversion of main shutdown atomics
  • Reject empty go2rtc queries and initialize media authorization state
  • Reject invalid syslog enabled values
  • Reject unsafe TURN, MQTT, and backup hook values before config save
  • Validate TURN credentials while loading INI
  • Cap idle sessions at the absolute timeout safely
  • Avoid watchdog signals after parent exit
  • Reject malformed and truncated PID files
  • Handle exited pidfd target and stop runtime streams
  • Fix config ownership, timeouts, identity, and atomic saves
  • Restore stream defaults on database load and guard config path length
  • Accept standard whitespace in go2rtc media policy acknowledgement
  • Handle go2rtc proxy methods explicitly and clean up allocation failures
  • Release failed proxy media leases and distinguish response errors
  • Close static file connections after header allocation failure
  • Keep file-serving connections alive through final callbacks
  • Handle file read failures and response ownership safely
  • Roll back failed server thread startup and preserve peer lookup
  • Validate byte ranges and recover file stat failures
  • Close only owned handles when stopping a shared libuv loop
  • Reject duplicate libuv starts and close only tracked clients
  • Allocate archive proxy buffers for admitted streams only
  • Detach archive streams safely during connection teardown
  • Release closed archive connections after asynchronous I/O
  • Distinguish archive response overflow from socket errors

Security

  • Mask ICE credentials and validate detection and web settings in config output
  • Restrict daemon file modes and verify PID lock ownership
  • Verify private mode before in-place config writes
  • Verify config secrets are written with private permissions
  • Validate exact path traversal for MQTT client IDs
  • Reject unsafe MQTT discovery prefix before saving
  • Document protected CIDR config storage
  • Require admin for backup downloads
  • Validate signed S3 fixture headers and session tokens in requests
  • Validate WebSocket origin authorities and ports

🔗 Full Changelog: v0.48.2...v0.49.0

Don't miss a new lightNVR release

NewReleases is sending notifications on new releases.