v1.8.7

XTLS/Xray-corev1.8.7Jan 7, 2024by yuhan6665

AI Summary

This release updates to Go 1.21, which drops support for Windows 7. It introduces Windows support for DomainSocket and sockopt, along with new debugging and configuration tools.

Key Highlights

  • Go 1.21 compatibility drops Windows 7 support (requires downgrading to v1.8.4).
  • DomainSocket and sockopt `interface` support added for Windows.
  • New `wg` command for generating WireGuard key pairs.
  • New `xray run -dump` command for debugging merged configurations.
  • TLS settings now support `masterKeyLog` for local traffic decryption debugging.

Breaking Changes

  • Go 1.21 requirement drops Windows 7 support.

New Features

  • Routing configuration `type: field` can now be left empty.
  • Balancer adds `roundRobin` strategy for sequential outbound selection.
  • DomainSocket transport support on Windows.
  • Sockopt `interface` support on Windows.
  • New `wg` command for key generation.
  • New `xray run -dump` command for config output.
  • TLS settings `masterKeyLog` added for debugging.

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
- 路由配置 `"type": "field"` 可留空 #2841 @Fangliding
- 优化 `websocket` 多并发时的表现 #2767 @Fangliding
- `balancer` 新增 `roundRobin` 策略(顺序选择出口) #2844 @hossinasaadi
- `domainsocket` 传输方式支持 Windows 平台 #2851 #2866 @yin1999
- sockopt `interface` 支持 Windows 平台 #2819 @zhangsan946
- 新增 `wg` 命令 用以生成一对密钥 #2794 @chise0713
- 新增 `xray run -dump` 命令 用以输出多文件配置融合之后的结果 #2854 @vrnobody
- tlsSettings 新增 `masterKeyLog` 可以在本地调试解密流量 #2758 @yuhan6665 
- 使用 `make` 编译 xray 更新发布脚本 #2882 @chise0713

## Fixes
- 修复一个在 iOS 上的 Reality 崩溃 #2847 @hossinasaadi
- 当 DNS 查询得到 `RcodeRefused` 时继续尝试下一个 DNS #2878 @dop-bot
- 一些针对安卓客户端的修复 包括可以用域名连接 `Wireguard` `quic` 服务端 延迟读取 XUDP 环境变量 @yuhan6665 

## Chores
- 可以返回读取 OCSP stapling 的错误 #2788 @alrs 
- 更新 readme @gorilla800 @FranzKafkaYu @R8s6 
- 更新所有依赖 包括 Sing @H1JK @wyx2685 @alrs