You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix exception handling, rank fallthrough, and add statusRoute()
Exception routes now use is_a() for class matching, supporting
inheritance and Throwable. handle() no longer swallows exceptions
silently — unhandled exceptions propagate per PSR-15.
routineMatch() no longer falls through from exact-method (rank 0)
to any-method (rank 1) routes when a when() routine fails, preventing
validation bypass via catch-all routes.
New statusRoute() API lets users handle framework-generated HTTP
status codes (404, 405, 400, etc.) with custom callbacks, including
content negotiation via accept(). Passing null as status code creates
a catch-all handler for any status.
0 commit comments