Releases
v4.0.0
Required version updated to PHP 8.2
SapiStreamEmitter::$maxBufferLength
is now readonly
Renamed MiddlewareDecoratorTrait::getUnpackedMiddleware()
to MiddlewareDecoratorTrait::unpackMiddleware()
Renamed MiddlewareDecoratorTrait::getDecoratedCallableMiddleware()
to MiddlewareDecoratorTrait::createDecoratedCallableMiddleware()
Renamed AbstractFileResponse::getFileAsStream()
to AbstractFileResponse::createStreamFromFile()
ServerRequestBuilder::$server
and ServerRequestBuilder::$factory
are now readonly
MediaParserNegotiator::$request
is now readonly
Renamed MediaParserNegotiator::getPreferredMediaParser()
to MediaParserNegotiator::createPreferredMediaParser()
Moved private methods in ServerRequestBuilder
to Http\Parser\HttpCookieParser
, Http\Parser\UriParser
and Http\Normalizer\UploadedFilesNormalizer
Moved Parser\*
to Http\Parser\*
Replaced php-http/message-factory
with psr/http-factory
Added new tests + updated old ones
Split AbstractRouter
into AbstractRouter
, RouterTrait
and ResponseRouteTrait
to allow leaner variations of Routers to be created
Added AttributeRouteTrait
to allow attribute based routes to be added to a Router
You can’t perform that action at this time.