All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
$onRejected callback of HttpRejectedPromise to return a promise for implementing a retry
mechanism #168Http\Client\Exception\NetworkException no longer extends Http\Client\Exception\RequestException,
in accordance with PSR-18This version is no BC break for consumers using HTTPlug. However, HTTP clients that implement HTTPlug need to adjust because we add return type declarations.
HttpClient::sendRequest(RequestInterface $request) has a return type annotation. The new
signature is HttpClient::sendRequest(RequestInterface $request): ResponseInterface.RequestException::getRequest() has a return type annotation. The new
signature is RequestException::getRequest(): RequestInterface.getName method