CRM 0.15.0: Built on core's shared toolkits, needs PhoenixKit 2.38
CRM 0.15.0 drops the CRM’s own copies of media folders, column settings and activity logging and uses the shared versions in PhoenixKit core. It needs PhoenixKit 2.38 or later, and fixes a few cases where two edits at once could lose data.
Core’s column picker
On the role pages and the Organizations page, each administrator’s column choice is now kept in core’s per-user view preferences and picked in core’s column dialog, which saves every change as you make it. Migration V7 copies each choice already saved in the CRM’s own table once. That table stays in the database but is no longer read.
Media folders and activity from core
Contact, company and interaction files now use core’s resource folders. A folder trashed in /admin/media is never uploaded into again. The media reorganizer, file icons and sizes, the acting user and the activity log also come from core now, so they behave as they do in other modules.
The admin header shows the module as the section and the page by its own name, for example CRM, then Contacts, instead of one title joining both with a dash.
Fixes
- Trashing or restoring a contact or company could erase an avatar another session had just set. Two people trashing the same record at once now get one success and one refusal.
- The contact and company forms can no longer set or clear the avatar and trash-state keys the server owns.
- Removing an image clears the avatar only if that image is still the avatar.
- Interaction uploads keep their file names and types and report failures. Edit forms and the composer recover their input after a reconnect.
Upgrading
Update PhoenixKit to 2.38 or later first; CRM 0.15 does not compile against an older core, and it accepts 2.x versions only. Then run mix phoenix_kit.update to apply migration V7. Administrators keep their saved column choices.
Full release notes: CRM 0.15.0
0.15.0 · 25 September 2026
Changed
- Requires
phoenix_kit2.38.0 or later (>= 2.38.0 and < 3.0.0). CRM now runs on core’s shared toolkits instead of its own copies: contact, company and interaction media onStorage.ResourceFolders(a folder trashed in/admin/mediais never uploaded into again); the media reorganizer on core’sResourceSource; file icons and sizes onUtils.Format; the actor onPhoenixKitWeb.Actor; activity onPhoenixKit.Activity.log/3. - Each admin’s column choices on the role pages and the Organizations page are
kept in core’s per-user view preferences (
crm.organizations,crm.role.<uuid>) and picked in core’s live column modal, which saves every change at once. Migration V7 copies each saved, non-empty choice fromphoenix_kit_crm_user_role_viewonce; that table is kept but no longer read. - The admin header trail: the module is the section and the page title is the page, instead of dash-joined “CRM — …” titles.
Removed
PhoenixKitCRM.UserRoleView,PhoenixKitCRM.UserRoleViewConfigandPhoenixKitCRM.Web.ColumnModal, replaced by core’s view preferences and column modal.ColumnConfig.get_columns/2andupdate_columns/3remain.
Fixed
- Trashing or restoring a contact or company is one row-reading
UPDATE: it no longer erases a metadata key another session wrote since (the avatar), and two sessions trashing the same record get one success and one:already_trashed. It still bumpsupdated_at. - The contact and company forms can no longer set or clear the server-owned
avatar_uuid/trashed_from_statusmetadata keys. - Removing an image clears the avatar only while it is still that image; the avatar write can no longer race a detach or land on a record trashed since.
- Interaction uploads keep their file names and document types and surface failures; LiveView form recovery works on the CRM edit forms and composer.
CRM 0.15.0. Install or update: {:phoenix_kit_crm, "~> 0.15"}, then mix deps.get && mix phoenix_kit.update. Full history: CHANGELOG.