2079 Commits

Author SHA1 Message Date
Tunglies
670d7bae3b
refactor(tray): deduplicate icon getters, update_icon, and menu+icon combo
- Consolidate 3 near-identical icon getter functions into load_icon/default_icon with IconKind enum
- Merge two platform-gated update_icon implementations into one
- Extract update_menu_and_icon to eliminate duplicate combo in feat/config.rs and feat/clash.rs
2026-03-23 22:37:09 +08:00
Tunglies
0932de9f6c
fix(tray): sync tray state after all init tasks complete
Tray refresh ran in parallel with core init, so the tray could display
stale state when the core hadn't fully started yet.
2026-03-23 21:24:27 +08:00
Tunglies
77fa721119
fix(sysproxy): fully clear PAC when disabling system proxy (#6591) 2026-03-23 08:03:20 +00:00
renovate[bot]
a49807b89c
chore(deps): lock file maintenance (#6594)
* chore(deps): lock file maintenance

* chore: update Cargo.toml

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Slinetrac <realakayuki@gmail.com>
2026-03-23 04:01:31 +00:00
Tunglies
70a86b05c5
fix: align draft commit/save semantics
- use committed profiles snapshot for lifecycle saves (avoid persisting uncommitted drafts)
- remove apply/discard calls after profiles with_data_modify helpers
- persist profiles metadata explicitly in create_profile
- apply clash draft before saving mode changes
- surface deep-link profile save failures via logging
2026-03-21 18:54:47 +08:00
Tunglies
85eb3b48c2
chore: bump version to 2.4.8 2026-03-21 17:03:15 +08:00
oomeow
27217a4b76
fix: tray not update when delete profile (#6549) 2026-03-19 17:39:44 +00:00
Yurii
8c7227a563
fix: deepin-os can't launch app with desktop file (#6555)
* fix: deepin-os can't launch app with desktop file

* fix: deepin-os move desktop to clash-verge.desktop

---------

Co-authored-by: Yurii.Huang <yurii.huang@dbappsecurity.com.cn>
2026-03-19 12:08:34 +00:00
wonfen
c6a7a2fb52
fix: correct inaccurate Gemini unlock test 2026-03-19 03:01:33 +08:00
Tunglies
8b99bb5150
fix: improve window close and focus listener management 2026-03-18 10:58:51 +08:00
wonfen
0dcef80dc8
fix: avoid proxy in website tests when system proxy is off 2026-03-18 01:02:06 +08:00
wonfen
c77592d419
fix: use HEAD round-trip for HTTP in website delay testout 2026-03-17 13:05:52 +08:00
wonfen
7ae3b7b0de
feat: use real TLS latency for website testing 2026-03-17 09:24:23 +08:00
wysha-object
4ceb7e6043
feat: Allow toggling pause of traffic stats animation on blur (#6463)
* feat: Allow toggling pause of traffic stats animation on blur

* fix: React Hook useCallback has a missing dependency

* chore: i18n

---------

Co-authored-by: Slinetrac <realakayuki@gmail.com>
2026-03-16 08:17:12 +00:00
renovate[bot]
7c487fea2a
chore(deps): lock file maintenance (#6523)
* chore(deps): lock file maintenance

* chore: update Cargo.toml

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Slinetrac <realakayuki@gmail.com>
2026-03-16 06:21:57 +00:00
Slinetrac
c672a6fef3
refactor: lint (#6511)
* refactor: lint

* chore: remove eslint-plugin/config-prettier
2026-03-15 07:40:11 +00:00
renovate[bot]
41c3a166a5
chore(deps): update rust crate winreg to 0.56.0 (#6508)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-03-15 06:10:06 +00:00
renovate[bot]
b707dd264e
build(vite)!: migrate to Vite 8, switch to Oxc-based @vitejs/plugin-react, and clean up legacy compatibility config (#6492)
* chore(deps): update npm dependencies to v8

* build(vite)!: migrate to Vite 8, switch to Oxc-based @vitejs/plugin-react, and clean up legacy compatibility config

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Slinetrac <realakayuki@gmail.com>
2026-03-13 06:42:09 +00:00
Slinetrac
28959a0774
revert: mihomo ipc (#6467)
* revert: mihomo ipc

* docs: Changelog

* chore: bump frontend
2026-03-11 11:55:35 +00:00
Slinetrac
7ebf27ba52
refactor: do not trigger autobackup on profile change (#6464)
* refactor: do not trigger autobackup on profile change

* chore: i18n
2026-03-11 06:56:15 +00:00
Slinetrac
ffc2419afd
chore(deps): remove tao patch and bump dependencies (#6442) 2026-03-08 06:06:17 +00:00
Tunglies
b177a1e192
chore: update tauri-plugin-mihomo to 0.1.8 2026-03-07 12:52:15 +08:00
Slinetrac
fe60649718
refactor(core): move autostart logic out of sysopt and clean up naming (#6429) 2026-03-05 11:08:41 +00:00
Slinetrac
de2b09785d
fix: default on linux (#6420) 2026-03-04 11:53:25 +00:00
Slinetrac
05cdebd7ec
fix(window): default to custom titlebar on startup (#6419)
* fix(window): default to custom titlebar on startup

* docs: Changelog.md
2026-03-04 10:48:36 +00:00
Tunglies
39d8a0ee35
fix: optimize UI proxies refresh handling when first boot 2026-03-04 01:07:20 +08:00
AetherWing
09ea979cf7
chore: tray hotkey (#6373) 2026-03-01 09:13:42 +00:00
oomeow
25a83388bb
fix: apply config timeout (#6384)
* fix: apply config timeout

* docs: update Changelog.md

* Update src-tauri/src/core/manager/config.rs

---------

Co-authored-by: Tunglies <tunglies.dev@outlook.com>
2026-02-27 14:55:11 +00:00
Slinetrac
a7a4c3e59c
refactor(window): avoid double toggle (#6377) 2026-02-26 09:14:22 +00:00
Tunglies
262b6f8adf
fix: unexpected latency when switching nodes #6363 2026-02-26 15:47:02 +08:00
Tunglies
49fd3b04dc
fix(lightweight): fix auto lightweight mode on exit when silent startup #6368 2026-02-25 16:24:06 +08:00
Slinetrac
ca7fb2cfdb
feat(icon): move icon logic to feat::icon and fix path traversal & fake image write (#6356) 2026-02-23 13:17:12 +00:00
renovate[bot]
acab77a1b4
chore(deps): lock file maintenance (#6347)
* chore(deps): lock file maintenance

* chore(deps): update Cargo.toml

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Slinetrac <realakayuki@gmail.com>
2026-02-23 01:52:27 +00:00
Slinetrac
1bf445ddcc
fix(tun): avoid service IPC startup race on Windows (#6340)
* fix(tun): avoid service IPC startup race on Windows

* docs: Changelog.md

* style: prettier
2026-02-22 13:09:47 +00:00
wonfen
700011688b
feat: mask all URLs embedded in an error/log string for safe logging 2026-02-22 07:37:40 +08:00
oomeow
0cc9bb2f30
refactor: mihomo ipc (#6312)
* refactor: mihomo ipc

* feat: enable tauri-plugin-mihomo log

* chore: filter tauri ipc modules log

* chore: update tauri-plugin-mihomo dep

* chore: bump tauri-plugin-mihomo version to 0.1.6

---------

Co-authored-by: Tunglies <77394545+Tunglies@users.noreply.github.com>
2026-02-21 18:36:49 +00:00
wonfen
fa07dfbc9a
feat: mask sensitive parts of a subscription URL for safe logging 2026-02-21 04:19:46 +08:00
Tunglies
119aaee546
refactor: optimize profile change notifications to use references 2026-02-20 17:58:04 +08:00
Tunglies
5f573ca2d6
refactor: simplfy backend notify message to frontend (#6323) 2026-02-20 03:18:51 +00:00
Tunglies
e5dd127bcc
feat: enhance profile update handling with manual trigger 2026-02-20 11:12:18 +08:00
Tunglies
7528c238c4
chore: bump version to 2.4.7 2026-02-20 10:58:32 +08:00
Slinetrac
7a564b4ea9
fix(linux): handle empty KDE proxy schema without error (#6316)
* fix: kde sysproxy error

* docs: Changelog.md
2026-02-15 12:10:34 +00:00
renovate[bot]
cd4ff68b5b
chore(deps): update rust crate zip to v8 (#6314)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-02-15 03:34:31 +00:00
Slinetrac
1927b5f957
build(linux): bundle linux service binaries from sidecar (#6311)
* refactor: prebuild

* style: prettier
2026-02-15 00:37:41 +00:00
AetherWing
847a0a6afd
fix(tray): resolve tray open log failed (#6301)
* fix(tray): resolve tray open log failed

* fix(ci): allow missing_const_for_fn

* fix(windows): run snapshot log cleanup unconditionally and cover all temp dirs

* refactor: simplify snapshot_path

* fix: clippy

* refactor: delete_snapshot_logs

---------

Co-authored-by: Slinetrac <realakayuki@gmail.com>
2026-02-12 03:53:36 +00:00
Sline
4d72d2d0df
refactor: replace winapi w/ windows (#6291) 2026-02-10 06:06:27 +00:00
yuanyan3060
5f9096dd6e
perf: update_tooltip (#6283) 2026-02-10 03:14:49 +00:00
renovate[bot]
410b5bd317
chore(deps): lock file maintenance cargo dependencies (#6281)
* chore(deps): lock file maintenance cargo dependencies

* chore(deps): update Cargo.toml

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Slinetrac <realakayuki@gmail.com>
2026-02-09 07:37:23 +00:00
Tunglies
88764d763c
refactor(tray): simplify tray event handling and improve menu event processing (#6278)
* refactor(tray): simplify tray event handling and improve menu event processing

* refactor(tray): enhance error handling in tray menu and icon updates

* refactor(tray): enhance tray icon event handling and add debounce for click events

* fix: remove duplicated set tooltip

* refactor(tray): simplify tray icon event handling by removing redundant parameters
2026-02-08 13:05:07 +00:00
Sline
8edfbbb1c6
fix(scheme): auto refresh core config on first URL scheme subscription (#6277)
* fix(scheme): auto refresh core config on first URL scheme subscription

* docs: Changelog.md
2026-02-08 06:34:20 +00:00