Catalogue 0.48.1: Media folder fixes for trash, deletes and long names
Catalogue 0.48.1 fixes edge cases in the media folder layout that 0.48.0 introduced.
The main fix: when moving a media folder was refused because it would create a cycle, bulk trash of categories was rolled back. It now goes through and the folder stays where it is.
The other fixes:
- A permanent delete frees the folder’s readable name even when its fallback name is taken, so a new record with the same name keeps its own files.
- Folder naming recognizes items that share a name in another language, and falls back to a fixed name when the name plus SKU is longer than a folder name may be.
- A site with its own folder naming hook now gets renames followed and deleted records’ names released when their folders sit at the media root.
No change in requirements. Update the dependency.
Full release notes: Catalogue 0.48.1
0.48.1 · 13 October 2026
Reviews: dev_docs/pull_requests/2026/148-media-folders/ (CODEX_REVIEW.md),
147-quality-sweep/ (CODEX_REVIEW.md).
The requirements are unchanged.
Fixed
- A refused media-folder cycle no longer rolls back bulk category trash.
- A hard delete frees the media folder’s readable name even when its deterministic fallback is occupied, so a replacement record keeps its own files.
- Media-folder naming recognizes translated namesakes and falls back to a deterministic name when a readable name plus SKU exceeds the folder-name limit.
- An explicit media-folder naming hook follows renames and releases deleted records’ names when their folders sit at the media root.
- The database-backed pagination test allows its async search to finish under load instead of failing after the default 100 ms wait.
Catalogue 0.48.1. Install or update: {:phoenix_kit_catalogue, "~> 0.48"}, then mix deps.get && mix phoenix_kit.update. Full history: CHANGELOG.