- Added auto-discovery of PSR-17 Factories and PSR-18 HTTP Clients.
- Added support for PHP 8.3
- Removed
psr/http-message
as a direct dependency. - Fixed return type annotations for endpoints returning lists
- Dropped support for PHP <8.1
- Changed API domain from
mite.yo.lk
tomite.de
(see mite.de blog post) (#5)
- Fixed typo in
HttpApiClient
causing invalid host names (#2)
- Dropped support for PHP <7.4
- Removed the
GuzzleApiClient
implementation, because Guzzle implements PSR-18 since release 7.0. If you used theGuzzleApiClient
, please refer to the updated installation instructions in the README.
- Fixed data being used as URL params for POST and PATCH requests
- Added support for PHP 8.0
- The signatures of the following methods have changed
GuzzleApiClient::with(string $accountName, string $apiKey, GuzzleClientInterface $client = null)
- Removed the
$options
parameter. If you want to modify the behaviour of the underlying GuzzleHTTP client, configure it directly.
- Removed the
HttpApiClient::with(string $accountName, string $apiKey, ClientInterface $client, RequestFactoryInterface $requestFactory)
- Removed the
$options
parameter. If you want to modify the behaviour of the underlying HTTP client, configure it directly.
- Removed the
- Removed superfluous bracket in the API client's user agent string
Initial release