chore(release): v3.25.56 节点组库插件化 + 插件自带样式
This commit is contained in:
1 parent
d8153f24d2
commit
72043e4df4
3 files changed
+16
-2
No files matched your search
@@ -14,6 +14,20 @@
|
||||
> 3. 核验正式地址版本 → 之后才移动 `stable` / `stable-verified-<日期>` 标签、更新本 CHANGELOG、写 GitHub Release(`gh release create`)。
|
||||
> 测试发现问题 → 改 → 再 `deploy:test`,正式环境不受影响。回滚点 `git reset --hard stable`。
|
||||
|
||||
## v3.25.56(2026-11-20)节点组库插件化 + 插件自带样式
|
||||
|
||||
- 新增宿主 capability `grouplib`(`src/plugin-api-grouplib.js`):`list / save / remove / instantiate / notify / onChanged`。
|
||||
数据仍由宿主持有(`iwb_web_groups`),插件不留副本;实例化走宿主 `instantiateGroup`(插件不碰画布状态)。
|
||||
- 删除宿主侧栏组件 `src/ui-groups-sidebar.js`(含单测与 `iwb-groups-sidebar` e2e spec),dock 改为 `pluginId:'grouplib'`,
|
||||
未装插件时提示去市场安装 —— 不再保留第二份节点组界面。
|
||||
- 新插件 `grouplib` 1.0.0:分组胶囊(全部/未分组/各分组/+/⚙)、卡片双击改名、删除确认、右键或拖拽移动分组、
|
||||
拖到画布实例化(payload 沿用 `application/x-iwb-group` 契约)、管理分组弹窗、宿主数据变化自动重拉。
|
||||
- 插件可自带 `styles.css`:`.zip` 内 `manifest.style` 声明,加载时注入 `<style>`、停用即移除(`sync-plugins-from-repo.js`
|
||||
支持目录插件拷贝样式并计入逐文件 sha256)。宿主 `style.css` 里的图库视觉规则迁出,避免"改宿主 CSS 要发客户端"的假失败。
|
||||
- gallery 1.5.0:三个下拉收进「设置」浮层、底栏刷新/设置改无框图标、面板间距收紧(12→8px)。
|
||||
- 回归:新增 `tests/plugin-grouplib-render-test.js`(列表/筛选/拖拽 payload/改名落盘/删除走宿主/空态);
|
||||
`tests/plugin-gallery-recovery-test.js` 增加设置浮层与"图标无框无底色"断言。
|
||||
|
||||
## v3.25.55(2026-11-20)修:删除图片后残留「图片已丢失」格子
|
||||
|
||||
- 症状:图库删图后,被删位置仍渲染一格「图片已丢失」,不会自动补齐。
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "image-workbench-web",
|
||||
"private": true,
|
||||
"version": "3.25.55",
|
||||
"version": "3.25.56",
|
||||
"description": "Browser-based node canvas image workbench",
|
||||
"scripts": {
|
||||
"build": "node scripts/build.js && node scripts/copy-plugins.js",
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"$schema": "../node_modules/@tauri-apps/cli/config.schema.json",
|
||||
"productName": "image-workbench",
|
||||
"version": "3.25.55",
|
||||
"version": "3.25.56",
|
||||
"identifier": "com.malongan.imageworkbench",
|
||||
"build": {
|
||||
"frontendDist": "../dist",
|
||||
|
||||
Reference in new issue
Block a user