packages feed

authenticate 1.3.5.1 → 1.3.5.2

raw patch · 4 files changed

+14/−1 lines, 4 filesdep +attoparsec-aesonPVP ok

version bump matches the API change (PVP)

Dependencies added: attoparsec-aeson

API changes (from Hackage documentation)

Files

ChangeLog.md view
@@ -1,5 +1,9 @@ # authenticate changelog +## 1.3.5.2++* Support for aeson-2.2 [#61](https://github.com/yesodweb/authenticate/pull/61)+ ## 1.3.5.1  * Support for aeson-2.0 [#56](https://github.com/yesodweb/authenticate/pull/56)
Web/Authenticate/BrowserId.hs view
@@ -8,7 +8,12 @@  import Data.Text (Text) import Network.HTTP.Conduit (parseUrlThrow, responseBody, httpLbs, Manager, method, urlEncodedBody)+#if MIN_VERSION_aeson(2,2,0)+import Data.Aeson (Value (Object, String))+import Data.Aeson.Parser (json)+#else import Data.Aeson (json, Value (Object, String))+#endif import Data.Attoparsec.Lazy (parse, maybeResult) #if MIN_VERSION_aeson(2,0,0) import qualified Data.Aeson.KeyMap as Map
Web/Authenticate/Rpxnow.hs view
@@ -22,6 +22,9 @@     ) where  import Data.Aeson+#if MIN_VERSION_aeson(2,2,0)+import Data.Aeson.Parser (json)+#endif import Network.HTTP.Conduit import Control.Monad.IO.Class import Data.Maybe
authenticate.cabal view
@@ -1,5 +1,5 @@ name:            authenticate-version:         1.3.5.1+version:         1.3.5.2 license:         MIT license-file:    LICENSE author:          Michael Snoyman, Hiromi Ishii, Arash Rouhani@@ -21,6 +21,7 @@     default-language: Haskell2010     build-depends:   base                          >= 4.10     && < 5                    , aeson                         >= 0.5+                   , attoparsec-aeson              >= 2.1                    , http-conduit                  >= 1.5                    , transformers                  >= 0.1                    , bytestring                    >= 0.9