All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
0.8.0 - 2017-11-13
- Removed support for PHP 5.x.
- Replaced
http-interop/http-middleware
withhttp-interop/http-server-middleware
.
0.7.0 - 2017-09-21
- Append
.dist
suffix to phpcs.xml and phpunit.xml files - Changed the configuration of phpcs and php_cs
- Upgraded phpunit to the latest version and improved its config file
- Updated to
http-interop/http-middleware#0.5
0.6.0 - 2017-03-26
- Added
Middlewares\HttpErrorException
class to allow to pass data context to the error handler - Changed the error handler signature. The attribute
error
contains an instance ofMiddlewares\HttpErrorException
instead an array. - Updated to `middlewares/utils#~0.11
0.5.0 - 2017-02-05
- Updated to `middlewares/utils#~0.9
0.4.0 - 2016-12-26
- Updated tests
- Updated to
http-interop/http-middleware#0.4
- Updated
friendsofphp/php-cs-fixer#2.0
0.3.0 - 2016-11-22
- Updated to
http-interop/http-middleware#0.3
0.2.0 - 2016-11-19
- Changed the handler signature to
function(ServerRequestInterface $request)
. - The error info is passed to the handler using an array stored in the request attribute
error
.
- New option
attribute()
to change the attribute name used to pass the error info to the handler.
First version