php-http/message-factory from composer requirements as it is abandoned and this package does not actually use it.stream_factory option.
To keep sending the body in all cases, set the stream_factory option to null explicitly.strict option to RedirectPlugin to allow preserving the request method on redirections with status 300, 301 and 302.PluginClientHttpMethodsClientsymfony/options-resolver: ^2.6PluginClient with pluginsHttpClientPool::chooseHttpClient() has now an explicit return type (Http\Client\Common\HttpClientPoolItem)Plugin::handleRequest(...) has now an explicit return type (Http\Promise\Promise)Interface suffix to avoid name collisions.)Http\Client\Common\Exception are final.debug_plugins has been removed from PluginClientdecider and delay have been removed from RetryPlugin, use exception_decider and exception_delay instead.VersionBridgePlugin and VersionBridgeClient to help plugins and clients to support both
1.x and 2.x version of php-http/client-common and php-http/httplug.decider to exception_decider
and delay to exception_delay. The old names still work but are deprecated.PluginClientFactory to create PluginClient instances.RetryPlugin.RetryPlugin.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;
});
debug_plugins option for PluginClient is deprecated and will be removed in 2.0. Use the decorator design pattern instead like in ProfilePlugin.QueryDefaultsPlugin to add default query parameters.DecoderPlugin does not longer claim to support compress content encodingCookiePlugin allows main domain cookies to be sent/stored for subdomainsDecoderPlugin uses the right FilteredStream to handle deflate content encodingStreamInterface::getSize to string in ContentLengthPlugindebug_plugins option for PluginClientphp-http/plugins