Skip to content

v0.5.0

Compare
Choose a tag to compare
@scrogson scrogson released this 03 Nov 06:37
· 116 commits to master since this release

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 the Bypass library.
  • OAuth2.AccessToken now supports DELETE requests with delete and delete!
  • More tests!

Bug Fixes

  • Params are no longer sent in both the body and as a query string for POST requests with OAuth2.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. Use OAuth2.Client.new/1 instead.

Diff: v0.4.0...v0.5.0