PhoenixKit 2.41.1: Images that fail to load no longer break the page
PhoenixKit 2.41.1 keeps pages up when an image cannot be looked up in storage, for example while a new migration has not run yet or the database connection drops.
Until now, an <Image file_uuid> whose storage lookup raised an error could break the page it was on. It now shows “Image not available”, the same placeholder as a missing file, and the failure is recorded. Modules that cache rendered HTML can tell such a failure from a file that is simply missing and try it again later, instead of keeping the placeholder.
Smaller changes: the card, comfortable and compact view buttons of tables are now translated, status_badge accepts a translated label while keeping its colour, and an obsolete listener was removed from the Markdown editor.
Full release notes: PhoenixKit 2.41.1
2.41.1 · 27 September 2026
Added
status_badgeaccepts an optionallabel, allowing translated text while preserving the status colour (#877).
Fixed
- An
<Image file_uuid>whose storage lookup raises — a column the new code expects while the migration has not run, a dead connection — still renders “Image not available”, and the failure is recorded (PhoenixKit.Modules.Shared.RenderCache). A file that is simply missing stays an ordinary placeholder. A renderer that caches HTML can tell the two apart and try the failed one again. - Nested render-cache checks preserve failures in both enclosing and nested renders, and clean up after interrupted renders.
- Remove the MarkdownEditor hook’s obsolete
changes-statuslistener (#877). - Configure development-only asset tools only in development, removing missing-application warnings from test and production runs.
- Clearing the package-discovery cache tolerates its owner exiting during cleanup and no longer creates a table owned by the cleanup process.
Changed
- Update locked Phoenix to 1.8.15 and Hackney to 4.8.4.
i18n
- Translate the table view-toggle titles in all supported locales (#877).
PhoenixKit 2.41.1. Install or update: {:phoenix_kit, "~> 2.41"}, then mix deps.get && mix phoenix_kit.update. Full history: CHANGELOG.