v1.8.6

XTLS/Xray-corev1.8.6Nov 18, 2023by yuhan6665

AI Summary

Introduces WireGuard inbound and outbound support with kernel mode options, optimizes `freedom` outbound with splice, and improves DNS query strategies.

Key Highlights

  • WireGuard inbound/outbound support (requires root or `kernelMode: false`).
  • Automatic splice optimization for `freedom` outbound.
  • Unified DNS resolution preferences across `freedom`, `wireguard`, and `sockopt`.
  • Sockopt `interface` support added for iOS and Mac OS.
  • New `sockopt` option `tcpMptcp` for Multipath TCP.

Breaking Changes

  • Go 1.21 requirement drops Windows 7 support.

New Features

  • WireGuard inbound and outbound support.
  • Automatic splice copy for `freedom` outbound.
  • Unified domain resolution preferences.
  • DNS `queryStrategy` can be set per server.
  • Sockopt `interface` on iOS/Mac OS.
  • Sockopt `tcpMptcp` support.

Full Release Notes

### Note
因为 golang 1.21 已放弃支持老系统比如 `win 7` 如果无法使用请降级 [v1.8.4](https://github.com/XTLS/Xray-core/releases/tag/v1.8.4) 老系统名单详见 https://tip.golang.org/doc/go1.20

## Features
- 新增 `wireguard` 入站 以及使用 linux 内核 tun 网卡的出站 #1974 #2477 @kunsonx @hax0r31337 @nekohasekai
**注意: 如果没有 root 权限 需要添加配置项 `"kernelMode": false`**
- `freedom` 出站自动启用 splice 拷贝(前提为入站流量不加密 例如 `dokodemo-door`, `VLESS` with `XTLS`) efd32b0fb2a4f1b2d2e98b21916cfd9aa0e0b497 @yuhan6665 
- 统一了 `freedom` `wireguard` `sockopt` 域名解析偏好设置项 #2014 #2026 #2043 @rui0572 
- `queryStrategy` 可以在每一项 `DNS` 服务器中分别设置 #2564 @cty123
- sockopt `interface` 支持 iOS/Mac OS #2582 @hossinasaadi
- sockopt 新增 `tcpMptcp` #2520 @yylt

## Fixes
- 多文件配置入站和出站可以追加而不是替换 #2655 #2659 @hossinasaadi
- 修复一个罕见的 Vision 崩溃 291061e9da6a5e1777f79c76e8c0859df8db821c @yuhan6665 
- QUIC 配置(无效) `DialerProxy` 崩溃 #2725 @cty123

## Chores
- Vision Reader Writer 重构 d6d225c6981812f024f90adab8cefc26a5ac0937 @yuhan6665 
- bindAddr for darwin(内部功能)#2609 @hossinasaadi
- 移除了 dragonfly 构建 @yuhan6665 
- 整理环境变量和一些日志 @yuhan6665 
- 新增 VLESS 单元测试 @yuhan6665 
- destOverride 匹配字符串 7264750e28be632773117d76e445af7d47398475 @dyhkwong
- 更新 readme @0xland @lilendian0x00
- 注释拼写修正 @eltociear
- 更新所有依赖