AI 0.12.2: The flagged cowlib and gun packages leave the dependencies
AI 0.12.2 removes the security advisory noted in 0.12.0 from the module’s dependencies.
The module now uses xai 0.2, where the gun and mint packages behind its gRPC transport are optional. The module does not use that transport and does not add gun itself, so gun and cowlib, with their two open advisories, are no longer pulled in at all.
No change for a running site beyond the smaller dependency set.
Full release notes: AI 0.12.2
0.12.2 · 14 July 2026
Fixed
- The
cowlib/gunadvisory noted in 0.12.0 no longer applies.xai0.2.0 madegun(andmint) optional adapters for its gRPC transport (Xai.Chat/Xai.Video, which this module never calls) instead of a hard dependency. Bumping toxai ~> 0.2and not separately depending ongundropsgun/cowlibout of this module’s dependency tree entirely — confirmed viamix deps.get/mix.lock— rather than merely not exercising the vulnerable code path at runtime. - Depends on
xai ~> 0.2(was~> 0.1).
AI 0.12.2. Install or update: {:phoenix_kit_ai, "~> 0.12"}, then mix deps.get && mix phoenix_kit.update. Full history: CHANGELOG.