mirror of
https://github.com/clash-verge-rev/clash-verge-rev.git
synced 2026-11-18 18:02:08 +08:00
* 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>
60 lines
2.8 KiB
Markdown
60 lines
2.8 KiB
Markdown
<!-- Release-notes skeleton. Entries accumulate in ./Changelog.md as PRs land;
|
|
before publishing a release, distill them:
|
|
- user-visible changes only — no dev tooling, CI fixes, or refactors whose
|
|
effect is already covered by another entry
|
|
- describe outcomes, not internals: no internal module names, IPC or
|
|
protocol details, or implementation mechanics — write what the user
|
|
observes, not how the code achieves it
|
|
- one line per theme: merge entries that share a root cause
|
|
- each entry fits a single readable line (about 60 CJK characters); if it
|
|
overflows, it is packing multiple themes or detail that belongs in the
|
|
linked issue/PR — split it or drop the detail
|
|
- line grammar: open with a verb (修复/新增/优化), with the platform
|
|
first (Windows/macOS/Linux) when the change is platform-specific;
|
|
merge sub-symptoms as 主题:症状、症状; full-width punctuation,
|
|
「」 for UI labels, backticks for config keys and commands
|
|
- platform entries sit under their platform heading (bold, emoji
|
|
prefixed, ordered Windows/macOS/Linux, combined for pairs like
|
|
macOS/Linux) at the end of their section;
|
|
scripts-workflow/group_platforms.sh regroups, --check verifies
|
|
HTML comments are stripped by the update dialog's sanitizer and hidden on
|
|
GitHub, so they never reach users. -->
|
|
## v2.6.0
|
|
|
|
<details>
|
|
<summary><strong> 🐞 修复问题 </strong></summary>
|
|
|
|
- 修复应用退出时无条件重写 `clash.yaml`、`verge.yaml` 和 `profiles.yaml` 导致文件创建时间丢失的问题
|
|
|
|
- 修复检测更新后又发布新版时,应用内更新失败
|
|
- 修复订阅响应过大导致内存占用过高,限制单次下载为 4 MiB
|
|
- 修复全局模式默认停在 `DIRECT` 或 `REJECT` 导致流量未经代理,现自动切换到第一个策略组
|
|
- 修复订阅中未加引号的 REALITY `short-id`(如 `1234e123`)被误读为数字,导致订阅无法启用
|
|
- 修复订阅中唯一的代理组名为 `GLOBAL` 或没有代理组时,规则模式下代理页面显示「未获取到代理信息」
|
|
|
|
**🍎 macOS**
|
|
|
|
- 修复 macOS TUN 模式下原有 DNS 被清除、关闭后 DNS 未恢复及联网后设置未生效
|
|
- 修复 macOS 断网时误报代理已回退直连,恢复联网后自动重试系统代理
|
|
|
|
</details>
|
|
|
|
<details>
|
|
<summary><strong> ✨ 新增功能 </strong></summary>
|
|
|
|
- 新增连接页面按网络协议(TCP/UDP)筛选连接
|
|
|
|
</details>
|
|
|
|
<details>
|
|
<summary><strong> 🚀 优化改进 </strong></summary>
|
|
|
|
- 优化连接、规则和日志筛选:切换页面后保留过滤条件
|
|
- 优化全局模式代理列表:仅显示 `GLOBAL` 节点,选中其中的策略组时才显示该组
|
|
|
|
**🍎 macOS**
|
|
|
|
- 优化 macOS TUN 模式的系统 DNS,增加阿里和 Cloudflare 地址
|
|
|
|
</details>
|