mirror of
https://github.com/penpot/penpot.git
synced 2026-11-21 09:42:01 +00:00
The new backend flag `file-change-retention`, off by default, makes file-gc skip its media clean-up (deleted components, unused media objects, and thumbnails). That clean-up roots only in the head and the snapshots, so it would remove media that a kept revision row still names. The file and fragment clean-up still run: revision rows name neither. penpot#13187 keeps revision rows under the same flag. Set the flag only where both are deployed. An instance that rolls back to this release with the flag still set keeps the media its retained history needs. AI-assisted-by: claude-opus-5-5