Skip to content

Legal 0.1.7: Public legal pages load again

Legal 0.1.7 fixes the 404 that 0.1.6 put on /legal and /legal/:slug, including the links the cookie banner shows to every visitor.

0.1.6 reserved the legal prefix so that a page of the host app could own /legal. The module ships no such page, so on almost every site the reservation removed the legal pages from Publishing and nothing took over. Legal no longer reserves the prefix. Publishing serves the generated pages at /legal and /legal/:slug again, with language prefixes and translations like any other Publishing group.

The release also moves the consent log to PhoenixKit’s table prefix support, and the settings page uses PhoenixKit’s shared checkbox component.

Upgrading

Run mix deps.update phoenix_kit_legal phoenix_kit_publishing and restart the app. Legal 0.1.7 needs phoenix_kit 1.7.189 or later. Remove any /legal route you added to work around 0.1.6. A page that still returns 404 has probably never been published: publish it from /admin/settings/legal.

 

 


Legal 0.1.7. Install or update: {:phoenix_kit_legal, "~> 0.1"}, then mix deps.get && mix phoenix_kit.update. Full history: CHANGELOG.