Allow newer GHC

This commit is contained in:
Michael Snoyman 2022-02-11 06:01:35 +02:00
parent 6e7e7299ba
commit 7af2cd04b6
No known key found for this signature in database
GPG Key ID: 907EAE2F42B52046
3 changed files with 7 additions and 9 deletions

View File

@ -1,5 +1,9 @@
# ChangeLog for yesod-auth-oauth
## 1.6.1
* Allow newer GHC
## 1.6.0.3
* Allow yesod-form 1.7

View File

@ -18,7 +18,6 @@ import Control.Applicative as A ((<$>), (<*>))
import Control.Arrow ((***))
import UnliftIO.Exception
import Control.Monad.IO.Class
import UnliftIO (MonadUnliftIO)
import Data.ByteString (ByteString)
import Data.Maybe
import Data.Text (Text)
@ -53,14 +52,9 @@ authOAuth oauth mkCreds = AuthPlugin name dispatch login
oauthSessionName = "__oauth_token_secret"
dispatch
:: ( MonadHandler m
, master ~ HandlerSite m
, Auth ~ SubHandlerSite m
, MonadUnliftIO m
)
=> Text
:: Text
-> [Text]
-> m TypedContent
-> AuthHandler master TypedContent
dispatch "GET" ["forward"] = do
render <- getUrlRender
tm <- getRouteToParent

View File

@ -1,6 +1,6 @@
cabal-version: >= 1.10
name: yesod-auth-oauth
version: 1.6.0.3
version: 1.6.1
license: BSD3
license-file: LICENSE
author: Hiromi Ishii