Skip to content

Releases: BerliozFramework/HttpMessage

v2.0.2

07 Oct 15:40
Compare
Choose a tag to compare

Fixed

  • Cast header value to string with Message::withAddedHeader()

v2.0.1

07 Oct 13:07
Compare
Choose a tag to compare

Fixed

  • Cast all header values to string to be PSR compliant

v2.0.0

08 Sep 20:58
Compare
Choose a tag to compare

No changes were introduced since the previous beta 4 release.

v2.0.0-beta4

30 Aug 10:09
18d9748
Compare
Choose a tag to compare
v2.0.0-beta4 Pre-release
Pre-release

Added

  • New GzFileStream class
  • New GzStream class

Fixed

  • Berlioz\Http\Message\Message::withHeaders() do not replace specified headers

v2.0.0-beta3

07 Jun 20:13
Compare
Choose a tag to compare
v2.0.0-beta3 Pre-release
Pre-release

Changed

  • MemoryStream accept initial contents in argument of constructor

v2.0.0-beta2

29 Apr 21:44
Compare
Choose a tag to compare
v2.0.0-beta2 Pre-release
Pre-release

Added

  • New FileStream class

Fixed

  • ServerRequest::isAjaxRequest() compare the lower case value of X-Requested-With header instead of sensitive case value

v2.0.0-beta1

14 Apr 20:49
Compare
Choose a tag to compare
v2.0.0-beta1 Pre-release
Pre-release

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

05 Nov 13:38
Compare
Choose a tag to compare

Added

  • PHP 8 compatibility

v1.1.0

10 Mar 22:41
Compare
Choose a tag to compare

Added

  • New PhpInputStream class
  • All HTTP status codes and reasons phrases in Response class

v1.0.1

14 Feb 17:08
Compare
Choose a tag to compare

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()