tag:github.com,2008:https://github.com/chillerlan/php-http-message-utils/releases Release notes from php-http-message-utils 2024-07-26T16:04:07Z tag:github.com,2008:Repository/352429896/2.2.2 2024-07-26T16:12:18Z 2.2.2 <ul> <li>some minor fixes &amp; code cleanup</li> <li>CI update (switched phan for phpstan, added phpcs)</li> </ul> codemasher tag:github.com,2008:Repository/352429896/2.2.1 2024-03-20T17:08:33Z 2.2.1 <ul> <li><code>MessageUtil</code>: use decompress() instead of just getContents() to retrieve body contents in the following methods: <ul> <li><code>MessageUtil::decodeJSON()</code></li> <li><code>MessageUtil::decodeXML()</code></li> <li><code>MessageUtil::toString()</code></li> <li><code>MessageUtil::toJSON()</code></li> </ul> </li> </ul> codemasher tag:github.com,2008:Repository/352429896/2.2.0 2024-03-15T21:59:01Z 2.2.0 <ul> <li>added PSR-18 utility http clients</li> <li>added <code>MessageUtil:toJSON</code></li> </ul> codemasher tag:github.com,2008:Repository/352429896/2.1.1 2024-03-09T21:07:29Z 2.1.1 <ul> <li><code>HeaderUtil::normalize()</code> (and its helpers) now remove CR and LF characters in header names and values (see <a href="https://nvd.nist.gov/vuln/detail/CVE-2023-29197" rel="nofollow">CVE-2023-29197</a>)</li> </ul> codemasher tag:github.com,2008:Repository/352429896/2.1.0 2024-03-01T21:38:30Z 2.1.0 <ul> <li>added PSR-7 <code>ResponseInterface</code> emitter: <code>ResponseEmitterInterface</code>, <code>ResponseEmitterAbstract</code> and <code>SapiEmitter</code></li> <li>added a <a href="https://datatracker.ietf.org/doc/html/rfc6265" rel="nofollow">RFC6265</a> <code>Cookie</code> implementation, as well as <code>MessageUtil::setCookie()</code> and <code>MessageUtil::getCookiesFromHeader()</code></li> <li>fixed array handling in <code>HeaderUtil::normalize()</code></li> </ul> codemasher tag:github.com,2008:Repository/352429896/2.0.3 2024-02-18T21:52:04Z 2.0.3 <ul> <li><code>UriUtil::parseUrl()</code>: return port as integer</li> </ul> codemasher tag:github.com,2008:Repository/352429896/2.0.2 2024-02-15T19:29:34Z 2.0.2 <ul> <li>fixed type error in <code>HeaderUtil::trimValues()</code></li> <li>added <code>.gitattributes</code></li> </ul> codemasher tag:github.com,2008:Repository/352429896/2.0.1 2024-02-15T17:59:12Z 2.0.1 <ul> <li>explicit nullable types</li> <li>return type fix for <code>MessageUtil::setContentLengthHeader()</code> and <code>MessageUtil::setContentTypeHeader()</code> (<code>MessageInterface|RequestInterface|ResponseInterface|ServerRequestInterface</code> instead of just <code>MessageInterface</code>)</li> <li>cleanup</li> <li>CI updates</li> </ul> codemasher tag:github.com,2008:Repository/352429896/2.0.0 2023-08-02T16:00:43Z 2.0.0 <ul> <li>PHP 8.1+</li> <li>Cleaned up &amp; moved some things</li> <li>CI updates</li> </ul> codemasher tag:github.com,2008:Repository/352429896/1.1.0 2023-02-12T14:34:33Z 1.1.0 <ul> <li>branch out PHP 7.4 to <code>v1.x-php7.4</code>, <code>dev-main</code> is now PHP 8.1+</li> <li><a href="https://github.com/chillerlan/php-http-message-utils/compare/1.0.2...1.1.0">this &amp; that</a></li> </ul> codemasher