Releases: kean/Get
Releases · kean/Get
Get 0.1
APIClient 0.0.6
- Method
send
now 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
headers
in the request - Body in
post
,put
, andpatch
can now be empty - All methods now support query parameters
- Add
body
parameter todelete
method - Make
body
parameter optional
APIClient 0.0.5
- Make
Configuration
init public - #10, thanks to Theis Egeberg - All
send
methods 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 oldsend
method - Add
data(for:)
method returningResponse<Data>
- Add
options
,head
, andtrace
HTTP methods - Method
delete
to usequery
instead 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
iso8601
date decoding and encoding strategies by default and add a way to customize the decoder and encoder - Add
id
to requests - Make
Request
properies 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