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-30
- Added a second argument to the constructor to define the
responseFactory
- Support for PHP 7.0 and 7.1
- The
responseFactory()
option. Use the second argument in the contructor.
1.1.0 - 2018-08-04
- PSR-17 support
- New option
responseFactory
1.0.1 - 2018-02-06
- Return a 500 response, if the failed route rule is different to 404, 405 or 406. #2
1.0.0 - 2018-01-24
- Improved testing and added code coverage reporting
- Added tests for PHP 7.2
- Upgraded to the final version of PSR-15
psr/http-server-middleware
- Updated license year
0.9.0 - 2017-11-13
- Replaced
http-interop/http-middleware
withhttp-interop/http-server-middleware
.
- Removed support for PHP 5.x.
0.8.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.7.0 - 2017-04-20
- Handlers are no longer executed, only passed as attribute references.
0.6.0 - 2017-04-13
- New option
container()
that works as a shortcut to use a PSR-11 container as a resolver.
- The option
resolver()
accepts any instance ofMiddlewares\Utils\CallableResolver\CallableResolverInterface
.
- The
405
response includes anAllow
header with the allowed methods for the request.
0.5.0 - 2017-02-27
- Replaced
container-interop
bypsr/container
0.4.0 - 2017-02-05
- Updated to
middlewares/utils#~0.9
- Improved route target resolution
0.3.0 - 2016-12-26
- Updated tests
- Updated to
http-interop/http-middleware#0.4
- Updated
friendsofphp/php-cs-fixer#2.0
0.2.0 - 2016-11-22
- Updated to
http-interop/http-middleware#0.3
0.1.1 - 2016-10-03
- Use
Middlewares\Utils\CallableHandler
to resolve and execute the routes handlers. This fixes some issues resolving the callables.
First version