- First release.
- Fix
json_decode()
as associative array atRequest::call()
method.
- Fix response error at
Request::call()
method.
- Allow
null
headers atApiResponseException
.
- [FIX] Header bag is not JSON when $content is empty.
- [FIX] Allowing post data as string.
- [ADD] Custom cURL options with client configuration.
- [FIX] Convert body to string when throwing an
ApiResponseException
. - [ADD] Method to throw an
ApiResponseException
with some default request data.
- [ADD] Methods to add queries and parameter.
- [FIX] Fix URI builder on Request class.
- [ADD] Abstract model and models.
- [ADD] Abstract classes for API wrapper and API endpoints;
- [ADD] Clone method to
Configuration
; - [ADD] Enviroment interface to manipulate client configuration.
- [FIX] Invalid field name and timezone implementation at
CredentialModel
.
- [ADD] Implementation to an
AbstractEnvironment
.
- [ADD] Allow get query string and url params on
Request
; - [CHANGE] Method
getUri
became public atRequest
; - [CHANGE] Wrong method name at
ApplicationModel
fixed tocreateEnvironment
;
- [ADD] Payload abstract class.
- [ADD] CS Fixer;
- [CHANGE]
addQuery()
will beappendQuery()
method now; - [FIX] Invalid return data to
delete()
method; - [SUPPORT] PHP 8.0+.
- Many break changes, including a new Response object and changes on ApiResponseExpection properties.
- Some part of the code was optimized and some methods were deprecated.
- You must see code for details and changes.
- Replaced ApplicationModel with ApplicationInterface.
- Added interfaces for Arrayable, Importable, SensitiveDataArrayable objects.