|
1 | 1 | # Change Log |
| 2 | + |
2 | 3 | All notable changes to this project will be documented in this file. |
3 | 4 |
|
4 | 5 | The format is based on [Keep a Changelog](http://keepachangelog.com/) |
5 | 6 | and this project adheres to [Semantic Versioning](http://semver.org/). |
6 | 7 |
|
7 | 8 | ## [0.8.0] - 2017-11-13 |
8 | 9 |
|
9 | | -### Removed |
| 10 | +### Changed |
10 | 11 |
|
11 | | -* Removed support for PHP 5.x. |
| 12 | +- Replaced `http-interop/http-middleware` with `http-interop/http-server-middleware`. |
12 | 13 |
|
13 | | -### Changed |
| 14 | +### Removed |
14 | 15 |
|
15 | | -* Replaced `http-interop/http-middleware` with `http-interop/http-server-middleware`. |
| 16 | +- Removed support for PHP 5.x. |
16 | 17 |
|
17 | 18 | ## [0.7.0] - 2017-09-21 |
18 | 19 |
|
19 | 20 | ### Changed |
20 | 21 |
|
21 | | -* Append `.dist` suffix to phpcs.xml and phpunit.xml files |
22 | | -* Changed the configuration of phpcs and php_cs |
23 | | -* Upgraded phpunit to the latest version and improved its config file |
24 | | -* Updated to `http-interop/http-middleware#0.5` |
| 22 | +- Append `.dist` suffix to phpcs.xml and phpunit.xml files |
| 23 | +- Changed the configuration of phpcs and php_cs |
| 24 | +- Upgraded phpunit to the latest version and improved its config file |
| 25 | +- Updated to `http-interop/http-middleware#0.5` |
25 | 26 |
|
26 | 27 | ## [0.6.0] - 2017-03-26 |
27 | 28 |
|
28 | 29 | ### Changed |
29 | 30 |
|
30 | | -* Added `Middlewares\HttpErrorException` class to allow to pass data context to the error handler |
31 | | -* Changed the error handler signature. The attribute `error` contains an instance of `Middlewares\HttpErrorException` instead an array. |
32 | | -* Updated to `middlewares/utils#~0.11 |
| 31 | +- Added `Middlewares\HttpErrorException` class to allow to pass data context to the error handler |
| 32 | +- Changed the error handler signature. The attribute `error` contains an instance of `Middlewares\HttpErrorException` instead an array. |
| 33 | +- Updated to `middlewares/utils#~0.11` |
33 | 34 |
|
34 | 35 | ## [0.5.0] - 2017-02-05 |
35 | 36 |
|
36 | 37 | ### Changed |
37 | 38 |
|
38 | | -* Updated to `middlewares/utils#~0.9 |
| 39 | +- Updated to `middlewares/utils#~0.9` |
39 | 40 |
|
40 | 41 | ## [0.4.0] - 2016-12-26 |
41 | 42 |
|
42 | 43 | ### Changed |
43 | 44 |
|
44 | | -* Updated tests |
45 | | -* Updated to `http-interop/http-middleware#0.4` |
46 | | -* Updated `friendsofphp/php-cs-fixer#2.0` |
| 45 | +- Updated tests |
| 46 | +- Updated to `http-interop/http-middleware#0.4` |
| 47 | +- Updated `friendsofphp/php-cs-fixer#2.0` |
47 | 48 |
|
48 | 49 | ## [0.3.0] - 2016-11-22 |
49 | 50 |
|
50 | 51 | ### Changed |
51 | 52 |
|
52 | | -* Updated to `http-interop/http-middleware#0.3` |
| 53 | +- Updated to `http-interop/http-middleware#0.3` |
53 | 54 |
|
54 | 55 | ## [0.2.0] - 2016-11-19 |
55 | 56 |
|
56 | | -### Changed |
| 57 | +### Added |
57 | 58 |
|
58 | | -* Changed the handler signature to `function(ServerRequestInterface $request)`. |
59 | | -* The error info is passed to the handler using an array stored in the request attribute `error`. |
| 59 | +- New option `attribute()` to change the attribute name used to pass the error info to the handler. |
60 | 60 |
|
61 | | -### Added |
| 61 | +### Changed |
62 | 62 |
|
63 | | -* New option `attribute()` to change the attribute name used to pass the error info to the handler. |
| 63 | +- Changed the handler signature to `function(ServerRequestInterface $request)`. |
| 64 | +- The error info is passed to the handler using an array stored in the request attribute `error`. |
64 | 65 |
|
65 | 66 | ## 0.1.0 - 2016-10-03 |
66 | 67 |
|
|
0 commit comments