Skip to content

PhoenixKit 1.2.0: System settings, session management and live activity

PhoenixKit 1.2.0 gives the admin panel its first settings page, a sessions page where admins can log users out, and a live view of who is on the site right now.

System settings

System Settings at /admin/settings holds the Time Zone, Date Format and Time Format used across the admin, for example in the Registered column of the users list. The values are stored in the database, in a new settings table.

Sessions

Session Management at /admin/sessions lists the active sessions with their user, age and expiry, with counts of active sessions, today’s sessions and unique users. You can search by email or token, filter by user status, and use Revoke Session or Revoke All User Sessions, which logs a user out of every device.

The live sessions page at /admin/live_sessions shows the visitors on the site at this moment, signed-in or anonymous, with their current page and IP address, and updates without reloading. The dashboard’s Live Activity card links to it.

Roles and modules

When an admin changes a user’s roles, that user is logged out of all sessions, so the new roles apply at their next sign-in. A Modules Management page at /admin/modules is in place for the modules to come. The dashboard and the users list now refresh by themselves when the data changes, through PubSub.

Upgrading

Run mix phoenix_kit.update to apply migration V03, which adds the settings table with default time zone and date format. PhoenixKit now depends on Timex, so run mix deps.get first. No configuration change is needed.

Full release notes: PhoenixKit 1.2.0

1.2.0 · 15 August 2025

Added

  • Installation System - Igniter-based installation for new projects
  • Repository Auto-detection - Automatic Ecto repo discovery

Changed

  • Breaking: New installation process via mix phoenix_kit.install

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