v24.11.30

XTLS/Xray-corev24.11.30Nov 30, 2024by RPRX

AI Summary

Introduced 'stream-one' mode for XHTTP client and server.

Key Highlights

  • Added 'stream-one' mode for XHTTP client and server.
  • XMUX: Added `keepAlivePeriod` for client.
  • WebSocket: Added `heartbeatPeriod` for client and server.

New Features

  • XHTTP stream-one mode
  • XMUX keepAlive
  • WebSocket heartbeat

Full Release Notes

##  XHTTP: Add "stream-one" mode for client & server #4071

~~又到了一月一次的大版本更新~~,让我们补上 XHTTP 近期最后一大块拼图:**XHTTP 新增 stream-one 模式,详见 #4071**

**接棒一个月,给你们一个完全体 XHTTP。客户端 REALITY 已默认使用 stream-one,请及时升级服务端。**

### 新文章已发布:[XHTTP: Beyond REALITY](https://github.com/XTLS/Xray-core/discussions/4113)

#### 预告已久的 [REALITY NFT](https://opensea.io/assets/ethereum/0x5ee362866001613093361eb8569d59c4141b76d1/2) 现已开售,请多多支持:

- 总数一千个,首发一百个的售价为 0.01 ETH,此后的售价会涨,**抢到首发就是纯捡漏**
- ~~一篇介绍 REALITY 的文章将于接下来几天发布~~ 变成了介绍 XHTTP
- **持有 REALITY NFT 可获得一个新的 Xray 客户端的早期内测资格,以及下一个 NFT 的空投,就像**
- 2025.1.1 时持有 [Project X NFT](https://github.com/XTLS/Xray-core/discussions/3633) 将获赠两个 REALITY NFT

在大家的支持下,**Project X NFT 已翻五六倍**,对于 Project X NFT 首发时观望的朋友,这是一次弥补遗憾的好机会:
https://opensea.io/assets/ethereum/0x5ee362866001613093361eb8569d59c4141b76d1/2

## What's Changed
* Chore: Refactor tests in app/router by @zonescape in https://github.com/XTLS/Xray-core/pull/4019
* Test: Remove temporary directory afterwards by @zonescape in https://github.com/XTLS/Xray-core/pull/4045
* Chore: Improved log messaging by @red-avtovo in https://github.com/XTLS/Xray-core/pull/4050
* XHTTP: Add "stream-one" mode for client & server by @RPRX in https://github.com/XTLS/Xray-core/pull/4071
* XHTTP config: Add `keepAlivePeriod` for client by @Fangliding @RPRX in https://github.com/XTLS/Xray-core/pull/4075
* WebSocket config: Add `heartbeatPeriod` for client & server by @hr567 @RPRX in https://github.com/XTLS/Xray-core/pull/4065

以及升级一些依赖。

## New Contributors
* @red-avtovo made their first contribution in https://github.com/XTLS/Xray-core/pull/4050
* @hr567 made their first contribution in https://github.com/XTLS/Xray-core/pull/4065

**Full Changelog**: https://github.com/XTLS/Xray-core/compare/v24.11.21...v24.11.30