|
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.0alpha6 - TBD |
| 6 | + |
| 7 | +### Added |
| 8 | + |
| 9 | +- [#551](https://github.com/zendframework/zend-expressive/pull/551) adds |
| 10 | + `Zend\Expressive\Container\StreamFactory`, for producing an empty, writable |
| 11 | + PSR-7 `StreamInterface` instance using zend-diactoros. The stream produced is |
| 12 | + backed by a `php://temp` stream. |
| 13 | + |
| 14 | +- [#551](https://github.com/zendframework/zend-expressive/pull/551) adds |
| 15 | + the following constants under the `Zend\Expressive` namespace: |
| 16 | + |
| 17 | + - `DEFAULT_DELEGATE` can be used to refer to the former `DefaultDelegate` FQCN service. |
| 18 | + - `NOT_FOUND_MIDDLEWARE` can be used to refer to the former `Zend\Expressive\Middleware\NotFoundMiddleware` service. |
| 19 | + - `NOT_FOUND_RESPONSE` can be used to refer to the former `Zend\Expressive\Response\NotFoundResponseInterface` service. |
| 20 | + - `SERVER_REQUEST_ERROR_RESPONSE_GENERATOR` can be used to refer to the former `Zend\Expressive\ServerRequestErrorResponseGenerator` service. |
| 21 | + - `SERVER_REQUEST_FACTORY` can be used to refer to the former `Zend\Expressive\ServerRequestFactory` service. |
| 22 | + |
| 23 | +### Changed |
| 24 | + |
| 25 | +- [#551](https://github.com/zendframework/zend-expressive/pull/551) updates |
| 26 | + dependencies to pin to zend-expressive-router 3.0.0alpha2 or later. |
| 27 | + |
| 28 | +- [#551](https://github.com/zendframework/zend-expressive/pull/551) renames |
| 29 | + `Zend\Expressive\Middleware\NotFoundMiddleware` to |
| 30 | + `Zend\Expressive\Handler\NotFoundHandler`, which allows it to be used as a |
| 31 | + PSR-15 request handler, and, when piped or routed to, also as middleware. |
| 32 | + The original class name was aliased to the renamed class in the |
| 33 | + `ConfigProvider`. |
| 34 | + |
| 35 | +- [#551](https://github.com/zendframework/zend-expressive/pull/551) modifies the |
| 36 | + `ApplicationConfigInjectionDelegator` to raise an exception if the callback |
| 37 | + passed to it does not produce an `Application` instance, instead of returning |
| 38 | + the instance without changes. This allows developers to understand what they |
| 39 | + need to correct in their service configuration. |
| 40 | + |
| 41 | +- [#551](https://github.com/zendframework/zend-expressive/pull/551) updates |
| 42 | + the `ConfigProvider` to add entries for the following zend-expressive-router |
| 43 | + constants as follows: |
| 44 | + |
| 45 | + - `IMPLICIT_HEAD_MIDDLEWARE_RESPONSE` maps to the `ResponseFactory`. |
| 46 | + - `IMPLICIT_HEAD_MIDDLEWARE_STREAM_FACTORY` maps to the `StreamFactory`. |
| 47 | + - `IMPLICIT_OPTIONS_MIDDLEWARE_RESPONSE` maps to the `ResponseFactory`. |
| 48 | + |
| 49 | +### Deprecated |
| 50 | + |
| 51 | +- Nothing. |
| 52 | + |
| 53 | +### Removed |
| 54 | + |
| 55 | +- [#551](https://github.com/zendframework/zend-expressive/pull/551) removes |
| 56 | + `Zend\Expressive\Container\RouteMiddlewareFactory`, as zend-expressive-router |
| 57 | + now provides a factory for the middleware. |
| 58 | + |
| 59 | +- [#551](https://github.com/zendframework/zend-expressive/pull/551) removes |
| 60 | + `Zend\Expressive\Container\DispatchMiddlewareFactory`, as zend-expressive-router |
| 61 | + now provides a factory for the middleware. |
| 62 | + |
| 63 | +- [#551](https://github.com/zendframework/zend-expressive/pull/551) removes |
| 64 | + `Zend\Expressive\Middleware\ImplicitHeadMiddleware`, as it is now provided by |
| 65 | + the zend-expressive-router package. |
| 66 | + |
| 67 | +- [#551](https://github.com/zendframework/zend-expressive/pull/551) removes |
| 68 | + `Zend\Expressive\Middleware\ImplicitOptionsMiddleware`, as it is now provided |
| 69 | + by the zend-expressive-router package. |
| 70 | + |
| 71 | +### Fixed |
| 72 | + |
| 73 | +- Nothing. |
| 74 | + |
5 | 75 | ## 3.0.0alpha5 - 2018-02-07 |
6 | 76 |
|
7 | 77 | ### Added |
|
0 commit comments