Skip to content

FeatherRPC v1.5.0

Choose a tag to compare

@kuberbassi kuberbassi released this 06 Dec 05:40
· 11 commits to main since this release

v1.5.0 (2026-12-06)

Performance & Resource Efficiency

  • Zero-wakeup tray event loop: Replaced the 50 ms PeekMessageW polling loop with an event-driven MsgWaitForMultipleObjectsEx + CreateEventW loop (0% idle CPU and 0 wakeups/sec on the UI thread).
  • Working-set memory trimming: Added Win32 SetProcessWorkingSetSize trimming after startup initialization, update checks, and idle transitions.
  • Dirty-checked Discord IPC & pipe backoff: Skips redundant SET_ACTIVITY JSON serializations and named-pipe roundtrips when track/state/timestamps (within 2s) haven't changed, and backs off pipe reconnect attempts to 5s when Discord is closed.
  • Event-driven companion wakeup & adaptive polling: Browser Companion POST /update wakes the background thread immediately via Condvar; steady polling uses 2s while playing and 4s while idle, and config snapshots only clone on version change.
  • Zero-spawn startup & single-instance check: Replaced reg.exe subprocesses with native Win32 Registry APIs, and added a Local\FeatherRPC_SingleInstance mutex + ToolHelp snapshot fast path so taskkill.exe only runs when another instance is actually active.
  • Shared HTTP agent & extension deduplication (extension/ v1.5.0): Reuses a single ureq::Agent with timeouts and single-entry cache eviction in artwork.rs, and deduplicates content.js companion POSTs to state changes, seeks (>3s), or 5s heartbeats while playing.

Fixes

  • Moved manual tray "Check for Updates" network requests off the UI thread with an in-flight guard so the tray menu stays responsive.
  • Fixed browser media classification so generic browser sessions aren't mislabeled as YouTube Music.