mirror of
https://github.com/penpot/penpot.git
synced 2026-11-27 05:10:32 +00:00
* 🐛 Normalize legacy svg attrs of pasted shapes Shapes copied from a version before 2.20 can hold camelCase svg attrs, for example :strokeLinejoin. Files get them normalized by migration 0037 when they load, but clipboard data skips the migrations, so the closed SvgAttrs schema rejected the pasted shape and the whole paste was cancelled. Move the shape normalization of migration 0037 to csvg/normalize-shape and run it on every pasted shape in paste-shapes. Closes #13327 AI-assisted-by: claude-opus-5-5 * 📚 Name the shared svg repair in the data model checklist From the review: the checklist still named the withdrawn migration 0035 as the svg repair site. Point it to csvg/normalize-shape, used by migration 0037 and by paste-shapes. AI-assisted-by: claude-opus-5-5