@synopackageland/cli 0.9.2 → 0.9.3

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,5 +1,29 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.9.3 (2026-10-12)
4
+
5
+ Builds with SDK 0.9.4 and templates 0.9.3: `init` writes SDK v0.9.4 and
6
+ `@synopackageland/sdk` 0.9.4. The executor digest table records SDK 0.9.4,
7
+ whose executor asks DSM's native `SLIBAppPrivUserHas` for App Privileges
8
+ instead of the `SYNO.Core.AppPriv.App` preview. An App rebuilt with SDK 0.9.4
9
+ gets the new executor; the policy digest stays the same, so an installed App
10
+ needs no new approval.
11
+
12
+ 繁中摘要:使用 SDK 0.9.4 與 templates 0.9.3。executor 改以 DSM 原生
13
+ `SLIBAppPrivUserHas` 判斷應用程式權限,digest 表加入 0.9.4;policy digest 不變,
14
+ 重新建置後已安裝的 App 不需重新核准。限定 IP 的應用程式權限規則改為依瀏覽器位址
15
+ 判斷;自行組 `auth` 的呼叫端必須帶 `remote_addr`,否則 executor 回 `APP_DENIED`。
16
+
17
+ - Behavior change: an Application Privileges rule limited to IP addresses
18
+ applies to the browser's address; with SDK 0.9.3 or earlier the executor
19
+ refused every request under such a rule. Work no browser asked for is
20
+ checked as coming from 127.0.0.1. The generated CGI sends the address
21
+ through `api.DSMSession`; code that builds the executor `auth` itself must
22
+ add `remote_addr` or the executor refuses with `APP_DENIED`.
23
+ - The fake-DSM executor flow tests host the 0.9.4 executor's embedded bridge
24
+ and check the online grant against the browser's address and the offline
25
+ write against 127.0.0.1.
26
+
3
27
  ## 0.9.2 (2026-10-12)
4
28
 
5
29
  Builds with SDK 0.9.3 and templates 0.9.2: `init` writes SDK v0.9.3 and
@@ -42,5 +42,16 @@
42
42
  "armv7": "b65a14f0fc77a1d3221c7dc6781eb66059aa200956b094d58a62bd1cad10f116"
43
43
  },
44
44
  "goToolchain": "go1.26.9"
45
+ },
46
+ "0.9.4": {
47
+ "x86_64": "fc3c206b6a8e30b7470cedabf6676c027960311469685eab2fe544fe6cc671ac",
48
+ "aarch64": "aa1a8a1b88758ad47ca69d30e9649a24a93b94b5b5fc181ce782035c2c77c497",
49
+ "armv7": "0c39cb98b67735fede6bbbe91471695e26707f377cbc50dd860a1d9a7fe06fcf",
50
+ "lifecycle": {
51
+ "x86_64": "819459580135e016184ad80c258350d57194d6134e8aa4cf1caf5237085b1004",
52
+ "aarch64": "5abcfc21403e84a0af15d972bcb819ac6fedfd9aaf5898ddc8c4bb06130f9f59",
53
+ "armv7": "b65a14f0fc77a1d3221c7dc6781eb66059aa200956b094d58a62bd1cad10f116"
54
+ },
55
+ "goToolchain": "go1.26.9"
45
56
  }
46
57
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@synopackageland/cli",
3
- "version": "0.9.2",
3
+ "version": "0.9.3",
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.2",
27
+ "@synopackageland/templates": "0.9.3",
28
28
  "ajv": "^8.17.1",
29
29
  "commander": "^13.1.0",
30
30
  "tar": "^7.4.3",