@synopackageland/cli 0.9.6 → 0.9.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
@@ -1,19 +1,37 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.9.7 (2026-10-13)
4
+
5
+ Builds with SDK 0.9.8 and templates 0.9.7: `init` writes SDK v0.9.8 (Go
6
+ module and Rust crate tag), `@synopackageland/sdk` 0.9.8 and
7
+ `@synopackageland/ui` 0.9.2. SDK 0.9.8 fixes `BackgroundPanel`, whose controls
8
+ to choose a file and submit it were hidden on DSM. The executor digest table
9
+ records SDK 0.9.8 with the same executor and lifecycle digests as 0.9.7, and
10
+ the policy digest does not change, so a rebuilt App keeps the pins it was
11
+ approved with.
12
+
13
+ 繁中摘要:使用 SDK 0.9.8 與 templates 0.9.7(UI 0.9.2)。SDK 0.9.8 修正
14
+ `BackgroundPanel` 在 DSM 上看不到選檔與送出按鈕。digest 表加入 SDK 0.9.8,
15
+ executor 與 lifecycle digest 與 0.9.7 相同,policy digest 也不變,重建的 App
16
+ 沿用原本核准的 pins。
17
+
3
18
  ## 0.9.6 (2026-10-12)
4
19
 
5
20
  Builds with SDK 0.9.7 and templates 0.9.6: `init` writes SDK v0.9.7 (Go
6
21
  module and Rust crate tag), `@synopackageland/sdk` 0.9.7 and
7
22
  `@synopackageland/ui` 0.9.2. The executor digest table records SDK 0.9.7,
8
23
  whose executor and lifecycle binary changed, so a rebuilt App carries new
9
- executor digests. SDK 0.9.7 adds `bg.jobs.pause` and `bg.jobs.resume` to the
10
- policy, so the policy digest of every App changes: after the upgrade, every
11
- App asks for approval again.
24
+ executor digests. The policy digest changes only for an App that declares
25
+ `uninstall.purge.root`, and such an App asks for approval again after the
26
+ upgrade; `bg.jobs.pause` and `bg.jobs.resume` reach the CGI route table, not
27
+ the policy. Whether new executor digests alone ask for approval again has not
28
+ been checked on a DSM yet.
12
29
 
13
30
  繁中摘要:使用 SDK 0.9.7 與 templates 0.9.6(UI 0.9.2)。executor digest 表加入
14
31
  SDK 0.9.7;executor 與 lifecycle 都有變更,重建的 App 會帶新的 executor digest。
15
- SDK 0.9.7 的 policy 新增 `bg.jobs.pause`、`bg.jobs.resume`,所有 App 的 policy
16
- digest 都會變,升級後都需要重新核准。新增解除安裝 hook(`uninstall.purge`)。
32
+ 只有宣告 `uninstall.purge.root` 的 App 的 policy digest 會變,升級後需要重新核准;
33
+ `bg.jobs.pause`、`bg.jobs.resume` 只進 CGI route 表,不影響 policy。只換 executor
34
+ digest 時是否需要重新核准,尚未在 DSM 上驗證。新增解除安裝 hook(`uninstall.purge`)。
17
35
 
18
36
  - Uninstall hook: `uninstall.purge` in dsm-package.yaml (`exec`, `args`,
19
37
  `env`, `timeout` 2..120 s, optional `root`) names the App's own command,
@@ -86,5 +86,16 @@
86
86
  "armv7": "02da8b7016abfe00b8f18e27ef2d69bcff1ca376b43e17b8c04983ca6a6ef37d"
87
87
  },
88
88
  "goToolchain": "go1.26.9"
89
+ },
90
+ "0.9.8": {
91
+ "x86_64": "d029ca6129e76cdc5b7016378722af166b511fb346fd1002082e611bec0aef4d",
92
+ "aarch64": "ac8018a9846a8aaca6f06323f033a27f7abef6705601efde57ea02565105a48d",
93
+ "armv7": "f7b4ee5fb90c8f2dd2c56ec1eeb7749300ad117a23d9df6da6840d8b2eff83b8",
94
+ "lifecycle": {
95
+ "x86_64": "f2f0a6aa83399688441b111adee3958d7df50e9d8e33939e3951da393f013819",
96
+ "aarch64": "d0f0d42f367093d5c9318afb4719b9ac76b1019574f1db34dd0fcb3aba44945b",
97
+ "armv7": "02da8b7016abfe00b8f18e27ef2d69bcff1ca376b43e17b8c04983ca6a6ef37d"
98
+ },
99
+ "goToolchain": "go1.26.9"
89
100
  }
90
101
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@synopackageland/cli",
3
- "version": "0.9.6",
3
+ "version": "0.9.7",
4
4
  "description": "Syno Package Land Developer Kit CLI",
5
5
  "type": "module",
6
6
  "bin": {
@@ -24,7 +24,7 @@
24
24
  "prepublishOnly": "npm run build"
25
25
  },
26
26
  "dependencies": {
27
- "@synopackageland/templates": "0.9.6",
27
+ "@synopackageland/templates": "0.9.7",
28
28
  "ajv": "^8.17.1",
29
29
  "commander": "^13.1.0",
30
30
  "tar": "^7.4.3",