Guzzle v3.5.0 Release Notes
Release Date: 2013-05-13 // almost 11 years ago-
- ๐ Bug: Fixed a regression so that request responses are parsed only once per oncomplete event rather than multiple times
- ๐ Bug: Better cleanup of one-time events across the board (when an event is meant to fire once, it will now remove itself from the EventDispatcher)
- Bug:
Guzzle\Log\MessageFormatter
now properly writes "total_time" and "connect_time" values - ๐ Bug: Cloning an EntityEnclosingRequest now clones the EntityBody too
- ๐ Bug: Fixed an undefined index error when parsing nested JSON responses with a sentAs parameter that reference a non-existent key
- ๐ Bug: All __call() method arguments are now required (helps with mocking frameworks)
- ๐ Deprecating Response::getRequest() and now using a shallow clone of a request object to remove a circular reference to help with refcount based garbage collection of resources created by sending a request
- ๐ Deprecating ZF1 cache and log adapters. These will be removed in the next major version.
- ๐ Deprecating
Response::getPreviousResponse()
(method signature still exists, but it's deprecated). Use the HistoryPlugin for a history. - โ Added a
responseBody
alias for theresponse_body
location - ๐จ Refactored internals to no longer rely on Response::getRequest()
- ๐ HistoryPlugin can now be cast to a string
- ๐ HistoryPlugin now logs transactions rather than requests and responses to more accurately keep track of the requests and responses that are sent over the wire
- โ Added
getEffectiveUrl()
andgetRedirectCount()
to Response objects