Skip to content

Releases: php-http/client-common

Release 1.8.0

21 Sep 12:16

Choose a tag to compare

See change log for changes.

Release 1.7.0

30 Nov 11:09
9accb4a

Choose a tag to compare

Support for Symfony 4

1.6.0

16 Oct 16:46

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

Choose a tag to compare

Added QueryDefaultsPlugin

v1.4.2

18 Mar 11:16
v1.4.2
85b2501

Choose a tag to compare

DecoderPlugin compression fixes

v1.4.1

20 Feb 14:24

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

Choose a tag to compare

Tagged v1.4.0

v1.3.0

16 Oct 07:05

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

Choose a tag to compare

v1.2.1

AddHostPlugin supports setting a port

v1.2.0

14 Jul 09:48

Choose a tag to compare

Add debug plugins