mirror of
https://github.com/penpot/penpot.git
synced 2026-08-07 05:18:36 +00:00
Use version (1 for legacy, 2 for compact) instead of format strings
("compact" / "legacy") throughout the export pipeline. Matches the
backend pattern where version alone determines format behavior. Added
validation that rejects invalid versions with a clear error.
AI-assisted-by: deepseek-v4-pro