cross-tab-worker-databus 0.20.6 → 0.20.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -2,6 +2,13 @@
2
2
 
3
3
  本项目遵循 [Semantic Versioning](https://semver.org/);变更记录格式参考 [Keep a Changelog](https://keepachangelog.com/)。
4
4
 
5
+ ## [0.20.7] - 2026-09-02
6
+
7
+ ### Added
8
+
9
+ - Added published-package consumer verification that downloads the npm version, then imports every public ESM and CommonJS entry point from a clean temporary consumer.
10
+ - The verification can target `PUBLISHED_VERSION` explicitly, making release validation independent from the local checkout version.
11
+
5
12
  ## [0.20.6] - 2026-09-02
6
13
 
7
14
  ### Added
@@ -18,3 +18,5 @@ Run `npm publish --access public` from the tagged checkout. A version already pr
18
18
  1. Verify the version appears in `npm view cross-tab-worker-databus versions --json`.
19
19
  2. Install the published tarball or version in a clean consumer and import the root plus every public subpath.
20
20
  3. Record the result in the release notes. Do not advance to `1.0.0` until the public API and protocol deprecation policy are explicitly frozen.
21
+
22
+ Run `PUBLISHED_VERSION=0.20.7 pnpm verify:published` after npm publication.
package/docs/roadmap.md CHANGED
@@ -1,6 +1,11 @@
1
1
  # Roadmap
2
2
 
3
- 0.20.6 is the current development line. The project is intentionally continuing through reliability-focused minor releases before a 1.0.0 stability freeze.
3
+ 0.20.7 is the current development line. The project is intentionally continuing through reliability-focused minor releases before a 1.0.0 stability freeze.
4
+
5
+ ## 0.20.7 delivered scope
6
+
7
+ - Added `pnpm verify:published` to download the npm package and verify root, hooks, Vue, and Centrifuge ESM/CJS consumers in a clean temporary directory.
8
+ - Published verification accepts `PUBLISHED_VERSION` for release-specific checks and otherwise follows npm's current version.
4
9
 
5
10
  ## 0.20.6 delivered scope
6
11
 
@@ -18,3 +18,5 @@
18
18
  1. 用 `npm view cross-tab-worker-databus versions --json` 确认版本已出现。
19
19
  2. 在干净消费者中安装已发布版本或 tarball,并导入主入口及所有公开子路径。
20
20
  3. 将结果记录到发布说明。在公开 API 和协议弃用策略明确冻结前,不进入 `1.0.0`。
21
+
22
+ npm 发布后运行 `PUBLISHED_VERSION=0.20.7 pnpm verify:published`。
@@ -1,6 +1,11 @@
1
1
  # 路线图
2
2
 
3
- 0.20.6 正在推进。项目会先持续完成可靠性与协议兼容性的中版本迭代,再进入 1.0.0 稳定性冻结。
3
+ 0.20.7 正在推进。项目会先持续完成可靠性与协议兼容性的中版本迭代,再进入 1.0.0 稳定性冻结。
4
+
5
+ ## 0.20.7 已完成范围
6
+
7
+ - 新增 `pnpm verify:published`:从 npm 下载已发布包,并在干净临时消费者中验证主入口、hooks、Vue、Centrifuge 的 ESM/CJS 导入。
8
+ - 支持通过 `PUBLISHED_VERSION` 指定版本;未指定时跟随 npm 当前版本。
4
9
 
5
10
  ## 0.20.6 已完成范围
6
11
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cross-tab-worker-databus",
3
- "version": "0.20.6",
3
+ "version": "0.20.7",
4
4
  "description": "Framework-agnostic cross-tab data bus with Dedicated/Shared Worker clustering and Centrifuge support.",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -78,6 +78,7 @@
78
78
  "bench": "vitest bench --run",
79
79
  "bench:browser": "pnpm build && node scripts/bench-browser.mjs",
80
80
  "verify:pack": "node scripts/verify-packed-consumer.mjs",
81
+ "verify:published": "node scripts/verify-published-consumer.mjs",
81
82
  "test:e2e": "pnpm build && playwright test",
82
83
  "typecheck": "tsc --noEmit",
83
84
  "prepublishOnly": "pnpm check"