Releases: sunrise-php/http-router
Releases · sunrise-php/http-router
v2.4.0
- The router match logic was changed (see #50);
- The following properties were added for the route:
summary
, description
and tags
;
Loader::attachArray()
was added;
MethodNotAllowedException::getJoinedAllowedMethods()
was added;
UnsupportedMediaTypeException::getJoinedSupportedTypes()
was added.
v2.3.0
- Named patterns (for example:
{id<@uuid>}
).
v2.2.0
- Load routes from a folder for the
CollectableFileLoader
;
- (dev) Update dependency
sunrise/http-message
to v1.2.0
.
v2.1.0
- new exception
BadRequestException
;
- new exception
UnsupportedMediaTypeException
;
- update dependency
phpunit/phpunit
to v7.5.20
;
v2.0.2
- store requested route instance in the request instance (may be useful, for example, for middleware...);
v2.0.1
- (dev) Pin dependency sunrise/http-message to 1.0.16
- (dev) Update dependency phpunit/phpunit to v7.5.18
v2.0.0
- Routes implement
RequestHandlerInterface
and not MiddlewareInterface
- The route collection is not a factory
- And many more new features...
v1.0.14
- MethodNotAllowedException->getAllowedMethodsAsString()
- Update dependency phpunit/phpunit to v7.5.11
v1.0.13
- New buildRegex method for Route
- Update dependency sunrise/http-server-request to v1.0.11
- Update dependency phpunit/phpunit to v7.5.7
v1.0.12
- Update dependency sunrise/http-server-request to v1.0.9