Commit graph

3 commits

Author SHA1 Message Date
kristuff
3c5c7155c2 v0.9.9
**Added**
- better exception handling with new class `SilentApiHandler`: to not raise any exception during API request but instead return an `ApiResponse` with errors
- version constant
- `ApiReponse` has new `errors()` and `hasError()` methods
2021-01-17 19:09:15 +01:00
kristuff
fa42dafc36 v0.9.8
**Added**
- ApiResponse class is now the return type for all API endpoint methods **break change**
- New parameter confidenceScore in blacklist() method (suscribers feature)

**Changed**
- method loadFromConfig and json helper removed (moved to client) **break change**
- field userId removed (not used). ApiHandler constructor changed **break change**
- `clear()` and `getBlacklist()` method renamed to `clearAddress()` and `blacklist()` (all method names match now api endpoint in camel case) **break change**
- scrict types
2021-01-16 18:28:11 +01:00
kristuff
1e7e1eb87b v0.9.7
**Added**
- support for bulk-report request (send cvs file)
2021-01-09 11:26:58 +01:00
Renamed from lib/ApiDefintion.php (Browse further)