Skip to content

MXray v1.1.0

Choose a tag to compare

@themoein100 themoein100 released this 28 Sep 10:20

Use v1.1.1 instead. The macOS slice in this release requires macOS 27.

LibXray rebuilt on Xray-core v26.9.9, with the Network Extension memory fixes from themoein100/Xray-core included for the first time.

Core

  • Xray-core v26.7.x → v26.9.9, built with Go 1.27.
  • Hysteria 2 port hopping follows the core's new udphop UDP mask. Share links without hop-interval default to 30 s, since the core no longer accepts a hop mask without an interval.
  • proxySettings on outbounds was removed upstream; use streamSettings.sockopt.dialerProxy.

Network Extension memory

Under heavy traffic the extension could reach the ~50 MB jetsam limit and be killed without a stop reason. This release includes the fixes:

  • UDP DNS sessions end after 5 s idle, instead of lasting the whole connection idle timeout.
  • UDP flows are closed when the stack stops, so they no longer outlive a core restart.
  • gVisor TCP buffers are capped at 256 KiB per connection (down from 6–8 MiB).
  • XHTTP HTTP/2 receive windows are capped at 512 KiB per stream and 4 MiB per connection. This fix is rewritten for Go 1.27; the previous approach no longer had any effect.
  • Darwin TUN writes retry briefly on ENOBUFS instead of dropping the packet.

Compatibility

No Swift API changes. Existing code builds without modification.

.package(url: "https://github.com/themoein100/MXray.git", from: "1.1.0")

LibXray.xcframework.zip SwiftPM checksum: 3555e4ef033c36b9789465dd6636f6d21c1a44b095f7e8a77d174122d4e0370d