← All releases
v1.5.5

Maintenance & Stability Release

This release focuses on application stability, data integrity, non-blocking responsiveness, and regression testing:

What’s Changed:

  • Atomic Configuration & Profile Writes: profiles.json and config.json are now saved via atomic staging files (tempfile.mkstemp + fsync + os.replace), preventing corrupted or empty configuration files during crashes or abrupt reboots.
  • Persistent Disk Logging & Bounded UI Buffer: The log viewer in the GUI is now bounded to 1,000 blocks to eliminate unbounded memory growth during long sessions. Application logs are simultaneously persisted to the XDG-compliant path ~/.local/state/llamatray/llamatray.log with automatic log rotation (2 MB max per file, 3 backups).
  • Log Context Menu: Added a right-click context menu to the log area with options to Copy, Copy All, Clear Logs, and Open Log File.
  • Non-blocking Server Shutdown: The HTTP /exit request sent during server shutdown is now dispatched asynchronously on a background worker thread. If the server is unresponsive, the GUI no longer hangs waiting for network timeouts before initiating process termination (terminate / kill).
  • Asynchronous Hardware Monitoring: System resource polling (CPU, RAM, GPU, and VRAM) is now handled via a background QThread (MonitorPollWorker), completely eliminating periodic micro-stutters in the user interface caused by hardware queries.
  • AMD Sysfs Path Caching: Cached detected DRM device paths at initialization to avoid redundant /sys/class/drm directory traversals on every polling interval.
  • Targeted Unit Test Suite: Introduced a lightweight test suite in tests/test_core.py covering atomic JSON serialization, CLI argument generation, port/context boundaries, and logging paths.