persistent-mongoDB 2.9.0.1 → 2.9.0.2
raw patch · 3 files changed
+8/−3 lines, 3 filesdep ~mongoDBPVP ok
version bump matches the API change (PVP)
Dependency ranges changed: mongoDB
API changes (from Hackage documentation)
Files
- ChangeLog.md +4/−0
- Database/Persist/MongoDB.hs +2/−1
- persistent-mongoDB.cabal +2/−2
ChangeLog.md view
@@ -1,5 +1,9 @@ # Changelog for persistent-mongoDB +## 2.9.0.2++* Compatibility with latest mongoDB [#1012](https://github.com/yesodweb/persistent/pull/1012)+ ## 2.9.0.1 * Compatibility with latest persistent-template for test suite [#1002](https://github.com/yesodweb/persistent/pull/1002/files)
Database/Persist/MongoDB.hs view
@@ -548,7 +548,8 @@ $ updatesToDoc upds updateGet key upds = do- result <- DB.findAndModify (queryByKey key) (updatesToDoc upds)+ context <- ask+ result <- liftIO $ runReaderT (DB.findAndModify (queryByKey key) (updatesToDoc upds)) context either err instantiate result where instantiate doc = do
persistent-mongoDB.cabal view
@@ -1,5 +1,5 @@ name: persistent-mongoDB-version: 2.9.0.1+version: 2.9.0.2 license: MIT license-file: LICENSE author: Greg Weber <greg@gregweber.info>@@ -27,7 +27,7 @@ , cereal >= 0.5 , conduit >= 1.2 , http-api-data >= 0.3.7 && < 0.5- , mongoDB >= 2.3+ , mongoDB >= 2.3 && < 2.7 , network >= 2.6 , path-pieces >= 0.2 , resource-pool >= 0.2 && < 0.3