Skip to content

v0.4.1

Choose a tag to compare

@github-actions github-actions released this 07 Jun 15:55
· 100 commits to master since this release

v0.4.1

Highlights

  • Added dedicated proxy toggles:
    • xrat proxy shell toggle for shell environment proxy variables.
    • xrat proxy desktop toggle for GNOME desktop proxy settings, with manual proxy mode by default and optional PAC mode via --pac.
  • Added xratui installer shortcut so installed builds can launch the TUI directly with xratui.
  • Made config/subscription CLI output ref-first by hiding internal database IDs in user-facing outputs.

Proxy

  • Moved shell proxy toggling from xrat proxy toggle to xrat proxy shell toggle.
  • Added desktop proxy toggling for GNOME via gsettings.
  • Simplified xrat proxy info so it shows active local endpoints only, without environment variables or toggle hints.
  • Hardened PAC output:
    • Uses concrete loopback proxy destinations instead of 0.0.0.0.
    • Removes DIRECT fallback when a proxy is active.
    • Normalizes hostnames before matching.
    • Resolves hostnames before private IPv4 checks and handles DNS resolution failures safely.

CLI Output

  • list, show, test, status, rotate, and import summaries now prefer stable refs over internal config/subscription database IDs.
  • Machine-readable outputs for config/subscription data now omit internal IDs where refs are the public identifier.
  • Numeric IDs remain accepted as command input for compatibility.

Install & Docs

  • install.sh now installs an xratui shortcut next to the xrat binary.
  • Installer quick start now shows xrat connect <ref>, xrat proxy shell toggle, xrat proxy desktop toggle, and xratui.
  • Updated CLI, proxy, TUI, quickstart, runtime, rotate, and testing docs for ref-first commands and new proxy behavior.