packages feed

persistent-mongoDB 0.6.1 → 0.6.2

raw patch · 2 files changed

+3/−3 lines, 2 filesdep ~bsonPVP ok

version bump matches the API change (PVP)

Dependency ranges changed: bson

API changes (from Hackage documentation)

Files

Database/Persist/MongoDB.hs view
@@ -57,7 +57,7 @@  instance SinglePiece (Key DB.Action entity) where     toSinglePiece (Key pOid@(PersistObjectId _)) = -- T.pack $ show $ Serialize.encode bsonId-        let oid@(DB.Oid _ _) = persistObjectIdToDbOid pOid+        let oid = persistObjectIdToDbOid pOid         in  T.pack $ show oid     toSinglePiece k = throw $ PersistInvalidField $ "Invalid Key (expected PersistObjectId): " ++ show k 
persistent-mongoDB.cabal view
@@ -1,5 +1,5 @@ name:            persistent-mongoDB-version:         0.6.1+version:         0.6.2 license:         BSD3 license-file:    LICENSE author:          Greg Weber <greg@gregweber.info>@@ -22,7 +22,7 @@                    , bytestring         >= 0.9     && < 0.10                    , enumerator         >= 0.4     && < 0.5                    , mongoDB            >= 1.1     && < 1.2-                   , bson               >= 0.1.5+                   , bson               >= 0.1.6                    , network            >= 2.2.1.7                    , compact-string-fix >= 0.3.1   && < 0.4                    , cereal             >= 0.3.0.0