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() and FileGetContents::sendRequest() that supports sending PSR-7 requests.
    • โž• Added Browser::sendRequest() that supports middleware.
    • โž• Added MiddlewareInterface and Browser::addMiddleware().
    • โž• Added HeaderConverter to convert between PSR-7 styled headers and Buzz styled headers.

    ๐Ÿ—„ Deprecated

    • Curl::send(), MultiCurl::send() and FileGetContents::send() in favor for *::sendRequest().
    • ๐Ÿ—„ AbstractCurl::populateResponse() was deprecated in favor of AbstractCurl::createResponse().

    โœ‚ Removed

    • ๐Ÿ‘Œ Support for PHP 5.3.