@plitzi/sdk-navigation 0.37.5 → 0.37.7

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 +47 -0
  2. package/package.json +2 -2
package/CHANGELOG.md CHANGED
@@ -1,5 +1,52 @@
1
1
  # @plitzi/sdk-navigation
2
2
 
3
+ ## 0.37.7
4
+
5
+ ### Patch Changes
6
+
7
+ - 4d10e0a: ## CDNs with several buckets
8
+
9
+ A CDN is the customer's own storage account — S3 or R2, which they run and pay for — and now holds any number of
10
+ buckets, each with its own configuration: its name at the provider, its region, `public` (served at its domain) or
11
+ `private` (no domain, read only by the platform with the CDN's credential).
12
+
13
+ - `Cdn` carries `buckets: CdnBucket[]`; `domain`, `visibility`, `bucketName` and `region` moved from the CDN to its
14
+ buckets. `Resource.bucketIdentifier` names the bucket a file is in.
15
+ - `SpaceAddCdn(name, provider, endpoint, buckets)` creates the account with its buckets; `SpaceUpdateCdn` changes the
16
+ account only. New `SpaceAddCdnBucket`, `SpaceUpdateCdnBucket` and `SpaceRemoveCdnBucket`.
17
+ - `SpaceResources`, `SpaceAddResource`, `SpaceRemoveResource` and `SpaceMoveResource` take `bucketIdentifier`.
18
+ - Server code — functions and runtime — goes in the space's oldest private bucket. A bucket that keeps code a version
19
+ runs can be neither made public, pointed at another bucket nor removed, and neither can its CDN.
20
+ - Builder: Resources shows each CDN with its buckets — add, edit and remove buckets, upload and browse per bucket; the
21
+ account (name, provider, endpoint, credential) is edited apart. Saving an element as a template picks a public
22
+ bucket (`elementAsTemplate({ cdnIdentifier, bucketIdentifier }, …)`).
23
+ - CLI: `plitzi upload plugin --bucket <identifier>` (with `--cdn` to narrow); only public buckets are offered, a private
24
+ one is refused.
25
+
26
+ - Updated dependencies [4d10e0a]
27
+ - @plitzi/sdk-shared@0.37.7
28
+
29
+ ## 0.37.6
30
+
31
+ ### Patch Changes
32
+
33
+ - d6c2a21: ## Server code on a private CDN
34
+
35
+ - **A CDN has a visibility**: `public` (the default — its files served at its domain: plugins, images, templates) or
36
+ `private` (no domain, read only by the platform with its credential). The builder's CDN form asks for it, and every
37
+ CDN now has **Settings** in Resources to change its configuration — until now a CDN could not be edited at all.
38
+ - **A space's server code is kept on its private CDN**, not in the platform's database: its functions' source and
39
+ bundle, and its runtime's packed code, named by what they hold. Saving functions or pushing a runtime to a space with
40
+ no private CDN is refused with how to add one (`FunctionsRefusal.limit: 'storage'`). Resources lists them under
41
+ **Server code** with the versions that run each (`Resource.usedBy`, `ResourceType` `server`); one in use cannot be
42
+ removed. A private CDN cannot take a page's file, and `plitzi upload plugin` offers only public CDNs.
43
+ - **A space made from a template** gets the template's functions as an offer (`FunctionsDraft.offer`): the Functions
44
+ panel installs them (`SpaceInstallTemplateFunctions`) once the space has a private CDN.
45
+ - Types: `Cdn.visibility`, `CdnVisibility`; `SpaceAddCdn` / `SpaceUpdateCdn` take `visibility` and a nullable `domain`.
46
+
47
+ - Updated dependencies [d6c2a21]
48
+ - @plitzi/sdk-shared@0.37.6
49
+
3
50
  ## 0.37.5
4
51
 
5
52
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plitzi/sdk-navigation",
3
- "version": "0.37.5",
3
+ "version": "0.37.7",
4
4
  "license": "AGPL-3.0",
5
5
  "files": [
6
6
  "dist"
@@ -51,6 +51,6 @@
51
51
  },
52
52
  "dependencies": {
53
53
  "@plitzi/plitzi-ui": "^1.6.24",
54
- "@plitzi/sdk-shared": "0.37.5"
54
+ "@plitzi/sdk-shared": "0.37.7"
55
55
  }
56
56
  }