yesod-auth-oauth 1.6.0.1 → 1.6.0.2
raw patch · 3 files changed
+11/−12 lines, 3 filesdep ~basePVP: major bump suggested
API removals or changes: PVP suggests a major version bump
Dependency ranges changed: base
API changes (from Hackage documentation)
- Yesod.Auth.OAuth: instance GHC.Exception.Exception Yesod.Auth.OAuth.YesodOAuthException
+ Yesod.Auth.OAuth: instance GHC.Exception.Type.Exception Yesod.Auth.OAuth.YesodOAuthException
Files
- ChangeLog.md +4/−0
- Yesod/Auth/OAuth.hs +3/−3
- yesod-auth-oauth.cabal +4/−9
ChangeLog.md view
@@ -1,3 +1,7 @@+## 1.6.0.2++* Remove unnecessary deriving of Typeable+ ## 1.6.0.1 * Compile with GHC 8.6 [#1561](https://github.com/yesodweb/yesod/pull/1561)
Yesod/Auth/OAuth.hs view
@@ -1,4 +1,4 @@-{-# LANGUAGE DeriveDataTypeable, OverloadedStrings, QuasiQuotes #-}+{-# LANGUAGE OverloadedStrings, QuasiQuotes #-} {-# LANGUAGE FlexibleContexts #-} {-# LANGUAGE LambdaCase #-} {-# LANGUAGE RankNTypes #-}@@ -32,7 +32,7 @@ data YesodOAuthException = CredentialError String Credential | SessionError String- deriving (Show, Typeable)+ deriving Show instance Exception YesodOAuthException @@ -130,7 +130,7 @@ -> ByteString -- ^ Consumer Secret -> AuthPlugin m authTwitter key secret = authTwitter' key secret "screen_name"-{-# DEPRECATED authTwitter "Use authTwitterUsingUserID instead" #-}+{-# DEPRECATED authTwitter "Use authTwitterUsingUserId instead" #-} -- | Twitter plugin which uses Twitter's /user_id/ as ID. --
yesod-auth-oauth.cabal view
@@ -1,5 +1,6 @@+cabal-version: >= 1.10 name: yesod-auth-oauth-version: 1.6.0.1+version: 1.6.0.2 license: BSD3 license-file: LICENSE author: Hiromi Ishii@@ -7,21 +8,15 @@ synopsis: OAuth Authentication for Yesod. category: Web, Yesod stability: Stable-cabal-version: >= 1.6.0 build-type: Simple homepage: http://www.yesodweb.com/ description: API docs and the README are available at <http://www.stackage.org/package/yesod-auth-oauth> extra-source-files: README.md ChangeLog.md -flag ghc7- library- if flag(ghc7)- build-depends: base >= 4.3 && < 5- cpp-options: -DGHC7- else- build-depends: base >= 4 && < 4.3+ default-language: Haskell2010 build-depends: authenticate-oauth >= 1.5 && < 1.7+ , base >= 4.10 && < 5 , bytestring >= 0.9.1.4 , text >= 0.7 , unliftio