Catalogue 0.8.0: AI translation now comes from the AI module
Catalogue 0.8.0 follows AI translation out of PhoenixKit core into the separate AI module. Translating catalogues, categories and items works the same as before.
PhoenixKit moved its AI translation pipeline and the translate button into the phoenix_kit_ai package, keeping only the AI tables in core. The catalogue forms now use it from there. Nothing changes in how translations are made or stored.
Upgrading
Catalogue 0.8 adds phoenix_kit_ai 0.4 or later as a dependency; mix deps.get fetches it. The 0.3 line of the AI module does not contain the translation pipeline.
Full release notes: Catalogue 0.8.0
0.8.0 · 8 June 2026
Changed
- AI translation moved to the
phoenix_kit_aiplugin (#34) — the AI-translation pipeline and AI-translate UI moved out of core into the standalonephoenix_kit_aiplugin (core now keeps only the AI table migrations). Catalogue’s consumer was rewired accordingly: theAITranslatable/AITranslateBindingbehaviours and the form-LiveView macro/imports movedPhoenixKit.Modules.AI.{Translatable,Translations}+PhoenixKitWeb.Components.AITranslate.{…}→PhoenixKitAI.{Translatable,Translations}+PhoenixKitAI.Components.AITranslate.{…}.ai_translatables/0is now a plain public function — core dropped thePhoenixKit.Modulecallback, and the plugin discovers the function by duck-typing — so the@impl PhoenixKit.Modulewas removed. No behavior change; the moved adapter logic (multilang_-prefix mapping,FOR UPDATEmerge, force-put) is untouched. - Dependency upgrades —
phoenix_kit1.7.132 → 1.7.133,req0.5 → 0.6.
Added
- Local cross-repo development via
<APP>_PATH—mix.exsgained an env-gatedpk_dep/3helper: export e.g.PHOENIX_KIT_PATH=../phoenix_kitorPHOENIX_KIT_AI_PATH=../phoenix_kit_aito build/test against a local checkout of aphoenix_kit*dep (Mix swaps the Hex pin for apath:+override: truedep at resolve time). Unset = the published pin, somix deps.get/mix hex.publish/ CI resolve exactly as before. Documented inAGENTS.md.
Notes
- Adds
phoenix_kit_ai ~> 0.4as a direct dependency. AI translation (the embed macro + translation pipeline:PhoenixKitAI.{Translatable,Translations},PhoenixKitAI.Components.AITranslate.{Embed,FormBinding,FormGlue}) now lives in the AI plugin and first shipped in 0.4.0 — the 0.3.x line does not contain it. The constraint is~> 0.4(loose,< 1.0); pinphoenix_kit_ai >= 0.4.0in the parent app. - Verification:
mix precommitis clean (compile--warnings-as-errors+format --check-formatted+credo --strict+deps.unlock --check-unused+dialyzer) against the published dependency set — no local-path overrides. The full ExUnit suite is DB-gated — runmix testagainst a host with PostgreSQL.
Catalogue 0.8.0. Install or update: {:phoenix_kit_catalogue, "~> 0.8"}, then mix deps.get && mix phoenix_kit.update. Full history: CHANGELOG.