Skip to content
This repository was archived by the owner on Jan 29, 2020. It is now read-only.

Commit bb6b8f3

Browse files
committed
Adds CHANGELOG entries for #561.
1 parent dfccb48 commit bb6b8f3

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

CHANGELOG.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,33 @@ All notable changes to this project will be documented in this file, in reverse
1515
to the `ApplicationFactory`. It now uses the canonical service name for the
1616
`PathBasedRoutingMiddleware` instead of the `ROUTE_MIDDLEWARE` constant.
1717

18+
- [#561](https://github.com/zendframework/zend-expressive/pull/561) updates to
19+
zend-expressive-router 3.0.0alpha3.
20+
21+
- [#561](https://github.com/zendframework/zend-expressive/pull/561) renames
22+
`Zend\Expressive\Container\ResponseFactory` to `Zend\Expressive\Container\ResponseFactoryFactory`,
23+
and the factory now returns a callable that will return a zend-diactoros
24+
`Response` instance, instead of returning the instance itself. Each of the
25+
various services named after zend-expressive-router response constants were
26+
removed in favor of a single `Psr\Http\Message\ResponseInterface` service
27+
resolving to the `ResponseFactoryFactory`.
28+
29+
- [#561](https://github.com/zendframework/zend-expressive/pull/561) modifies the
30+
`Zend\Expressive\Handler\NotFoundHandler` to compose a response factory
31+
instead of a response prototype. This approach allows it to use the
32+
`Psr\Http\Message\ResponseInterface` service defined per the above note.
33+
34+
- [#561](https://github.com/zendframework/zend-expressive/pull/561) renames
35+
the `Zend\Expressive\Router\IMPLICIT_HEAD_MIDDLEWARE_STREAM_FACTORY` service
36+
to `Psr\Http\Message\StreamInterface`, as this is what zend-expressive-router
37+
now expects.
38+
39+
- [#561](https://github.com/zendframework/zend-expressive/pull/561) renames the
40+
`Zend\Expressive\ServerRequestFactory` service to
41+
`Psr\Http\Message\ServerRequestInterface`. The
42+
`Zend\Expressive\SERVER_REQUEST_FACTORY` constant now resolves to the
43+
interface name.
44+
1845
### Deprecated
1946

2047
- Nothing.

0 commit comments

Comments
 (0)