From cdeae4d1f0933b8b57ca9cd3860b4a3a1446730f Mon Sep 17 00:00:00 2001 From: achedeuzot Date: Sun, 15 Aug 2021 16:18:00 +0200 Subject: [PATCH] feat(release): Prepare 2.0.0 release --- CHANGELOG.md | 13 +++++++++++++ README.md | 2 +- mix.exs | 2 +- 3 files changed, 15 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9004696..4b15f23 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,19 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## v2.0.0 - 2021-08-14 + +- BREAKING CHANGE: changed error management on wrong OAuth code. + Instead of raising a `OAuth2.Error`, the `conn.assigns.ueberauth_failure` + is set with the following value: + ```elixir + %Ueberauth.Failure.Error{ + message: "Invalid authorization code", + message_key: "invalid_grant" + } + ``` +- Bumped dependencies + ## v1.0.0 - 2020-07-10 - BREAKING CHANGE: bump `ueberauth` to `0.7.0` which provides default CSRF protection. diff --git a/README.md b/README.md index df20ee3..a359c81 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ ```elixir def deps do [ - {:ueberauth_auth0, "~> 1.0"} + {:ueberauth_auth0, "~> 2.0"} ] end ``` diff --git a/mix.exs b/mix.exs index a68b491..c0e2267 100644 --- a/mix.exs +++ b/mix.exs @@ -2,7 +2,7 @@ defmodule UeberauthAuth0.Mixfile do use Mix.Project @source_url "https://github.com/achedeuzot/ueberauth_auth0" - @version "1.0.0" + @version "2.0.0" def project do [