AI 0.25.3: No new settings-history entry on every update run
AI 0.25.3 fixes a small leak in the settings history: running mix phoenix_kit.update or mix phoenix_kit.doctor no longer adds a new entry each time.
Both tasks start the app in core’s update mode, where reading a setting returns nothing. The marker that says the old api_key migration has run therefore looked missing, and each such start wrote it again, leaving a permanent entry in the settings history. The module now reads the marker from the database row itself, so it is written once and stays.
The documentation of run_legacy_api_key_migration/0 is corrected too: an endpoint’s old api_key column is cleared when the endpoint is migrated, not kept.
Full release notes: AI 0.25.3
0.25.3 · 6 October 2026
Fixed
- The legacy
api_keymigration marker is written once and stays (PR #35).mix phoenix_kit.updateandmix phoenix_kit.doctorstart the host with core’supdate_modeon, whereSettings.get_setting/2answersnilwithout reading, so the marker looked absent and every such boot stamped a new value, adding a permanent settings-history entry each time. The check now reads the row itself. - The
run_legacy_api_key_migration/0docs said the legacyapi_keycolumn is never cleared; it is cleared to""when an endpoint is migrated.
AI 0.25.3. Install or update: {:phoenix_kit_ai, "~> 0.25"}, then mix deps.get && mix phoenix_kit.update. Full history: CHANGELOG.