These changes upgrade the lib to Guzzle 6 and resolves #17.
There's quite a lot of internal changes because Guzzle 6 is quite a lot different to 5, but where possible I've tried to keep external APIs the same as they were before.
The biggest BC breaking change removes the ErrorSubscriber completely as Guzzle 6 no longer has the internal event emitter. It now uses a middleware layer to optionally throw exceptions on error. Guzzle 6 only supports PHP versions 5.5+, so naturally that's another BC break.
In the README, I've added a recommended release tag of 3.0, and I've recommended that the current master branch be maintained in a guzzle-5 branch (just like we've done with previous guzzle updates).
These changes upgrade the lib to Guzzle 6 and resolves #17. There's quite a lot of internal changes because Guzzle 6 is quite a lot different to 5, but where possible I've tried to keep external APIs the same as they were before.
The biggest BC breaking change removes the ErrorSubscriber completely as Guzzle 6 no longer has the internal event emitter. It now uses a middleware layer to optionally throw exceptions on error. Guzzle 6 only supports PHP versions 5.5+, so naturally that's another BC break.
In the README, I've added a recommended release tag of
3.0
, and I've recommended that the current master branch be maintained in aguzzle-5
branch (just like we've done with previous guzzle updates).