Skip to content

Customer Support 0.2.0: Support for PhoenixKit 2.0

Customer Support 0.2.0 moves the support ticket module to PhoenixKit 2.0. It no longer installs next to PhoenixKit 1.7.

Settings page in your language

Customer Support Settings is now translated: the headings, the ticket counts, Tickets Per Page and the three switches with their descriptions, in English, Russian and Estonian. The page also uses the full width of the admin instead of a narrow centred column.

Custom database schema

The ticket, comment, attachment and status history records now use the schema prefix PhoenixKit is configured with (config :phoenix_kit, prefix: ...). A site installed into its own Postgres schema no longer needs the database’s search_path pointed at it for tickets to work. A site in the default public schema sees no change.

Upgrading

Customer Support 0.2 needs PhoenixKit 2.0 or later. PhoenixKit 2.0 starts its migrations from V135 and refuses to migrate a database below that. Run mix phoenix_kit.status before upgrading. If the database is below V135, first install phoenix_kit 1.7.236, migrate until the version is V135 or higher, and only then move to 2.0 and this release. The module itself brings no migration.

Full release notes: Customer Support 0.2.0

0.2.0 · 10 August 2026

Changed

  • ⚠️ Requires phoenix_kit ~> 2.0. The core pin moved to ~> 2.0, so this release no longer resolves against core 1.7.

    Core 2.0.0 squashes the migration chain into a single V135 baseline and makes V135 the chain’s floor: mix ecto.migrate now refuses on a database below it rather than migrating. Check mix phoenix_kit.status before upgrading. A host below V135 must install phoenix_kit 1.7.236 — the migration bridge, the last release carrying the full pre-squash chain — migrate until the reported version is at least V135, and only then move to 2.0.

    This package does not call migration internals, so the change is the pin itself.

Fixed

  • TicketAttachment’s @moduledoc pointed file_uuid at PhoenixKit.Storage.File, a module that exists in no current core. The belongs_to on the same schema already used the real one, PhoenixKit.Modules.Storage.File. From PR #6.

Added

  • test/core_pin_conformance_test.exs (from PR #6, adapted) — guards the core requirement against being re-narrowed to a single minor. A three-segment ~> 2.0.x pin expands to < 2.1.0 and excludes every later core minor; the resulting breakage lands on consumers’ mix deps.get, never on this repo’s own test run, so nothing else would catch it.

Customer Support 0.2.0. Install or update: {:phoenix_kit_customer_support, "~> 0.2"}, then mix deps.get && mix phoenix_kit.update. Full history: CHANGELOG.