Skip to content

v1.3.0

Choose a tag to compare

@mathsgod mathsgod released this 20 Jul 03:46
· 2 commits to main since this release

What's changed

  • Add HEAD request support with automatic GET fallback and empty response bodies.
  • Improve dependency injection for defaults, nullable parameters, scalar types, union types, and unresolved dependencies.
  • Support pages/ at the project root when using public/index.php.
  • Support custom options() handlers and distinguish normal OPTIONS requests from CORS preflight requests.
  • Harden CORS configuration by rejecting wildcard origins with credentials and preserving Vary: Origin.

Verification

  • PHPUnit: 37 tests, 64 assertions passing.