- Added finish() middleware
- Removed PhpRenderer
- Made Application implement HttpInterface
- Made Request available in error handlers
- Removed unused log4php dependency
- Removed unused classes Configuration and AbstractAction
- Route prefix can contain placeholders
- Route can accept PATCH requests
Features:
- Fixed Invoker to map subclasses (it is now possible to use a subclass of Application and it will be properly mapped in callbacks which reference Application)
- Updated HTTP Foundation dependency to 2.5.x
Features:
- Route can now accept OPTIONS requests
- Added an event emitter
$app['emitter']
- Added two new events:
router.match
, when a route is matched by a requestrouter.nomatch
, when none of the routes are matched by a request
Bugfixes:
- Fixed invalid access to Pimple container (v.3 removed the \Pimple alias)
Bugfixes:
- BREAKING CHANGE: The Pimple dependency changed a signature to code, which caused a conflict with Application:register. The register method was renamed to addRouteCollection.
Misc:
- Updated Pimple to 3.0
Features:
- Routes now accept [$class, $method] style callbacks
Features:
- Implemented named routes
Features:
- Added
$app->before()
and$app->after
Bugfixes:
- return $this in RouteCollection builder methods
Features:
- started keeping a changelog