Skip to content

Posts 0.1.2: Tailwind finds the module's templates by app name

Posts 0.1.2 is a small fix release: the module now names its Tailwind source by its app name, and its docs stop telling you to add the Posts routes to your router by hand.

The module tells PhoenixKit where its templates are, so the host’s Tailwind build includes the classes they use. It gave that as the text "phoenix_kit_posts", which PhoenixKit reads as a folder path. It now gives the app name, :phoenix_kit_posts, which PhoenixKit looks up among your dependencies.

The docs of the posts list showed a live "/admin/posts", … line “in your Phoenix router”. PhoenixKit creates the Posts admin routes itself, and declaring one in your own router puts it outside the admin’s live session and loses the admin layout. The example is gone and the docs now warn against it.

Upgrading

If you copied that route into your router, remove it.

Full release notes: Posts 0.1.2

0.1.2 · 11 April 2026

Fixed

  • Fix wrong “In your Phoenix router” moduledoc example — routes are auto-generated by PhoenixKit, not hand-registered
  • Add routing anti-pattern warning to AGENTS.md

0.1.1

  • Migrate select elements to daisyUI 5 label wrapper pattern
  • Remove deprecated select-bordered class for daisyUI 5 compatibility
  • Add css_sources/0 for Tailwind CSS scanning

0.1.0

  • Initial release

Posts 0.1.2. Install or update: {:phoenix_kit_posts, "~> 0.1"}, then mix deps.get && mix phoenix_kit.update. Full history: CHANGELOG.