wonfen
2828782e4c
chore: update sysproxy-rs
2026-06-07 23:44:17 +08:00
renovate[bot] and renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
ee9d5126d3
chore(deps): update cargo dependencies ( #7213 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-06-05 14:02:27 +00:00
renovate[bot] and renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
462d9f536d
chore(deps): update cargo dependencies ( #7141 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-06-02 13:46:05 +00:00
Tunglies
fa27d3eae5
Revert "feat(cvd): add device-bound subscription protocol"
...
This reverts commit 2cb9c13ab6 .
2026-06-02 21:02:19 +08:00
wonfen
2cb9c13ab6
feat(cvd): add device-bound subscription protocol
2026-06-02 13:43:54 +08:00
Tunglies
9c639bfcc5
fix: run exit cleanup before app shutdown
...
Close #7158
2026-05-30 16:01:25 +08:00
Tunglies
232be33754
fix(draft): serialize async updates
2026-05-30 13:31:10 +08:00
Tunglies
6e6c537e6b
refactor service manager locking
2026-05-28 23:22:56 +08:00
Tunglies
08fd2ce68b
fix(core): serialize runtime config updates
2026-05-28 17:41:39 +08:00
Tunglies
dc094033b8
Revert "refactor: remove subscription TLS roots fallback"
...
This reverts commit 746279fa03 .
2026-05-28 02:42:13 +08:00
Li Yang and liyang
f916711717
fix(tray): use an app-specific tray id ( #6772 )
...
Co-authored-by: liyang <liyang25@pku.edu.cn >
2026-05-26 13:34:39 +00:00
Tunglies
761209bbbc
refactor: backend ( #7102 )
...
* refactor(tray): move tray log opening to utils helper
* refactor(enhance): move owned config through pipeline
* refactor(enhance): move sequence values in use_seq
* refactor(enhance): move values while sorting fields
* refactor(enhance): move values when lowercasing owned config
* refactor(backend): move owned config values in utilities
* refactor(tray): borrow hotkey accelerators
* refactor(core): borrow proxy config strings
* fix(backend): preserve config patch semantics
* refactor(enhance): clarify config transform names
2026-05-26 10:47:03 +00:00
renovate[bot] and renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
8752130f75
chore(deps): update cargo dependencies ( #7109 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-05-26 06:14:38 +00:00
Tunglies
c7cdc62512
chore: bump dependencies
...
Bump tauri-plugin-mihomo to 0.5.0 and update frontend dependency locks.
Adapt the traffic websocket stream parser to the new raw text byte callback API.
2026-05-26 13:30:37 +08:00
Tunglies
746279fa03
refactor: remove subscription TLS roots fallback
2026-05-26 00:23:55 +08:00
Tunglies
e2d14a5ea7
fix: support empty basic auth passwords
2026-05-25 23:12:44 +08:00
Tunglies
d75c4cf59e
fix: enable gzip subscription responses
...
docs: update changelog for gzip subscriptions
2026-05-25 22:59:11 +08:00
Tunglies
ec9ef0f85e
fix: report legacy TLS subscription failures
2026-05-25 22:22:24 +08:00
Tunglies
8ccb0b9abd
perf: reduce tokio runtime thread limits
...
The Tauri backend is primarily the control plane for IPC, config generation, tray/window events, and mihomo API calls. The proxy data plane runs in the mihomo sidecar/service process, so allowing up to 16 runtime workers adds scheduling headroom without clear startup benefit.
Setup benchmark used isolated HOME/XDG dirs, isolated mihomo IPC sockets, sidecar mode, disabled TUN/system proxy defaults, and graceful shutdown after setup on an 18-thread host.
| limit | workers | blocking | setup async avg/max | avg threads |
| --- | ---: | ---: | ---: | ---: |
| old | 16 | 64 | 742.2ms / 1163.4ms | 34.5 |
| old | 8 | 32 | 650.8ms / 680.9ms | 27.0 |
| old | 4 | 16 | 681.5ms / 708.1ms | 23.8 |
| new | 16 | 32 | 682.8ms / 747.0ms | 35.3 |
| new | 8 | 16 | 650.1ms / 662.4ms | 26.0 |
| new | 4 | 8 | 639.3ms / 645.5ms | 22.1 |
The 2x blocking pool reduced tail latency across the tested limits. Capping workers at 8 keeps enough concurrency for normal control-plane work while avoiding the 16-worker tail-latency outlier and reducing blocking-pool headroom from 64 to 16 on this host.
2026-05-25 17:24:06 +08:00
Tunglies
c18c23963d
refactor: frontend ( #7097 )
...
* refactor: remove unused window show/hide event listeners
* refactor: deduplicate profile-changed event handling
* refactor: remove unused setupCloseListener from use-listen
* refactor: remove unused removeAllListeners from use-listen
* fix(backend): dedupe profile changed notification on import
* fix: avoid duplicate timer update completed event
* refactor(frontend): simplify proxy switch fallback path
2026-05-23 12:52:52 +08:00
Tunglies
32029af0f9
refactor: improve tray speed rendering logic and attributes handling
2026-05-22 21:47:59 +08:00
Tunglies
21878ea936
Refactor timer management and remove delay_timer dependency ( #7075 )
...
* Refactor timer management and remove delay_timer dependency
The delay_timer spawned tokio threads of cores, which not controled by expected.
* refactor: improve logging messages in Timer implementation
* fix(timer): prevent potential panic by using saturating_mul for interval calculations
* refactor timer scheduler
* chore: translate timer logs to english
* fix timer clippy warnings
* fix profile auto update refresh
* fix duplicate profile update notification
* fix: prevent potential panic in lightweight timer setup
* fix profile update listener cleanup
* Revert "fix duplicate profile update notification"
This reverts commit 4aafa94d3e .
2026-05-22 04:30:48 +00: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