diff --git a/CHANGELOG.md b/CHANGELOG.md index fa2c4c5..b749e2a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,6 +14,20 @@ > 3. 核验正式地址版本 → 之后才移动 `stable` / `stable-verified-<日期>` 标签、更新本 CHANGELOG、写 GitHub Release(`gh release create`)。 > 测试发现问题 → 改 → 再 `deploy:test`,正式环境不受影响。回滚点 `git reset --hard stable`。 +## v3.25.10(2026-11-18)图片粘贴后重启丢失:根因是 blob 存储绑定错运行时 + +### 修复 +- **ImageBlobStore 惰性绑定**:原来在模块初始化时就 `create({ idb: IDB })`,那一刻资料目录尚未就绪, + 绑到的是浏览器/空实现运行时 ⇒ 图片字节写进了不会落盘的地方,画布里只留 `{__blob}` 引用, + 重启后解析不到 → 节点变占位图。现在按当前 runtime 懒绑定并按实例缓存。 +- **kv.put 失败可识别**:资料目录未就绪时返回裸 `false`,调用方用 `r.ok === false` 判断, + `false.ok` 是 undefined ⇒ 被当成成功,产出指向空文件的引用。现在返回 `{ ok: false, error }`。 + +### 验证(实测) +- 修复前:粘贴一张图 → `assets` 47→47、`images/canvas` 26→26(字节没落盘) +- 修复后:粘贴一张图 → `assets` 47→48、`images/canvas` 26→27,节点为 `{__blob}` +- 重启应用后:同一节点仍在、图片正常显示 + ## v3.25.9(2026-11-18)P0:图片登记表不再落后于画布 + 清理前交代清楚 ### 修复 diff --git a/package.json b/package.json index 4fcb754..0e7cfde 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "image-workbench-web", "private": true, - "version": "3.25.9", + "version": "3.25.10", "description": "Browser-based node canvas image workbench", "scripts": { "build": "node scripts/build.js && node scripts/copy-plugins.js", diff --git a/site/download/index.html b/site/download/index.html index 61187fe..a0e9e39 100644 --- a/site/download/index.html +++ b/site/download/index.html @@ -54,18 +54,18 @@

下载

macOS · Apple Silicon
M1 / M2 / M3 / M4
-
版本 3.25.9 · 7.3 MB · .dmg
sha256 030b18cc29dd8f5e…
- 下载 +
版本 3.25.10 · 7.3 MB · .dmg
sha256 1882ed66713df4cf…
+ 下载
macOS · Intel
x86_64
-
版本 3.25.9 · 7.6 MB · .dmg
sha256 06fd92df7fa6adf7…
- 下载 +
版本 3.25.10 · 7.6 MB · .dmg
sha256 bca63766b9517562…
+ 下载
Windows · x64
需要 WebView2
-
版本 3.25.9 · 4.6 MB · .exe
sha256 d065e2a00eb59aeb…
- 下载 +
+ 暂未提供

系统要求

@@ -94,6 +94,10 @@

历史版本

+
+
3.25.10
Intel 版:图片持久化修复
+
2026-11-18
macOS · Apple Silicon / macOS · Intel
+
3.25.9
Windows:图片登记立即落盘 + 清理前报数
2026-11-18
macOS · Apple Silicon / macOS · Intel / Windows · x64
diff --git a/site/index.html b/site/index.html index bf621ce..b127b81 100644 --- a/site/index.html +++ b/site/index.html @@ -2,7 +2,7 @@ Image Workbench · 本地优先的 AI 生图工作台 - +
-
+
- v3.25.9 · macOS / Windows · 数据在本地 + v3.25.10 · macOS / Windows · 数据在本地

本地优先的
AI 生图无限画布

用节点把「参考图 → 提示词 → 批量生成 → 图库」串成一条生产线。
图片、提示词、模型配置全部留在你自己的电脑里,插件按需安装。

支持 macOS 12+ 与 Windows 10 1803+ · 安装包约 7 MB · 无需登录
@@ -93,9 +93,9 @@

下载 Image Workbench

选你的平台。装过一次之后,以后在应用内「设置 → 通用 → 版本与更新」就能一键升级。

- +
安装包未做 Apple 公证 / Windows 代码签名,首次打开需手动放行一次,细节见 下载页。
diff --git a/site/plugins/index.html b/site/plugins/index.html index e941912..f3c1639 100644 --- a/site/plugins/index.html +++ b/site/plugins/index.html @@ -1,7 +1,7 @@ 插件市场 · Image Workbench - +
diff --git a/site/releases.json b/site/releases.json index 3698515..f92f12b 100644 --- a/site/releases.json +++ b/site/releases.json @@ -1,8 +1,27 @@ { "app": "Image Workbench", "subtitle": "本地优先的 AI 生图无限画布 · 桌面版(Tauri v2)", - "updatedAt": "2026-11-18T04:32:31.031Z", + "updatedAt": "2026-11-18T04:50:39.649Z", "releases": [ + { + "version": "3.25.10", + "date": "2026-11-18", + "notes": "Intel 版:图片持久化修复", + "platforms": { + "darwin-aarch64": { + "file": "updates/darwin-aarch64/image-workbench_3.25.10_aarch64.dmg", + "size": 7671575, + "sha256": "1882ed66713df4cfd0839a6d5220e717c297d31b050bfcbfb45efff33e660e61", + "kind": "dmg" + }, + "darwin-x86_64": { + "file": "updates/darwin-x86_64/image-workbench_3.25.10_x64.dmg", + "size": 7978877, + "sha256": "bca63766b951756228d513b1dc6d6c9e76d8bc5c4cc898171a24178b9f2e23ff", + "kind": "dmg" + } + } + }, { "version": "3.25.9", "date": "2026-11-18", diff --git a/src-tauri/Cargo.lock b/src-tauri/Cargo.lock index 0c70e5c..55e0fc8 100644 --- a/src-tauri/Cargo.lock +++ b/src-tauri/Cargo.lock @@ -1764,7 +1764,7 @@ dependencies = [ [[package]] name = "image-workbench" -version = "3.25.9" +version = "3.25.10" dependencies = [ "arboard", "base64 0.22.1", diff --git a/src-tauri/Cargo.toml b/src-tauri/Cargo.toml index 283d7b1..5519f65 100644 --- a/src-tauri/Cargo.toml +++ b/src-tauri/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "image-workbench" -version = "3.25.9" +version = "3.25.10" description = "无限画布 · 生图工作台桌面版" authors = ["malongan"] license = "" diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json index f597a1f..06602bc 100644 --- a/src-tauri/tauri.conf.json +++ b/src-tauri/tauri.conf.json @@ -1,7 +1,7 @@ { "$schema": "../node_modules/@tauri-apps/cli/config.schema.json", "productName": "image-workbench", - "version": "3.25.9", + "version": "3.25.10", "identifier": "com.malongan.imageworkbench", "build": { "frontendDist": "../dist",