Skip to content

chore(release): v0.21.1 —— 适配 DSH 0.1.7-rc.1 的正式版 - #758

Merged
Menghuan1918 merged 1 commit into
mainfrom
feat/v0.21.1-stable
Sep 23, 2026
Merged

Menghuan1918 merged 1 commit into
mainfrom
feat/v0.21.1-stable

Conversation

@Menghuan1918

Copy link
Copy Markdown
Collaborator

为什么重切一版

上一版 0.21.0-rc.1 挂在 npm alpha 通道 + GitHub Pre-release 上。但 DSH 0.1.7-rc.1 是上游的正式发布批次,适配它的插件版本不该停留在预发布通道,因此重切 v0.21.1(版本号不含 - → release.yml 发到 npm latest)。

  • 版本字面量:package.json / dsh.plugin.json / SIDEBAR_SERVICE_VERSION(tests/service.spec.ts 仍守着后两者与 package.json 一致)。
  • 代码零改动:peer 下限仍是 ^0.1.7-rc.1,支持线仍是「DSH 0.1.7-rc.1 及之后的 0.1.7 线」。
  • npm latest 由 0.19.1 前移到 0.21.1;0.21.0-rc.1 继续留在 alpha 通道上作为历史版本,未撤回。

文档随通道变更

README / README_EN / 指南去掉「alpha 通道」的表述,安装命令改为 @latest,并在「按 DSH 版本选插件版本」表里给每一条旧线写成精确钉版命令(dsh plugin --profile web add dsh-better-sidebar@0.19.1 之类)——因为 @latest 从此只服务 0.1.7-rc.1+ 这条线。rc.1 的设计记录保留历史,另加 §8 记录本次重切。

验证

pnpm peers check / typecheck / lint / build / check:consumer-types 全 0 退出码;pnpm test = 1132 passed | 9 skipped。

The rc.1 adapter first went out as 0.21.0-rc.1, but DSH 0.1.7-rc.1 is
upstream's release batch, so the plugin that targets it must not sit on a
prerelease channel. Re-cut it as v0.21.1: the version is now free of `-`,
so release.yml publishes it under npm's `latest` instead of `alpha`.

Version literals only — package.json, dsh.plugin.json and
SIDEBAR_SERVICE_VERSION (tests/service.spec.ts still pins the last two
together). No code change: the peer floor stays ^0.1.7-rc.1 and the
support line stays "DSH 0.1.7-rc.1 and later".

Docs follow the channel move: README/README_EN/guide drop the "alpha
channel" framing, the install command becomes @latest, and every older
DSH line now gets an explicitly pinned command in the version table
(@0.19.1 and so on) because `latest` no longer covers them. The rc.1
design record keeps its history and gains a §8 for the re-cut.
@Menghuan1918
Menghuan1918 merged commit d641d2e into main Sep 23, 2026
3 checks passed
havoc-rao added a commit to havoc-rao/DSH-better-sidebar that referenced this pull request Sep 27, 2026
合并官方 18 个适配提交为基线(v0.21.1 / DSH 0.1.7-rc.1),同时保留本地特性线:

- 基线跟随官方:devDeps 升 0.1.7-rc.1、SettingsForms 设置面、irright-right mounted 会话跟随、文件树 fs-watch 实时刷新、editor.canOpen 选择性认领、jobsList 路由、图标具名导出 Regular/Medium
- 终端保留(本地特性线):恢复 TerminalView/agent-pty/pty-manager/pinned、终端 prefs(agentTerminalTools/terminalFont/shell 等)、'terminal' 懒加载 chunk 与 node-pty 依赖、diff proposed variant + GitDiffRef
- 浏览器跟随官方让位:BrowserView/browser.ts/browser-probe 删除,browser tab 描述移除
- 文档/测试按合并基线更新(builtins 6 tab、prefs 字段集、hotkey 语义)

验证:tsc 零错误、132 文件 1354 测试全过、build 成功
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant