tavern-harness 0.1.27 → 0.1.28
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.
- package/CHANGELOG.md +15 -0
- package/package.json +1 -1
- package/src/generated/changelog.json +25 -1
- package/vite.config.ts +1 -0
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,20 @@
|
|
|
3
3
|
> 本文件由 `scripts/changelog.mjs` 从 `changelog/v*.md` 生成,请勿手动编辑。
|
|
4
4
|
> 版本对比链接见文末;源文件位于仓库 `changelog/` 目录。
|
|
5
5
|
|
|
6
|
+
## [0.1.28] - 2026-10-28
|
|
7
|
+
|
|
8
|
+
### 中文
|
|
9
|
+
|
|
10
|
+
#### 修复
|
|
11
|
+
|
|
12
|
+
- 修复沙盒里打开的 HTML 预览加载不了图片、样式和字体等文件的问题:预览页面引用的工作区资源现在可以正常读取,生成报告或小工具时不用再把资源全部塞进单个 HTML
|
|
13
|
+
|
|
14
|
+
### English
|
|
15
|
+
|
|
16
|
+
#### Fixed
|
|
17
|
+
|
|
18
|
+
- Fixed HTML previews in the sandboxed viewer failing to load images, stylesheets, and fonts from the workspace; generated reports and small tools can now reference separate asset files instead of inlining everything into one HTML file
|
|
19
|
+
|
|
6
20
|
## [0.1.27] - 2026-10-28
|
|
7
21
|
|
|
8
22
|
### 中文
|
|
@@ -786,6 +800,7 @@
|
|
|
786
800
|
- Vite + React + Zustand + Dexie stack with browser-side local persistence
|
|
787
801
|
|
|
788
802
|
<!-- 链接定义 -->
|
|
803
|
+
[0.1.28]: https://github.com/Rannichan/Tavern-Harness/compare/v0.1.27...v0.1.28
|
|
789
804
|
[0.1.27]: https://github.com/Rannichan/Tavern-Harness/compare/v0.1.26...v0.1.27
|
|
790
805
|
[0.1.26]: https://github.com/Rannichan/Tavern-Harness/compare/v0.1.25...v0.1.26
|
|
791
806
|
[0.1.25]: https://github.com/Rannichan/Tavern-Harness/compare/v0.1.24...v0.1.25
|
package/package.json
CHANGED
|
@@ -1,7 +1,31 @@
|
|
|
1
1
|
{
|
|
2
|
-
"latest": "0.1.
|
|
2
|
+
"latest": "0.1.28",
|
|
3
3
|
"repo": "https://github.com/Rannichan/Tavern-Harness",
|
|
4
4
|
"entries": [
|
|
5
|
+
{
|
|
6
|
+
"version": "0.1.28",
|
|
7
|
+
"date": "2026-10-28",
|
|
8
|
+
"breaking": false,
|
|
9
|
+
"compare": "v0.1.27...v0.1.28",
|
|
10
|
+
"groups": {
|
|
11
|
+
"zh-CN": [
|
|
12
|
+
{
|
|
13
|
+
"kind": "fixed",
|
|
14
|
+
"items": [
|
|
15
|
+
"修复沙盒里打开的 HTML 预览加载不了图片、样式和字体等文件的问题:预览页面引用的工作区资源现在可以正常读取,生成报告或小工具时不用再把资源全部塞进单个 HTML"
|
|
16
|
+
]
|
|
17
|
+
}
|
|
18
|
+
],
|
|
19
|
+
"en": [
|
|
20
|
+
{
|
|
21
|
+
"kind": "fixed",
|
|
22
|
+
"items": [
|
|
23
|
+
"Fixed HTML previews in the sandboxed viewer failing to load images, stylesheets, and fonts from the workspace; generated reports and small tools can now reference separate asset files instead of inlining everything into one HTML file"
|
|
24
|
+
]
|
|
25
|
+
}
|
|
26
|
+
]
|
|
27
|
+
}
|
|
28
|
+
},
|
|
5
29
|
{
|
|
6
30
|
"version": "0.1.27",
|
|
7
31
|
"date": "2026-10-28",
|
package/vite.config.ts
CHANGED
|
@@ -324,6 +324,7 @@ function workspacePreviewPlugin(): Plugin {
|
|
|
324
324
|
res.writeHead(200, {
|
|
325
325
|
'Content-Type': previewMimeType(path),
|
|
326
326
|
'Cache-Control': 'no-store',
|
|
327
|
+
'Access-Control-Allow-Origin': '*',
|
|
327
328
|
'X-Content-Type-Options': 'nosniff',
|
|
328
329
|
});
|
|
329
330
|
res.end(content);
|