@synopackageland/templates 0.34.0 → 0.35.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/README.md +8 -8
- 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 +4 -4
- 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,8 @@ daemon:
|
|
|
22
22
|
window_seconds: 300
|
|
23
23
|
```
|
|
24
24
|
|
|
25
|
-
Templates 0.
|
|
26
|
-
Use CLI 0.
|
|
25
|
+
Templates 0.35.0 pin UI 0.16.1 and SDK 0.37.0 in native and Compose projects.
|
|
26
|
+
Use CLI 0.40.0. The Vue `AppShell` shows a
|
|
27
27
|
non-blocking **Reload** notice when an upgrade replaced the UI an open page
|
|
28
28
|
loaded. Go Apps select
|
|
29
29
|
their controller from their Go SDK requirement; an identity gateway selects it
|
|
@@ -91,9 +91,9 @@ so no UI peer override is needed. Tests use jsdom 30 for UI floating-layer style
|
|
|
91
91
|
|
|
92
92
|
Interactive NAS file operations use same-origin browser calls.
|
|
93
93
|
Custom file handlers use the SDK's
|
|
94
|
-
[session transport migration](https://github.com/synopackageland/syno-pkg-land-sdk/blob/v0.
|
|
95
|
-
CLI 0.
|
|
96
|
-
executor/v0.32.0 and its executor digests. Its `~0.
|
|
94
|
+
[session transport migration](https://github.com/synopackageland/syno-pkg-land-sdk/blob/v0.37.0/docs/dsm-session-transport.md).
|
|
95
|
+
CLI 0.40.0 reads SDK 0.37.0's release manifest, which names immutable
|
|
96
|
+
executor/v0.32.0 and its executor digests. Its `~0.35.0` templates
|
|
97
97
|
dependency selects this release.
|
|
98
98
|
|
|
99
99
|
Every App method must appear in the permissions table, including methods whose
|
|
@@ -108,7 +108,7 @@ Keep punctuation between sentences and intentional loading ellipses.
|
|
|
108
108
|
|
|
109
109
|
## Hyper Backup
|
|
110
110
|
|
|
111
|
-
Native Apps appear in Hyper Backup as applications by default. CLI 0.
|
|
111
|
+
Native Apps appear in Hyper Backup as applications by default. CLI 0.40.0
|
|
112
112
|
builds them with a fixed `scripts/backup/` shim that Hyper Backup runs as
|
|
113
113
|
root; it only switches to the package account, which archives or restores the
|
|
114
114
|
App's data folder with the SDK backup control. The App itself still runs as
|
|
@@ -124,7 +124,7 @@ Keep `base: './'`, relative imports and `cssCodeSplit: false`; allow lazy chunks
|
|
|
124
124
|
with `() => import('./Page.vue')` or `defineAsyncComponent`. Each mount creates
|
|
125
125
|
its own Vue App and returns synchronous cleanup.
|
|
126
126
|
|
|
127
|
-
CLI 0.
|
|
127
|
+
CLI 0.40.0 copies the entire output into `ui/app/<tree-sha256>/` and verifies it
|
|
128
128
|
during `inspect`. Changing a lazy chunk changes the snapshot URL. An open page
|
|
129
129
|
may need to reload after an upgrade when an old lazy chunk is unavailable.
|
|
130
130
|
See the SDK's [frontend bundle contract](https://github.com/synopackageland/syno-pkg-land-sdk/blob/main/docs/frontend-bundles.md).
|
|
@@ -263,4 +263,4 @@ The bridge examples expose submission, lookup and cancellation through
|
|
|
263
263
|
|
|
264
264
|
## External access
|
|
265
265
|
|
|
266
|
-
With CLI 0.
|
|
266
|
+
With CLI 0.40.0 and SDK 0.37.0, 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.
|
|
3
|
+
"version": "0.35.0",
|
|
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": {
|
|
@@ -16,7 +16,7 @@ compose:
|
|
|
16
16
|
web: {service: web, port: 8080, health: {path: /, status: 200}}
|
|
17
17
|
network: {egress: isolated}
|
|
18
18
|
identity_gateway:
|
|
19
|
-
sdk: 0.
|
|
19
|
+
sdk: 0.37.0
|
|
20
20
|
mode: none
|
|
21
21
|
listen: {http: 28000}
|
|
22
22
|
# 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.
|
|
2
|
-
github.com/synopackageland/syno-pkg-land-sdk v0.
|
|
1
|
+
github.com/synopackageland/syno-pkg-land-sdk v0.37.0 h1:dkqt12qK6CTyGQyQ4cuXQH+OjgWN8kJ5PfVrYZjLmMM=
|
|
2
|
+
github.com/synopackageland/syno-pkg-land-sdk v0.37.0/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.
|
|
10
|
+
"@synopackageland/sdk": "0.37.0",
|
|
11
11
|
"@synopackageland/ui": "0.16.1",
|
|
12
12
|
"vue": "3.5.43"
|
|
13
13
|
},
|
|
@@ -1152,9 +1152,9 @@
|
|
|
1152
1152
|
}
|
|
1153
1153
|
},
|
|
1154
1154
|
"node_modules/@synopackageland/sdk": {
|
|
1155
|
-
"version": "0.
|
|
1156
|
-
"resolved": "https://registry.npmjs.org/@synopackageland/sdk/-/sdk-0.
|
|
1157
|
-
"integrity": "sha512-
|
|
1155
|
+
"version": "0.37.0",
|
|
1156
|
+
"resolved": "https://registry.npmjs.org/@synopackageland/sdk/-/sdk-0.37.0.tgz",
|
|
1157
|
+
"integrity": "sha512-l/qCjGLHfhUq4vU41ko+wdxLWccQ0dIwPMbnPX275tNxOGLazJJFSLIdyBpG2qTJAQEcmb3nf9CqgwGHWAAGJg==",
|
|
1158
1158
|
"license": "MIT",
|
|
1159
1159
|
"peerDependencies": {
|
|
1160
1160
|
"@lucide/vue": "^1.48.0",
|
|
@@ -104,8 +104,8 @@ dependencies = [
|
|
|
104
104
|
|
|
105
105
|
[[package]]
|
|
106
106
|
name = "syno-pkg-land-app"
|
|
107
|
-
version = "0.
|
|
108
|
-
source = "git+https://github.com/synopackageland/syno-pkg-land-sdk?tag=v0.
|
|
107
|
+
version = "0.37.0"
|
|
108
|
+
source = "git+https://github.com/synopackageland/syno-pkg-land-sdk?tag=v0.37.0#90b08975f7acb062c3ed66a9f3d21abe622cfa6d"
|
|
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.
|
|
12
|
+
syno-pkg-land-app = { git = "https://github.com/synopackageland/syno-pkg-land-sdk", tag = "v0.37.0" }
|
|
13
13
|
|
|
14
14
|
[profile.release]
|
|
15
15
|
# A handler panic becomes an "internal" reply; abort would end the App without one.
|