1
0
mirror of https://github.com/guzzle/guzzle.git synced 2025-01-17 21:38:16 +01:00

4.0.0.rc-2 release

This commit is contained in:
Michael Dowling 2014-03-25 11:55:31 -07:00
parent f262c13af2
commit 089d89b960
2 changed files with 31 additions and 1 deletions

View File

@ -1,6 +1,36 @@
CHANGELOG
=========
4.0.0.rc-2 (2014-03-25)
-----------------------
* Removed `getConfig()` and `setConfig()` from clients to avoid confusion
around whether things like base_url, message_factory, etc should be able to
be retrieved or modified.
* Added `getDefaultOption()` and `setDefaultOption()` to ClientInterface
* functions.php functions were renamed using snake_case to match PHP idioms
* Added support for `HTTP_PROXY`, `HTTPS_PROXY`, and
`GUZZLE_CURL_SELECT_TIMEOUT` environment variables
* Added the ability to specify custom `sendAll()` event priorities
* Added the ability to specify custom stream context options to the stream
adapter.
* Added a functions.php function for `get_path()` and `set_path()`
* CurlAdapter and MultiAdapter now use a callable to generate curl resources
* MockAdapter now properly reads a body and emits a `headers` event
* Updated Url class to check if a scheme and host are set before adding ":"
and "//". This allows empty Url (e.g., "") to be serialized as "".
* Parsing invalid XML no longer emits warnings
* Curl classes now properly throw AdapterExceptions
* Various performance optimizations
* Streams are created with the faster `Stream\create()` function
* Marked deprecation_proxy() as internal
* Test server is now a collection of static methods on a class
4.0.0-rc.1 (2014-03-15)
-----------------------
* See https://github.com/guzzle/guzzle/blob/master/UPGRADING.md#3x-to-40
3.8.1 (2014-01-28)
------------------

View File

@ -13,7 +13,7 @@ use GuzzleHttp\Exception\AdapterException;
*/
interface ClientInterface extends HasEmitterInterface
{
const VERSION = '4.0-dev';
const VERSION = '4.0.0.rc-2';
/**
* Create and return a new {@see RequestInterface} object.