PhoenixKit 1.7.104: Customer Service becomes the Customer Support package
PhoenixKit 1.7.104 moves the Customer Service module out of core into its own package, phoenix_kit_customer_support, under the new name Customer Support.
Its addresses change from /customer-service/... to /customer-support/..., for admin and user pages. Its settings and its permission key are renamed the same way, and migration V109 renames them in existing databases, so roles keep their access. The ticket tables stay in core with their old names. Without the package installed, the ticket routes are simply absent.
Deleting a user now anonymises their tickets again. That step had been skipped since an earlier rename, because core looked for the ticket code under a name that no longer existed.
Upgrading
Run mix phoenix_kit.update for V109. A site that uses tickets must add phoenix_kit_customer_support to its dependencies and update links to the old /customer-service addresses.
Full release notes: PhoenixKit 1.7.104
1.7.104 · 4 May 2026
Changed
- Customer Service module extracted from core into the standalone
phoenix_kit_customer_supportHex package — companion repo: BeamLabEU/phoenix_kit_customer_support (PR #514)- Removed
lib/modules/customer_service/(~6 KLOC, 22 files) andlib/phoenix_kit_web/routes/customer_service.ex; the module is now an external optional dependency module_registry.ex— droppedPhoenixKit.Modules.CustomerServicefrominternal_modules/0, added the correspondingphoenix_kit_customer_supportentry toknown_external_packages/0integration.ex— replaced inline/dashboard/customer-service/ticketsroute blocks withCode.ensure_loaded?(PhoenixKitCustomerSupport.Web.UserList)guards so absent-package = no routes- DB tables (
phoenix_kit_tickets,phoenix_kit_ticket_*) stay in core under their existing names — they’re domain-shaped, not module-shaped, and the prior migrations (V35/V51/V53/V58/V72/V74/V75/V77) remain in core’s migration history
- Removed
- Renamed “Customer Service” → “Customer Support” across the public surface (PR #514)
- Module:
PhoenixKitCustomerService→PhoenixKitCustomerSupport - OTP app:
:phoenix_kit_customer_service→:phoenix_kit_customer_support - Hex package:
phoenix_kit_customer_service→phoenix_kit_customer_support - Settings keys:
customer_service_*→customer_support_*(7 keys) - URL paths:
/customer-service/*→/customer-support/*(admin + user-facing, both base and locale-prefixed routes) - Permission key:
customer_service→customer_support - Dashboard module card and admin nav target updated to match
- Module:
Added
- V109 migration: rename Customer Service module identifiers in-place so existing installs migrate cleanly (PR #514)
- Renames 7 settings keys from
customer_service_*→customer_support_*inphoenix_kit_settings - Renames
auto_granted_perm:customer_service→auto_granted_perm:customer_support - Renames
phoenix_kit_role_permissions.module_keyfromcustomer_service→customer_support - Idempotent (
IF EXISTSguards on every rename); reversibledown/1for emergency rollback @current_version108 → 109; ⚡ LATEST tag moved off V107 onto V109
- Renames 7 settings keys from
Fixed
PhoenixKit.Users.Auth.anonymize_user_tickets/1was a no-op since the original Tickets → CustomerService rename —Module.concat([PhoenixKit, Modules, Tickets, Ticket])resolved to a never-loaded module so theCode.ensure_loaded?guard always failed and ticket anonymization silently skipped on user deletion. Now points atPhoenixKitCustomerSupport.Ticket(PR #514)- V108 (drag-and-drop position columns, shipped in 1.7.103) was missing from the
lib/phoenix_kit/migrations/postgres.exper-version docstring catalog. Backfilled in this release alongside the V109 entry (PR #514 review) lib/phoenix_kit/migrations/postgres/v109.exrename_role_permission/4carried an unused_prefixarg — the table name is already prefix-qualified at the call site. Trimmed to/3(PR #514 review)
PhoenixKit 1.7.104. Install or update: {:phoenix_kit, "~> 1.7"}, then mix deps.get && mix phoenix_kit.update. Full history: CHANGELOG.