diff --git a/CHANGELOG.md b/CHANGELOG.md index ea381bf7..db914eab 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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) ------------------ diff --git a/src/ClientInterface.php b/src/ClientInterface.php index b3be8a48..cef08bdf 100644 --- a/src/ClientInterface.php +++ b/src/ClientInterface.php @@ -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.