Publishing 0.11.0: The module gets its own migration chain
Publishing 0.11.0 gives the module its own versioned database migrations, so mix phoenix_kit.update and mix phoenix_kit.status now track the Publishing tables. Nothing changes in the admin or on public pages.
A migration chain of its own
Until now, core’s migrations created the seven Publishing tables. They still do, but the module now owns its schema from here on. Its first migration, V1, only adopts the existing tables: it creates anything that is missing, without duplicating constraints or indexes that a site may have renamed, and writes a version marker as a comment on the groups table. On an existing install, that marker is the only change. Rolling the migration back never drops a table or a row.
The README now documents the category and view tables and gives a manual recipe for removing the module’s data, since uninstalling the dependency deliberately leaves all groups, posts and categories in the database.
Upgrading
Run mix phoenix_kit.update to apply V1. The core requirement stays at PhoenixKit 2.14; dependencies were refreshed.
Full release notes: Publishing 0.11.0
0.11.0 · 17 September 2026
Added
PhoenixKitPublishing.Migrations, a versioned migration chain owned by this module and exposed throughmigration_module/0, somix phoenix_kit.updateandmix phoenix_kit.statusnow track this module’s schema. V1 only adopts the existing tables. Core’s chain still creates all 7 tables; V1 creates anything missing, using guards that match on shape so a host with renamed constraints or indexes never gets duplicates, and stamps apkpub_schema:1marker onphoenix_kit_publishing_groups. On an existing install that marker is the only change.down/1never drops a table or a row.- A test that builds V1 into an empty schema and requires its catalog (columns, constraints, indexes) to match what core’s chain built, row for row.
- Each schema’s
column_widths/0, the one source for the varchar widths in the V1 DDL. - README: the 3 category/view tables are documented, plus a manual “Removing this module” recipe.
Changed
- Dependencies refreshed (
phoenix_kit2.28.1,phoenix_kit_ai0.23.0,phoenix_kit_comments0.4.8,phoenix1.8.14,phoenix_live_view1.2.12, and transitive packages). Thephoenix_kit ~> 2.14floor is unchanged.
Publishing 0.11.0. Install or update: {:phoenix_kit_publishing, "~> 0.11"}, then mix deps.get && mix phoenix_kit.update. Full history: CHANGELOG.