Releases: chillerlan/php-http-message-utils
Releases · chillerlan/php-http-message-utils
3.0.0
2.2.3
- dependency updates
- added PHP 8.4 and 8.5 on CI
2.2.2
- some minor fixes & code cleanup
- CI update (switched phan for phpstan, added phpcs)
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