@plitzi/sdk-style 0.37.5 → 0.37.6

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.
Files changed (2) hide show
  1. package/CHANGELOG.md +23 -0
  2. package/package.json +4 -4
package/CHANGELOG.md CHANGED
@@ -1,5 +1,28 @@
1
1
  # @plitzi/sdk-style
2
2
 
3
+ ## 0.37.6
4
+
5
+ ### Patch Changes
6
+
7
+ - d6c2a21: ## Server code on a private CDN
8
+
9
+ - **A CDN has a visibility**: `public` (the default — its files served at its domain: plugins, images, templates) or
10
+ `private` (no domain, read only by the platform with its credential). The builder's CDN form asks for it, and every
11
+ CDN now has **Settings** in Resources to change its configuration — until now a CDN could not be edited at all.
12
+ - **A space's server code is kept on its private CDN**, not in the platform's database: its functions' source and
13
+ bundle, and its runtime's packed code, named by what they hold. Saving functions or pushing a runtime to a space with
14
+ no private CDN is refused with how to add one (`FunctionsRefusal.limit: 'storage'`). Resources lists them under
15
+ **Server code** with the versions that run each (`Resource.usedBy`, `ResourceType` `server`); one in use cannot be
16
+ removed. A private CDN cannot take a page's file, and `plitzi upload plugin` offers only public CDNs.
17
+ - **A space made from a template** gets the template's functions as an offer (`FunctionsDraft.offer`): the Functions
18
+ panel installs them (`SpaceInstallTemplateFunctions`) once the space has a private CDN.
19
+ - Types: `Cdn.visibility`, `CdnVisibility`; `SpaceAddCdn` / `SpaceUpdateCdn` take `visibility` and a nullable `domain`.
20
+
21
+ - Updated dependencies [d6c2a21]
22
+ - @plitzi/sdk-plugins@0.37.6
23
+ - @plitzi/sdk-shared@0.37.6
24
+ - @plitzi/sdk-variables@0.37.6
25
+
3
26
  ## 0.37.5
4
27
 
5
28
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plitzi/sdk-style",
3
- "version": "0.37.5",
3
+ "version": "0.37.6",
4
4
  "license": "AGPL-3.0",
5
5
  "files": [
6
6
  "dist"
@@ -937,9 +937,9 @@
937
937
  },
938
938
  "dependencies": {
939
939
  "@plitzi/plitzi-ui": "^1.6.24",
940
- "@plitzi/sdk-plugins": "0.37.5",
941
- "@plitzi/sdk-shared": "0.37.5",
942
- "@plitzi/sdk-variables": "0.37.5",
940
+ "@plitzi/sdk-plugins": "0.37.6",
941
+ "@plitzi/sdk-shared": "0.37.6",
942
+ "@plitzi/sdk-variables": "0.37.6",
943
943
  "clsx": "^2.1.1",
944
944
  "immer": "^11.1.18",
945
945
  "prop-types": "^15.8.1",