packages feed

yesod-auth-hashdb 1.7.1 → 1.7.1.1

raw patch · 5 files changed

+14/−4 lines, 5 filesdep ~persistentPVP ok

version bump matches the API change (PVP)

Dependency ranges changed: persistent

API changes (from Hackage documentation)

Files

ChangeLog.md view
@@ -1,3 +1,8 @@+## 1.7.1.1++* Fix test and relax upper bound for persistent-2.10 / persistent-template-2.7+* Replace use of deprecated `requireJsonBody`+ ## 1.7.1  * Relax upper bounds to allow persistent-2.9 (for GHC 8.6 versions of Stackage nightly)
Yesod/Auth/HashDB.hs view
@@ -186,6 +186,10 @@ #define liftHandler lift #endif +#if !MIN_VERSION_yesod_core(1,6,11)+#define requireInsecureJsonBody requireJsonBody+#endif+ -- | Default strength used for passwords (see "Yesod.Auth.Util.PasswordStore" --   for details). defaultStrength :: Int@@ -349,7 +353,7 @@     let jsonContent = ((== "application/json") . simpleContentType) <$> ct     UserPass mu mp <-         case jsonContent of-          Just True -> requireJsonBody+          Just True -> requireInsecureJsonBody  -- We already know content type!           _         -> liftHandler $ runInputPost $ UserPass                        <$> iopt textField "username"                        <*> iopt textField "password"
stack.yaml view
@@ -1,4 +1,4 @@-resolver: lts-12.19+resolver: lts-13.16 packages: - . extra-deps: []
test/TestSite.hs view
@@ -6,6 +6,7 @@ {-# LANGUAGE QuasiQuotes                #-} {-# LANGUAGE TemplateHaskell            #-} {-# LANGUAGE TypeFamilies               #-}+{-# LANGUAGE UndecidableInstances       #-}  module TestSite (     User(..),
yesod-auth-hashdb.cabal view
@@ -1,5 +1,5 @@ name:            yesod-auth-hashdb-version:         1.7.1+version:         1.7.1.1 license:         MIT license-file:    LICENSE author:          Patrick Brisbin, later changes Paul Rouse@@ -38,7 +38,7 @@                    , yesod-auth              >= 1.4.18     && < 1.7                    , text                    >= 0.7                    , yesod-persistent        >= 1.2-                   , persistent              >= 2.1        && < 2.10+                   , persistent              >= 2.1        && < 2.11                    , yesod-form              >= 1.4        && < 1.7                    , aeson