Skip to content

Releases: ueberauth/oauth2

v2.1.0

02 Jan 17:31
Compare
Choose a tag to compare

What's Changed

  • chore: upgrade workflow setup by @yordis in #171
  • Initial support for tesla to replace hackney by @olafura in #170

New Contributors

Full Changelog: v2.0.1...v2.1.0

v2.0.1

20 Jun 15:08
597933c
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v2.0.0...v2.0.1

v2.0.0

15 Jul 22:13
bef2840
Compare
Choose a tag to compare

Bug fixes (possibly backwards incompatible)

  • Ensure that the OAuth client is authenticated via Authorization header as described in the spec (#131).

v1.0.1

12 Apr 17:06
2bf3d4d
Compare
Choose a tag to compare

Bug fixes

  • Always use the provided serializer if one is registered (#132)

v1.0.0

12 Apr 16:58
1167e90
Compare
Choose a tag to compare

Backward Incompatible Changes

  • There is no longer a default serializer for application/json. Please make
    sure to register a serializer with OAuth2.Client.put_serializer/3.
  • Serializers are now registered via OAuth2.Client.put_serializer/3.
    This change allows applications wrapping oauth2 a way to provide default
    serializers without requiring the user to manually configure a serializer.

v0.9.4

18 Oct 21:49
68941eb
Compare
Choose a tag to compare

Improvements

  • Relaxed hackney version requirements

v0.9.3

18 Oct 21:17
f203591
Compare
Choose a tag to compare

Bug fixes

  • Various type specs fixed

v0.9.2

17 Nov 15:27
f2362ed
Compare
Choose a tag to compare

Bug fixes

  • Updates the OAuth2.Client.get_token! function to handle error OAuth2.Response structs.

v0.9.1

10 Mar 22:01
246897a
Compare
Choose a tag to compare

Improvements

  • Fix dialyzer warnings.
  • Update hackney to 1.7

Bug fixes

  • De-dupe headers.

Diff: v0.9.0...v0.9.1

v0.9.0

03 Feb 00:26
32744fb
Compare
Choose a tag to compare

Improvements

  • Remove deprecated usage of Behaviour and defcallback
  • Provides better support for configuring request_opts that will be used on
    every request. This is useful for configuring SSL options, etc.
  • Provides support for hackneys streaming of responses.
  • Better warnings when a serializer isn't properly configured.

Backward Incompatible Changes

  • Responses with status codes between 400..599 will now return {:error, %OAuth2.Response{}} instead of {:ok, %OAuth2.Response{}}
  • When using the ! versions of functions, {:error, %OAuth2.Response{}} will
    be converted to an %OAuth2.Error{} and raised.

Diff: v0.8.3...v0.9.0