View Source Changelog

v0-2-1-2022-09-15

v0.2.1 (2022-09-15)

  • Default to using Jason instead of Poison for JSON parsing
  • Fixed Bitwise warning when running on Elixir 1.14

v0-2-0-2022-03-01

v0.2.0 (2022-03-01)

This release consists of breaking changes.

In previous Assent.Stategy.Slack strategy, the sub user id field consisted of {SUB}-{TEAM}. Slack has migrated to OpenID Connect, and the response has been conformed to OIDC. The sub will now only consists of the sub id, and not include team id. To succesfullly migrate to this release all slack identity records storing the sub user id field has to be updated.

If you wish to continue using the previous sub user id a custom OIDC strategy can be used instead:

defmodule Slack do
  use Assent.Strategy.OIDC.Base

  alias Assent.Strategy.Slack

  defdelegate default_config(config), to: Slack

  def normalize(config, user) do
    user = Map.put(user, "sub", "#{user["https://slack.com/user_id"]}-#{user["https://slack.com/team_id"]}")

    Slack.normalize(config, user)
  end
end
  • Assent.Strategy.OIDC.fetch_user/2 now removes the ID token specific keys from the user claims instead of normalizing
  • Assent.Strategy.OIDC.Base now adds normalize/2 to the macro that will include the full user claims in the user params
  • Assent.Stategy.Slack now uses OpenID connect instead of legacy OAuth 2.0, please note that the sub value may have changed

v0-1-28-2021-09-30

v0.1.28 (2021-09-30)

v0-1-27-2021-08-21

v0.1.27 (2021-08-21)

v0-1-26-2021-05-27

v0.1.26 (2021-05-27)

  • Assent.constant_time_compare/2 no longer outputs a deprecation warning for OTP 24

v0-1-25-2021-04-09

v0.1.25 (2021-04-09)

v0-1-24-2021-03-22

v0.1.24 (2021-03-22)

v0-1-23-2021-03-01

v0.1.23 (2021-03-01)

Updated to support OTP 24 and no longer support OTP < 22.1

v0-1-22-2021-01-08

v0.1.22 (2021-01-08)

v0-1-21-2020-12-29

v0.1.21 (2020-12-29)

v0-1-20-2020-12-10

v0.1.20 (2020-12-10)

v0-1-19-2020-11-25

v0.1.19 (2020-11-25)

  • Updated docs to detail :inets compilation
  • Assent.OAuth2.authorize_url/1 now returns the state, if defined, from authorization_params

v0-1-18-2020-11-08

v0.1.18 (2020-11-08)

  • Removed oauther dependency

v0-1-17-2020-11-05

v0.1.17 (2020-11-05)

  • Relax mint requirement

v0-1-16-2020-10-21

v0.1.16 (2020-10-21)

Warning: This release has breaking changes.

All get_user/2 functions has been renamed to fetch_user/2 as they return {:ok, res}/{:error, res} tuples.

  • Assent.OAuth.get/4 removed in favor of Assent.OAuth.request/6
  • Assent.OAuth2.get_access_token/3 renamed to Assent.OAuth2.grant_access_token/3
  • Assent.OAuth2.get/4 removed in favor of Assent.OAuth2.request/6

v0-1-15-2020-10-18

v0.1.15 (2020-10-18)

v0-1-14-2020-10-11

v0.1.14 (2020-10-11)

v0-1-13-2020-07-14

v0.1.13 (2020-07-14)

v0-1-12-2020-05-24

v0.1.12 (2020-05-24)

v0-1-11-2020-05-16

v0.1.11 (2020-05-16)

v0-1-10-2020-04-23

v0.1.10 (2020-04-23)

Now requires Mint 1.0.0 or higher.

v0-1-9-2020-04-23

v0.1.9 (2020-04-23)

Now requires Elixir 1.7 or higher.

v0-1-8-2020-02-15

v0.1.8 (2020-02-15)

v0-1-7-2020-02-10

v0.1.7 (2020-02-10)

v0-1-6-2020-01-30

v0.1.6 (2020-01-30)

v0-1-5-2020-01-13

v0.1.5 (2020-01-13)

v0-1-4-2019-11-09

v0.1.4 (2019-11-09)

v0-1-3-2019-10-27

v0.1.3 (2019-10-27)

  • Fixed bug in Assent.Strategy.Github where multiple emails for account resulted in the verified primary e-mail not being returned

v0-1-2-2019-10-08

v0.1.2 (2019-10-08)

v0-1-1-2019-10-07

v0.1.1 (2019-10-07)

v0-1-0-2019-10-06

v0.1.0 (2019-10-06)

  • Initial release