v0.0.26
25 June 2026
Configurable UUID generation, redesigned route tokens, tiered error templates, and an admin route cleanup.
Added
uuid.lengthconfig key (phlat/config.json) : controls the byte length of generated UUIDs, clamped between 8 and 16.Record::generateUuid()is now the single source of truth for minting them.- Tiered error templates :
App::errorTemplate()resolveserrors/{code}.latte→errors/{group}XX.latte→errors/index.latte, checked against the site then the framework. - Caddy now responds 404 for missing static-looking paths instead of falling through to PHP.
Changed
- Upgraded UUID generation to UUID v4 and raised the minimum length to 8 bytes.
- Route tokens redesigned :
(:segment)dropped in favor of(:any)/(:all)plus new(:alpha),(:alphanum),(:num),(:slug)tokens. - Admin
page/pages/browserouters reworked : history/diff/restore/publish/discard routes moved to an action-verb-first pattern (history/(:all),publish/(:all), etc.) so they no longer collide with the catch-all page editor route;pagesrouter collapsed to a thin wrapper aroundbrowse. - Admin browse panel and nav redesigned further : page tree and file list split into separate panes.
- Dockerfile now sets a default git committer identity for page draft/publish history commits.