packages feed

persistent-mysql 2.1.3 → 2.1.3.1

raw patch · 2 files changed

+5/−3 lines, 2 filesdep ~aesonPVP ok

version bump matches the API change (PVP)

Dependency ranges changed: aeson

API changes (from Hackage documentation)

Files

Database/Persist/MySQL.hs view
@@ -20,6 +20,7 @@ import Control.Monad.Trans.Class (lift) import Control.Monad.Trans.Error (ErrorT(..)) import Data.Aeson+import Data.Aeson.Types (modifyFailure) import Data.ByteString (ByteString) import Data.Either (partitionEithers) import Data.Fixed (Pico)@@ -810,7 +811,8 @@     } deriving Show  instance FromJSON MySQLConf where-    parseJSON = withObject "MySQLConf" $ \o -> do+    parseJSON v = modifyFailure ("Persistent: error loadomg MySQL conf: " ++) $+      flip (withObject "MySQLConf") v $ \o -> do         database <- o .: "database"         host     <- o .: "host"         port     <- o .: "port"
persistent-mysql.cabal view
@@ -1,5 +1,5 @@ name:            persistent-mysql-version:         2.1.3+version:         2.1.3.1 license:         MIT license-file:    LICENSE author:          Felipe Lessa <felipe.lessa@gmail.com>, Michael Snoyman@@ -36,7 +36,7 @@                    , bytestring            >= 0.9                    , text                  >= 0.11.0.6                    , monad-control         >= 0.2-                   , aeson                 >= 0.5+                   , aeson                 >= 0.6.2                    , conduit               >= 0.5.3                    , resourcet             >= 0.4.10                    , monad-logger