Repository navigation
CoreXray 261109.2.0
Core: XTLS/libXray v26.11.9
Swift: 2.0
NEW:
XraySession.stopAsync()— async stop for structured-concurrency call sites.XrayTrafficMonitor.decodeSnapshot(from:taken:)— decode a metrics payload without a live monitor.- Traffic, probe, and ping result models gain public initializers; previously only the engine could construct them.
CHANGES:
Xray.shared.fakeDNS(ipPool:poolSize:)now throws.invalidInputon a non-positive pool instead of trapping. Call sites addtry. This is the release's one breaking change.- Subscription feeds run under one overall fetch-and-top-up budget, error messages redact query tokens, and JSON documents launch directly as configurations. Feed sanitization keeps allow-listed
envkeys only and rejects non-loopback inbounds. - Deadline starts throw
.timedOutwith a recovery hint, cancel promptly, and reap their orphan without touching a newer launch.health()waits for a legitimately busy lane instead of reporting wedged. validate()no longer applies the documentenvto the process;validateOffline()ignores unknown top-level sections except the removed legacyreverseportal, matching the engine.- Underscore
envspellings (XRAY_LOCATION_ASSET,XRAY_TUN_FD) are honored everywhere the dotted spellings are.
FIXES:
- TUN descriptor backstop on every launch path: fd-less launches clear stale descriptors instead of inheriting them, and an uppercase-only descriptor is never shadowed by an empty canonical key.
- The DNS-relay route is ordered before the final catch-all, so relay traffic can no longer fall into the terminal rule first.
- The stall watchdog stops firing once released, and a cancelled snapshot poll rethrows
CancellationErrorinstead of a bridge failure. - Ping failure sentinels read as zero latency with the engine's reason in
failureReason.
Full Changelog: 261109.1.1...261109.2.0