@plitzi/sdk-event-bridge 0.37.6 → 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 +26 -0
  2. package/package.json +2 -2
package/CHANGELOG.md CHANGED
@@ -1,5 +1,31 @@
1
1
  # @plitzi/sdk-event-bridge
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
+
3
29
  ## 0.37.6
4
30
 
5
31
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plitzi/sdk-event-bridge",
3
- "version": "0.37.6",
3
+ "version": "0.37.7",
4
4
  "license": "AGPL-3.0",
5
5
  "files": [
6
6
  "dist"
@@ -46,7 +46,7 @@
46
46
  "type": "module",
47
47
  "sideEffects": false,
48
48
  "dependencies": {
49
- "@plitzi/sdk-shared": "0.37.6",
49
+ "@plitzi/sdk-shared": "0.37.7",
50
50
  "prop-types": "^15.8.1"
51
51
  },
52
52
  "devDependencies": {