Skip to content

v261109.2.0

Latest

Choose a tag to compare

@github-actions github-actions released this 01 Dec 19:15
· 1 commit to main since this release

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 .invalidInput on a non-positive pool instead of trapping. Call sites add try. 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 env keys only and rejects non-loopback inbounds.
  • Deadline starts throw .timedOut with 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 document env to the process; validateOffline() ignores unknown top-level sections except the removed legacy reverse portal, matching the engine.
  • Underscore env spellings (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 CancellationError instead 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