Skip to content

Commit 9d3eab5

Browse files
authored
Merge pull request #105 from haskellari/prepare-0.6.5
Prepare 0.6.5 release
2 parents 2c2463a + 50dcd8b commit 9d3eab5

3 files changed

Lines changed: 7 additions & 2 deletions

File tree

CHANGES.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
### Version 0.6.5 (2022-10-30)
2+
3+
* Add `withConnect`
4+
15
### Version 0.6.4 (2021-01-06)
26

37
* Add foldCopyData helper function

postgresql-simple.cabal

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
cabal-version: 1.12
22
name: postgresql-simple
3-
version: 0.6.4
4-
x-revision: 9
3+
version: 0.6.5
54
synopsis: Mid-Level PostgreSQL client library
65
description:
76
Mid-Level PostgreSQL client library, forked from mysql-simple.

src/Database/PostgreSQL/Simple/Internal.hs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,8 @@ connect :: ConnectInfo -> IO Connection
156156
connect = connectPostgreSQL . postgreSQLConnectionString
157157

158158
-- | Memory bracket around 'connect' and 'close'.
159+
--
160+
-- @since 0.6.5
159161
withConnect :: ConnectInfo -> (Connection -> IO c) -> IO c
160162
withConnect connInfo = bracket (connect connInfo) close
161163

0 commit comments

Comments
 (0)