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.
3.0.0 - 2020-12-03
- PHP 7.2 remains th minimum version.
- Updated
league/filesystemto version 2 for php 7.2, 7.3 and 7.4, and to version 3 for >= php 8.0. - With these changes, a breaking change is introduced by
league/filesystem. Now you have to pass a FilesystemOperator interface compliant class to the middlewares. Check README's code examples.
2.0.1 - 2020-12-03
- Support for PHP 8.0
2.0.0 - 2019-11-30
- Arguments to
Readerconstructor to define aResponseFactoryandStreamFactory. - Argument to
Writerconstructor to define aStreamFactory.
- Support for PHP 7.0 and 7.1
- Option
responseFactoryinReader, use the constructor argument - Option
streamFactoryinReaderandWriter, use the constructor argument
1.1.0 - 2018-08-04
- PSR-17 support
- New option
responseFactoryinReader - New option
streamFactoryinReaderandWriter
1.0.0 - 2017-01-25
- New static function
createFromDirectoryinReaderandWriterto create instances using a local directory - 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 - changed the constructor signature: removed the ability to provide a string as a first argument.
- Updated license year
0.5.0 - 2017-11-13
- Replaced
http-interop/http-middlewarewithhttp-interop/http-server-middleware.
- Removed support for PHP 5.x.
0.4.0 - 2017-09-21
- Append
.distsuffix 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.1 - 2017-05-06
Middlewares\Readeradds the headerAllow: GETin405responses
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