Skip to content

Releases: BerliozFramework/HttpMessage

v2.4.0

18 Apr 12:51
Compare
Choose a tag to compare

Added

  • Compatibility with psr/http-message v2

v2.3.4

17 Nov 16:27
Compare
Choose a tag to compare

Fixed

  • Revert of version v2.3.2, modify original URL, force replacement of spaces instead of
  • Query part with not empty string but consider empty by function empty()
  • Fragment part with not empty string but consider empty by function empty()
  • Query not encoded with RF3986
  • User infos not encoded

v2.3.3

12 Sep 15:17
Compare
Choose a tag to compare

Fixed

  • Keep port in "Host" header with method Request::withUri()

v2.3.2

08 Sep 14:09
Compare
Choose a tag to compare

Fixed

  • Force query parsing and rebuild for URI to prevent malformed URI query

v2.3.1

21 Jun 08:53
Compare
Choose a tag to compare

Fixed

  • Prevent blank spaces in URI creation

v2.3.0

07 Apr 14:06
Compare
Choose a tag to compare

Added

  • New method Uri::withAddedQuery() to add query to the existent
  • New method Uri::withoutQuery() to remove query string name to the existent
  • New method Uri::getQueryValue() to get query value

Changed

  • Uri now implement Stringable and JsonSerializable interfaces
  • Uri::create() accept UriInterface parameter to convert into Uri
  • Stream and message classes now implement Stringable interface

v2.2.1

30 Mar 09:19
Compare
Choose a tag to compare

Fixed

  • Uri::create() with empty scheme and string reference

v2.2.0

29 Mar 13:13
Compare
Choose a tag to compare

Added

  • New MultipartStream class
  • New Base64Stream class
  • New AppendStream class

Changed

  • Add type on "default" parameter of ServerRequest::getQueryParam() method
  • MemoryStream allow StreamInterface or resource in argument type

Fixed

  • Uri::create() with empty scheme do not retrieve reference uri scheme

v2.1.1

04 Feb 14:56
Compare
Choose a tag to compare

Changed

  • Default value for property path or Uri is now empty

v2.1.0

23 Dec 00:12
Compare
Choose a tag to compare

Added

  • New method Uri::create($uri, $ref = null): Uri to create an uri with reference