-
- Downloads
Breaking / Potentially breaking changes:
1. Adopting a marker interface for Guzzle exceptions. A. All exceptions emitted from Guzzle are now wrapped with a Guzzle namespaced exception. B. Guzzle\Common\GuzzleExceptionInterface was renamed to Guzzle\Common\GuzzleException C. Guzzle\Common\ExceptionCollection was renamed to Guzzle\Common\Exception\ExceptionCollection 2. Using Header objects for Request and Response objects A. When you call $request->getHeader('X'), you will get back a Guzzle\Http\Message\Header object that contains all of the headers that case insensitively match. This object can be cast to a string or iterated like an array. You can pass true in the second argument to retrieve the header as a string. B. Removing the old Guzzle\Common\Collection based searching arguments from most of the request and response header methods. All retrievals are case-insensitive and return Header objects. 3. Changing the two headers added by the cache plugin to just one header with key and ttl. 4. Changing Guzzle\Http\Message\Response::factory() to fromMessage(). 5. Removing the NullObject return value from ServiceDescriptions and instead simply returning null New Features / enhancements: 1. Adding Guzzle\Http\Message\AbstractMessage::addHeaders() 2. Making it simpler to create service descriptions using a unified factory method that delegates to other factories. 3. Better handling of ports and hosts in Guzzle\Http\Url Note: This is a noisy diff because I'm removing trailing whitespace and adding a new line at the end of each source file.
Showing
- LICENSE 1 addition, 1 deletionLICENSE
- README.md 1 addition, 1 deletionREADME.md
- build.xml 1 addition, 1 deletionbuild.xml
- phar-stub-min.php 1 addition, 1 deletionphar-stub-min.php
- phar-stub.php 1 addition, 1 deletionphar-stub.php
- phpunit.xml.dist 11 additions, 0 deletionsphpunit.xml.dist
- src/Guzzle/Common/AbstractHasDispatcher.php 1 addition, 1 deletionsrc/Guzzle/Common/AbstractHasDispatcher.php
- src/Guzzle/Common/Cache/AbstractCacheAdapter.php 1 addition, 1 deletionsrc/Guzzle/Common/Cache/AbstractCacheAdapter.php
- src/Guzzle/Common/Cache/CacheAdapterFactory.php 15 additions, 8 deletionssrc/Guzzle/Common/Cache/CacheAdapterFactory.php
- src/Guzzle/Common/Cache/CacheAdapterInterface.php 1 addition, 1 deletionsrc/Guzzle/Common/Cache/CacheAdapterInterface.php
- src/Guzzle/Common/Cache/ClosureCacheAdapter.php 4 additions, 2 deletionssrc/Guzzle/Common/Cache/ClosureCacheAdapter.php
- src/Guzzle/Common/Cache/DoctrineCacheAdapter.php 1 addition, 1 deletionsrc/Guzzle/Common/Cache/DoctrineCacheAdapter.php
- src/Guzzle/Common/Cache/Zf1CacheAdapter.php 1 addition, 1 deletionsrc/Guzzle/Common/Cache/Zf1CacheAdapter.php
- src/Guzzle/Common/Cache/Zf2CacheAdapter.php 1 addition, 1 deletionsrc/Guzzle/Common/Cache/Zf2CacheAdapter.php
- src/Guzzle/Common/Collection.php 1 addition, 1 deletionsrc/Guzzle/Common/Collection.php
- src/Guzzle/Common/Event.php 1 addition, 1 deletionsrc/Guzzle/Common/Event.php
- src/Guzzle/Common/Exception/BadMethodCallException.php 7 additions, 0 deletionssrc/Guzzle/Common/Exception/BadMethodCallException.php
- src/Guzzle/Common/Exception/ExceptionCollection.php 5 additions, 3 deletionssrc/Guzzle/Common/Exception/ExceptionCollection.php
- src/Guzzle/Common/Exception/InvalidArgumentException.php 7 additions, 0 deletionssrc/Guzzle/Common/Exception/InvalidArgumentException.php
- src/Guzzle/Common/Exception/RuntimeException.php 7 additions, 0 deletionssrc/Guzzle/Common/Exception/RuntimeException.php
Loading
Please register or sign in to comment