diff --git a/.gitignore b/.gitignore index af40440..d0ec629 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ vendor composer.lock .php_cs.cache coverage +.phpunit.result.cache diff --git a/CHANGELOG.md b/CHANGELOG.md index 9fe781b..708abe9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,15 +5,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/). -## [1.1.0] - unreleased +## [1.1.0] - UNRELEASED ### Added -- New option `responseFactory` to configure a custom factory implementing `Psr\Http\Message\ResponseFactoryInterface` - -### Changed - -- Upgraded to the final version of PSR-17 `psr/http-factory` +- PSR-17 support +- New option `responseFactory` ## [1.0.0] - 2018-01-27 @@ -100,6 +97,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/). First version + +[1.1.0]: https://github.com/middlewares/fast-route/compare/v1.0.0...HEAD [1.0.0]: https://github.com/middlewares/fast-route/compare/v0.9.0...v1.0.0 [0.9.0]: https://github.com/middlewares/fast-route/compare/v0.8.0...v0.9.0 [0.8.0]: https://github.com/middlewares/fast-route/compare/v0.7.0...v0.8.0 diff --git a/README.md b/README.md index a7aa314..f950e48 100644 --- a/README.md +++ b/README.md @@ -69,7 +69,7 @@ The attribute name used to store the handler in the server request. The default #### `responseFactory(Psr\Http\Message\ResponseFactoryInterface $responseFactory)` -A PSR-17 factory to create the responses returned on error (`404` or `405`). +A PSR-17 factory to create the error responses (`404` or `405`). --- diff --git a/composer.json b/composer.json index 0481b76..001bf13 100644 --- a/composer.json +++ b/composer.json @@ -20,7 +20,7 @@ "require": { "php": "^7.0", "nikic/fast-route": "^1.0", - "middlewares/utils": "^2.0", + "middlewares/utils": "^2.1", "psr/http-server-middleware": "^1.0" }, "require-dev": {