@synopackageland/templates 0.31.2 → 0.31.5
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/README.md +11 -9
- package/package.json +1 -1
- package/templates/compose/dsm-package.yaml +1 -1
- package/templates/native-go/backend/THIRD_PARTY_NOTICES.txt +1 -1
- package/templates/native-go/backend/go.mod +1 -1
- package/templates/native-go/backend/go.sum +2 -2
- package/templates/native-go-vue/frontend/package-lock.json +5 -5
- package/templates/native-go-vue/frontend/package.json +1 -1
- package/templates/native-node/dsm-package.yaml +1 -1
- package/templates/native-python/dsm-package.yaml +1 -1
- package/templates/native-rust/backend/Cargo.lock +2 -2
- package/templates/native-rust/backend/Cargo.toml +1 -1
package/README.md
CHANGED
|
@@ -22,8 +22,10 @@ daemon:
|
|
|
22
22
|
window_seconds: 300
|
|
23
23
|
```
|
|
24
24
|
|
|
25
|
-
Templates pin UI 0.16.1 and SDK 0.31.
|
|
26
|
-
Use CLI 0.31.0 or later.
|
|
25
|
+
Templates pin UI 0.16.1 and SDK 0.31.5 in native and Compose projects.
|
|
26
|
+
Use CLI 0.31.0 or later; with CLI 0.33.2 or later, the Vue `AppShell` shows a
|
|
27
|
+
non-blocking **Reload** notice when an upgrade replaced the UI an open page
|
|
28
|
+
loaded. Go Apps select
|
|
27
29
|
their controller from their Go SDK requirement; an identity gateway selects it
|
|
28
30
|
from `identity_gateway.sdk`. The CLI rejects older selected versions, even for
|
|
29
31
|
an explicit `mode: off`, rather than dropping the declaration. A local SDK source
|
|
@@ -39,7 +41,7 @@ for declaration bounds, SDK selection, build/inspect checks and diagnostics.
|
|
|
39
41
|
|
|
40
42
|
An opt-in [Shared Folder permission example](examples/shared-folder-permission/README.md)
|
|
41
43
|
shows the Go status-handler registration and a Vue notice for startup checks and
|
|
42
|
-
storage failures. It uses the same SDK 0.31.
|
|
44
|
+
storage failures. It uses the same SDK 0.31.5 release pinned by the default scaffolds.
|
|
43
45
|
|
|
44
46
|
An opt-in [native UI plus DSM console example](examples/dual-entry-console/README.md)
|
|
45
47
|
shows the `console` declaration for an App that wraps a web service behind the
|
|
@@ -79,20 +81,20 @@ calls each one from the generated script of the same name (`synopkgland skill sh
|
|
|
79
81
|
The placeholders `__PACKAGE__` (also the Go module path), `__DISPLAY_NAME__` and
|
|
80
82
|
`__BACKGROUND_ENABLED__` are substituted by `init`.
|
|
81
83
|
|
|
82
|
-
`backend/go.mod` requires `github.com/synopackageland/syno-pkg-land-sdk v0.31.
|
|
84
|
+
`backend/go.mod` requires `github.com/synopackageland/syno-pkg-land-sdk v0.31.5`; that line is
|
|
83
85
|
the single source of the SDK version and `frontend/package.json` pins
|
|
84
86
|
`@synopackageland/sdk` to the same version. Python and Node.js name it in
|
|
85
87
|
`backend.sdk`, Rust in the `syno-pkg-land-app` tag of `backend/Cargo.toml`
|
|
86
|
-
(and `Cargo.lock`); all of them pin 0.31.
|
|
87
|
-
`@synopackageland/ui` 0.16.1. SDK 0.31.
|
|
88
|
+
(and `Cargo.lock`); all of them pin 0.31.5. The Vue frontend pins
|
|
89
|
+
`@synopackageland/ui` 0.16.1. SDK 0.31.5 accepts UI `>=0.10.1 <0.18.0`,
|
|
88
90
|
so no UI peer override is needed. Tests use jsdom 30 for UI floating-layer styles.
|
|
89
91
|
|
|
90
92
|
SDK 0.27.0 moves interactive NAS file operations to same-origin browser calls.
|
|
91
93
|
Custom file handlers use the SDK's
|
|
92
94
|
[session transport migration](https://github.com/synopackageland/syno-pkg-land-sdk/blob/v0.27.0/docs/dsm-session-transport.md).
|
|
93
|
-
CLI 0.31.0 reads SDK 0.31.
|
|
95
|
+
CLI 0.31.0 reads SDK 0.31.5's release manifest, which reuses the immutable
|
|
94
96
|
executor/v0.31.0 and its lifecycle digests. Its `~0.31.0` templates dependency
|
|
95
|
-
accepts templates 0.31.
|
|
97
|
+
accepts templates 0.31.5 on a fresh install; no CLI patch is required. Rebuilt
|
|
96
98
|
protected executors follow normal administrator approval. No NAS acceptance is claimed.
|
|
97
99
|
|
|
98
100
|
UI and i18n text, including the DSM glossary, omit terminal sentence periods.
|
|
@@ -232,4 +234,4 @@ The bridge examples expose submission, lookup and cancellation through
|
|
|
232
234
|
|
|
233
235
|
## External access
|
|
234
236
|
|
|
235
|
-
With CLI 0.31.0 and SDK 0.31.
|
|
237
|
+
With CLI 0.31.0 and SDK 0.31.5, a gateway App may declare `identity_gateway.external_access: {connect: optional, origin_change: confirm, single_origin: true}` for an upstream that signs in on one fixed URL. The policy is forwarded to the packaged gateway. A single-origin App's `manual_origin` accepts an explicit HTTPS port; the `external-origin` installation setting remains restricted to port 443. The DSM launcher selects a provider destination, probes `/_spl/ping` for up to eight seconds, and explains failures before offering **Open anyway**. A configured single-origin App always opens its primary external origin.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@synopackageland/templates",
|
|
3
|
-
"version": "0.31.
|
|
3
|
+
"version": "0.31.5",
|
|
4
4
|
"description": "Project templates for synopkgland init: native-go, native-python, native-node and native-rust (plain or Vue, with jobs, delegate and root-ops overlays), binary and compose.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -14,7 +14,7 @@ compose:
|
|
|
14
14
|
web: {service: web, port: 8080, health: {path: /, status: 200}}
|
|
15
15
|
network: {egress: isolated}
|
|
16
16
|
identity_gateway:
|
|
17
|
-
sdk: 0.31.
|
|
17
|
+
sdk: 0.31.5
|
|
18
18
|
mode: none
|
|
19
19
|
listen: {http: 28000}
|
|
20
20
|
# Web Apps default to new-page through the shared app-launch resolver.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
github.com/synopackageland/syno-pkg-land-sdk v0.31.
|
|
2
|
-
github.com/synopackageland/syno-pkg-land-sdk v0.31.
|
|
1
|
+
github.com/synopackageland/syno-pkg-land-sdk v0.31.5 h1:zdz6QHQ/kOhoJSUrvOa9siVZZokhqnsk2iOe/wMk+9s=
|
|
2
|
+
github.com/synopackageland/syno-pkg-land-sdk v0.31.5/go.mod h1:8GwREGbczc8mAk4Gv8FUHaukXXCUstjzkovQrNV59Cc=
|
|
3
3
|
golang.org/x/sys v0.44.0 h1:ildZl3J4uzeKP07r2F++Op7E9B29JRUy+a27EibtBTQ=
|
|
4
4
|
golang.org/x/sys v0.44.0/go.mod h1:4GL1E5IUh+htKOUEOaiffhrAeqysfVGipDYzABqnCmw=
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
"name": "native-dsm-vue-app",
|
|
8
8
|
"dependencies": {
|
|
9
9
|
"@lucide/vue": "1.48.0",
|
|
10
|
-
"@synopackageland/sdk": "0.31.
|
|
10
|
+
"@synopackageland/sdk": "0.31.5",
|
|
11
11
|
"@synopackageland/ui": "0.16.1",
|
|
12
12
|
"vue": "3.5.43"
|
|
13
13
|
},
|
|
@@ -1152,13 +1152,13 @@
|
|
|
1152
1152
|
}
|
|
1153
1153
|
},
|
|
1154
1154
|
"node_modules/@synopackageland/sdk": {
|
|
1155
|
-
"version": "0.31.
|
|
1156
|
-
"resolved": "https://registry.npmjs.org/@synopackageland/sdk/-/sdk-0.31.
|
|
1157
|
-
"integrity": "sha512-
|
|
1155
|
+
"version": "0.31.5",
|
|
1156
|
+
"resolved": "https://registry.npmjs.org/@synopackageland/sdk/-/sdk-0.31.5.tgz",
|
|
1157
|
+
"integrity": "sha512-m79KCOEqJ2i69m+oJsQxEqWMA96Ageza821a5w7rJDDLYefRDxbk/TlbXeiNdyBn39USVEXFZkk5khM+iFafJA==",
|
|
1158
1158
|
"license": "MIT",
|
|
1159
1159
|
"peerDependencies": {
|
|
1160
1160
|
"@lucide/vue": "^1.48.0",
|
|
1161
|
-
"@synopackageland/ui": ">=0.10.1 <0.
|
|
1161
|
+
"@synopackageland/ui": ">=0.10.1 <0.18.0",
|
|
1162
1162
|
"vue": "^3.5.0"
|
|
1163
1163
|
},
|
|
1164
1164
|
"peerDependenciesMeta": {
|
|
@@ -104,8 +104,8 @@ dependencies = [
|
|
|
104
104
|
|
|
105
105
|
[[package]]
|
|
106
106
|
name = "syno-pkg-land-app"
|
|
107
|
-
version = "0.31.
|
|
108
|
-
source = "git+https://github.com/synopackageland/syno-pkg-land-sdk?tag=v0.31.
|
|
107
|
+
version = "0.31.5"
|
|
108
|
+
source = "git+https://github.com/synopackageland/syno-pkg-land-sdk?tag=v0.31.5#138aa1bb1155f3386e38b997241ef0ef3266160a"
|
|
109
109
|
dependencies = [
|
|
110
110
|
"libc",
|
|
111
111
|
"serde",
|
|
@@ -9,7 +9,7 @@ libc = "0.2"
|
|
|
9
9
|
serde = { version = "1", features = ["derive"] }
|
|
10
10
|
serde_json = "1"
|
|
11
11
|
# The SDK version is the tag; `synopkgland check` reads it from Cargo.lock.
|
|
12
|
-
syno-pkg-land-app = { git = "https://github.com/synopackageland/syno-pkg-land-sdk", tag = "v0.31.
|
|
12
|
+
syno-pkg-land-app = { git = "https://github.com/synopackageland/syno-pkg-land-sdk", tag = "v0.31.5" }
|
|
13
13
|
|
|
14
14
|
[profile.release]
|
|
15
15
|
# A handler panic becomes an "internal" reply; abort would end the App without one.
|