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.1 - 2020-12-02
- Support for PHP 8
2.0.0 - 2019-12-07
- Added a second argument to the constructor to set a
ResponseFactoryInterface
- The first argument of the constructor to enable/disable www is now required.
- Support for PHP 7.0 and 7.1
- The
responseFactory()
option. Use the constructor argument.
1.1.0 - 2018-08-04
- PSR-17 support
- New option
responseFactory
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
- Only check if the host is an ip or a named host (ex: "localhost"), but not if the host has more subdomains. This allows to prepend "www" to multisubdomain hosts (example:
www.subdomain1.subdomain2.example.com
)
- Updated license year
0.5.0 - 2017-11-13
- Replaced
http-interop/http-middleware
withhttp-interop/http-server-middleware
.
- Removed support for PHP 5.x.
0.4.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.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
First version