Skip to content

Releases: BerliozFramework/HttpMessage

v2.5.0

14 Mar 11:46

Choose a tag to compare

Changed

  • PHP 8.4 compatibility

v2.4.0

18 Apr 12:51

Choose a tag to compare

Added

  • Compatibility with psr/http-message v2

v2.3.4

17 Nov 16:27

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

Choose a tag to compare

Fixed

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

v2.3.2

08 Sep 14:09

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

Choose a tag to compare

Fixed

  • Prevent blank spaces in URI creation

v2.3.0

07 Apr 14:06

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

Choose a tag to compare

Fixed

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

v2.2.0

29 Mar 13:13

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

Choose a tag to compare

Changed

  • Default value for property path or Uri is now empty