Skip to content
This repository has been archived by the owner on Jan 6, 2024. It is now read-only.

Commit

Permalink
prepare release
Browse files Browse the repository at this point in the history
  • Loading branch information
dbu committed Dec 16, 2018
1 parent dcc8853 commit 6074a4b
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,17 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).


## [Unreleased]
## [2.0.1] - 2018-12-16

### Changed
- Function `sendRequest` of `\Http\Adapter\Guzzle6\Client` used to throw a `\UnexpectedValueException`. Now it throws a
`Http\Adapter\Guzzle6\Exception\UnexpectedValueException` that extends the `\UnexpectedValueException` and implements
the `Psr\Http\Client\ClientExceptionInterface`. This is done in order to be PSR-18 compliant.
### Fixed
- `\Http\Adapter\Guzzle6\Client::sendRequest` no longer throws any exceptions that do not implement
the PSR exception interface.

Instead of `\UnexpectedValueException` we now throw `Http\Adapter\Guzzle6\Exception\UnexpectedValueException`
(which extends `\UnexpectedValueException` and implements `Psr\Http\Client\ClientExceptionInterface`).

- Function `sendRequest` of `\Http\Adapter\Guzzle6\Client` used to throw a `\RuntimeException`. Now it throws a
`Http\Client\Exception\TransferException` that extends the `\RuntimeException` and implements
the `Psr\Http\Client\ClientExceptionInterface`. This is done in order to be PSR-18 compliant.
Instead of `\RuntimeException` we now throw `Http\Client\Exception\TransferException`
(which extends `\RuntimeException` and implements `Psr\Http\Client\ClientExceptionInterface`).

## [2.0.0] - 2018-11-14

Expand Down

0 comments on commit 6074a4b

Please sign in to comment.