Skip to content

v0.6.12

Choose a tag to compare

@psurma psurma released this 18 Feb 12:11
· 11 commits to main since this release

Security

  • open_url now validates URL structure and blocks shell metacharacters
  • Debug log and history files created with 0600 permissions (owner-only)
  • History file uses atomic write (write to .tmp then rename) to prevent corruption
  • Capabilities scoped to ["panel"] window instead of wildcard ["*"]

Improved

  • Extracted shared sparkline rendering function (DRY)
  • Extracted fetch_with_timeout() helper and merged duplicate history loading (DRY)
  • Fixed history file race condition with Mutex
  • Timers cleared when panel is hidden (saves network/battery)
  • Faster string-based escapeHtml() replacing DOM-based version
  • Consolidated multiple Local::now() calls to avoid midnight edge case
  • Removed dead code (get_stay_on_top_pref)
  • Named constants for blur threshold and sparkline dimensions