Skip to content

Projects 0.21.0: Members, per-project modules and a public portal on PhoenixKit 2

Projects 0.21.0 moves the module to PhoenixKit 2 and turns each project into a hub: it has its own members and roles, its own set of modules and features, a work ledger, and optional whiteboards, events and a public portal.

Members, roles and access

A project now has members, each an owner, manager, member or viewer, and a team, a department or a site role can hold a role too. People see the projects they belong to. A new sub-permission, Administer all projects, lets a role see and manage every project on the site. To keep existing sites working, every role that already holds Projects is given it once, and each existing project gets the person who created it as its owner.

Modules and features per project

Each project chooses its own modules on a Project Modules page: Tasks, Files and Discussions are on by default; Whiteboards, Events and Public portal are off until switched on. Tasks has its own switches, such as Assignees, Dependencies, Priorities, Labels, Work ledger, Board view and Timeline view, all on by default so existing projects look the same. A new project starts from a card: Simple checklist, Team project, Client project or Public intake (Client project only shows when the CRM or Billing module is there to link a client).

Work, health and invoices

The work ledger records time against tasks and projects. A project can carry a manual health judgment (On track, Some risk or Concerned) with a note. With the Billing module installed, a project’s uninvoiced billable time can become a draft invoice, to review and issue in Billing. Tasks gain priorities and labels, and each project has Files, Members and Activity pages.

Public portal

A project with the portal on gets a private, random link where outsiders can submit issues, with images, and see a public issue list and status summary. Members are notified of a new submission, which waits for someone to accept or reject it. The link can be regenerated, submissions are rate limited, and no submitter email is collected.

Fixes

Status names written in Cyrillic or Greek produced an empty slug. They now transliterate.

Upgrading

Projects 0.21 needs PhoenixKit 2.0 or later and no longer installs on 1.7. Core 2.0 refuses to migrate a database below V135, so check mix phoenix_kit.status first; below V135, install phoenix_kit 1.7.236, migrate, then move to 2.0. Then run mix phoenix_kit.update: the module now has its own migrations, V1 to V14. On an existing install V1 matches the tables core already made. Staff becomes optional (install it for the people admin pages), and AI, Comments and Entities move to their first releases for core 2.

Full release notes: Projects 0.21.0

0.21.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.

  • Sibling pins raised in step, each to that package’s first release requiring core 2.0: phoenix_kit_ai → ~> 0.18, phoenix_kit_staff → ~> 0.8, phoenix_kit_comments → ~> 0.3, phoenix_kit_entities → ~> 0.3. phoenix_kit_comments 0.3.0 is a security release; see its CHANGELOG.

  • AITranslateBinding.source_fields/2 gains @impl true. The annotation was deliberately omitted while the callback existed only in an unreleased phoenix_kit_ai — annotating a callback the pinned behaviour does not declare warns just as loudly. ai 0.18.0 adds source_fields/2 to the FormBinding behaviour for its new VALUE MODE, and the pin here is now ~> 0.18, so the annotation is correct and its absence is what fails --warnings-as-errors.

Fixed

  • Cyrillic or Greek status names produced an empty slug (PR #36). ProjectStatus.slugify/1 delegated to core without transliterate: true, which defaulted to false on the core this module was pinned to — after which the [^a-z0-9]+ pass deleted every non-ASCII character. (Under core 2.0 the option is accepted-and-ignored because romanization is always on, so the argument is now redundant rather than load-bearing.)

Projects 0.21.0. Install or update: {:phoenix_kit_projects, "~> 0.21"}, then mix deps.get && mix phoenix_kit.update. Full history: CHANGELOG.