Skip to content

v0.7.0

Choose a tag to compare

@lemmon lemmon released this 30 Sep 09:04
· 3 commits to main since this release

Action-only endpoints, strict method dispatch, and a home fallback id for the root page.

Highlights

  • Action-only endpoints — a directory with +action.php and no page entry file now routes
  • Strict method dispatch — breaking: GET/HEAD belong to the controller or template, POST belongs only to +action.php, and any other verb is 405
  • Root fallback id is home — breaking: a root page with no explicit id is no longer routes
  • CLI inspection refreshes the index — page:list, page:show, and page:preview --open rebuild when content changed
  • site.index() / site.children() without a home page — both list the pages beneath / when the root is an endpoint or missing

See CHANGELOG.md for the full list.