v0.0.26

25 June 2026

Configurable UUID generation, redesigned route tokens, tiered error templates, and an admin route cleanup.

Added

  • uuid.length config 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() resolves errors/{code}.latteerrors/{group}XX.latteerrors/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/browse routers 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; pages router collapsed to a thin wrapper around browse.
  • 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.