Releases: kean/Get
Releases · kean/Get
Get 0.1
APIClient 0.0.6
- Method
sendnow supports fetchingResponse<Data>(returns raw data) andResponse<String>(returns plain text) - Query parameters are now modeled as an array of
(String, String?)tuples enabling "explode" support - You can now pass
headersin the request - Body in
post,put, andpatchcan now be empty - All methods now support query parameters
- Add
bodyparameter todeletemethod - Make
bodyparameter optional
APIClient 0.0.5
- Make
Configurationinit public - #10, thanks to Theis Egeberg - All
sendmethods now return a newResponse<T>struct containing not just the response value, but also data, request, response, and status code. - Add
value(for:)method that returnsT– a replacement for the oldsendmethod - Add
data(for:)method returningResponse<Data> - Add
options,head, andtraceHTTP methods - Method
deleteto usequeryinstead ofbody
APIClient 0.0.4
- Add an option to customize the client's port and scheme - #7, thanks to Mathieu Barnachon
- Make values in query parameters optional - #8, thanks to Bernhard Loibl
- Update example JSON models to match the GitHub API spec - #5, thanks to Arthur Semenyutin
- Use
iso8601date decoding and encoding strategies by default and add a way to customize the decoder and encoder - Add
idto requests - Make
Requestproperies public
APIClient 0.0.3
APIClient is now available on more platforms.
APIClient 0.0.2
- Remove Pulse dependency, thanks to @vox-humana
APIClient 0.0.1
Initial release