yesod-persistent 1.6.0 → 1.6.0.1
raw patch · 3 files changed
+10/−2 lines, 3 filesdep ~persistentPVP: major bump suggested
API removals or changes: PVP suggests a major version bump
Dependency ranges changed: persistent
API changes (from Hackage documentation)
- Yesod.Persist.Core: DBRunner :: (forall a. YesodDB site a -> HandlerFor site a) -> DBRunner site
+ Yesod.Persist.Core: DBRunner :: forall a. YesodDB site a -> HandlerFor site a -> DBRunner site
Files
- ChangeLog.md +4/−0
- Yesod/Persist/Core.hs +4/−0
- yesod-persistent.cabal +2/−2
ChangeLog.md view
@@ -1,3 +1,7 @@+## 1.6.0.1++* Add support for persistent 2.9 [#1516](https://github.com/yesodweb/yesod/pull/1516), [#1561](https://github.com/yesodweb/yesod/pull/1561)+ ## 1.6.0 * Upgrade to yesod-core 1.6.0
Yesod/Persist/Core.hs view
@@ -98,7 +98,11 @@ (relKey, (conn, local)) <- allocate (do (conn, local) <- takeResource pool+#if MIN_VERSION_persistent(2,9,0)+ withPrep conn (\c f -> SQL.connBegin c f Nothing)+#else withPrep conn SQL.connBegin+#endif return (conn, local) ) (\(conn, local) -> do
yesod-persistent.cabal view
@@ -1,5 +1,5 @@ name: yesod-persistent-version: 1.6.0+version: 1.6.0.1 license: MIT license-file: LICENSE author: Michael Snoyman <michael@snoyman.com>@@ -16,7 +16,7 @@ library build-depends: base >= 4 && < 5 , yesod-core >= 1.6 && < 1.7- , persistent >= 2.8 && < 2.9+ , persistent >= 2.8 && < 2.10 , persistent-template >= 2.1 && < 2.8 , transformers >= 0.2.2 , blaze-builder