@xxgxiaoyu/dsh-session-sync 0.8.5 → 0.8.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 +11 -0
- package/CHANGELOG_ZH.md +11 -0
- package/lib/client.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.8.7 — 2026-10-23
|
|
4
|
+
|
|
5
|
+
- **Separated the bundle specifier from the registered plugin name.** In `cordis.patch.yml`, `name` is the module specifier and must be the scoped package `'@xxgxiaoyu/dsh-session-sync'`; the registered plugin name (the host export and client factory id) stays unscoped `dsh-session-sync`. 0.8.6 used the unscoped specifier and hit `ERR_MODULE_NOT_FOUND`.
|
|
6
|
+
- 0.8.6 and earlier are deprecated; upgrade to 0.8.7.
|
|
7
|
+
- **60** tests passing.
|
|
8
|
+
|
|
9
|
+
## 0.8.6 — 2026-10-23
|
|
10
|
+
|
|
11
|
+
- **Fixed the DSH plugin registration name.** A DSH bundle `name` cannot start with `@`. The npm package stays `@xxgxiaoyu/dsh-session-sync`, but `cordis.patch.yml` registers the plugin as `dsh-session-sync`. The scoped name in 0.8.2–0.8.5 failed or double-registered; those versions are deprecated.
|
|
12
|
+
- Code identical to 0.8.5; **60** tests passing.
|
|
13
|
+
|
|
3
14
|
## 0.8.5 — 2026-10-22
|
|
4
15
|
|
|
5
16
|
- **Fixed the `cordis.patch.yml` YAML parse failure.** A scoped package name starts with `@`, which YAML treats as a reserved indicator unless quoted; 0.8.2–0.8.4 shipped `name: @xxgxiaoyu/...` and DSH failed with `bad indentation of a mapping entry`. It is now `name: '@xxgxiaoyu/dsh-session-sync'`.
|
package/CHANGELOG_ZH.md
CHANGED
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
# 更新日志
|
|
2
2
|
|
|
3
|
+
## 0.8.7 — 2026-10-23
|
|
4
|
+
|
|
5
|
+
- **修正 bundle specifier 与注册名的区别。** `cordis.patch.yml` 的 `name` 是模块 specifier,必须写 scoped 包名 `'@xxgxiaoyu/dsh-session-sync'`;DSH 里注册的插件名仍是 host 导出的 `dsh-session-sync`(不带 `@`),client factory id 也不变。0.8.6 把模块 specifier 写成 unscoped,导致 `ERR_MODULE_NOT_FOUND`。
|
|
6
|
+
- 0.8.6 及更早的 scoped 版本已 deprecated;升级 0.8.7。
|
|
7
|
+
- 测试 **60 项**通过。
|
|
8
|
+
|
|
9
|
+
## 0.8.6 — 2026-10-23
|
|
10
|
+
|
|
11
|
+
- **修复 DSH 插件注册名。** DSH 的 bundle `name` 不能以 `@` 开头;npm 包名仍为 `@xxgxiaoyu/dsh-session-sync`,但 `cordis.patch.yml` 里注册的插件名改回 `dsh-session-sync`。0.8.2–0.8.5 的 scoped 注册名会在加载/注册阶段失败或重复注册,已 deprecated。
|
|
12
|
+
- 代码与 0.8.5 一致;测试 **60 项**通过。
|
|
13
|
+
|
|
3
14
|
## 0.8.5 — 2026-10-22
|
|
4
15
|
|
|
5
16
|
- **修复 `cordis.patch.yml` 的 YAML 解析失败。** scoped 包名以 `@` 开头,在 YAML 里必须加引号;0.8.2–0.8.4 的 `name: @xxgxiaoyu/...` 会被解析器当成非法 mapping,导致 DSH 启动时报 `bad indentation of a mapping entry`。现在写成 `name: '@xxgxiaoyu/dsh-session-sync'`。
|
package/lib/client.js
CHANGED
|
@@ -29,7 +29,7 @@ window.__ModuleLoader__.load({
|
|
|
29
29
|
// Bumped together with package.json (a test enforces the pair). The footer
|
|
30
30
|
// shows the *running* host version next to it, so a stale process is
|
|
31
31
|
// obvious instead of looking like a publishing mistake.
|
|
32
|
-
const CLIENT_VERSION = '0.8.
|
|
32
|
+
const CLIENT_VERSION = '0.8.7'
|
|
33
33
|
const POLL_MS = 4000
|
|
34
34
|
|
|
35
35
|
// ── styles ────────────────────────────────────────────────────────────
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xxgxiaoyu/dsh-session-sync",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.7",
|
|
4
4
|
"description": "DSH LAN session sync: auto-discover devices running this plugin, browse/pull/push sessions over HTTP, verify them with SHA-256, and keep a local-only nickname per device.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "lib/index.js",
|