Skip to content

Latest commit

 

History

History
41 lines (21 loc) · 924 Bytes

4.x-5.x.md

File metadata and controls

41 lines (21 loc) · 924 Bytes

4.x to 5.x

Middleware

ExceptionMiddleware

Makes use of chubbyphp/chubbyphp-http-exception for catching http exceptions. If you use a custom exception handler, please make sure you also catch chubbyphp/chubbyphp-http-exception.

RouteMatcherMiddleware

Does not catch exceptions anymore, this will be done by the ExceptionMiddleware.

Routing

HttpExceptionInterface

Replaced by chubbyphp/chubbyphp-http-exception

MethodNotAllowedException

Replaced by chubbyphp/chubbyphp-http-exception

NotFoundException

Replaced by chubbyphp/chubbyphp-http-exception

RouterException

Extends \LogicException and not \RuntimeException anymore, cause the router exceptions shouldn't be runtime related anymore.

Routes

Renamed to RoutesByName

RoutesInterface

Renamed to RoutesByNameInterface