tag:github.com,2008:https://github.com/php-http/client-common/releasesRelease notes from client-common2024-09-24T06:22:14Ztag:github.com,2008:Repository/48558536/2.7.22024-09-24T06:22:47Z2.7.2<ul>
<li>Updated code to not raise warnings for nullable parameters in PHP 8.4.</li>
<li>Cleaned up PHPDoc comments.</li>
</ul>dbutag:github.com,2008:Repository/48558536/2.7.12023-11-30T10:32:10Z2.7.1<ul>
<li>Allow installation with Symfony 7.</li>
</ul>dbutag:github.com,2008:Repository/48558536/2.7.02023-05-17T06:47:43Z2.7.0<ul>
<li>Dropped <code>php-http/message-factory</code> from composer requirements as it is abandoned and this package does not actually use it.</li>
</ul>dbutag:github.com,2008:Repository/48558536/2.6.12023-04-14T13:31:06Z2.6.1<ul>
<li>Allow installation with http-message (PSR-7) version 2 in addition to version 1.</li>
<li>Support for PHP 8.2</li>
</ul>dbutag:github.com,2008:Repository/48558536/2.6.02022-09-29T10:01:56Z2.6.0<ul>
<li>[RedirectPlugin] Redirection of non GET/HEAD requests with a body now removes the body on follow-up requests, if the<br>
HTTP method changes. To do this, the plugin needs to find a PSR-7 stream implementation. If none is found, you can<br>
explicitly pass a PSR-17 StreamFactoryInterface in the <code>stream_factory</code> option.<br>
To keep sending the body in all cases, set the <code>stream_factory</code> option to null explicitly.</li>
</ul>dbutag:github.com,2008:Repository/48558536/2.5.12022-09-29T07:54:50Z2.5.1<ul>
<li>[RedirectPlugin] Fixed handling of redirection to different domain with default port</li>
<li>[RedirectPlugin] Fixed false positive circular detection in RedirectPlugin in cases when target location does not contain path</li>
</ul>dbutag:github.com,2008:Repository/48558536/2.5.02021-11-26T15:02:00Z2.5.0<h3>Added</h3>
<ul>
<li>Support for Symfony 6</li>
<li>Support for PHP 8.1</li>
</ul>
<h3>Changed</h3>
<ul>
<li>Dropped support for Symfony 2 and 3 - please keep using version 2.4.0 of this library if you can't update Symfony.</li>
</ul>dbutag:github.com,2008:Repository/48558536/1.11.02021-07-11T14:35:03Z1.11.0<ul>
<li>Backported from version 2: AddPathPlugin: Do not add the prefix if the URL already has the same prefix.</li>
</ul>dbutag:github.com,2008:Repository/48558536/2.4.02021-07-05T08:20:09Z2.4.0<h3>Added</h3>
<ul>
<li><code>strict</code> option to <code>RedirectPlugin</code> to allow preserving the request method on redirections with status 300, 301 and 302.</li>
</ul>dbutag:github.com,2008:Repository/48558536/2.3.02020-07-21T10:05:21Z2.3.0<h3>Fixed</h3>
<ul>
<li>HttpMethodsClient with PSR RequestFactory</li>
<li>Bug in the cookie plugin with empty cookies</li>
<li>Bug when parsing null-valued date headers</li>
</ul>
<h3>Changed</h3>
<ul>
<li>Deprecation when constructing a HttpMethodsClient with PSR RequestFactory but without a StreamFactory</li>
</ul>dbu