Commit Graph
4494 Commits
Author SHA1 Message Date
Tunglies dad5121b7d fix(service): harden privileged service path execution 2026-06-28 21:21:01 +08:00
renovate[bot]andrenovate[bot] <29139614+renovate[bot]@users.noreply.github.com> dad18ce90f chore(deps): update dependency @tauri-apps/cli to v2.11.3 (#7324)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-06-28 11:52:34 +00:00
renovate[bot]andrenovate[bot] <29139614+renovate[bot]@users.noreply.github.com> ac8a9ca7d8 chore(deps): update actions/cache action to v6 (#7342)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-06-28 11:52:29 +00:00
renovate[bot]andrenovate[bot] <29139614+renovate[bot]@users.noreply.github.com> 1d3a7107d9 chore(deps): update cargo dependencies (#7332)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-06-28 11:52:25 +00:00
renovate[bot]andrenovate[bot] <29139614+renovate[bot]@users.noreply.github.com> 5ef85bb269 chore(deps): update github actions (#7326)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-06-28 11:52:17 +00:00
renovate[bot]andrenovate[bot] <29139614+renovate[bot]@users.noreply.github.com> b44f671fc2 chore(deps): update dependency js-yaml to v5 (#7331)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-06-28 11:51:50 +00:00
Tunglies b9da0875cd refactor: optimize swr data refresh paths 2026-06-28 19:42:21 +08:00
Tunglies e71e701fd0 refactor: migrate query cache to swr 2026-06-28 19:39:15 +08:00
wonfen 294955cb8c feat: add fake-ip-range6 2026-06-28 13:08:55 +08:00
StarsSail 16e15ed9d4 fix: improve hide_main_window logic when hotkey pressed (#7322) 2026-06-27 23:50:36 +00:00
wonfen 86072e599d chore: update change log 2026-06-28 07:48:47 +08:00
wonfen b7157fac15 fix(core): serialize core lifecycle transitions
Add a lifecycle lock around core start, stop, restart, and service handoff
paths. Make start_core idempotent, skip startup while exiting, and roll
back running mode after startup failures so later retries are not blocked.
2026-06-28 07:23:57 +08:00
wonfen 7cad713cac chore: update clash-verge-service-ipc version to 2.3.1 2026-06-28 04:34:44 +08:00
wonfen 1112f0730d fix(core): improve service startup and cleanup reliability
Wait longer for slow Windows service startup, then hand off from sidecar
to service when it becomes ready. Retry service core startup during the
handoff window, and clean up root-owned macOS service core/IPC leftovers
before uninstalling the service.
2026-06-28 04:34:01 +08:00
wonfen 1e44bafa79 fix(service): notify users about macOS App Translocation
Show a delayed localized error notice when Clash Verge is running from a
translocated temporary path and no stable core path can be resolved.
2026-06-28 03:48:13 +08:00
Yao Jingxiandwonfen 4c46223107 fix: handle macOS service AppTranslocation state (#7340)
Co-authored-by: wonfen <96291150+wonfen@users.noreply.github.com>
2026-06-28 02:24:09 +08:00
wonfen b7a454fedb chore: track tauri-plugin-mihomo fix/api-robustness branch
Pulls in the plugin's response-deserialization tolerance, connection-pool permit fix, single reqwest::Client reuse, and WebSocket secret encoding/redaction (cf97ff9).
2026-06-27 15:39:00 +08:00
wonfen 5a96fdd9a2 fix: harden home clash-mode card against /configs read failures
Recover from controller read/switch failures on the mode card instead of
showing a bare "communication error":

- fall back to the tolerant get_clash_mode command (then runtime config)
  when the live /configs mode is unavailable,
- optimistically reflect the clicked mode and write it through to the
  getClashConfig cache so a failed refetch can't flash back the old value,
- surface patch failures via showNotice on both the home card and the
  proxies page (patchClashMode can now reject), and
- revalidate getClashMode/getRuntimeConfig on refresh-clash-config so a
  once-empty fallback can recover.
2026-06-27 15:30:20 +08:00
wonfen d0d2f4e4f5 fix: read clash mode tolerantly and propagate mode-switch failures
The home mode card read the proxy mode only from mihomo's /configs (strict
BaseConfig); when that response drifted a single field, the whole read
failed and the card showed a bare "communication error". patch_clash_mode
also swallowed backend PATCH failures and always returned Ok, so the UI
could not tell a switch had actually failed.

- add a tolerant get_clash_mode command that reads mode from the saved
  clash config (IClashTemp::get_mode), bypassing strict BaseConfig
  deserialization, and
- make change_clash_mode return Result and have patch_clash_mode propagate
  it; the hotkey/tray callers log-and-ignore as before.
2026-06-27 15:30:20 +08:00
oomeow 1026ba88bb chore: update biome config and ignore zed settings dir (#7364)
* chore: update biome config and ignore zed settings dir

* chore: remove trailing slash from .vfox directory in .gitignore
2026-06-26 12:46:45 +00:00
Bruce Gorman a00df6c93d fix: refresh rules data when clash config is reloaded (#7299) 2026-06-22 11:12:36 +00:00
oomeow 9b87cd53e1 fix(tray): tray icon flickering on macOS (#7335)
* fix(tray): tray icon flickering on macOS

* refactor(tray): use explicit cfg blocks for template logic
2026-06-21 19:28:39 +00:00
wonfen b4a490fbeb doc: add Sponsor 2026-06-21 00:28:43 +08:00
Tunglies de438aadf8 fix(ci): skip bot PRs in AI slop review 2026-06-20 00:23:48 +08:00
renovate[bot]andrenovate[bot] <29139614+renovate[bot]@users.noreply.github.com> 688dc0b9e1 chore(deps): update github actions to v7 (#7318)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-06-19 06:53:15 +00:00
renovate[bot]andrenovate[bot] <29139614+renovate[bot]@users.noreply.github.com> 651258479b chore(deps): update github actions (#7317)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-06-19 06:53:05 +00:00
renovate[bot]andrenovate[bot] <29139614+renovate[bot]@users.noreply.github.com> 468483660a chore(deps): update npm dependencies to v8 (#7310)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-06-19 06:52:50 +00:00
renovate[bot]andrenovate[bot] <29139614+renovate[bot]@users.noreply.github.com> 138901f26b chore(deps): update npm dependencies to v2.11.1 (#7309)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-06-19 06:52:37 +00:00
renovate[bot]andrenovate[bot] <29139614+renovate[bot]@users.noreply.github.com> 9867a2af99 chore(deps): update cargo dependencies (#7307)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-06-19 06:52:34 +00:00
wonfen a44173e3c7 chore: add Friendly reminder 2026-06-19 00:14:11 +08:00
Tunglies 4ee63b6cf2 perf(proxies): optimize virtual list scrolling 2026-06-18 20:53:22 +08:00
Tunglies f7ed126bb8 fix: update mihomo plugin config enum handling 2026-06-18 20:05:31 +08:00
Tunglies fd8c852698 fix: update mihomo plugin log handling 2026-06-18 19:18:10 +08:00
sijie-Z 42c9e19465 fix: crash on malformed ss:// URI with invalid v2ray-plugin data (#7253)
* fix: wrap v2ray-plugin JSON.parse in try-catch to prevent crash on malformed URIs

A malformed ss:// URI with invalid base64-encoded v2ray-plugin query
parameter causes an unhandled JSON.parse exception that crashes the
profile import flow. This matches the error handling pattern already
used in vless.ts and vmess.ts.

* fix: format JSON.parse and sort callback to satisfy biome
2026-06-18 10:33:35 +00:00
StarsSail e5c1c852d7 fix(logs): simplify scroll reference by removing length tracking (#7270) 2026-06-18 10:31:38 +00:00
renovate[bot]andrenovate[bot] <29139614+renovate[bot]@users.noreply.github.com> a528b534b4 chore(deps): update github actions to v0.80.4 (#7301)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-06-18 08:56:12 +00:00
wonfen 7e233efd10 feat: add reset button to Global script 2026-06-18 15:13:38 +08:00
57b891215e fix: restore default size for collapsed window state (#7215)
Co-authored-by: puneetdixit200 <236133619+puneetdixit200@users.noreply.github.com>
Co-authored-by: wonfen <96291150+wonfen@users.noreply.github.com>
2026-06-18 13:23:02 +08:00
sijie-Z 4105dc7479 fix: improve type safety and remove redundant type casts (#7252)
* fix: improve type safety and remove redundant type casts

- Fix @@ts-expect-error typo (double @) in traffic-diagnostics.ts
- Replace (e.target as any) with (e.target as HTMLElement) in setting-clash.tsx
- Remove redundant (onFormat as any) cast in guard-state.tsx

* fix: format api.ts sort callback to satisfy biome

* fix: remove as any, let @ts-expect-error suppress the non-standard API error

* fix: remove invalid @@ts-expect-error comment, keep as any for non-standard API
2026-06-17 12:47:31 +00:00
renovate[bot]andrenovate[bot] <29139614+renovate[bot]@users.noreply.github.com> aa0d5f6004 chore(deps): update github actions (#7153)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-06-16 04:40:07 +00:00
renovate[bot]andrenovate[bot] <29139614+renovate[bot]@users.noreply.github.com> 67cc2a63af chore(deps): lock file maintenance npm dependencies (#7171)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-06-16 04:40:00 +00:00
renovate[bot]andrenovate[bot] <29139614+renovate[bot]@users.noreply.github.com> 276afb2429 chore(deps): update npm dependencies (#7179)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-06-16 04:39:52 +00:00
renovate[bot]andrenovate[bot] <29139614+renovate[bot]@users.noreply.github.com> 894c73d602 chore(deps): update cargo dependencies to 1.12.4 (#7260)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-06-16 04:39:34 +00:00
Tunglies 220474888c fix: clippy error 2026-06-16 12:39:14 +08:00
Tunglies 658312fe7b fix: keep home current proxy in sync 2026-06-13 21:20:52 +08:00
Tunglies 55ce7bffe4 refactor: avoid embed server clone 2026-06-13 19:51:14 +08:00
Tunglies 2ddd95cf40 refactor(macos): avoid speed text clone 2026-06-13 19:48:49 +08:00
Tunglies f763fcb244 fix: fallback clash mode from runtime config 2026-06-13 14:47:29 +08:00
Tunglies 1e57f41190 fix: use mihomo traffic totals 2026-06-13 14:03:44 +08:00
Tunglies 27161876f0 refactor: avoid allocating default tray icons 2026-06-13 13:37:15 +08:00