- Tested with Crystal 0.25.0
- Fix
Crest::Utils.flatten_params
method (#85) - Reduce the false positiveness in code as much as possible (#83, thanks @veelenga)
- Add HTTP verb methods (
get
,post
, etc) toCrest::Request
Crest
andCrest::Request
verb methods(get
,post
, etc.) can yields theCrest::Request
to the blockCrest::Request
andCrest::Resource
initializer can accept block- Access instance of
HTTP::Client
viaCrest::Request#http_client
- Access instance of
HTTP::Client
viaCrest::Resource#http_client
Crest::Request
andCrest::Resource
initializer can acceptHTTP::Client
ashttp_client
- Add method
options
toHTTP::Resource
- Add option
:handle_errors
to don't raise exceptions but return theResponse
- Add custom exceptions for each status code
- Add method
OPTIONS
- Fix
Crest::Response#headers
method to return response headers
- Tested with Crystal 0.24.2
- Fix Basic Authentication
- Allow
Crest::Resource
to accept defaultparams
andheaders
- Allow
Crest::Resource
to accept more parameters(proxy authentication credentials, logging setup) - Refactor exceptions class
- Setup GitHub Pages branch to host docs
- Proxy on redirects
- Logger in redirects
- Bug fixes and performance improvements
- Tested with Crystal 0.24.1
- Add logging
- First release 🎉