oauth2 v0.5.0 Release Notes

Release Date: 2015-11-03 // over 8 years ago
  • ๐Ÿ‘Œ 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: https://github.com/scrogson/oauth2/compare/v0.4.0...v0.5.0