Legal 0.4.2: Data protection officer fields styled again
Legal 0.4.2 fixes the look of the data protection officer contact form on the Legal settings page.
The DPO Name and DPO Email fields, and the rest of that form, still used daisyUI 4 classes such as form-control, input-bordered and label-text. daisyUI 5 dropped them, so the fields lost their spacing and borders. They now use daisyUI 5’s fieldset, input, fieldset-legend and fieldset-label.
Nothing else changes for a site. The locked dependencies moved to phoenix_kit 2.13.1 and phoenix_kit_publishing 0.7.0.
Full release notes: Legal 0.4.2
0.4.2 · 18 August 2026
Fixed
- daisyUI 5 form classes that styled nothing. The DPO contact form in the
admin settings page (
web/settings.html.heex) still used daisyUI 4’sform-control/input-bordered/label-text/label-text-alt, which v5 dropped — the classes did nothing and the fields lost their intended spacing/border styling. Replaced with v5’sfieldset/input/fieldset-legend/fieldset-label.
Changed
- Dependency updates:
phoenix_kit2.13.1,phoenix_kit_publishing0.7.0, and the transitive set they pull. - Hardened
test/consent_logs_ownership_test.exs,test/schema_prefix_conformance_test.exs, andtest/phoenix_kit_legal/i18n_test.exsagainst vacuous guards (#17, #18) — several checks could not fail because the list or set they iterated could be empty, or pinned Ecto’s message text instead of its error metadata. No behaviour change; not shipped in the package (test/is excluded from the Hexfiles:list).
Legal 0.4.2. Install or update: {:phoenix_kit_legal, "~> 0.4"}, then mix deps.get && mix phoenix_kit.update. Full history: CHANGELOG.