diff --git a/CHANGELOG.md b/CHANGELOG.md index 88db54f..249a4d0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,17 @@ -## [_Unreleased_](https://github.com/thoughtbot/yesod-auth-oauth2/compare/v0.7.4.0...main) +## [_Unreleased_](https://github.com/thoughtbot/yesod-auth-oauth2/compare/v0.8.0.0...main) + +## [v0.8.0.0](https://github.com/thoughtbot/yesod-auth-oauth2/compare/v0.7.4.0...v0.8.0.0) + +- Drop support for GHC < 9.4 and hoauth2 < 2.8 +- Add support for GHC 9.12 and hoauth2-2.15 +- To align our interfaces with hoauth2-2.15: + - Make `OAuth2 {clientSecret}` non-`Maybe` + - Replace `OAuthToken` with `TokenResponse` + - Replace `Errors` with `TokenResponseError` + - Replace `fetchAccessToken{,2}` with `fetchAccessToken{Basic,Post}` + +While technically a major version bump, this change should only affect those +users that maintain their own plugins. ## [v0.7.4.0](https://github.com/thoughtbot/yesod-auth-oauth2/compare/v0.7.3.0...v0.7.4.0) diff --git a/package.yaml b/package.yaml index 41d9e9f..627c94c 100644 --- a/package.yaml +++ b/package.yaml @@ -1,6 +1,6 @@ --- name: yesod-auth-oauth2 -version: 0.7.4.0 +version: 0.8.0.0 synopsis: OAuth 2.0 authentication plugins description: Library to authenticate with OAuth 2.0 for Yesod web applications. category: Web diff --git a/yesod-auth-oauth2.cabal b/yesod-auth-oauth2.cabal index a55a9d6..720c6d3 100644 --- a/yesod-auth-oauth2.cabal +++ b/yesod-auth-oauth2.cabal @@ -4,10 +4,10 @@ cabal-version: 1.18 -- -- see: https://github.com/sol/hpack -- --- hash: dc142db361fed3689429889b831a2a76c4bb29da073c24340afacf62d3c14faa +-- hash: d595b9569ed34feddc8c41cf6f1f8cabbd8a37fa14b6afeeb24ad651ca689011 name: yesod-auth-oauth2 -version: 0.7.4.0 +version: 0.8.0.0 synopsis: OAuth 2.0 authentication plugins description: Library to authenticate with OAuth 2.0 for Yesod web applications. category: Web