Skip to content

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_ai plugin (PR #586). Core keeps only the phoenix_kit_ai_endpoints / _prompts table migrations (the single versioned chain) and the generic, AI-agnostic ai_translate attr on Components.Core.LanguageSwitcher. Removed from core:

    • PhoenixKit.Modules.AI + .Translatable / .Translations / .TranslateWorker / .Translation (the whole pipeline) — re-homed to PhoenixKitAI.*.
    • The optional PhoenixKit.Module.ai_translatables/0 callback and its PhoenixKit.ModuleRegistry.all_ai_translatables/0 / find_ai_translatable/1 discovery — discovery now lives in PhoenixKitAI.Translatables as a duck-typed scan over ModuleRegistry.all_modules/0.
    • PhoenixKitWeb.Components.AITranslate{,.Embed,.FormBinding,.FormGlue} (the AI-translate modal UI), and the Utils.Routes.ai_path/0 helper (now PhoenixKitAI.Routes.ai_path/0).

    Breaking for direct consumers of these APIs. Feature modules (publishing / catalogue / projects) now depend on phoenix_kit_ai and implement PhoenixKitAI.Translatable; they float to this core release via ~> minimums. Hosts that used the in-core Modules.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.