Tunglies
1ec3385b10
fix timer clippy warnings
2026-05-21 22:11:42 +08:00
Tunglies
e7b988f412
chore: translate timer logs to english
2026-05-21 21:56:38 +08:00
Tunglies
a142e55a65
refactor timer scheduler
2026-05-21 21:55:19 +08:00
Tunglies
e246db851b
fix(timer): prevent potential panic by using saturating_mul for interval calculations
2026-05-21 21:19:49 +08:00
Tunglies
8d15fc6f46
refactor: improve logging messages in Timer implementation
2026-05-21 21:19:49 +08:00
Tunglies
881916ac86
Refactor timer management and remove delay_timer dependency
...
The delay_timer spawned tokio threads of cores, which not controled by expected.
2026-05-21 21:19:47 +08:00
Tunglies
bedcb8a07c
fix: update tauri-plugin-mihomo and related dependencies
...
close #7073
2026-05-21 18:34:47 +08:00
Tunglies
8efbf9e7fd
fix: clippy errors for rust 1.97
2026-05-21 12:48:48 +08:00
Tunglies
c7a989b484
fix(macOS): improve tray speed rendering attributes
2026-05-21 12:41:51 +08:00
Tunglies
d05ead9cdd
chore: track tauri-plugin-mihomo main updates
2026-05-21 12:16:17 +08:00
AetherWing
bdbc617aff
fix: disable WebView2 general autofill ( #7062 )
2026-05-21 04:01:31 +00:00
renovate[bot] and renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
0113086d2a
chore(deps): update cargo dependencies ( #7060 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-05-20 21:26:20 +08:00
631c9d1b61
chore(deps): update cargo dependencies ( #6932 )
...
* chore(deps): update cargo dependencies
* MSRV 1.95.0
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Tunglies <77394545+Tunglies@users.noreply.github.com >
Co-authored-by: Tunglies <tunglies.dev@outlook.com >
2026-05-20 13:11:02 +00:00
Tunglies
46fb817fe4
chore:bump version to 2.5.2
2026-05-20 14:27:32 +08:00
Christine.
6ebdaaa7ff
fix: switch node slowly on Windows ( #7052 )
2026-05-20 14:21:24 +08:00
Tunglies
6f36613103
chore: bump version to 2.5.1
2026-05-19 14:01:41 +08:00
Tunglies
69c75e92f4
Release 2.5.0
2026-05-19 13:07:20 +08:00
Tunglies
977783e39c
refactor: simplify media unlock results
2026-05-18 23:14:27 +08:00
Tunglies
09e491885f
fix: stop disabled system proxy guard
...
close #7004
2026-05-18 21:31:19 +08:00
Tunglies
edf5246e7f
fix: mask subscription URLs in backend logs
2026-05-17 13:13:16 +08:00
Tunglies
4ade3a840f
refactor: run exit cleanup on exit request
2026-05-17 00:47:25 +08:00
Tunglies
07cbecb01d
fix: prevent lightweight mode exit cleanup ( #6973 )
...
close #6973
2026-05-17 00:28:11 +08:00
Tunglies
bd10ef8ec9
fix: improve youtube premium unlock check
2026-05-16 01:11:34 +08:00
Tunglies
662dd20be1
fix(linux): show window after page load #7002
2026-05-14 21:52:03 +08:00
Tunglies
b7ae54b9f3
fix(wayland): disable webkit dmabuf renderer on legacy wayland versions (<1.23) #6999 ( #7000 )
2026-05-14 21:11:08 +08:00
Tunglies
d79ad8976a
chore: bump tauri-plugin-mihomo to 0.1.8
2026-05-13 02:18:29 +08:00
Tunglies
e538fa0573
fix: comment out useless exit handling
2026-05-11 00:11:02 +08:00
Tunglies
3956b0d034
fix(tray): include macOS speed text in click target
2026-05-09 02:32:27 +08:00
Tunglies
178b33beef
Release 2.5.0-rc
2026-05-06 16:25:23 +08:00
wonfen
2056930f9f
fix: preserve reqwest error chain for TLS fallback detection
2026-05-01 20:49:34 +08:00
Tunglies
20808c0c11
fix(sysproxy): preserve global proxy apply order #6760 , #6832 , #6790 , #6793 , #6801
2026-04-30 19:17:50 +08:00
Tunglies
13fb18ceaf
fix: debounce toggle hotkeys #6796 ( #6905 )
2026-04-29 05:03:08 +00:00
wonfen
33d7988ac9
feat: retry subscription downloads with webpki roots on TLS failures
2026-04-27 08:43:30 +08:00
Tunglies
b85b435e00
refactor: structure config validation outcomes
...
- Replace boolean/string validation results with structured ValidationOutcome values across config validation, profile switching, DNS validation, and script validation. Callers can now distinguish valid, invalid, skipped, and busy states, with invalid results carrying an error kind and message.
- Route core config updates through structured outcomes and checked forced updates. Generation and validation failures now discard runtime drafts and surface validation failures instead of relying on empty success messages.
- Preserve existing frontend ergonomics by keeping boolean service wrappers where callers only need success, while direct DNS and script validation consumers receive ValidationOutcome. Failed profile editor saves reload the backend-restored file content and synchronize Monaco models so reopened editors show the restored state.
2026-04-25 13:31:08 +08:00
Tunglies
762f9a96fd
refactor media unlock task collection
2026-04-24 20:20:50 +08:00
Tunglies
4e62bcf7b8
chore: migrate service to 2.3.0
...
- Bump clash_verge_service_ipc to 2.3.0 and refresh the lockfile for its updated dependency graph.
- Re-check the running service version after install/start so a stopped old 2.2.0 service is reinstalled before use.
2026-04-24 18:59:42 +08:00
wonfen
4d408a8c1a
fix: serialize OS state reads with in-progress update_sysproxy
2026-04-22 12:20:26 +08:00
Tunglies
4718c80498
chore(windows): bump sysproxy-rs to 0.5.4
2026-04-16 13:38:46 +08:00
Tunglies
30ed2ac829
feat(runtime): cap tokio worker threads at 16 and scale blocking threads ( #6261 )
...
This prevents the runtime from spawning an excessive number of threads on
high-end CPUs, reducing memory footprint and context switching.
Introduces a dynamic cap for worker threads (max 16) and scales
blocking threads proportionally. Includes thread naming for diagnostics.
2026-04-15 08:38:19 +00:00
sgt57 and Tunglies
8c7b5abcb5
fix(tun): restart core when tun mode is toggled to true on linux ( #6800 )
...
* fix(tun): restart core when tun mode is toggled to true on linux
* fix(changelog): add note for Linux TUN not taking effect immediately
---------
Co-authored-by: Tunglies <77394545+Tunglies@users.noreply.github.com >
2026-04-15 14:08:17 +08:00
renovate[bot] and renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
87810c18df
chore(deps): update rust crate nanoid to 0.5 ( #6803 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-04-14 09:09:36 +00:00
a4c537541e
chore(deps): update rust crate rust-i18n to v4 ( #6784 )
...
* chore(deps): update rust crate rust-i18n to v4
* fix: migrate rust-i18n to v4 with Cow-first zero-copy approach
- Adapt to v4 breaking changes: available_locales!() returns Vec<Cow<'static, str>>
- Cache locales in LazyLock<Vec<Cow<'static, str>>> to avoid repeated Vec alloc + sort
- Propagate Cow<'static, str> through resolve/current/system_language APIs
- Fix t! macro args branch: into_owned() + Cow::Owned for type correctness
- Eliminate double resolve in sync_locale (skip redundant set_locale indirection)
- Replace .to_string() with .into_owned() / Cow passthrough in updater.rs
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Tunglies <77394545+Tunglies@users.noreply.github.com >
2026-04-12 11:11:16 +00:00
Tunglies
749b6c9e30
feat(script): convert script execution to async and add timeout handling
2026-04-12 11:20:28 +08:00
Tunglies
e6a88cf9c9
refactor: improve service manager initialization by reducing lock duration
2026-04-12 11:15:34 +08:00
Tunglies
0f41f1bc8d
refactor: optimize deep_merge function using iterative stack approach
2026-04-12 11:13:17 +08:00
Tunglies
a6687a3839
feat(tls): refactor TLS configuration to use static Lazy instance
2026-04-12 03:28:24 +08:00
Tunglies
20fddc5cff
feat: add bytes dependency and optimize buffer handling in test_delay function
2026-04-12 03:26:48 +08:00
Tunglies
6fea76f7e3
feat(core): enable enhanced panic diagnostics and observability
...
Transitioned panic strategy from 'abort' to 'unwind' and integrated a
global panic hook into the logging framework.
This change allows the application to capture critical failure metadata—
including specific file locations, line numbers, and panic payloads—
persisting them to local logs before exit.
Note: We prioritize troubleshooting capability and long-term stability
at this stage. Reverting to 'panic = abort', `debug = false`,
`strip = true`, `remove split-debuginfo` for peak performance and
minimal binary size will only be considered once the project reaches
a mature state with near-zero community-reported crashes.
2026-04-12 03:26:48 +08:00
Tunglies
0e38ccbb9d
fix: clippy error on macOS
2026-04-10 21:40:29 +08:00
9e5da1a851
feat(tray): 恢复并重构托盘显示速率功能 ( #6487 )
...
* feat(tray): 恢复并重构托盘显示速率功能
* docs(changelog): add tray speed feature entry for v2.4.7
* refactor(tray): 将托盘速率显示限制为仅 macOS
* chore(style): 统一托盘速率设置相关代码风格
* refactor(tray): 统一 speed 任务调度并移除循环内配置轮询
* chore(tauri): enable createUpdaterArtifacts for updater support
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
* refactor(tray): refine macOS tray speed formatting and two-line alignment
* refactor(tray): move to utils
* refactor(tray): improve macOS speed display formatting, alignment, and structure
* chore: 降级 Node.js 版本至 21.7.1
* refactor(tray): 优化 macOS 托盘速率流与显示逻辑
* refactor(tray): 将速率任务重构为独立控制器并切换至 /traffic 流
* refactor(tray): 缩短速率宽度
* refactor(tray): 收敛测速流抽象并修正停止清理时序
* docs(changelog): 更新变更日志
* refactor(tray): simplify speed formatting logic and remove redundant functions
* refactor(tray): optimize speed display logic and reduce redundant attribute initialization
* refactor(tray): enhance traffic event parsing and improve stale event handling
---------
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com >
Co-authored-by: Tunglies <77394545+Tunglies@users.noreply.github.com >
2026-04-09 14:40:32 +00:00