From b1e718397b72c1136ebf17a1813b78e4050b78f9 Mon Sep 17 00:00:00 2001 From: Michael Snoyman Date: Tue, 12 Feb 2019 18:52:47 +0200 Subject: [PATCH] Deprecate GoogleEmail2 (fixes #1579) --- yesod-auth/ChangeLog.md | 4 ++++ yesod-auth/Yesod/Auth/GoogleEmail2.hs | 1 + yesod-auth/yesod-auth.cabal | 2 +- 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/yesod-auth/ChangeLog.md b/yesod-auth/ChangeLog.md index 194209cb..258ff474 100644 --- a/yesod-auth/ChangeLog.md +++ b/yesod-auth/ChangeLog.md @@ -1,5 +1,9 @@ # ChangeLog for yesod-auth +## 1.6.6 + +* Deprecated `Yesod.Auth.GoogleEmail2`, see [#1579](https://github.com/yesodweb/yesod/issues/1579) and [migration blog post](https://pbrisbin.com/posts/googleemail2_deprecation/) + ## 1.6.5 * Add support for persistent 2.9 [#1516](https://github.com/yesodweb/yesod/pull/1516), [#1561](https://github.com/yesodweb/yesod/pull/1561) diff --git a/yesod-auth/Yesod/Auth/GoogleEmail2.hs b/yesod-auth/Yesod/Auth/GoogleEmail2.hs index 11fb8789..ce734a40 100644 --- a/yesod-auth/Yesod/Auth/GoogleEmail2.hs +++ b/yesod-auth/Yesod/Auth/GoogleEmail2.hs @@ -26,6 +26,7 @@ -- -- @since 1.3.1 module Yesod.Auth.GoogleEmail2 + {-# DEPRECATED "Google+ is being shut down, please migrate to Google Sign-in https://pbrisbin.com/posts/googleemail2_deprecation/" #-} ( -- * Authentication handlers authGoogleEmail , authGoogleEmailSaveToken diff --git a/yesod-auth/yesod-auth.cabal b/yesod-auth/yesod-auth.cabal index 33d8f338..7af07c14 100644 --- a/yesod-auth/yesod-auth.cabal +++ b/yesod-auth/yesod-auth.cabal @@ -1,5 +1,5 @@ name: yesod-auth -version: 1.6.5 +version: 1.6.6 license: MIT license-file: LICENSE author: Michael Snoyman, Patrick Brisbin