Skip to content

v1.0.2

Choose a tag to compare

@lizzyman04 lizzyman04 released this 19 Apr 08:04
· 18 commits to main since this release

[1.0.2] - 2026-04-19

Added

  • Route compilation with persistent file-based cache
  • Catch-all parameters via [...slug] syntax
  • 405 Method Not Allowed response with Allow header
  • Request attributes for middleware data passing
  • Route specificity ordering (static → dynamic → catch-all)

Changed

  • Router passes HTTP method to Matcher for method-aware dispatching
  • Dispatcher returns Response instead of sending directly
  • Apply segmentMapper to filename in buildPatternFromFile()
  • ErrorHandler methods return Response instead of calling exit
  • Route file include isolated in static closure
  • getJsonBody() guards against empty input

Fixed

  • Flow::matchesPattern() failing to match {param} patterns registered by new Matcher
  • preg_quote called before placeholder substitution breaking dynamic parameters
  • Groups (name) now correctly transparent in URL patterns
  • scandir() non-determinism resolved by compile-time sort