Skip to content

Release v0.5.0

Choose a tag to compare

@jLAM-ERR jLAM-ERR released this 11 Jul 21:52
· 12 commits to main since this release
Immutable release. Only release title and notes can be modified.
3c1a444

Corvex v0.5.0 Release Notes

Highlights

Rootless macOS proxy management — no more sudo required. Native Touch ID / password dialog for privilege escalation.

What's New

Rootless macOS Proxy

corvex no longer requires sudo to set system proxy on macOS. When networksetup write operations fail due to missing admin privileges, corvex automatically falls back to osascript which shows a native macOS authorization dialog (Touch ID or password).

  • macOS caches authorization for ~5 minutes — only one dialog per session even though enable_proxy makes 6 networksetup calls
  • sudo corvex start bypasses the dialog entirely (direct call succeeds)
  • SSH / headless — clear error message: "No GUI session available — run with sudo instead"
  • User cancel — clean abort: "Authorization denied — proxy settings were not changed"
  • Read operations (corvex status) continue to work without any escalation
  • Uses full path /usr/sbin/networksetup in privileged context to prevent PATH hijacking

Windows Improvements

  • Fixed config paths for %APPDATA% / %LOCALAPPDATA%
  • Reworked xray process lifecycle on Windows (direct TerminateProcess instead of unreliable GenerateConsoleCtrlEvent)
  • Clippy fixes

Usage

corvex start                                    # Shows auth dialog if needed (macOS)
sudo corvex start                               # Bypasses dialog
corvex stop                                     # Same auth behavior
corvex status                                   # No auth needed (read-only)

Migration from v0.4.0

No configuration changes required. Existing corvex.json files are fully compatible.


Full Changelog: v0.4.0...v0.5.0