v0.28.0
1 November 2026
The release moves the favicon and theme addons out of core and lets SVG files render as PNG variants.
Added
PageSvg::src()andtransform()rasterize an SVG to a PNG variant on first request:$logo->src('w=400')is a 400px PNG,src('w=400,format=webp')a WebP. Needs Imagick.Image::rasterize()draws an SVG as PNG bytes at the density that fills the requested size.- The
Variantstrait holds the variant URL logic shared byPageImageandPageSvg.
Changed
- The admin theme is named
default.phlatdarkandphlatlightare gone, and the admin ships one dark theme.
Removed
- The
phlat/faviconandphlat/themeaddons and theiraddonsentries inphlat/config.json. A site that wants them keeps its own copy assite/faviconandsite/themes.