From 56975e69fdfb27f3b14a14f0979f546412672199 Mon Sep 17 00:00:00 2001 From: qiqi Date: Tue, 1 Dec 2026 17:36:48 +0800 Subject: [PATCH] =?UTF-8?q?release(plugins):=20image-vectorize=200.6.3?= =?UTF-8?q?=EF=BC=88=E5=85=B3=E9=97=AD=E9=9D=A2=E6=9D=BF=E9=87=8A=E6=94=BE?= =?UTF-8?q?=E6=BA=90=E5=9B=BE=E4=B8=8E=20SVG=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugins/index.json | 6 ++--- ...=> plugin-image-vectorize.a47baa43948e.js} | 7 +++++- site/index.html | 4 ++-- site/plugins-index.json | 24 +++++++++---------- site/plugins/index.html | 4 ++-- 5 files changed, 25 insertions(+), 20 deletions(-) rename plugins/runtime/{plugin-image-vectorize.b3a8c21f7a2b.js => plugin-image-vectorize.a47baa43948e.js} (99%) diff --git a/plugins/index.json b/plugins/index.json index 3c44771..91c2330 100644 --- a/plugins/index.json +++ b/plugins/index.json @@ -69,9 +69,9 @@ }, { "id": "image-vectorize", - "file": "plugin-image-vectorize.b3a8c21f7a2b.js", - "version": "0.6.2", - "integrity": "sha256-s6jCH3or6tQZ5umJnZ/ka6nk+n5np3elAFaUK1aPV9E=" + "file": "plugin-image-vectorize.a47baa43948e.js", + "version": "0.6.3", + "integrity": "sha256-pHuqQ5SODCQ4EoAXRgKzsHghTLBvKu9pibGz6jNZQrk=" }, { "id": "sticky", diff --git a/plugins/runtime/plugin-image-vectorize.b3a8c21f7a2b.js b/plugins/runtime/plugin-image-vectorize.a47baa43948e.js similarity index 99% rename from plugins/runtime/plugin-image-vectorize.b3a8c21f7a2b.js rename to plugins/runtime/plugin-image-vectorize.a47baa43948e.js index c8b8f14..e09ff7b 100644 --- a/plugins/runtime/plugin-image-vectorize.b3a8c21f7a2b.js +++ b/plugins/runtime/plugin-image-vectorize.a47baa43948e.js @@ -11,7 +11,7 @@ var __IWB_VECTORIZE_MANIFEST__ = { id: 'image-vectorize', name: '位图转矢量', - version: '0.6.2', + version: '0.6.3', apiVersion: 1, skin: 'private', capabilities: ['commands', 'nodeActions', 'canvas', 'canvasWrite'], @@ -3597,6 +3597,11 @@ var __IWB_VECTORIZE_MANIFEST__ = { document.removeEventListener("keyup", onKeyUp, true); window.removeEventListener("blur", onBlur); releasePreview(); + // v0.6.3: free heavy state on close (decoded source image + svg string were retained by the closure) + source = null; + currentSvg = ""; + lastElements = 0; + lastIslands = 0; const node = root; root = null; els = null; diff --git a/site/index.html b/site/index.html index 4e1bf4c..0a2ea9e 100644 --- a/site/index.html +++ b/site/index.html @@ -4,7 +4,7 @@ - +
-
+
v3.26.169 · macOS / Windows · 数据在本地 diff --git a/site/plugins-index.json b/site/plugins-index.json index a145b31..ff4422a 100644 --- a/site/plugins-index.json +++ b/site/plugins-index.json @@ -1,6 +1,6 @@ { "version": 2, - "updatedAt": "2026-11-30T23:01:32.719Z", + "updatedAt": "2026-12-01T09:36:23.512Z", "plugins": [ { "id": "album", @@ -282,27 +282,27 @@ "转换", "矢量" ], - "version": "0.6.2", + "version": "0.6.3", "apiVersion": 1, - "bundle": "plugins/image-vectorize-0.6.2.zip", - "bundleSize": 145959, - "bundleSha256": "d51f1bdc5cd3523a9c28816dc734444d6c344574760ec1cae3057bdd4a88841c", + "bundle": "plugins/image-vectorize-0.6.3.zip", + "bundleSize": 146158, + "bundleSha256": "40fcb486828af5794e7fa562458f0974303b58eba780410fb1d1a829607fb179", "files": [ { "path": "manifest.json", - "sha256": "d484ae85bfb6e2597f6e78b7f4097809d346e5afa7c06786404cb76df2019a9b", + "sha256": "b04701b97ca190eb7578e0411e67f59ea39bd277dc62cbccb784e1797e7a14d3", "size": 362 }, { "path": "main.js", - "sha256": "b3a8c21f7a2bead419e6e9899d9fe46ba9e4fa7e67a777a50056942b568f57d1", - "size": 145383 + "sha256": "a47baa43948e0c24381280174602b3b078214cb06f2aef6989b1b3ea335942b9", + "size": 145582 } ], - "file": "plugins/plugin-image-vectorize.b3a8c21f7a2b.js", - "size": 145383, - "sha256": "b3a8c21f7a2bead419e6e9899d9fe46ba9e4fa7e67a777a50056942b568f57d1", - "integrity": "sha256-s6jCH3or6tQZ5umJnZ/ka6nk+n5np3elAFaUK1aPV9E=" + "file": "plugins/plugin-image-vectorize.a47baa43948e.js", + "size": 145582, + "sha256": "a47baa43948e0c24381280174602b3b078214cb06f2aef6989b1b3ea335942b9", + "integrity": "sha256-pHuqQ5SODCQ4EoAXRgKzsHghTLBvKu9pibGz6jNZQrk=" }, { "id": "sticky", diff --git a/site/plugins/index.html b/site/plugins/index.html index e0b30d9..b1beb42 100644 --- a/site/plugins/index.html +++ b/site/plugins/index.html @@ -3,7 +3,7 @@ 插件市场 · Image Workbench - +