@knapsack/renderer-web-components 4.88.1--canary.6965.f06a5f3.0 → 4.89.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.
Files changed (2) hide show
  1. package/CHANGELOG.md +31 -0
  2. package/package.json +9 -9
package/CHANGELOG.md CHANGED
@@ -1,3 +1,34 @@
1
+ # v4.89.0 (Tue Nov 25 2025)
2
+
3
+ ### Release Notes
4
+
5
+ #### add zod validation to Web Components renderer constructor ([#6958](https://github.com/knapsack-labs/app-monorepo/pull/6958))
6
+
7
+ To use, update `knapsack.config.cjs` like this:
8
+
9
+ ```ts
10
+ new KnapsackWebComponentRenderer({
11
+ demoWrapper: async ({ content }) => {
12
+ return `<div class="hello-world">${content}</div>`;
13
+ },
14
+ });
15
+ ```
16
+
17
+ Note that you will be able to see it in the html in the iframe BUT NOT in the code block showing usage.
18
+
19
+ ---
20
+
21
+ #### 🚀 Enhancement
22
+
23
+ - adds demoWrapper option to Web Components renderer [#6958](https://github.com/knapsack-labs/app-monorepo/pull/6958) ([@EvanLovely](https://github.com/EvanLovely))
24
+ - add zod validation to Web Components renderer constructor [#6958](https://github.com/knapsack-labs/app-monorepo/pull/6958) ([@EvanLovely](https://github.com/EvanLovely))
25
+
26
+ #### Authors: 1
27
+
28
+ - Evan Lovely ([@EvanLovely](https://github.com/EvanLovely))
29
+
30
+ ---
31
+
1
32
  # v4.87.9 (Thu Nov 20 2025)
2
33
 
3
34
  #### 🏠 Internal
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@knapsack/renderer-web-components",
3
3
  "description": "Render Web Components",
4
- "version": "4.88.1--canary.6965.f06a5f3.0",
4
+ "version": "4.89.0",
5
5
  "main": "dist/renderer-web-components.js",
6
6
  "types": "dist/renderer-web-components.d.ts",
7
7
  "exports": {
@@ -23,19 +23,19 @@
23
23
  },
24
24
  "author": "Knapsack (https://www.knapsack.cloud)",
25
25
  "dependencies": {
26
- "@knapsack/app": "4.88.1--canary.6965.f06a5f3.0",
27
- "@knapsack/file-utils": "4.88.1--canary.6965.f06a5f3.0",
28
- "@knapsack/types": "4.88.1--canary.6965.f06a5f3.0",
29
- "@knapsack/utils": "4.88.1--canary.6965.f06a5f3.0",
26
+ "@knapsack/app": "4.89.0",
27
+ "@knapsack/file-utils": "4.89.0",
28
+ "@knapsack/types": "4.89.0",
29
+ "@knapsack/utils": "4.89.0",
30
30
  "cheerio": "^1.1.2",
31
31
  "chokidar": "^3.6.0",
32
32
  "ejs": "^3.1.10",
33
33
  "zod": "^4.1.12"
34
34
  },
35
35
  "devDependencies": {
36
- "@knapsack/eslint-config-starter": "4.88.1--canary.6965.f06a5f3.0",
37
- "@knapsack/sandbox-components": "4.88.1--canary.6965.f06a5f3.0",
38
- "@knapsack/typescript-config-starter": "4.88.1--canary.6965.f06a5f3.0",
36
+ "@knapsack/eslint-config-starter": "4.89.0",
37
+ "@knapsack/sandbox-components": "4.89.0",
38
+ "@knapsack/typescript-config-starter": "4.89.0",
39
39
  "@types/node": "^20.19.25",
40
40
  "custom-elements-manifest": "^2.1.0",
41
41
  "eslint": "^8.57.0",
@@ -51,5 +51,5 @@
51
51
  "directory": "apps/client/renderers/renderer-web-components",
52
52
  "type": "git"
53
53
  },
54
- "gitHead": "f06a5f3bc1a85fbeef85aa04658a0af7a96d02a4"
54
+ "gitHead": "3d33cc999a02a93ca1de92e8e785700520cdf41c"
55
55
  }