PhoenixKit 1.7.133: AI translation moves to the AI module
PhoenixKit 1.7.133 moves AI translation out of core and into the AI module, phoenix_kit_ai. Core no longer contains the translation pipeline, its background worker or the AI translate modal.
Core keeps the migrations for the AI endpoint and prompt tables, so the migration chain does not change, and the ai_translate attribute on the language switcher. The publishing, catalogue and projects modules now depend on the AI module and pick up this core release through their version ranges.
Upgrading
Code that used PhoenixKit.Modules.AI.*, the AITranslate components, Routes.ai_path/0 or the ai_translatables/0 module callback must switch to the PhoenixKitAI versions.
Full release notes: PhoenixKit 1.7.133
1.7.133 · 8 June 2026
Removed
-
AI translation pipeline moved out of core into the
phoenix_kit_aiplugin (PR #586). Core keeps only thephoenix_kit_ai_endpoints/_promptstable migrations (the single versioned chain) and the generic, AI-agnosticai_translateattr onComponents.Core.LanguageSwitcher. Removed from core:PhoenixKit.Modules.AI+.Translatable/.Translations/.TranslateWorker/.Translation(the whole pipeline) — re-homed toPhoenixKitAI.*.- The optional
PhoenixKit.Module.ai_translatables/0callback and itsPhoenixKit.ModuleRegistry.all_ai_translatables/0/find_ai_translatable/1discovery — discovery now lives inPhoenixKitAI.Translatablesas a duck-typed scan overModuleRegistry.all_modules/0. PhoenixKitWeb.Components.AITranslate{,.Embed,.FormBinding,.FormGlue}(the AI-translate modal UI), and theUtils.Routes.ai_path/0helper (nowPhoenixKitAI.Routes.ai_path/0).
Breaking for direct consumers of these APIs. Feature modules (publishing / catalogue / projects) now depend on
phoenix_kit_aiand implementPhoenixKitAI.Translatable; they float to this core release via~>minimums. Hosts that used the in-coreModules.AI.*/AITranslate.*modules must switch to the plugin.
PhoenixKit 1.7.133. Install or update: {:phoenix_kit, "~> 1.7"}, then mix deps.get && mix phoenix_kit.update. Full history: CHANGELOG.