postgresql-query 2.0.0 → 2.1.0
raw patch · 3 files changed
+9/−5 lines, 3 filesdep ~hreaderdep ~hset
Dependency ranges changed: hreader, hset
Files
- CHANGELOG.md +4/−0
- postgresql-query.cabal +3/−3
- src/Database/PostgreSQL/Query/Types.hs +2/−2
CHANGELOG.md view
@@ -1,5 +1,9 @@ # CHANGELOG +## 2.1.0+### Changed+* use hset-2.0 and hreader-1.0+ ## 2.0.0 ### Changed * `Entity` typeclass now use `FN` instead of `Text`. This provides an
postgresql-query.cabal view
@@ -1,5 +1,5 @@ name: postgresql-query-version: 2.0.0+version: 2.1.0 synopsis: Sql interpolating quasiquote plus some kind of primitive ORM using it@@ -67,8 +67,8 @@ , exceptions , file-embed , haskell-src-meta- , hreader >= 0.1.0 && < 1.0.0- , hset >= 1.0.0 && < 2.0.0+ , hreader >= 1.0.0 && < 2.0.0+ , hset >= 2.0.0 && < 3.0.0 , monad-control == 0.3.3.1 || > 1.0.0.3 , monad-logger , mtl
src/Database/PostgreSQL/Query/Types.hs view
@@ -268,10 +268,10 @@ WS.runWriterT (action con) {-# INLINABLE withPGConnection #-} -instance (MonadBase IO m, MonadBaseControl IO m, HGetable els (Pool Connection))+instance (MonadBase IO m, MonadBaseControl IO m, HGettable els (Pool Connection)) => HasPostgres (HReaderT els m) where withPGConnection action = do- pool <- haskM+ pool <- hask withResource pool action -- | Empty typeclass signing monad in which transaction is