Skip to content

v0.7.6 — docs only: refreshed preview images + restored provenance (code identical to v0.7.5)

Choose a tag to compare

@2JumpSinA 2JumpSinA released this 25 Oct 01:50
· 3 commits to main since this release

v0.7.6 changes no code. lib/ is byte-for-byte identical to v0.7.5 — git diff v0.7.5..v0.7.6 -- lib test scripts is empty, and the two published tarballs unpack to the same files (only package.json's version differs). If you are already on 0.7.5 there is nothing to upgrade for; install 0.7.6 only if you care about the images on the npm page.

What did change, all of it outside the running code:

  • Preview images are now element-level crops of the real UI (docs/ui-badge-and-banner.png, docs/preview-1.png, docs/preview-2.png), and the handover-draft image is rendered by the plugin's own composeHandoverBlock() rather than redrawn by hand.
  • README (en / zh) links updated to match.
  • Publishing went back to npm Trusted Publishing (OIDC): the registry entry carries SLSA provenance attestations again, so the artifact traces back to this repository's workflow.

Assets: 2jumpsina-dsh-context-guard-0.7.6.tgz is the exact tarball published to npm (its sha512 was verified against the registry dist.integrity before upload), plus a .sha256 sidecar. SHA-256 b78d16b329591efcd12951e063664e110a6f329210adbbf674aac101d80dec98.

中文

0.7.6 没有改一行代码。lib/ 与 v0.7.5 逐字节相同——git diff v0.7.5..v0.7.6 -- lib test scripts 为空,两个已发布 tarball 解包后文件也完全一致(只有 package.json 的 version 不同)。已经在 0.7.5 的,不必为它升级;只有在乎 npm 页面上那几张图时才需要装 0.7.6。

变的东西全在运行代码之外:

  • 预览图改成真实界面的元素级裁剪(docs/ui-badge-and-banner.png、docs/preview-1.png、docs/preview-2.png);交接草稿那张改由插件自身的 composeHandoverBlock() 渲染,不再是手工重画。
  • 中英 README 的图片链接随之更新。
  • 发布通道回到 npm Trusted Publishing(OIDC):registry 上的条目重新带上 SLSA provenance 证明,产物可溯源到本仓库的 workflow。

附件:2jumpsina-dsh-context-guard-0.7.6.tgz 就是发布到 npm 的那个 tarball 本身(上传前已用 registry 的 dist.integrity 核对 sha512),外加 .sha256 边车。SHA-256 b78d16b329591efcd12951e063664e110a6f329210adbbf674aac101d80dec98。