Releases: chillerlan/php-http-message-utils
Releases · chillerlan/php-http-message-utils
2.2.2
2.2.1
- MessageUtil: use decompress() instead of just getContents() to retrieve body contents in the following methods:- MessageUtil::decodeJSON()
- MessageUtil::decodeXML()
- MessageUtil::toString()
- MessageUtil::toJSON()
 
2.2.0
- added PSR-18 utility http clients
- added MessageUtil:toJSON
2.1.1
- HeaderUtil::normalize()(and its helpers) now remove CR and LF characters in header names and values (see CVE-2023-29197)
2.1.0
2.0.3
- UriUtil::parseUrl(): return port as integer
2.0.2
- fixed type error in HeaderUtil::trimValues()
- added .gitattributes
2.0.1
- explicit nullable types
- return type fix for MessageUtil::setContentLengthHeader()andMessageUtil::setContentTypeHeader()(MessageInterface|RequestInterface|ResponseInterface|ServerRequestInterfaceinstead of justMessageInterface)
- cleanup
- CI updates
2.0.0
- PHP 8.1+
- Cleaned up & moved some things
- CI updates
1.1.0
- branch out PHP 7.4 to v1.x-php7.4,dev-mainis now PHP 8.1+
- this & that