Buzz v0.16.0 Release Notes
Release Date: 2018-02-03 // about 6 years ago-
๐ Changed
- ๐ ClientInterface supports PSR7 requests and responses.
- โ Removed type hint for second parameter for
AbstractCurl::prepare
. - โ Removed type hint for second parameter for
RequestException::setRequest
. - โ Removed type hint for first parameter for
AbstractStream::getStreamContextArray
. - ๐
RequestException
supports both PSR-7 requests and Buzz requests. Response::getProtocolVersion
will return a string and not a float.- Using PHPUnit namespaces.
โ Added
- โ Added Request and Response converters
- โ Added
Curl::sendRequest()
,MultiCurl::sendRequest()
andFileGetContents::sendRequest()
that supports sending PSR-7 requests. - โ Added
Browser::sendRequest()
that supports middleware. - โ Added
MiddlewareInterface
andBrowser::addMiddleware()
. - โ Added
HeaderConverter
to convert between PSR-7 styled headers and Buzz styled headers.
๐ Deprecated
Curl::send()
,MultiCurl::send()
andFileGetContents::send()
in favor for*::sendRequest()
.- ๐
AbstractCurl::populateResponse()
was deprecated in favor ofAbstractCurl::createResponse()
.
โ Removed
- ๐ Support for PHP 5.3.