Skip to content
This repository was archived by the owner on Oct 20, 2026. It is now read-only.

Releases: hyzyn/dsh-safe

v0.18.1

Choose a tag to compare

@github-actions github-actions released this 30 Sep 12:40

Highlights

  • 修复:Windows 下含空格的 npm 路径导致 update / -u 完全失效(#1)。只要 npm/pnpm 装在含空格的路径(C:\Program Files\nodejs 正是 Node.js Windows 官方安装器的默认位置),update --check 拿不到版本、update --to <版本> -y 直接报 'C:\Program' is not recognized、-u 则退化成"跳过检查后启动"。根因是 shell: true 时 Node 只把整条命令行用一对引号包给 cmd.exe,而 cmd 的 /s 语义正是剥掉这一对,路径里的空格于是裸露、被切成两条命令。现在会在交给 cmd 之前自行引号化可执行文件路径。
  • 顺带修掉一个隐形后果:包管理器探测走的 pnpm root -g 是同一条失败路径,会静默把 pnpm 装的 dsh 误判成 npm 装的。

CI 现在覆盖 Windows。 测试矩阵从 macos/ubuntu 扩成 macos / ubuntu / windows × node 20/22,三个平台都跑全量测试——这类"只在 Windows 生效"的问题此前在结构上就不可能被 CI 捕获。为此把 63 个集成测试的 fixture 改成按平台生成(POSIX 用 symlink + 执行位,Windows 用 .cmd shim),本次修复本身也是在真机 windows-latest 上验证通过的。

Full Changelog: v0.18.0...v0.18.1

v0.18.0

Choose a tag to compare

@github-actions github-actions released this 27 Sep 13:32

Highlights

  • 0.18.0

Full Changelog: v0.18.0-rc.1...v0.18.0

v0.18.0-rc.1

v0.18.0-rc.1 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 25 Sep 14:25

Highlights

  • 0.18.0-rc.1
  • feat: dsh 0.1.6+ 只读巡检 + 结构化诊断解析,required 条目永不隔离

Full Changelog: v0.17.0...v0.18.0-rc.1

v0.17.0

Choose a tag to compare

@github-actions github-actions released this 17 Sep 05:18

Highlights

  • 0.17.0
  • fix: 通道差距只报版本最高的那个,next 被 alpha 盖掉
  • feat: 启动路径也报更新状态,取消通道提示的每日闸

Full Changelog: v0.16.0...v0.17.0

v0.16.0

Choose a tag to compare

@github-actions github-actions released this 15 Sep 08:52

Highlights

  • 0.16.0
  • docs: 通道差距说明与 --to 示例补上 alpha 等非 latest 通道
  • fix: 通道差距只查 next,alpha 等通道有更新时不提示

Full Changelog: v0.16.0-rc.2...v0.16.0

v0.16.0-rc.2

v0.16.0-rc.2 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 10 Sep 04:55

Highlights

  • feat: 核心依赖任何情况下都不自动禁用(不依赖包名解析,且不受旗标影响)
  • feat: 保留条目(webserver / 加载器机制层)永不自动禁用
  • fix: 包名只存在于报错文本时第一方保护被绕过,官方插件会被误禁
  • fix: 官方 bundle 不在对照表内,导致官方包名解析不到(收集缺口)
  • docs: -u 不接 dsh 参数时只升级不启动(帮助与 README 的措辞与实际行为对齐)

Full Changelog: v0.16.0-rc.1...v0.16.0-rc.2

v0.16.0-rc.1

v0.16.0-rc.1 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 10 Sep 04:25

Highlights

  • 0.16.0-rc.1
  • fix: 环境类失败(端口被占/权限/网络)不再隔离,改为透传并说明原因
  • feat: -u/update 提示 latest 之外的通道差距,新增 --check 只报告不安装
  • ci: 发布门槛与 prerelease 流程(prepublishOnly 本地测试闸;release 校验 tag 与 package.json 一致;版本带 '-' 自动 --tag next 发布并标 prerelease;流程见 RELEASING.md)

Full Changelog: v0.15.0...v0.16.0-rc.1

v0.15.0

Choose a tag to compare

@github-actions github-actions released this 06 Sep 12:41

Highlights

  • feat: 去重逻辑抽取为 lib/dedupe.js,移除 -r 组合命令(0.15.0)

Full Changelog: v0.14.2...v0.15.0

v0.14.2

Choose a tag to compare

@github-actions github-actions released this 06 Sep 08:35

Highlights

  • fix: -r 预检未入账的 duplicate 并自动去重;指引文案一键修复优先(0.14.2)
  • ci: release 标题固定为 tag 名(--notes-file 模式缺 --title 时 GitHub 会用提交主题当标题)

Full Changelog: v0.14.1...v0.14.2

v0.14.1

Choose a tag to compare

@github-actions github-actions released this 06 Sep 08:16

Highlights

  • fix: -r/--repair 无台账记录分支的 profile 启动补齐(0.14.1)
  • fix: -r/--repair 的 --profile 同时作用于修复与启动(0.13.2)

Full Changelog: v0.14.0...v0.14.1