Skip to content

v0.5.37

Choose a tag to compare

@dantelex dantelex released this 24 Feb 05:35
· 5 commits to main since this release

Bug Fixes (Issues #65–#72)

#65 — Tray: "Quit" kills all processes instead of exiting

  • Fixed hardcoded menu IDs ("0", "1") that never matched the random IDs generated by tray-icon
  • Replaced with explicit MenuItem::with_id using stable IDs "kill_all" and "quit"
  • Removed destructive fallback that killed all processes for unrecognized menu IDs

#66 — Guard mode restarts leak zombie processes

  • Replaced std::mem::forget(child) with a background reaper thread that calls child.wait()
  • Fixed truncated working directory (relative path) that broke RestartManager::execute_restart
  • Fixed last_restarted timestamp never being updated on actual restarts

#67 — Cache safe-delete destroys backup after partial failure

  • Removed backup deletion on partial original removal failure — backup is now preserved
  • Fixed symlink materialization: top-level symlinks are now copied as symlinks
  • Fixed find_latest_backup sorting by mtime (unstable) to sorting by directory name (ISO 8601 timestamps)

#68 — Process monitor never emits updates

  • Fixed change detection: scan_processes updated internal state before the caller could compare, so changes were never detected
  • Fixed restart info only being saved in verbose mode — now fetches verbose info on demand during kill

#69 — Port Guard ignores reservations and per-port allowed process names

  • Added effective_watched_ports() that merges initial ports with reservation keys
  • Added allowed_name_for_port() that checks per-port reservations before falling back to global name
  • Updated all enforcement, conflict detection, and command interception to use these helpers

#70 — Cache detection double-counts nested caches

  • Python/Java detectors now use skip_current_dir() to prune the walk when a cache directory is found
  • Removed duplicate Torch hub and HuggingFace transformers sub-cache entries

#71 — Cache clean flags are mutually exclusive; --stale-days ignored

  • Made specialized flags and language detection additive instead of mutually exclusive
  • Added entries.retain(|e| e.stale) filtering when stale_days is provided
  • Narrowed ~/.cargo → ~/.cargo/registry and ~/.m2 → ~/.m2/repository to prevent toolchain destruction
  • Applied same fix to list.rs

#72 — Cache restore reports success on failure

  • Added error: Option<String> to RestoreResponse
  • find_latest_backup now skips directories without manifest.json
  • CLI now exits with code 1 when restore fails (all three entry points)

Full Changelog: v0.5.36...v0.5.37