Skip to content

Releases

v261109.2.0

Choose a tag to compare

@github-actions github-actions released this 01 Dec 19:15

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

v261109.1.1

v261109.1.1 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 10 Nov 10:25

CoreXray 261109.1.1

Core: XTLS/libXray v26.11.9
Swift: 1.1

NEW:

  • This release contains no new APIs

CHANGES:

  • Core v26.10.31 → v26.11.9: mux defaults rise (concurrency 8→128, max connections 128→1024); new hellochrome_155 fingerprint picked up automatically through existing configs; freedom finalRules gain delay/logLevel (blockDelay still accepted, deprecated) — available via raw JSON/transform, not typed API; remaining upstream diff is Windows-only or internal.
  • Log section now emits the canonical logLevel key matching upstream spelling (accepted by old and new engines alike).
  • Maintainer docs (versioning, core-update flow, repo layout) moved from README to CONTRIBUTING.md; pushing a tag now drafts the release notes automatically.

FIXES:

  • This release contains no bug fixes

Full Changelog: 261031.1.1...261109.1.1

v261031.1.1

v261031.1.1 Pre-release
Pre-release

Choose a tag to compare

@amirsaam amirsaam released this 06 Nov 22:33

CoreXray 261031.1.1

Core: XTLS/libXray v26.10.31
Swift: 1.1

NEW:

  • XraySession.usage (XrayDataUsage): per-session upload/download counters. Call session.usage.advance(snapshot) once per traffic poll, then read usedUp / usedDown / usedTotal. These accumulate outbound-side bytes only, so they report wire-accurate usage; totalUp / totalDown remain engine-doubled reconciliation figures and must not back usage labels. Counters reset on each successful start and survive stop for disconnect reports.

CHANGES:

  • All deadline and interval parameters are now TimeInterval seconds instead of Duration: start(_:options:deadline:), start(_:config:options:deadline:), start(remoteSubscription:deadline:timeoutSeconds:), and the watchdog interval / stalledAfter. Same behavior; call sites change from deadline: .seconds(20) to deadline: 20.

FIXES:

  • 261031.1.0 is not usable on iOS 15: it used iOS 16-only APIs (Duration, ContinuousClock, Task.sleep(for:)), so the module failed to emit when an app built for the iOS 15. 261031.1.0 users on iOS 15 must move to 261031.1.1.

Full Changelog: 261031.1.0...261031.1.1

v261031.1.0

v261031.1.0 Pre-release
Pre-release

Choose a tag to compare

@amirsaam amirsaam released this 06 Nov 19:24

CoreXray 261031.1.0

Core: XTLS/libXray v26.10.31
Swift: 1.0 (initial release)