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.
2.0.0 - 2019-11-29
- Support for PHP 7.0 and 7.1
1.4.0 - 2018-10-26
- Support for arrays with 2 strings as request handler
- Use
phpstan
as a dev dependency to detect bugs
1.3.0 - 2018-08-24
- New option
continueOnEmpty()
to continue with the next middleware if the request attribute is empty or does not exists.
1.2.0 - 2018-08-04
- PSR-17 support
1.1.0 - 2018-02-07
- Support for any callable, not only
Closure
.
1.0.1 - 2018-01-25
- Fixed the suggested package in composer.json
1.0.0 - 2018-01-24
- Improved testing and added code coverage reporting
- Added tests for PHP 7.2
- Added support for
Closure
handlers
- Upgraded to the final version of PSR-15
psr/http-server-middleware
- Updated license year
0.5.0 - 2017-12-16
- Support for handlers implementing
MiddlewareInterface
. - Support for handlers implementing
RequestHandlerInterface
.
- Changed the constructor signature: Instead a
Middlewares\Utils\CallableResolverInterface
, now onlyPsr\Container\ContainerInterface
is accepted.
- Removed
arguments()
option - Removed support for
callable
handlers. They must implementRequestHandlerInterface
orMiddlewareInterface
.
0.4.0 - 2017-11-13
- Replaced
http-interop/http-middleware
withhttp-interop/http-server-middleware
.
- Removed support for PHP 5.x.
0.3.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.2.0 - 2017-04-20
- Renamed
attribute()
tohandlerAttribute()
- Improved docs and examples in README
First version