mirror of
https://github.com/penpot/penpot.git
synced 2026-05-24 09:23:40 +00:00
* ✨ Add svg-attrs casing fix migration * ⚡ Optimize set-shape-svg-attrs by removing redundant operations - Remove backward compatibility for kebab-case SVG attribute keys (fill-rule, stroke-linecap, stroke-linejoin) since svg-attrs are already normalized to camelCase by the attrs->props migration. - Remove unnecessary select-keys filtering and intermediate map construction (dissoc :style + merge style). - Directly extract values from style and attrs using or, avoiding any intermediate map allocation. Signed-off-by: Andrey Antukh <niwi@niwi.nz> * 🐛 Filter non-http(s) URLs in upload-images to prevent invalid calls Skip upload for image items that are not data URIs and do not have an http:// or https:// URL, avoiding unnecessary RPC calls with invalid URLs to create-file-media-object-from-url. Signed-off-by: Andrey Antukh <niwi@niwi.nz> --------- Signed-off-by: Andrey Antukh <niwi@niwi.nz>