Files
clash-verge-rev/Changelog.md
T
4adac9e4b6 fix(config): stop rewriting unchanged configs on exit (#8017)
* fix(config): stop rewriting unchanged configs on exit

apply_all_and_save_file() committed the drafts and then saved clash.yaml,
verge.yaml and profiles.yaml unconditionally. With nothing staged that write
replaced each file with content equal to what was already on disk - fields are
encrypted with a fresh nonce, so the bytes differ every time - which reset the
files' creation time on every exit (#7759).

Draft::apply now reports whether it committed a draft, and the exit path saves
only the configs that had one.

* refactor(tests): remove test snippets

Signed-off-by: ❤是纱雾酱哟~ <49941141+Dragon1573@users.noreply.github.com>

* docs(changelog): add entry of the PR modifications

Assisted-by: Gemini 3.8 Flash Medium (VSCode Copilot Chat)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Signed-off-by: ❤是纱雾酱哟~ <49941141+Dragon1573@users.noreply.github.com>

---------

Signed-off-by: ❤是纱雾酱哟~ <49941141+Dragon1573@users.noreply.github.com>
Co-authored-by: sdhfsl <sdhfsl@users.noreply.github.com>
Co-authored-by: ❤是纱雾酱哟~ <49941141+Dragon1573@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-11-11 17:33:03 +00:00

2.8 KiB

v2.6.0

🐞 修复问题
  • 修复应用退出时无条件重写 clash.yaml、verge.yaml 和 profiles.yaml 导致文件创建时间丢失的问题

  • 修复检测更新后又发布新版时,应用内更新失败

  • 修复订阅响应过大导致内存占用过高,限制单次下载为 4 MiB

  • 修复全局模式默认停在 DIRECT 或 REJECT 导致流量未经代理,现自动切换到第一个策略组

  • 修复订阅中未加引号的 REALITY short-id(如 1234e123)被误读为数字,导致订阅无法启用

  • 修复订阅中唯一的代理组名为 GLOBAL 或没有代理组时,规则模式下代理页面显示「未获取到代理信息」

🍎 macOS

  • 修复 macOS TUN 模式下原有 DNS 被清除、关闭后 DNS 未恢复及联网后设置未生效
  • 修复 macOS 断网时误报代理已回退直连,恢复联网后自动重试系统代理
✨ 新增功能
  • 新增连接页面按网络协议(TCP/UDP)筛选连接
🚀 优化改进
  • 优化连接、规则和日志筛选:切换页面后保留过滤条件
  • 优化全局模式代理列表:仅显示 GLOBAL 节点,选中其中的策略组时才显示该组

🍎 macOS

  • 优化 macOS TUN 模式的系统 DNS,增加阿里和 Cloudflare 地址