Releases: BerliozFramework/HttpMessage
Releases · BerliozFramework/HttpMessage
v2.0.2
v2.0.1
v2.0.0
v2.0.0-beta4
Added
- New
GzFileStream
class - New
GzStream
class
Fixed
Berlioz\Http\Message\Message::withHeaders()
do not replace specified headers
v2.0.0-beta3
Changed
MemoryStream
accept initial contents in argument of constructor
v2.0.0-beta2
Added
- New
FileStream
class
Fixed
ServerRequest::isAjaxRequest()
compare the lower case value ofX-Requested-With
header instead of sensitive case value
v2.0.0-beta1
Added
- Factory traits
- New method
ServerRequestFactoryTrait::createServerRequestFromGlobals()
to create server request from PHP globals
Changed
- Bump minimum compatibility to PHP 8
- Signature of
\Berlioz\Http\Message\Request
constructor - Signature of
\Berlioz\Http\Message\ServerRequest
constructor body
parameter in constructors is now of mixed type
v1.2.0
v1.1.0
v1.0.1
Added
- Add http-interop/http-factory-tests package for additional tests
Changed
- Allow null argument for reason phrase of Response constructor
- Allow null arguments in UploadedFile constructor if uploaded file is in error
- Throw InvalidArgumentException if string isn't a valid URI
- Fix HttpFactory::createStreamFromFile()