Skip to content

Releases: php-http/HttplugBundle

2.1.0

24 Nov 09:51
@dbu dbu
2.1.0
Compare
Choose a tag to compare

2.0.0

16 Sep 05:11
@dbu dbu
2.0.0
Compare
Choose a tag to compare
  • Increased min PHP version to 8.1
  • Removed the deprecated httplug_markup twig filter. Use @Httplug/http_message.html.twig template instead.
  • Removed deprecated configuration options:
    • toolbar: Use profiling instead.
    • respect_cache_headers: Use respect_response_cache_directives instead.
  • Removed the deprecated Http\HttplugBundle\ClientFactory\PluginClientFactory. Use Http\Client\Common\PluginClientFactory instead.
  • Fixed a deprecation when creating a HttpMethodsClient via http_methods_client: true. Only PSR-17 factories are now passed as constructor arguments.
  • Changed the default stream factory argument for the cache plugin. This now requires a PSR-17 StreamFactoryInterface instance.
  • Creating a client using the BuzzFactory no longer accepts verify_peer and verify_host config options. Only a boolean verify flag is accepted, covering both previous options.
  • Removed support of deprecated PHP-HTTP factories, only PSR-17 factories are now supported and used.
  • Removed message_factory, uri_factory, and stream_factory classes config option. You can configure your own factories via psr17_*_factory classes config
  • Removed support for guzzle5-adapter
  • Removed support for Symfony versions <5.4
  • Changed the return type of ClientFactory to return a ClientInterface instead of ClientInterface|HttpClient
  • Changed the type of httplug.client.default to ClientInterface instead of HttpClient
  • Removed the DummyClient interface
  • Removed the Http\Client\HttpClient alias use the Psr\Http\Client\ClientInterface typehint in your services for autowiring.
  • Changed classes marked as @final to be actually final. 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.
  • Added return type declaration to Http\HttplugBundle\ClientFactory\ClientFactory::createClient
  • Added interface name alias for the Http\Mock\Client and all PSR17 factories to help with autowiring.

1.34.3

01 Sep 08:26
@dbu dbu
1.34.3
Compare
Choose a tag to compare

same as 1.34.2 but tagged on the 1.x branch

  • More cleanup of the rate-limiter configuration. The service name is the full service name of the rate limiter, e.g. limiter.my_name when configuring framework.rate_limiter.my_name.

1.34.2

01 Sep 08:15
@dbu dbu
1.34.2
Compare
Choose a tag to compare
  • More cleanup of the rate-limiter configuration. The service name is the full service name of the rate limiter, e.g. limiter.my_name when configuring framework.rate_limiter.my_name.

1.34.1

01 Sep 07:37
@dbu dbu
1.34.1
3fdfecc
Compare
Choose a tag to compare
  • The rate-limiter name in the throttle plugin configuration is required.

1.34.0

17 Jun 08:11
@dbu dbu
1.34.0
Compare
Choose a tag to compare
  • Support to configure the throttle plugin.

1.33.1

27 May 11:35
@dbu dbu
1.33.1
Compare
Choose a tag to compare
  • Fixed extension to depend on the DependencyInjection component rather than the HttpKernel.

1.33.0

27 Feb 16:05
@dbu dbu
1.33.0
Compare
Choose a tag to compare
  • Support php-http/cache-plugin 2.0 and bump minimal version to 1.7 by defaulting the stream factory for cache to httplug.psr17_stream_factory (#448).

1.32.0

06 Dec 14:58
@dbu dbu
1.32.0
Compare
Choose a tag to compare
  • Added support for Symfony 7

1.31.0

06 Nov 11:11
@dbu dbu
1.31.0
Compare
Choose a tag to compare
  • Added configuration for the header authentication plugin (#437).