yesod-persistent 1.6.0.2 → 1.6.0.3
raw patch · 3 files changed
+6/−2 lines, 3 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- ChangeLog.md +4/−0
- Yesod/Persist/Core.hs +1/−1
- yesod-persistent.cabal +1/−1
ChangeLog.md view
@@ -1,5 +1,9 @@ # ChangeLog for yesod-persistent +## 1.6.0.3++* Replace call to `connPrepare` with `getStmtConn`. [#1635](https://github.com/yesodweb/yesod/issues/1635)+ ## 1.6.0.2 * Add support for persistent 2.10
Yesod/Persist/Core.hs view
@@ -103,7 +103,7 @@ #endif defaultGetDBRunner getPool = do pool <- fmap getPool getYesod- let withPrep conn f = f (persistBackend conn) (SQL.connPrepare $ persistBackend conn)+ let withPrep conn f = f (persistBackend conn) (SQL.getStmtConn $ persistBackend conn) (relKey, (conn, local)) <- allocate (do (conn, local) <- takeResource pool
yesod-persistent.cabal view
@@ -1,5 +1,5 @@ name: yesod-persistent-version: 1.6.0.2+version: 1.6.0.3 license: MIT license-file: LICENSE author: Michael Snoyman <michael@snoyman.com>