PhoenixKit 1.7.82: Emails, Publishing, Entities and AI become packages
PhoenixKit 1.7.82 moves four large modules out of core into their own packages: phoenix_kit_emails, phoenix_kit_publishing, phoenix_kit_entities and phoenix_kit_ai. Core keeps working without them and picks them up when they are installed.
Their mix tasks, such as the email and SQS tasks and entity import and export, now come from those packages. Sending mail goes through a new email provider behaviour: without the Emails package, mail is sent unchanged; with it, templates and tracking apply. External modules get richer cards on the Modules page, with their settings link and stats.
Migrations V85 to V87 add a system prompt column for AI prompts and the tables for the Document Creator and Catalogue modules. mix phoenix_kit.install and mix phoenix_kit.update now check the database connection before they start. Sitemap group listings and the homepage get a last-modified date. The cookie consent banner links to all your published legal pages, and the media picker opens above other overlays.
Upgrading
Add phoenix_kit_emails, phoenix_kit_publishing, phoenix_kit_entities or phoenix_kit_ai to your dependencies for each of these modules you use, then run mix phoenix_kit.update for V85 to V87.
Full release notes: PhoenixKit 1.7.82
1.7.82 · 24 March 2026
Added
- Add V86 migration: Document Creator tables (headers_footers, templates, documents)
- Add V87 migration: Catalogue tables (manufacturers, suppliers, catalogues, categories, items)
- Add
system_promptfield to AI prompts and AI Playground page - Add database connection check to install and update tasks
- Add AdminEditHelper for universal admin edit links in public views
- Add email provider behaviour, refactor Mailer and UserNotifier
- Add lastmod to sitemap group listings and homepage
- Enrich external module cards with config stats, settings link, and
module_cardcomponent
Changed
- Extract Emails module from core to standalone
phoenix_kit_emailspackage - Extract Publishing module to standalone
phoenix_kit_publishingpackage - Extract Entities module to standalone
phoenix_kit_entitiespackage - Extract AI module to standalone
phoenix_kit_aipackage - Remove hardcoded Emails block from Modules page — now rendered as external package
- Guard all Publishing references behind
Code.ensure_loaded?for external module support - Guard EntityForm render call with
Code.ensure_loaded?check in Pages renderer - Suppress warnings for optional external modules with
@compile :no_warn_undefined - Exclude external module namespaces from Credo alias usage check
- Make module registry and permissions tests count-independent after module extractions
- Document
ensure_compiledvsensure_loaded?choice in integration route collection - Update Leaf dependency to v0.2.5
Fixed
- Fix V86/V87 migrations to use
uuid_generate_v7()instead ofgen_random_uuid() - Fix post-merge issues from Emails extraction
- Fix
extract_admin_links: skip parent tabs, deduplicate paths - Fix
external_plugin_view?to recognizePhoenixKit.Modules.*.Webas external packages - Fix DbConnectionCheck: correct spec, naming, and remove hard exit from status task
- Fix media selector modal z-index to appear above all overlays
- Fix
module_cardto renderhero-*icons properly - Fix cookie consent: dynamic legal links, theme-aware backdrop, daisyUI toggle
PhoenixKit 1.7.82. Install or update: {:phoenix_kit, "~> 1.7"}, then mix deps.get && mix phoenix_kit.update. Full history: CHANGELOG.