Releases: php-http/client-common
Releases · php-http/client-common
Release 1.7.0
Support for Symfony 4
1.6.0
Added
- Add HttpClientPool client to leverage load balancing and fallback mechanism see the documentation for more details.
PluginClientFactory
to createPluginClient
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 forPluginClient
is deprecated and will be removed in 2.0. Use the decorator design pattern instead like in ProfilePlugin.
Release 1.5.0
Added QueryDefaultsPlugin
v1.4.2
DecoderPlugin compression fixes
v1.4.1
v1.4.0
Tagged v1.4.0
v1.3.0
See change log for changes.
AddHostPlugin also sets the port if specified
v1.2.1 AddHostPlugin supports setting a port
v1.2.0
Add debug plugins
Add plugins
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