Legal 0.2.0: Runs on PhoenixKit core 2
Legal 0.2.0 moves PhoenixKit’s legal pages and cookie consent module to core 2. Its features are the same as in 0.1.10.
The module now requires phoenix_kit ~> 2.0 and phoenix_kit_publishing ~> 0.5, the first Publishing release built for core 2. It no longer installs against core 1.7.
The release also stops the module from adding the same directory twice to the app’s generated _phoenix_kit_sources.css. A normal install now gets one Tailwind @source line; a path or umbrella dependency still gets the absolute path it needs.
Upgrading
Core 2.0 starts its migrations from a V135 baseline and refuses to migrate a database below it. Check mix phoenix_kit.status before upgrading. A database below V135 must first be migrated with phoenix_kit 1.7.236, then moved to 2.0. Update Legal and Publishing together.
Full release notes: Legal 0.2.0
0.2.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
V135baseline and makes V135 the chain’s floor:mix ecto.migratenow refuses on a database below it rather than migrating. Checkmix phoenix_kit.statusbefore upgrading. A host below V135 must installphoenix_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.
-
phoenix_kit_publishingraised to~> 0.5in step: its 0.5.0 is the first release requiring core 2.0, so the old~> 0.1pin could only have resolved a publishing that still required core 1.7 — an unsatisfiable set alongsidephoenix_kit ~> 2.0.
Known issue (resolved in 0.3.0)
- This module’s migration coordinator conflicted with core’s ownership of
phoenix_kit_consent_logs. Resolved in 0.3.0 — see that entry.
Legal 0.2.0. Install or update: {:phoenix_kit_legal, "~> 0.2"}, then mix deps.get && mix phoenix_kit.update. Full history: CHANGELOG.