PhoenixKit 1.6.5: Pick blog images from the media library
PhoenixKit 1.6.5 brings the media library into the blog editor. The featured image now has Select Featured Image, which opens a picker over your uploaded files instead of asking for a file ID; the ID field stays under Advanced: Manual File ID.
The editor toolbar gets Insert Image and Insert Video, which put the media at the cursor, and video blocks now render properly in posts.
Uploads are now deduplicated per user: the same user cannot upload one file twice, but two users can each upload the same file.
Upgrading
Run mix phoenix_kit.update to apply migration V26. It renames the file checksum column to file_checksum, adds user_file_checksum and fills it for existing files, and turns on PostgreSQL’s pgcrypto extension.
Full release notes: PhoenixKit 1.6.5
1.6.5 · 17 November 2025
- Fixed readme versions
- Refactor Config and repository usage
- Added media selector modal window
- Improve blogging editor UX and component rendering
- Polish the featured-image selector with clearer labels, preview states, and mobile-friendly actions.
- Add LiveView + JS tooling for inserting images/videos, simplify the toolbar, and debounce content updates.
- Fix markdown rendering so block components (e.g., ) parse correctly alongside self-closing tags, ensuring inserted video snippets display as expected.
- Updated unique key to file_user_checksum instead of file_checksum, to allow duplicates but by different users
PhoenixKit 1.6.5. Install or update: {:phoenix_kit, "~> 1.6"}, then mix deps.get && mix phoenix_kit.update. Full history: CHANGELOG.