PhoenixKit 2.52.1: The update stops when Oban's schema step fails
PhoenixKit 2.52.1 fixes mix phoenix_kit.update, which reported success even when its new Oban schema migration had not taken effect.
When the Oban schema was still behind, unversioned or missing after that migration ran, the update printed an error and carried on. It now stops, skips the module migrations that would follow, and names the target version and the migration to check.
One known limit: the welcome email is queued inside the confirmation’s transaction only when Oban uses the same database repo as PhoenixKit. With Oban on a separate repo, a confirmation that rolls back can still send its welcome email.
Full release notes: PhoenixKit 2.52.1
2.52.1 · 4 October 2026
Fixed
mix phoenix_kit.updateno longer reports success when its Oban schema migration did not take effect. After the stagedphoenix_kit_update_oban_vNN_to_vMMmigration ran, a schema that was still behind, unversioned or missing only printed an error and the update carried on; it now raises, stops the module migrations that follow, and names the target and the migration path to check.- A comment in
PhoenixKit.ObanSchemanamed the wrong Oban version: the Postgres engine’scurrent_version/0already exists in Oban 2.20, not 2.21.
Known limitations
- The welcome email is enqueued inside the confirmation’s transaction only when Oban runs on the same repo as PhoenixKit. With Oban on a separate repo, a confirmation that rolls back leaves its welcome job committed, and the email can still be sent.
PhoenixKit 2.52.1. Install or update: {:phoenix_kit, "~> 2.52"}, then mix deps.get && mix phoenix_kit.update. Full history: CHANGELOG.