PhoenixKit 1.4.0: Markdown pages, custom user fields and one-click AWS email
PhoenixKit 1.4.0 adds a Pages module for Markdown content, custom fields on user accounts, and an email setup that can create its AWS resources from the admin. OAuth sign-in and the AWS email libraries are now part of PhoenixKit itself.
Pages
Turn on Pages on the modules page and manage content at /admin/pages. The page tree lets you create files and folders, move, copy and delete them; the editor shows Unsaved changes or All changes saved and keeps each page’s status and dates. Pages are Markdown files under priv/static/pages, and published ones are served at /pages/... and also at the root of the site, so /about can render about.md.
Custom user fields and user settings
A new User Settings page at /admin/settings/users groups the registration options: whether anyone can register, the New User Default Role, the New User Default Status, and Track user registration location. Under Custom User Fields you define extra fields for user accounts, with a key, label, type and whether they are required. Their values are stored in a new custom_fields column, and the users list can show them as columns.
Email sending and AWS
The email settings get a Sender Configuration card for the from address and name used by every outgoing email, with a preview. Setup AWS Infrastructure creates the SNS topic, SQS queue, dead-letter queue and SES configuration set in one go, is safe to run again, and fills in the AWS settings. AWS credentials entered in the admin now take priority over environment variables, which remain the fallback. The email dashboard charts also load reliably on a slow connection.
Smaller changes
When several admins open the same entity, the first one edits and the others watch read-only until it is free. Admin navigation switches pages without a full reload. mix phoenix_kit.install --help and mix phoenix_kit.update --help explain their options.
Upgrading
Run mix deps.get: ueberauth with its Google, Apple and GitHub strategies, gen_smtp, ex_aws_sns, saxy and finch are now regular dependencies. Then run mix phoenix_kit.update to apply migration V18, which adds custom_fields to users. Note that PhoenixKit’s routes now end with a root catch-all, so any address your own router does not match goes to the Pages controller.
Full release notes: PhoenixKit 1.4.0
1.4.0 · 9 November 2025
Added
- Idle Session Timeout - Automatic logout after 30 minutes of inactivity
- Configurable via
:idle_timeout_minutes(default: 30 minutes) - Warning modal appears 2 minutes before logout
- Countdown timer shows remaining time
- Optional auto-renewal on user activity
- Grace period for network latency (3 seconds)
- Configurable via
Changed
- Session Management - Enhanced with activity tracking
- New
last_activity_atfield in sessions table - Automatic updates on page navigation and interactions
- LiveView integration for real-time activity monitoring
- New
Fixed
- Session Security - Inactive sessions now automatically expire
PhoenixKit 1.4.0. Install or update: {:phoenix_kit, "~> 1.4"}, then mix deps.get && mix phoenix_kit.update. Full history: CHANGELOG.