Skip to content

PhoenixKit 1.7.52: A title field for every language of a post

PhoenixKit 1.7.52 gives Publishing posts a Title field in each language. In the primary language it is filled from the first heading until you change it; in a translation, an empty title uses the primary one.

A post can be saved as a draft without a title, but publishing in the primary language now needs one. A translation’s status follows the primary language and is shown read-only. Posts in timestamp mode no longer need a slug (migration V68), and looking them up by date and time works again.

Migrations V66, V67 and V69 make the old integer foreign key columns nullable, 42 of them in V67 alone. The code no longer writes them, so inserts into those tables could fail before. Billing events and the order form no longer crash on a missing user_id. The rest of the release renames _id to _uuid throughout the code; Scope.user_id is now Scope.user_uuid.

Upgrading

Run mix phoenix_kit.update for V66 to V69. Code that calls Scope.user_id must use Scope.user_uuid.

Full release notes: PhoenixKit 1.7.52

1.7.52 · 28 February 2026

  • Add translatable title field to posts and fix timestamp-mode post handling
  • Add V69 migration: make role table integer FK columns nullable
  • Add mix precommit alias (compile → format → credo --strict) to mix.exs
  • Update AGENTS.md with pre-commit instructions, replacing old minimal checklist
  • Rename Scope.user_id → Scope.user_uuid for consistency
  • Rename user_id → user_uuid across event handlers, templates, and messages
  • Rename user_id → user_uuid in emails rate_limiter; log_id → log_uuid in emails interceptor, SQS processor, and sync task
  • Rename user_id → aws_user_id in AWS credentials verifier
  • Rename resource_id → resource_uuid in scheduled jobs
  • Rename _id → _uuid in billing, shop, AI, entities, legal, posts, tickets, storage, scheduled jobs, and permissions
  • Rename _id → _uuid across metadata, forms, helpers, and tests
  • Replace DateTime.utc_now() with UtilsDate.utc_now() across codebase
  • Remove redundant connection_id parameter from sync connection_notifier
  • Fix crash bugs: .user_id struct access → .user_uuid in billing events and order_form
  • Fix UUID field references for webhook_events and post images
  • Fix duplicate map keys left from UUID migration in hooks and rate_limiter
  • Fix alias ordering Credo violations across 18 files
  • Fix timestamp-mode post lookups, migration ordering, and admin UI (PR #376 review follow-up)
  • Fix tab_callback_context missing clause; demote double-wrap log to debug
  • Add dialyzer ignore for unused tab_callback_context clause
  • Update integration guide, making-pages-live guide, dashboard README, and usage-rules to use UUID terminology

PhoenixKit 1.7.52. Install or update: {:phoenix_kit, "~> 1.7"}, then mix deps.get && mix phoenix_kit.update. Full history: CHANGELOG.