v0.5.0
Improvements
- You can now request a refresh token with
OAuth2.AccessToken.refresh
. The!
alternative is also available. - Added
Bypass
for improved testability. Plug
is no longer a direct dependency. It is only included as a test dependency through theBypass
library.OAuth2.AccessToken
now supportsDELETE
requests withdelete
anddelete!
- More tests!
Bug Fixes
- Params are no longer sent in both the body and as a query string for
POST
requests withOAuth2.Client.get_token
- Responses will no longer be parsed automatically if the
content-type
is not supported by this lib. Registering custom parsers is a future goal for this library. - Errors are now properly raised when they occur.
Backwards Incompatible Changes
OAuth2.new/1
has been removed. UseOAuth2.Client.new/1
instead.
Diff: v0.4.0...v0.5.0