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/)
7
7
and this project adheres to [ Semantic Versioning] ( http://semver.org/spec/v2.0.0.html ) .
8
8
9
9
10
- ## [ Unreleased ]
10
+ ## [ 2.0.1 ] - 2018-12-16
11
11
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 ` ).
16
18
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 ` ).
20
21
21
22
## [ 2.0.0] - 2018-11-14
22
23
You can’t perform that action at this time.
0 commit comments