mirror of
https://github.com/penpot/penpot.git
synced 2026-08-27 23:28:38 +00:00
* 🐛 Fix svg-raw child ids stored as strings in existing files Before schema:svg-raw-attrs declared :shapes as a vector of uuid, the JSON decoder had no type information for those child ids and left them as plain strings on any round trip, so they got persisted as strings. Once the schema was tightened those files fail schema validation on load. Add migration 0026-fix-svg-raw-shapes-uuids that coerces the :shapes entries of svg-raw shapes back to uuid instances, in both pages and components. AI-assisted-by: deepseek-v4-flash * ♻️ Drop redundant vector check in svg-raw shapes migration :shapes is always a vector when present, so the guard is unnecessary. AI-assisted-by: deepseek-v4-flash