mirror of
https://github.com/fscarmen/sing-box.git
synced 2026-08-10 17:55:16 +08:00
v1.3.6 feat: refactor change_config, optimize text() and unify TLS_SERVER handling
- Replace change_cdn() with change_config() supporting multi-field edits (CDN, Reality SNI, node name, UUID/password, server IP) via unified menu - Rewrite text() with bash nameref + pre-scanned TEXT_NEEDS_EVAL map to eliminate per-call grep subprocesses - Refactor ssl_certificate() to accept a TLS_SERVER parameter instead of using global TLS_SERVER_DEFAULT - Remove per-protocol TLS_SERVER array; use single scalar read from cert SAN - Localize cert fingerprint variables inside export_list() - Bump version to v1.3.6 (2026.03.22) v1.3.6 重构:统一修改入口 change_config、优化 text() 函数、统一 TLS_SERVER 处理 - 用 change_config() 替换 change_cdn(),通过统一菜单支持多项修改(CDN、Reality SNI、节点名、UUID/密码、服务器 IP) - 用 bash nameref + 预扫描 TEXT_NEEDS_EVAL 关联数组重写 text() 函数,消除每次调用产生的 grep 子进程 - 重构 ssl_certificate(),改为接受 TLS_SERVER 参数,不再依赖全局变量 TLS_SERVER_DEFAULT - 移除各协议独立的 TLS_SERVER 数组,改为从证书 SAN 读取统一标量 - 将证书指纹变量局部化至 export_list() 内部 - 版本升级至 v1.3.6 (2026.03.22)
This commit is contained in:
@@ -24,6 +24,8 @@
|
||||
|
||||
* * *
|
||||
## 1.更新信息
|
||||
2026.03.22 v1.3.6 1. Refactor: Support modification after installation (CDN, Reality SNI, node name, UUID/password, server IP); 2. Perf: Rewrite text() with bash nameref and pre-scanned TEXT_NEEDS_EVAL map to eliminate per-call grep subprocesses, significantly reducing repeated string-lookup overhead; 1. 重构:支持安装后多项修改(CDN、Reality SNI、节点名、UUID/密码、服务器 IP);2. 性能优化:用 bash nameref 和预扫描 TEXT_NEEDS_EVAL 关联数组重写 text() 函数,消除每次调用产生的 grep 子进程,大幅降低字符串查找开销
|
||||
|
||||
2026.03.14 v1.3.5 Performance: Optimize concurrent process execution to significantly accelerate script installation. 性能优化:优化并发进程执行,大幅提升脚本安装速度
|
||||
|
||||
2026.02.08 v1.3.4 Chore: upgrade SS encryption method to SS-2022 spec; 新装的 Shadowsocks 协议加密方式从 aes-128-gcm 改为 2022-blake3-aes-128-gcm
|
||||
|
||||
Reference in New Issue
Block a user