mirror of
https://github.com/penpot/penpot.git
synced 2026-08-10 14:59:08 +00:00
Add feature-flagged compact export format where pages embed shapes as a single JSON entry instead of one ZIP entry per shape. Shapes go through compact-shape (prune defaults/nils/identity transforms) and round-values (round floats to 4 decimals) before encoding. Export: one JSON per page with embedded objects, manifest v2, no pretty-printing. Gated by :binfile-v3-compact flag (opt-in). Import: detect manifest version 2, expand compact shapes (restore transforms, recompute selrect/points) on read. AI-assisted-by: deepseek-v4-pro