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 thePathBasedRoutingMiddlewareinstead of theROUTE_MIDDLEWAREconstant. -
#561 updates to zend-expressive-router 3.0.0alpha3.
-
#561 renames
Zend\Expressive\Container\ResponseFactorytoZend\Expressive\Container\ResponseFactoryFactory, and the factory now returns a callable that will return a zend-diactorosResponseinstance, 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\ResponseInterfaceservice resolving to theResponseFactoryFactory. -
#561 modifies the
Zend\Expressive\Handler\NotFoundHandlerto compose a response factory instead of a response prototype. This approach allows it to use thePsr\Http\Message\ResponseInterfaceservice defined per the above note. -
#561 renames the
Zend\Expressive\Router\IMPLICIT_HEAD_MIDDLEWARE_STREAM_FACTORYservice toPsr\Http\Message\StreamInterface, as this is what zend-expressive-router now expects. -
#561 renames the
Zend\Expressive\ServerRequestFactoryservice toPsr\Http\Message\ServerRequestInterface. TheZend\Expressive\SERVER_REQUEST_FACTORYconstant now resolves to the interface name.
Deprecated
- Nothing.
Removed
- Nothing.