@synopackageland/cli 0.23.2 → 0.24.0

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,12 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.24.0 (2026-10-22)
4
+
5
+ - Pin Go 1.26.10 for every SDK runtime build, addressing crypto/x509 GO-2026-6809. Ship the matching executor/lifecycle digest inventory for SDK 0.24.0; older release records are preserved in their release history.
6
+ - Include the native HTTPS prestart port-release wait and diagnostics, and SDK/App UI 0.14 compatibility already merged in this release line.
7
+ - Use templates 0.24.0 with UI 0.14.0 and the supported DSM Node.js_v22 dependency. Update build/test environments to Node.js 24.22.1 LTS.
8
+ - Known limitations: rebuilding and upgrading executor Apps changes their protected payload digests and requires administrator reapproval of system access. No NAS acceptance is claimed.
9
+
3
10
  ## 0.23.2 (2026-10-22)
4
11
 
5
12
  - Build SDK/App 0.23.2 with its verified immutable executor/v0.20.0 digests; retain support for SDK/App 0.23.0 and 0.23.1. SDK 0.23.2 adds compatibility with UI 0.14.0.
@@ -4,7 +4,7 @@ import { type NativeArchFamily } from "./dsm-arch.js";
4
4
  * templates, so their digests do not depend on the builder's Go. Each
5
5
  * template go.mod names it in its `toolchain` line.
6
6
  */
7
- export declare const PINNED_GO_TOOLCHAIN = "go1.26.9";
7
+ export declare const PINNED_GO_TOOLCHAIN = "go1.26.10";
8
8
  /**
9
9
  * The `go build` environment for a binary the CLI ships from its own templates
10
10
  * (executor, lifecycle helper, daemon controller, gateway). GOTOOLCHAIN names
@@ -17,4 +17,4 @@ export declare function goBinaryVersion(file: string): string | undefined;
17
17
  /** Why a CLI-owned binary cannot ship: it was not built by the pinned Go release. */
18
18
  export declare function pinnedGoProblem(file: string): string | undefined;
19
19
  /** Appended to a failed CLI-owned `go build`: what the build needs. */
20
- export declare const PINNED_GO_HINT = "These binaries need go1.26.9: Go 1.21 or later downloads it automatically; offline, install go1.26.9 on PATH or allow GOPROXY to serve golang.org/toolchain.";
20
+ export declare const PINNED_GO_HINT = "These binaries need go1.26.10: Go 1.21 or later downloads it automatically; offline, install go1.26.10 on PATH or allow GOPROXY to serve golang.org/toolchain.";
@@ -5,7 +5,7 @@ import { goBuildEnv } from "./dsm-arch.js";
5
5
  * templates, so their digests do not depend on the builder's Go. Each
6
6
  * template go.mod names it in its `toolchain` line.
7
7
  */
