Releases
v5.0
Compare
Sorry, something went wrong.
No results found
v5.0 - 12 Aug 2026
Added
Sitemaps generate automatically from your registered routes, no separate route list to maintain
Added sitemap()->map() to point dynamic routes like /posts/{slug} at real URLs from your data
Added sitemap()->source() to feed URLs from any datasource with a callback
Added sitemap()->add() for manual entries, with lastmod, changefreq and priority options
Added per-route sitemap options right where you define the route
Generation is skipped when a sitemap file already exists, so hand-managed sitemaps are never overwritten
Fixed
lastmod only appears when you actually provide one, instead of stamping every URL with the generation time
Dynamic routes are left out of the sitemap unless you map them to real URLs, so crawlers never see {slug} placeholders
XML output is properly escaped
Fixed sitemap config resolution
Changed
Sitemap now requires PHP 8.2+ and Leaf 5, generating through the router's hook system
First stable release: sitemap graduates from beta with a full test suite run through Alchemy
You can’t perform that action at this time.