This repository was archived by the owner on Jan 6, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +9
-8
lines changed
Expand file tree Collapse file tree 1 file changed +9
-8
lines changed Original file line number Diff line number Diff line change @@ -7,16 +7,17 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
77and this project adheres to [ Semantic Versioning] ( http://semver.org/spec/v2.0.0.html ) .
88
99
10- ## [ Unreleased ]
10+ ## [ 2.0.1 ] - 2018-12-16
1111
12- ### Changed
13- - Function ` sendRequest ` of ` \Http\Adapter\Guzzle6\Client ` used to throw a ` \UnexpectedValueException ` . Now it throws a
14- ` Http\Adapter\Guzzle6\Exception\UnexpectedValueException ` that extends the ` \UnexpectedValueException ` and implements
15- the ` Psr\Http\Client\ClientExceptionInterface ` . This is done in order to be PSR-18 compliant.
12+ ### Fixed
13+ - ` \Http\Adapter\Guzzle6\Client::sendRequest ` no longer throws any exceptions that do not implement
14+ the PSR exception interface.
15+
16+ Instead of ` \UnexpectedValueException ` we now throw ` Http\Adapter\Guzzle6\Exception\UnexpectedValueException `
17+ (which extends ` \UnexpectedValueException ` and implements ` Psr\Http\Client\ClientExceptionInterface ` ).
1618
17- - Function ` sendRequest ` of ` \Http\Adapter\Guzzle6\Client ` used to throw a ` \RuntimeException ` . Now it throws a
18- ` Http\Client\Exception\TransferException ` that extends the ` \RuntimeException ` and implements
19- the ` Psr\Http\Client\ClientExceptionInterface ` . This is done in order to be PSR-18 compliant.
19+ Instead of ` \RuntimeException ` we now throw ` Http\Client\Exception\TransferException `
20+ (which extends ` \RuntimeException ` and implements ` Psr\Http\Client\ClientExceptionInterface ` ).
2021
2122## [ 2.0.0] - 2018-11-14
2223
You can’t perform that action at this time.
0 commit comments