Skip to content

Commit f603f80

Browse files
committed
Merge branch 'release/2.1.0' into production
2 parents be231c2 + 7d83de8 commit f603f80

File tree

3 files changed

+9
-5
lines changed

3 files changed

+9
-5
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# CHANGELOG
22

3+
## 2.1.0
4+
### Changed
5+
* use hset-2.0 and hreader-1.0
6+
37
## 2.0.0
48
### Changed
59
* `Entity` typeclass now use `FN` instead of `Text`. This provides an

postgresql-query.cabal

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: postgresql-query
2-
version: 2.0.0
2+
version: 2.1.0
33

44
synopsis: Sql interpolating quasiquote plus some kind of primitive ORM
55
using it
@@ -67,8 +67,8 @@ library
6767
, exceptions
6868
, file-embed
6969
, haskell-src-meta
70-
, hreader >= 0.1.0 && < 1.0.0
71-
, hset >= 1.0.0 && < 2.0.0
70+
, hreader >= 1.0.0 && < 2.0.0
71+
, hset >= 2.0.0 && < 3.0.0
7272
, monad-control == 0.3.3.1 || > 1.0.0.3
7373
, monad-logger
7474
, mtl

src/Database/PostgreSQL/Query/Types.hs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -268,10 +268,10 @@ instance (HasPostgres m, Monoid w) => HasPostgres (WS.WriterT w m) where
268268
WS.runWriterT (action con)
269269
{-# INLINABLE withPGConnection #-}
270270

271-
instance (MonadBase IO m, MonadBaseControl IO m, HGetable els (Pool Connection))
271+
instance (MonadBase IO m, MonadBaseControl IO m, HGettable els (Pool Connection))
272272
=> HasPostgres (HReaderT els m) where
273273
withPGConnection action = do
274-
pool <- haskM
274+
pool <- hask
275275
withResource pool action
276276

277277
-- | Empty typeclass signing monad in which transaction is

0 commit comments

Comments
 (0)