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 the response_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() and getRedirectCount() to Response objects