Skip to content

Releases: php-http/client-common

Release 1.7.0

30 Nov 11:09
9accb4a
Compare
Choose a tag to compare

Support for Symfony 4

1.6.0

16 Oct 16:46
Compare
Choose a tag to compare

Added

  • Add HttpClientPool client to leverage load balancing and fallback mechanism see the documentation for more details.
  • PluginClientFactory to create PluginClient instances.
  • Added new option 'delay' for RetryPlugin.
  • Added new option 'decider' for RetryPlugin.
  • Supports more cookie date formats in the Cookie Plugin

Changed

  • The RetryPlugin does now wait between retries. To disable/change this feature you must write something like:
$plugin = new RetryPlugin(['delay' => function(RequestInterface $request, Exception $e, $retries) { 
  return 0; 
}); 

Deprecated

  • The debug_plugins option for PluginClient is deprecated and will be removed in 2.0. Use the decorator design pattern instead like in ProfilePlugin.

Release 1.5.0

30 Mar 12:50
Compare
Choose a tag to compare

Added QueryDefaultsPlugin

v1.4.2

18 Mar 11:16
v1.4.2
85b2501
Compare
Choose a tag to compare

DecoderPlugin compression fixes

v1.4.1

20 Feb 14:24
Compare
Choose a tag to compare

Cast return value of StreamInterface::getSize to string in ContentLengthPlugin

v1.4.0

04 Nov 09:21
v1.4.0
3cf7eb9
Compare
Choose a tag to compare
Tagged v1.4.0

v1.3.0

16 Oct 07:05
Compare
Choose a tag to compare

See change log for changes.

AddHostPlugin also sets the port if specified

26 Jul 17:49
v1.2.1
10891ee
Compare
Choose a tag to compare
v1.2.1

AddHostPlugin supports setting a port

v1.2.0

14 Jul 09:48
Compare
Choose a tag to compare
Add debug plugins

Add plugins

04 May 06:03
1c09aab
Compare
Choose a tag to compare

In the past we had the plugins in a separate repository. From now on, the core plugin implementations and the plugin client itself are going to be found in this package, while plugins with external dependencies are extracted to separate packages:

https://github.com/php-http/logger-plugin
https://github.com/php-http/cache-plugin
https://github.com/php-http/stopwatch-plugin