From b5d96d312afdf625c81fc72afcb0276bb3f64904 Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Sat, 24 May 2025 09:15:09 +0200 Subject: [PATCH 1/3] :bug: Fix incorrect relink operation for stroke image --- common/src/app/common/files/helpers.cljc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/common/src/app/common/files/helpers.cljc b/common/src/app/common/files/helpers.cljc index bb0fb744f7..5ac14ac501 100644 --- a/common/src/app/common/files/helpers.cljc +++ b/common/src/app/common/files/helpers.cljc @@ -626,6 +626,9 @@ (map? (:fill-image form)) (update-in [:fill-image :id] lookup-index) + (map? (:stroke-image form)) + (update-in [:stroke-image :id] lookup-index) + ;; This covers old shapes and the new :fills. (uuid? (:fill-color-ref-file form)) (update :fill-color-ref-file lookup-index) From fdd6502671bab12e28a904a2d0b747cc10c6228a Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Mon, 26 May 2025 12:41:34 +0200 Subject: [PATCH 2/3] :books: Update changelog --- CHANGES.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/CHANGES.md b/CHANGES.md index 0ac0428b58..4bd31c2ebe 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,6 +1,13 @@ # CHANGELOG -## 2.7.0 (Unreleased) +## 2.7.1 + +### :bug: Bugs fixed + +- Fix incorrect handling of strokes with images on importing files + + +## 2.7.0 ### :rocket: Epics and highlights From 050ffa235c996d7f05dd6896508348893948a02a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9s=20Moya?= Date: Mon, 26 May 2025 13:22:30 +0200 Subject: [PATCH 3/3] :arrow_up: Update cuerdas library (#6556) --- CHANGES.md | 1 + common/deps.edn | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGES.md b/CHANGES.md index 4bd31c2ebe..4001a3ce0f 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -5,6 +5,7 @@ ### :bug: Bugs fixed - Fix incorrect handling of strokes with images on importing files +- Fix tokens disappearing after manual additions [Taiga #11063](https://tree.taiga.io/project/penpot/issue/11063) ## 2.7.0 diff --git a/common/deps.edn b/common/deps.edn index ae1a8868dc..713c54d004 100644 --- a/common/deps.edn +++ b/common/deps.edn @@ -28,7 +28,7 @@ integrant/integrant {:mvn/version "0.13.1"} funcool/tubax {:mvn/version "2021.05.20-0"} - funcool/cuerdas {:mvn/version "2023.11.09-407"} + funcool/cuerdas {:mvn/version "2025.05.26-411"} funcool/promesa {:git/sha "0c5ed6ad033515a2df4b55addea044f60e9653d0" :git/url "https://github.com/funcool/promesa"}