Releases: sunrise-php/http-router
Releases · sunrise-php/http-router
v2.15.0
- New middleware:
Sunrise\Http\Router\Middleware\JsonPayloadDecodingMiddleware
.
v2.14.1
- In-memory caching of route regular expressions for a long-running application.
v2.14.0
- New method:
Route::getHolder():Reflector
(#94);
- New method:
Router::resolveHostname(string):?string
;
- New method:
Router::getRoutesByHostname(string):array
;
- New method:
RouterBuilder::setEventDispatcher(?EventDispatcherInterface):void
.
v2.12.0
- The
Router::getMatchedRoute()
method was added;
- The
RouteCollection::appendMiddleware()
method was marked as deprecated;
- Readme was updated.
v2.11.1
- The Route List Command was improved.
v2.11.0
- New annotations:
Host
, Prefix
, Postfix
and Middleware
(#38 #77);
GET
method is the default for Route
annotation.