PhoenixKit 1.7.229: The Leaf editor now needs version 0.4.1 or 0.5
PhoenixKit 1.7.229 changes only one dependency: the Leaf content editor requirement goes from ~> 0.3 to ~> 0.4.1 or ~> 0.5. There is no other code change.
The old requirement allowed every Leaf release from 0.3 to 0.9, which let Mix quietly pick an older Publishing release instead of reporting a conflict. Apps still on Leaf 0.3 move to 0.4.1 or later when they update PhoenixKit.
Upgrading
If you copy leaf.js into your assets or load it from a CDN, update it to the Leaf version Mix resolves. Apps that import it from deps/leaf get the new file automatically.
Full release notes: PhoenixKit 1.7.229
1.7.229 · 4 August 2026
Changed
-
⚠️ The
leafrequirement is now~> 0.4.1 or ~> 0.5, up from~> 0.3. This raises the floor — hosts resolving leaf 0.3.x will be moved to 0.4.1+.~> 0.3spanned leaf 0.3 → 0.9. For a 0.x package, where each minor is effectively a major, that claimed a support window core cannot back. It also had a concrete cost: it let a resolver reach for leaf 0.5 whilephoenix_kit_publishingstill excluded it, and rather than reporting a conflict the resolver quietly settled on an older publishing release. Core declaresleaffor the whole tree —phoenix_kit_commentsrenders the composer but inherits the dep from here — so this requirement governs every host.If you vendor
leaf.jsor pin it from a CDN, update it to match. leaf 0.5 is a server↔client contract change and a bundle left behind fails silently (0.5.1 logs a console warning when it detects the mismatch). Hosts using the documentedimport "../../../deps/leaf/priv/static/assets/leaf.js"move automatically.
PhoenixKit 1.7.229. Install or update: {:phoenix_kit, "~> 1.7"}, then mix deps.get && mix phoenix_kit.update. Full history: CHANGELOG.