tag:github.com,2008:https://github.com/php-http/HttplugBundle/releases Release notes from HttplugBundle 2024-11-24T09:51:07Z tag:github.com,2008:Repository/41299142/2.1.0 2024-11-24T09:51:45Z 2.1.0 <ul> <li>Added <a href="https://docs.php-http.org/en/latest/integrations/symfony-bundle.html#configure-a-custom-plugin" rel="nofollow">PluginConfigurator</a></li> </ul> dbu tag:github.com,2008:Repository/41299142/2.0.0 2024-09-16T05:11:54Z 2.0.0 <ul> <li>Increased min PHP version to 8.1</li> <li>Removed the deprecated <code>httplug_markup</code> twig filter. Use <code>@Httplug/http_message.html.twig</code> template instead.</li> <li>Removed deprecated configuration options: <ul> <li><code>toolbar</code>: Use <code>profiling</code> instead.</li> <li><code>respect_cache_headers</code>: Use <code>respect_response_cache_directives</code> instead.</li> </ul> </li> <li>Removed the deprecated <code>Http\HttplugBundle\ClientFactory\PluginClientFactory</code>. Use <code>Http\Client\Common\PluginClientFactory</code> instead.</li> <li>Fixed a deprecation when creating a <code>HttpMethodsClient</code> via <code>http_methods_client: true</code>. Only PSR-17 factories are now passed as constructor arguments.</li> <li>Changed the default stream factory argument for the cache plugin. This now requires a PSR-17 StreamFactoryInterface instance.</li> <li>Creating a client using the <code>BuzzFactory</code> no longer accepts <code>verify_peer</code> and <code>verify_host</code> config options. Only a boolean <code>verify</code> flag is accepted, covering both previous options.</li> <li>Removed support of deprecated PHP-HTTP factories, only PSR-17 factories are now supported and used.</li> <li>Removed <code>message_factory</code>, <code>uri_factory</code>, and <code>stream_factory</code> classes config option. You can configure your own factories via <code>psr17_*_factory</code> classes config</li> <li>Removed support for guzzle5-adapter</li> <li>Removed support for Symfony versions &lt;5.4</li> <li>Changed the return type of <code>ClientFactory</code> to return a <code>ClientInterface</code> instead of <code>ClientInterface|HttpClient</code></li> <li>Changed the type of <code>httplug.client.default</code> to <code>ClientInterface</code> instead of <code>HttpClient</code></li> <li>Removed the <code>DummyClient</code> interface</li> <li>Removed the <code>Http\Client\HttpClient</code> alias use the <code>Psr\Http\Client\ClientInterface</code> typehint in your services for autowiring.</li> <li>Changed classes marked as <code>@final</code> to be actually <code>final</code>. If you extended any of those, instead implement interfaces or decorate the class rather than extending it. Open an issue if you think a class needs to be made non-final to discuss what we should do.</li> <li>Added return type declaration to <code>Http\HttplugBundle\ClientFactory\ClientFactory::createClient</code></li> <li>Added interface name alias for the <code>Http\Mock\Client</code> and all PSR17 factories to help with autowiring.</li> </ul> dbu tag:github.com,2008:Repository/41299142/1.34.3 2024-09-01T08:27:02Z 1.34.3 <p>same as 1.34.2 but tagged on the 1.x branch</p> <ul> <li>More cleanup of the rate-limiter configuration. The service name is the full service name of the rate limiter, e.g. <code>limiter.my_name</code> when configuring <code>framework.rate_limiter.my_name</code>.</li> </ul> dbu tag:github.com,2008:Repository/41299142/1.34.2 2024-09-01T08:15:00Z 1.34.2 <ul> <li>More cleanup of the rate-limiter configuration. The service name is the full service name of the rate limiter, e.g. <code>limiter.my_name</code> when configuring <code>framework.rate_limiter.my_name</code>.</li> </ul> dbu tag:github.com,2008:Repository/41299142/1.34.1 2024-09-01T07:37:48Z 1.34.1 <ul> <li>The rate-limiter name in the throttle plugin configuration is required.</li> </ul> dbu tag:github.com,2008:Repository/41299142/1.34.0 2024-06-17T08:11:25Z 1.34.0 <ul> <li>Support to configure the throttle plugin.</li> </ul> dbu tag:github.com,2008:Repository/41299142/1.33.1 2024-05-27T11:35:48Z 1.33.1 <ul> <li>Fixed extension to depend on the DependencyInjection component rather than the HttpKernel.</li> </ul> dbu tag:github.com,2008:Repository/41299142/1.33.0 2024-02-27T16:05:04Z 1.33.0 <ul> <li>Support php-http/cache-plugin 2.0 and bump minimal version to 1.7 by defaulting the stream factory for cache to <code>httplug.psr17_stream_factory</code> (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2154471946" data-permission-text="Title is private" data-url="https://github.com/php-http/HttplugBundle/issues/448" data-hovercard-type="pull_request" data-hovercard-url="/php-http/HttplugBundle/pull/448/hovercard" href="https://github.com/php-http/HttplugBundle/pull/448">#448</a>).</li> </ul> dbu tag:github.com,2008:Repository/41299142/1.32.0 2023-12-06T14:58:45Z 1.32.0 <ul> <li>Added support for Symfony 7</li> </ul> dbu tag:github.com,2008:Repository/41299142/1.31.0 2023-11-06T11:11:33Z 1.31.0 <ul> <li>Added configuration for the <code>header</code> authentication plugin (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1970697595" data-permission-text="Title is private" data-url="https://github.com/php-http/HttplugBundle/issues/437" data-hovercard-type="issue" data-hovercard-url="/php-http/HttplugBundle/issues/437/hovercard" href="https://github.com/php-http/HttplugBundle/issues/437">#437</a>).</li> </ul> dbu