Releases: pow-auth/assent
Releases · pow-auth/assent
v0.3.1
v0.3.0
This release consists of breaking changes.
Userinfo is now cast to the correct type per https://openid.net/specs/openid-connect-core-1_0.html#rfc.section.5.1 (thanks @robinvdvleuten). When upgrading you must ensure that you do not depend on a specific type in the returned userinfo for any of the strategies listed below.
Breaking changes
Assent.Strategy.Auth0.authorize_url/2no longer accepts:domainconfig, use:base_urlinstead #178Assent.Strategy.Basecamp.callback/2now encodessubas abinary()instead of aninteger()#167Assent.Strategy.Github.callback/2now encodessubas abinary()instead of aninteger()#167Assent.Strategy.Googlenow encodesemail_verifiedas aboolean()instead of abinary()#167Assent.Strategy.Googlenow returnhdinstead ofgoogle_hd#169Assent.Strategy.Strava.callback/2now encodessubas abinary()instead of aninteger()#167Assent.Strategy.Telegram.callback/2now encodessubas abinary()instead of aninteger()#167Assent.Strategy.Twitter.callback/2now encodessubas abinary()instead of aninteger()#167Assent.Strategy.VK.callback/2now encodessubas abinary()instead of aninteger()#167:siteconfiguration option removed, use:base_urlinstead #174Assent.Strategy.OAuth2.authorize_url/2no longer allows:statein:authorization_params#174Assent.Strategy.decode_response/2removed, useAssent.HTTPAdapter.decode_response/2instead #174Assent.Strategy.request/5removed, useAssent.Strategy.http_request/5instead #174Assent.Strategy.prune/1removed #167Assent.MissingParamErrorno longer accepts:expected_key, use:keyinstead #174Assent.HTTPAdapter.Mintremoved #174Assent.Configremoved #174
Changes
Assent.Strategy.Auth0now uses OIDC instead of OAuth 2.0 base strategy #178Assent.Strategy.Gitlabnow uses OIDC instead of OAuth 2.0 base strategy #179Assent.Strategy.Googlenow uses OIDC instead of OAuth 2.0 base strategy #169Assent.Strategy.normalize_userinfo/2now casts the user claims per OpenID specification #167
v0.2.13
v0.2.12
v0.2.11
- Default to using
JSONinstead ofJasonfor JSON parsing on Elixir 1.18 #161 Assent.Strategy.OAuth2now supports:stateconfig option #162Assent.Strategy.OAuth2:stateoverride in:authorization_parmshas been deprecated #162Assent.Strategy.OIDCnow supportsnoneauthentication method #163 (thanks @tommasop)Assent.Strategy.Bitbucketadded #160 (thanks @djgoku)Assent.Strategy.Twitchadded #159 (thanks @s0er3n)Assent.Strategy.Telegramadded #152 (thanks @vheathen)Assent.Strategy.Zitadeladded #154 (thanks @tommasop)Assent.Strategy.Facebook.fetch_user/2fixed bug with user not being decoded #168 (thanks @JohnDoneth)Assent.Strategy.OAuth2now supports PKCE #164 (thanks @tommasop)Assent.Strategy.OAuth2.Base.authorize_url/2incomplete typespec fixed #166 (thanks @diogomrts)Assent.Strategy.decode_response/2deprecated accepting result tuples and now acceptsAssent.HTTPAdapter.HTTPResponsestructs #172Assent.Strategy.request/5deprecated in favor ofAssent.Strategy.http_request/5#175Assent.Strategy.decode_response/2deprecated in favor ofAssent.HTTPAdapter.decode_response/2#175Assent.Config.get/3deprecated in favor ofKeyword.get/3#175Assent.Config.put/3deprecated in favor ofKeyword.put/3#175Assent.Config.merge/2deprecated in favor ofKeyword.merge/2#175Assent.Config.t()type deprecated in favor ofKeyword.t()type #175Assent.Config.fetch/2deprecated in favor ofAssent.fetch_config/2#175
v0.2.10
v0.2.9
v0.2.8
Req will be used by default if available in your project, otherwise :httpc will be used. #139