From 02bbbae0b0f93361d1e8c43b76993b827f861dfc Mon Sep 17 00:00:00 2001 From: Leona Lee <63717587+leonaIee@users.noreply.github.com> Date: Mon, 11 May 2026 07:58:42 -0500 Subject: [PATCH] :bug: Fix typography removal from plugin API (#9279) * :bug: Fix typography removal from plugin API * :fire: Remove unrelated delete-typography test --------- Signed-off-by: Leona Lee <63717587+leonaIee@users.noreply.github.com> Co-authored-by: Andrey Antukh --- CHANGES.md | 1 + frontend/src/app/plugins/library.cljs | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGES.md b/CHANGES.md index 49b2c99acf..426fb1cd06 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -13,6 +13,7 @@ ### :bug: Bugs fixed +- Fix plugin API `LibraryTypography.remove()` failing with a UUID assertion error [Github #8223](https://github.com/penpot/penpot/issues/8223) - Fix MCP SSE sessions leaking memory on zombie connections by adding inactivity timeout parity with Streamable HTTP sessions (by @bitloi) [Github #9432](https://github.com/penpot/penpot/issues/9432) - Fix missing `labels.open` translation (by @MilosM348) [Github #9320](https://github.com/penpot/penpot/pull/9320) - Harden Nginx responses with standard security headers and hide upstream `X-Powered-By` headers diff --git a/frontend/src/app/plugins/library.cljs b/frontend/src/app/plugins/library.cljs index c7f741b88b..f34d544495 100644 --- a/frontend/src/app/plugins/library.cljs +++ b/frontend/src/app/plugins/library.cljs @@ -491,7 +491,7 @@ (u/not-valid plugin-id :remove "Plugin doesn't have 'library:write' permission") :else - (st/emit! (-> (dwl/delete-typography {:id id}) + (st/emit! (-> (dwl/delete-typography id) (se/add-event plugin-id))))) :clone