zend-expressive 3.0.0alpha8
Added
- Nothing.
Changed
-
#559 reverts the changes performed for #556 to the
ApplicationFactory
. It now uses the canonical service name for thePathBasedRoutingMiddleware
instead of theROUTE_MIDDLEWARE
constant. -
#561 updates to zend-expressive-router 3.0.0alpha3.
-
#561 renames
Zend\Expressive\Container\ResponseFactory
toZend\Expressive\Container\ResponseFactoryFactory
, and the factory now returns a callable that will return a zend-diactorosResponse
instance, instead of returning the instance itself. Each of the various services named after zend-expressive-router response constants were removed in favor of a singlePsr\Http\Message\ResponseInterface
service resolving to theResponseFactoryFactory
. -
#561 modifies the
Zend\Expressive\Handler\NotFoundHandler
to compose a response factory instead of a response prototype. This approach allows it to use thePsr\Http\Message\ResponseInterface
service defined per the above note. -
#561 renames the
Zend\Expressive\Router\IMPLICIT_HEAD_MIDDLEWARE_STREAM_FACTORY
service toPsr\Http\Message\StreamInterface
, as this is what zend-expressive-router now expects. -
#561 renames the
Zend\Expressive\ServerRequestFactory
service toPsr\Http\Message\ServerRequestInterface
. TheZend\Expressive\SERVER_REQUEST_FACTORY
constant now resolves to the interface name.
Deprecated
- Nothing.
Removed
- Nothing.