Skip to content

PhoenixKit 2.21.4: Better advice when Igniter is missing in production

PhoenixKit 2.21.4 fixes a misleading message. No change for a running site.

Run in an environment such as prod, mix phoenix_kit.update and the other tasks that generate code stopped with a message saying the Igniter dependency was missing. It told the operator to add {:igniter, "~> 0.7", only: [:dev, :test]}, which leaves Igniter out of that very environment. The message now offers two real options: run the task in development or CI and deploy the files it writes, or add the environment to your Igniter dependency’s only:. It also names the tasks that work without Igniter, such as mix phoenix_kit.status.

Full release notes: PhoenixKit 2.21.4

2.21.4 · 7 September 2026

Fixed

  • The “igniter dependency is missing” message that mix phoenix_kit.update (and the other Igniter-backed tasks) prints for an unsupported MIX_ENV (e.g. prod) told the operator to add {:igniter, "~> 0.7", only: [:dev, :test]} — the exact fix the message had just explained would not work, since that scoping excludes the very environment the task is running in. It now explains that these tasks generate/apply code and genuinely need igniter loaded wherever they run, and offers the two real options: run the task from dev/CI and ship the generated files, or broaden the host’s own igniter dependency’s only: to include that environment.

PhoenixKit 2.21.4. Install or update: {:phoenix_kit, "~> 2.21"}, then mix deps.get && mix phoenix_kit.update. Full history: CHANGELOG.