|
2 | 2 |
|
3 | 3 | All notable changes to this project will be documented in this file, in reverse chronological order by release. |
4 | 4 |
|
| 5 | +## 3.0.0alpha3 - 2018-02-06 |
| 6 | + |
| 7 | +### Added |
| 8 | + |
| 9 | +- Nothing. |
| 10 | + |
| 11 | +### Changed |
| 12 | + |
| 13 | +- [#546](https://github.com/zendframework/zend-expressive/pull/546) merges |
| 14 | + `Zend\Expressive\Middleware\NotFoundHandler` into |
| 15 | + `Zend\Expressive\Middleware\NotFoundMiddleware`, as well as merges |
| 16 | + `Zend\Expressive\Container\NotFoundHandlerFactory` into |
| 17 | + `Zend\Expressive\Container\NotFoundMiddlewareFactory`. `NotFoundMiddleware` |
| 18 | + now does the work of the former `Zend\Expressive\Delegate\NotFoundDelegate`, |
| 19 | + and, as such, accepts the following constructor arguments: |
| 20 | + |
| 21 | + - PSR-7 `ResponseInterface $responsePrototype` (required) |
| 22 | + - `Zend\Expressive\Template\TemplateRendererInterface $renderer` (optional) |
| 23 | + - `string $template = self::TEMPLATE_DEFAULT` (optional; defaults to "error::404") |
| 24 | + - `string $layout = self::LAYOUT_DEFAULT` (optional; defaults to "layout::default") |
| 25 | + |
| 26 | +### Deprecated |
| 27 | + |
| 28 | +- Nothing. |
| 29 | + |
| 30 | +### Removed |
| 31 | + |
| 32 | +- [#546](https://github.com/zendframework/zend-expressive/pull/546) removes the |
| 33 | + class `Zend\Expressive\Delegate\DefaultDelegate`, as there is no longer a |
| 34 | + concept of a default handler invoked by the application. Instead, developers |
| 35 | + MUST pipe middleware at the innermost layer of the pipeline guaranteed to |
| 36 | + return a response; we recommend using `Zend\Expressive\Middleware\NotFoundMiddleware` |
| 37 | + for this purpose. |
| 38 | + |
| 39 | +### Fixed |
| 40 | + |
| 41 | +- Nothing. |
| 42 | + |
5 | 43 | ## 3.0.0alpha2 - 2018-02-05 |
6 | 44 |
|
7 | 45 | ### Added |
@@ -97,19 +135,18 @@ All notable changes to this project will be documented in this file, in reverse |
97 | 135 |
|
98 | 136 | and removes the dependency http-interop/http-server-middleware. |
99 | 137 |
|
100 | | -- [#543](https://github.com/zendframework/zend-expressive/pull/543) and |
101 | | - [#546](https://github.com/zendframework/zend-expressive/pull/546) renames the |
| 138 | +- [#543](https://github.com/zendframework/zend-expressive/pull/543) renames |
102 | 139 | `Zend\Expressive\Middleware\NotFoundHandler` to |
103 | 140 | `Zend\Expressive\Middleware\NotFoundMiddleware`, and its accompanying factory |
104 | 141 | `Zend\Expressive\Container\NotFoundHandlerFactory` to |
105 | | - `Zend\Expressive\Container\NotFoundMiddlewareFactory`. Additionally, the |
106 | | - class now does the work of the former `Zend\Expressive\Delegate\NotFoundDelegate`, |
107 | | - and, as such, accepts the following constructor arguments: |
| 142 | + `Zend\Expressive\Container\NotFoundMiddlewareFactory`. |
108 | 143 |
|
109 | | - - PSR-7 `ResponseInterface $responsePrototype` (required) |
110 | | - - `Zend\Expressive\Template\TemplateRendererInterface $renderer` (optional) |
111 | | - - `string $template = self::TEMPLATE_DEFAULT` (optional; defaults to "error::404") |
112 | | - - `string $layout = self::LAYOUT_DEFAULT` (optional; defaults to "layout::default") |
| 144 | +- [#543](https://github.com/zendframework/zend-expressive/pull/543) renames |
| 145 | + `Zend\Expressive\Delegate\NotFoundDelegate` to |
| 146 | + `Zend\Expressive\Handler\NotFoundHandler`, updating it to implement the PSR-15 |
| 147 | + `RequestHandlerInterface`. It also renames the factory |
| 148 | + `Zend\Expressive\Container\NotFoundDelegateFactory` to |
| 149 | + `Zend\Expressive\Container\NotFoundHandlerFactory`. |
113 | 150 |
|
114 | 151 | - [#543](https://github.com/zendframework/zend-expressive/pull/543) refactors |
115 | 152 | `Zend\Expressive\Application` completely. |
@@ -188,13 +225,6 @@ All notable changes to this project will be documented in this file, in reverse |
188 | 225 | - [#543](https://github.com/zendframework/zend-expressive/pull/543) removes |
189 | 226 | support for http-interop/http-server-middleware. |
190 | 227 |
|
191 | | -- [#546](https://github.com/zendframework/zend-expressive/pull/546) removes the |
192 | | - class `Zend\Expressive\Delegate\DefaultDelegate`, as there is no longer a |
193 | | - concept of a default handler invoked by the application. Instead, developers |
194 | | - MUST pipe middleware at the innermost layer of the pipeline guaranteed to |
195 | | - return a response; we recommend using `Zend\Expressive\Middleware\NotFoundMiddleware` |
196 | | - for this purpose. |
197 | | - |
198 | 228 | - [#543](https://github.com/zendframework/zend-expressive/pull/543) removes the |
199 | 229 | class `Zend\Expressive\Middleware\RouteMiddleware`. Use the |
200 | 230 | `PathBasedRoutingMiddleware` or `RouteMiddleware` from zend-expressive-router |
|
0 commit comments