Skip to content

Var0.4.0

Latest

Choose a tag to compare

@having5548 having5548 released this 21 Aug 13:37

[0.4.0] — 2026-08-21

CHS

新功能

  • 多源自动择优 —— 并行 ping 多个 npm 源(官方 + npmmirror / 腾讯云 / 华为云等国内镜像),自动选用延迟最低的,国内网络也能稳定检查与升级。
  • 手动「检查更新」按钮 —— 不再只能启动时检测,随时点工具栏即可,结果一目了然(有新版 / 已是最新 / 网络异常)。
  • 升级进度 + 可取消 —— 升级弹窗实时显示 npm 输出,带「取消」按钮(终止进程树);内置 15 分钟超时兜底,杜绝卡死。
  • 捆绑 dsh 升级到 0.1.1-rc.2 —— 最新版 harness,包含此前删除工作区 signal timeout 的修复。

🐛 修复与改进

  • 官方源不可达时,启动自动检查不再静默失败,自动回退镜像。
  • 修复升级卡死后重启不再触发检查的问题。
  • 版本号升至 0.4.0

更新只需直接安装,系统会自动识别并更新现有安装路径。

ENG

What's New

  • Multi-source update checks — the app pings several npm registries (official + China mirrors: npmmirror / Tencent / Huawei) in parallel and automatically picks the lowest-latency one, so checking and upgrading work even where GitHub/npm is slow or blocked.
  • Manual "Check for Updates" button — check any time from the toolbar, not just on startup; you always get a clear result (update available / already up to date / network error).
  • Upgrade progress + cancel — upgrading shows a live progress dialog (streaming npm output) with a Cancel button that stops the whole process tree; a built-in 15-minute timeout prevents infinite hangs.
  • Bundled dsh upgraded to 0.1.1-rc.2 — the latest harness, including the earlier workspace-delete signal timeout fix.

🐛 Fixes & Improvements

  • Startup auto-check no longer silently fails when the official registry is unreachable — it falls back to mirrors.
  • Restarting after a stuck upgrade now re-checks properly.
  • Version bumped to 0.4.0.

updates are simply installed, automatically recognizing and updating the existing installation path.