8
- export const PINNED_GO_TOOLCHAIN = "go1.26.9";
8
+ export const PINNED_GO_TOOLCHAIN = "go1.26.10";
9
9
  /**
10
10
  * The `go build` environment for a binary the CLI ships from its own templates
11
11
  * (executor, lifecycle helper, daemon controller, gateway). GOTOOLCHAIN names
@@ -2,7 +2,7 @@ import { COMPOSE_ERRORS } from "./standalone/compose-errors.js";
2
2
  export const ERROR_REGISTRY = {
3
3
  ...COMPOSE_ERRORS,
4
4
  INSTALL_SETTINGS_INVALID: { "code": "INSTALL_SETTINGS_INVALID", "description": "The installation setting declaration is invalid.", "suggestion": "Declare 1–32 lowercase identifier keys in install.settings, each with type https-origin, a plain label and an explicit boolean required; omit defaults and values." },
5
- SDK_INSTALL_SETTINGS_UNSUPPORTED: { "code": "SDK_INSTALL_SETTINGS_UNSUPPORTED", "description": "The selected SDK does not provide native installation settings.", "suggestion": "Pin SDK 0.23.0 or a matching supported release with installsettings/cmd/control, then rebuild with the matching CLI." },
5
+ SDK_INSTALL_SETTINGS_UNSUPPORTED: { "code": "SDK_INSTALL_SETTINGS_UNSUPPORTED", "description": "The selected SDK does not provide native installation settings.", "suggestion": "Pin SDK 0.24.0 or a matching supported release with installsettings/cmd/control, then rebuild with the matching CLI." },
6
6
  SDK_INSTALL_SETTINGS_BUILD_FAILED: { "code": "SDK_INSTALL_SETTINGS_BUILD_FAILED", "description": "The SDK installation settings controller could not be built.", "suggestion": "Install the pinned Go toolchain, inspect the compiler diagnostics and rebuild with a complete matching SDK release." },
7
7
  INIT_HEALTH_INVALID: { code: "INIT_HEALTH_INVALID", description: "The Compose readiness selection is invalid.", suggestion: "Supply both --health-path and --health-status with the actual endpoint and expected 2xx response; redirects are not followed." },
8
8
  INIT_UPSTREAM_IMAGE_REQUIRED: { code: "INIT_UPSTREAM_IMAGE_REQUIRED", description: "The official upstream image repository was not selected.", suggestion: "Use init --upstream-fork --upstream-image <official-repository> for Compose." },
@@ -320,7 +320,7 @@ export const ERROR_REGISTRY = {
320
320
  STANDALONE_DAEMON_BUILD_FAILED: {
321
321
  code: "STANDALONE_DAEMON_BUILD_FAILED",
322
322
  description: "The package daemon's Go supervisor could not be built.",
323
- suggestion: "Install Go 1.21 or later (builds pin go1.26.9 and need it offline) and check the compiler stderr; the NAS does not need a Go toolchain.",
323
+ suggestion: "Install Go 1.21 or later (builds pin go1.26.10 and need it offline) and check the compiler stderr; the NAS does not need a Go toolchain.",
324
324
  },
325
325
  STANDALONE_DAEMON_PAYLOAD_INVALID: {
326
326
  code: "STANDALONE_DAEMON_PAYLOAD_INVALID",
@@ -340,7 +340,7 @@ export const ERROR_REGISTRY = {
340
340
  STANDALONE_IDENTITY_GATEWAY_BUILD_FAILED: {
341
341
  code: "STANDALONE_IDENTITY_GATEWAY_BUILD_FAILED",
342
342
  description: "The SDK identity gateway could not be built from identity_gateway.sdk.",
343
- suggestion: "Use an SDK release that contains idgateway/cmd/gateway, install Go (builds pin go1.26.9) and check the compiler stderr.",
343
+ suggestion: "Use an SDK release that contains idgateway/cmd/gateway, install Go (builds pin go1.26.10) and check the compiler stderr.",
344
344
  },
345
345
  STANDALONE_IDENTITY_GATEWAY_ARTIFACT_REQUIRED: {
346
346
  code: "STANDALONE_IDENTITY_GATEWAY_ARTIFACT_REQUIRED",
@@ -830,12 +830,12 @@ export const ERROR_REGISTRY = {
830
830
  EXECUTOR_BUILD_FAILED: {
831
831
  code: "EXECUTOR_BUILD_FAILED",
832
832
  description: "Compiling the executor or lifecycle helper from the App's SDK version failed.",
833
- suggestion: "Confirm Go 1.21 or later is installed and go1.26.9 is available (prepare it offline), and check the compiler output in the message.",
833
+ suggestion: "Confirm Go 1.21 or later is installed and go1.26.10 is available (prepare it offline), and check the compiler output in the message.",
834
834
  },
835
835
  EXECUTOR_DIGEST_MISMATCH: {
836
836
  code: "EXECUTOR_DIGEST_MISMATCH",
837
837
  description: "The executor built from the SDK version does not match the sha256 table bundled in the CLI, or the table has no entry for this SDK version.",
838
- suggestion: "Confirm github.com/synopackageland/syno-pkg-land-sdk in backend/go.mod is a release version and Go is go1.26.9; upgrade the CLI when the table has no entry for that version.",
838
+ suggestion: "Confirm github.com/synopackageland/syno-pkg-land-sdk in backend/go.mod is a release version and Go is go1.26.10; upgrade the CLI when the table has no entry for that version.",
839
839
  },
840
840
  EXECUTOR_DIGEST_UNVERIFIED: {
841
841
  code: "EXECUTOR_DIGEST_UNVERIFIED",
@@ -964,8 +964,8 @@ export const ERROR_REGISTRY = {
964
964
  },
965
965
  STANDALONE_RUNTIME_BUILD_FAILED: {
966
966
  code: "STANDALONE_RUNTIME_BUILD_FAILED",
967
- description: "Compiling the bridge runtime (bridge/cmd/runtime) from the App's SDK version failed, or the result was not built with go1.26.9.",
968
- suggestion: "Confirm Go 1.21 or later is installed and go1.26.9 is available; that SDK version must contain the bridge runtime; check the compiler output in the message.",
967
+ description: "Compiling the bridge runtime (bridge/cmd/runtime) from the App's SDK version failed, or the result was not built with go1.26.10.",
968
+ suggestion: "Confirm Go 1.21 or later is installed and go1.26.10 is available; that SDK version must contain the bridge runtime; check the compiler output in the message.",
969
969
  },
970
970
  STANDALONE_BRIDGE_DESCRIBE_FAILED: {
971
971
  code: "STANDALONE_BRIDGE_DESCRIBE_FAILED",
@@ -1,35 +1,13 @@
1
1
  {
2
- "0.23.0": {
3
- "x86_64": "e27cfeb85fed221b06f9c58166f02c0f701a724308cd17c96a43a843a0b5c4aa",
4
- "aarch64": "908db00cbd37d072f6ffc339e7bca24da5efb8cddd4befcbad02c7398beb7191",
5
- "armv7": "a0f35d62ec80a1bf3fb49f5e2d1a5f7576eda569a6fd0695084cec6cb8e100bc",
2
+ "0.24.0": {
3
+ "x86_64": "de78684faac211c24a7cda8a4541ab1b138d37f6d580936fe354bb9bd0d78a0f",
4
+ "aarch64": "8ef7c736203f6c111816b76f970b7204fa6f8d871ff3222fd7c0a27d0075b847",
5
+ "armv7": "a38703119554b5f2a8bf4810ec2a6c8f1d793bfbb1ca96803eb1b39a26ffd96c",
6
6
  "lifecycle": {
7
- "x86_64": "9bb53301670b43cdcd6e21cebac99ab7abd82962d874f32423a81e6cb49d4972",
8
- "aarch64": "38fe873c86eb102c850baa1f304114a83a31d1df72defd22792bc37610fec9bb",
9
- "armv7": "256fb348b275da7ac5728a3cb7cb7c65660de0d5c2c59430ab4f5ade1b0a3681"
7
+ "x86_64": "c6fbb377ecd5ec7ee5b96439f22091d9fa5965dfd616d510ca9445722f436721",
8
+ "aarch64": "a9ca1750d4d5cff4727dc29789e6eaf0a365cb0e674f1bb796971d82f2d4fa27",
9
+ "armv7": "6d25fc972eba12e3ac68f8b6a95a45e9e5706ebe19ffc1ff774fc318acbeb90f"
10
10
  },
11
- "goToolchain": "go1.26.9"
12
- },
13
- "0.23.1": {
14
- "x86_64": "e27cfeb85fed221b06f9c58166f02c0f701a724308cd17c96a43a843a0b5c4aa",
15
- "aarch64": "908db00cbd37d072f6ffc339e7bca24da5efb8cddd4befcbad02c7398beb7191",
16
- "armv7": "a0f35d62ec80a1bf3fb49f5e2d1a5f7576eda569a6fd0695084cec6cb8e100bc",
17
- "lifecycle": {
18
- "x86_64": "9bb53301670b43cdcd6e21cebac99ab7abd82962d874f32423a81e6cb49d4972",
19
- "aarch64": "38fe873c86eb102c850baa1f304114a83a31d1df72defd22792bc37610fec9bb",
20
- "armv7": "256fb348b275da7ac5728a3cb7cb7c65660de0d5c2c59430ab4f5ade1b0a3681"
21
- },
22
- "goToolchain": "go1.26.9"
23
- },
24
- "0.23.2": {
25
- "x86_64": "e27cfeb85fed221b06f9c58166f02c0f701a724308cd17c96a43a843a0b5c4aa",
26
- "aarch64": "908db00cbd37d072f6ffc339e7bca24da5efb8cddd4befcbad02c7398beb7191",
27
- "armv7": "a0f35d62ec80a1bf3fb49f5e2d1a5f7576eda569a6fd0695084cec6cb8e100bc",
28
- "lifecycle": {
29
- "x86_64": "9bb53301670b43cdcd6e21cebac99ab7abd82962d874f32423a81e6cb49d4972",
30
- "aarch64": "38fe873c86eb102c850baa1f304114a83a31d1df72defd22792bc37610fec9bb",
31
- "armv7": "256fb348b275da7ac5728a3cb7cb7c65660de0d5c2c59430ab4f5ade1b0a3681"
32
- },
33
- "goToolchain": "go1.26.9"
11
+ "goToolchain": "go1.26.10"
34
12
  }
35
13
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@synopackageland/cli",
3
- "version": "0.23.2",
3
+ "version": "0.24.0",
4
4
  "description": "Syno Package Land Developer Kit CLI",
5
5
  "type": "module",
6
6
  "bin": {
@@ -27,7 +27,7 @@
27
27
  },
28
28
  "dependencies": {
29
29
  "@napi-rs/keyring": "^2.1.1",
30
- "@synopackageland/templates": "0.23.0",
30
+ "@synopackageland/templates": "0.24.0",
31
31
  "ajv": "^8.17.1",
32
32
  "commander": "^13.1.0",
33
33
  "json-canonicalize": "^3.0.1",