Commit Graph

1264 Commits

Author SHA1 Message Date
zjdndjf
1caff4cabd update changelog v2.0.0 2026-07-06 15:06:32 +08:00
ezequielnick
53eb7e5c31 chore: bump version 2026-07-06 02:18:11 +08:00
ezequielnick
abb2f32051 docs: clarify deprecated v1 provider integration design 2026-07-05 03:13:52 +08:00
ezequielnick
545c82f3d2 fix: validate TUN exclude CIDR without blocking other TUN settings 2026-07-05 02:24:32 +08:00
zjdndjf
489c23a9c7 fix: avoid quoted Windows post-up hook path 2026-07-05 02:12:06 +08:00
zjdndjf
a7c8e7b1fd feat: support post-up core startup detection
Co-authored-by: xishang0128 <xishang02@gmail.com>
2026-07-05 01:58:51 +08:00
zjdndjf
461c4cd0e2 fix: sync gist after runtime config hot reload
Closes #1969
2026-07-05 01:40:23 +08:00
ezequielnick
38d51e0a38 feat: plugin file drag & drop 2026-07-05 00:43:25 +08:00
ezequielnick
368b232d6d fix: persist window size only on close/quit, not on every resize 2026-07-04 09:34:47 +08:00
zjdndjf
7ea11bb645 fix: support provider proxies after mihomo api change 2026-07-02 22:04:20 +08:00
ezequielnick
4d11d2b00d fix: persist window size on Wayland without breaking DPI growth fix 2026-07-02 04:12:33 +08:00
ezequielnick
8ae73da199 perf: batch proxy group delay-test writes to prevent UI freeze on large subscriptions
fix: cap connections icon/appName caches to prevent unbounded growth
2026-07-01 14:21:02 +08:00
ezequielnick
9a65959c38 fix: recover main window when renderer process crashes 2026-07-01 12:42:08 +08:00
ezequielnick
0c891030df feat: airport plugin 2026-07-01 08:46:41 +08:00
zjdndjf
e26f3effe9 fix: move profile refresh tooltip to top with delay to avoid overlap
Closes #1959
2026-07-01 06:02:58 +08:00
zjdndjf
da3c91bc61 fix: prevent floating window traffic text from being clipped 2026-07-01 05:58:50 +08:00
zjdndjf
c9bf199b06 feat: add toggle to lock sider cards in place
Closes #1957
2026-07-01 05:50:33 +08:00
zjdndjf
f030a7c003 chore: rename tray icon state key and drop dead branch 2026-07-01 05:38:33 +08:00
Eugene
7a3e3cd46f feat: support tray icons by state (#1962)
Co-authored-by: Eugene <laueugene23@gmail.com>
2026-07-01 05:26:01 +08:00
luantu
18f3974d19 fix: set template image for custom tray icon on macOS (#1961) 2026-07-01 05:22:23 +08:00
Memory
5c9e59947c feat: add more GitHub download proxies 2026-06-27 21:01:17 +08:00
Tongyuxiu Zhou
01902f9c31 feat: add toggle to remember selected sider card 2026-06-27 19:39:51 +08:00
zjdndjf
df7aa027c7 fix: correct PowerShell version detection to avoid false positive on PS 5.1 2026-06-23 18:25:45 +08:00
zjdndjf
013d059f94 fix: prevent update progress bar from jittering on proxy retry
close #1943
2026-06-23 03:36:56 +08:00
zjdndjf
0cd3addea3 Revert "fix: allow all valid log levels in generated profile"
This reverts commit e42adaad56.
2026-06-23 03:28:11 +08:00
Tongyuxiu Zhou
4b88d51d80 fix: resolve ip provider dropdown UI delay and fetch race condition (#1938) 2026-06-23 02:57:22 +08:00
Memory
02896c6de1 chore: update dependencies and changelog
* update depends

* update changelog
v1.9.6
2026-06-21 21:25:17 +08:00
zjdndjf
b19b6c1247 chore: use latest sysproxy-rs release 2026-06-20 03:30:54 +08:00
Memory
a4e4c6186a feat: add lightweight mode behavior toggle 2026-06-19 23:52:54 +08:00
波西王几
8f7f00ebcd fix: respect silent start when restoring maximized window 2026-06-19 19:57:31 +08:00
ezequielnick
2cb49b7314 refactor(config): centralize shared app defaults & improve performance 2026-06-19 14:54:46 +08:00
ezequielnick
9ba6604e24 chore: dns override default false 2026-06-19 13:09:43 +08:00
Memory
7ff9338387 fix: fetch remote subscriptions with axios 2026-06-14 22:42:26 +08:00
Memory
52208b9396 fix: clean stale autorun registry fallback 2026-06-14 21:46:17 +08:00
zjdndjf
6337ac8928 feat: support age encrypted gist sync 2026-06-14 05:12:40 +08:00
zjdndjf
807495749a feat: support age encrypted profiles 2026-06-14 02:55:32 +08:00
zjdndjf
2604aafe8b feat: make network info cards sortable 2026-06-13 23:29:32 +08:00
zjdndjf
36dbf3dcc6 feat: remember selected sider card 2026-06-13 21:13:46 +08:00
Tinglong Yang
38e33eea2a fix(log): rotate core/sub-store logs by date and avoid O(n²) rewrite at size cap (#1913)
内核与 sub-store 日志通过长连接 Writable 流写入,其路径在流创建时只解析一次,
因此永远不按日期轮转——所有输出都持续追加到以内核启动日命名的文件(例如
core-2026-05-27.log 里写满了 06-12 的日志)。

当该文件达到大小上限后,之后每写一行都会触发「读取尾部 + 重写整个文件」
(每行约 2×maxBytes 的 I/O)。配合 info 级别内核日志(每秒数百行),这会打满
磁盘 I/O 并反压内核进程,导致整个 App 卡顿。

- createCappedLogWritableStream 现在接受路径工厂函数 `() => string`,在每次写入
  时求值,使内核/sub-store 日志能像 app 日志一样按日期轮转;仍兼容字符串路径。
- 触顶压缩后只保留约一半上限的内容,使后续写入回到廉价的 appendFile 分支,把
  压缩频率从「每次写入」降到「每写满约半个上限一次」,整体 I/O 由 O(n²) 降为 O(n)。

Refs #1912

Co-authored-by: Tinglong Yang <11896584+ytlm@users.noreply.github.com>
2026-06-12 18:09:55 +08:00
zjdndjf
1128616a57 style: add spaces between numbers and units in traffic time ranges 2026-06-07 03:30:37 +08:00
zjdndjf
32e86b8466 feat: add option to disable app log output, close #1895 2026-06-07 03:28:40 +08:00
zjdndjf
14a738ed17 fix: preserve named pipe path for mihomo websockets, close #1897 2026-06-07 03:14:35 +08:00
Memory
aded48e072 feat: show current node in proxy group header 2026-06-06 21:34:58 +08:00
Memory
549e6cc0a8 fix: stop traffic logger immediately when disabled 2026-06-06 20:32:56 +08:00
zjdndjf
98476eff3e feat: persist IP provider selection, close #1881 2026-06-01 00:21:00 +08:00
Memory
c83ed20996 fix: guard profile autocomplete inputs against null 2026-05-31 22:44:34 +08:00
kybrcore
892c82a3f5 fix: preserve dns-hijack when profile has DNS config enabled
When DNS override (controlDns) is disabled, the previous code
unconditionally cleared dns-hijack to prevent DNS requests from
being intercepted without a handler. However, this broke users who
have DNS configured in their subscription/profile but don't use
the app's DNS override feature.

Now dns-hijack is only cleared when the final merged config has no
enabled DNS section (dns.enable is falsy). This ensures:
- Users with profile DNS configs keep dns-hijack working
- Users without any DNS config still get dns-hijack cleared to
  prevent broken DNS resolution
2026-05-31 22:26:44 +08:00
zjdndjf
9b08fd5297 fix: apply Mihomo settings changes to running core, close #1874 2026-05-27 02:26:59 +08:00
zjdndjf
c958845f71 perf: speed up app startup and shutdown
- Cache admin privilege check; bypass cmd.exe wrapper via execFile
- Reuse the synchronous fltmc result from setupPlatformSpecifics to prime
  the admin privilege cache, avoiding a second elevated-state probe
- Parallelize startup init: appConfig, i18n, admin check now run concurrently
- Skip high-privilege core check when current process is admin
- Coalesce mihomo process scan to a single tasklist + batched powershell
- Parallelize the four mihomo websocket streams
- Light-path cleanup of Windows named pipes; reserve PowerShell scan for retry
- Defer Sub-Store frontend/backend startup until after the main window is
  created, freeing the critical startup path
- Run post-core background tasks (profile updater, webdav, tun follow-up) in parallel
- Tighten shutdown timeouts and skip recoverDNS on non-macOS
2026-05-27 02:11:11 +08:00
Memory
3207c1f73e fix: disable GPU sandbox for elevated Windows startup 2026-05-25 20:38:53 +08:00