@plitzi/sdk-authoring 0.38.18 → 0.38.19

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 +24 -0
  2. package/package.json +7 -7
package/CHANGELOG.md CHANGED
@@ -1,5 +1,29 @@
1
1
  # @plitzi/sdk-authoring
2
2
 
3
+ ## 0.38.19
4
+
5
+ ### Patch Changes
6
+
7
+ - 92a9f1b: ## Security
8
+
9
+ - **The `Origin` fallback tells the ports apart over HTTP/2 too** (`@plitzi/sdk-server`): a browser that sends no
10
+ `Sec-Fetch-Site` (Safari before 16.4, older webviews) is judged by its `Origin`, compared with the authority the
11
+ request was addressed to. HTTP/2 carries no `Host` header — the authority is `:authority` — and the comparison then
12
+ fell back to the host's NAME, so every port and scheme of it counted as this server's own: what 0.38.18 closed for
13
+ `same-site` stayed open there, over TLS, where a Plitzi server speaks HTTP/2. The authority is now `:authority`,
14
+ `Host`, or the `X-Forwarded-Host` a proxy in front wrote — whichever names the host the request is answered as — port
15
+ included; when none does, the origin is not taken as its own. The write guard (`crossSiteWrites`), the sign-in's
16
+ login-CSRF check and `createOriginGuardMiddleware` share it.
17
+
18
+ ## Packages
19
+ - **The server evaluates rules without the query editor** (`@plitzi/sdk-shared`, `@plitzi/sdk-auth`,
20
+ `@plitzi/sdk-elements`, `@plitzi/sdk-interactions`, `@plitzi/plitzi-builder`): every evaluation of a `when` rule
21
+ group imports `QueryBuilderEvaluator` from `@plitzi/plitzi-ui/QueryBuilder/evaluator` — the evaluator alone — instead
22
+ of the `QueryBuilder` barrel, which brings the editor's React components, or `QueryBuilder/helpers`, which brings the
23
+ SQL and MongoDB formatters. `@plitzi/sdk-shared/helpers` reads `get` and `omit` from `@plitzi/plitzi-ui/helpers/lodash`.
24
+ Importing `@plitzi/sdk-server` loads 19 modules of `@plitzi/plitzi-ui` (26 before) and neither
25
+ `class-variance-authority` nor `clsx`, and starts in ~125 ms (~150 before). Needs `@plitzi/plitzi-ui` 1.6.34.
26
+
3
27
  ## 0.38.18
4
28
 
5
29
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plitzi/sdk-authoring",
3
- "version": "0.38.18",
3
+ "version": "0.38.19",
4
4
  "license": "AGPL-3.0",
5
5
  "files": [
6
6
  "dist/index.js",
@@ -63,12 +63,12 @@
63
63
  },
64
64
  "devDependencies": {
65
65
  "@microsoft/api-extractor": "^7.59.4",
66
- "@plitzi/plitzi-ui": "^1.6.33",
67
- "@plitzi/sdk-elements": "0.38.18",
68
- "@plitzi/sdk-interactions": "0.38.18",
69
- "@plitzi/sdk-schema": "0.38.18",
70
- "@plitzi/sdk-shared": "0.38.18",
71
- "@plitzi/sdk-style": "0.38.18",
66
+ "@plitzi/plitzi-ui": "^1.6.34",
67
+ "@plitzi/sdk-elements": "0.38.19",
68
+ "@plitzi/sdk-interactions": "0.38.19",
69
+ "@plitzi/sdk-schema": "0.38.19",
70
+ "@plitzi/sdk-shared": "0.38.19",
71
+ "@plitzi/sdk-style": "0.38.19",
72
72
  "@types/react": "^19.3.0",
73
73
  "eslint": "^9.39.5",
74
74
  "prettier": "^3.9.10",