Skip to content

Latest commit

 

History

History
102 lines (79 loc) · 3.38 KB

CHANGELOG.md

File metadata and controls

102 lines (79 loc) · 3.38 KB

Change Log

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

  • Added a second argument to the constructor to define the responseFactory

Removed

  • Support for PHP 7.0 and 7.1
  • The responseFactory() option. Use the second argument in the contructor.

1.1.0 - 2018-08-04

Added

  • PSR-17 support
  • New option responseFactory

1.0.1 - 2018-02-06

Fixed

  • Return a 500 response, if the failed route rule is different to 404, 405 or 406. #2

1.0.0 - 2018-01-24

Added

  • Improved testing and added code coverage reporting
  • Added tests for PHP 7.2

Changed

  • Upgraded to the final version of PSR-15 psr/http-server-middleware

Fixed

  • Updated license year

0.9.0 - 2017-11-13

Changed

  • Replaced http-interop/http-middleware with http-interop/http-server-middleware.

Removed

  • Removed support for PHP 5.x.

0.8.0 - 2017-09-21

Changed

  • 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

Changed

  • Handlers are no longer executed, only passed as attribute references.

0.6.0 - 2017-04-13

Added

  • New option container() that works as a shortcut to use a PSR-11 container as a resolver.

Changed

  • The option resolver() accepts any instance of Middlewares\Utils\CallableResolver\CallableResolverInterface.

Fixed

  • The 405 response includes an Allow header with the allowed methods for the request.

0.5.0 - 2017-02-27

Changed

  • Replaced container-interop by psr/container

0.4.0 - 2017-02-05

Changed

  • Updated to middlewares/utils#~0.9
  • Improved route target resolution

0.3.0 - 2016-12-26

Changed

  • Updated tests
  • Updated to http-interop/http-middleware#0.4
  • Updated friendsofphp/php-cs-fixer#2.0

0.2.0 - 2016-11-22

Changed

  • Updated to http-interop/http-middleware#0.3

0.1.1 - 2016-10-03

Fixed

  • Use Middlewares\Utils\CallableHandler to resolve and execute the routes handlers. This fixes some issues resolving the callables.

0.1.0 - 2016-10-02

First version