hasql-pool 0.7 → 0.7.1
raw patch · 3 files changed
+7/−1 lines, 3 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
+ Hasql.Pool: instance GHC.Exception.Type.Exception Hasql.Pool.UsageError
Files
- CHANGELOG.md +4/−0
- hasql-pool.cabal +1/−1
- library/Hasql/Pool.hs +2/−0
CHANGELOG.md view
@@ -1,3 +1,7 @@+# 0.7.1++Added `Exception` for `UsageError`.+ # 0.7 Simplified the implementation a lot by removing the notion of timeout.
hasql-pool.cabal view
@@ -1,7 +1,7 @@ name: hasql-pool version:- 0.7+ 0.7.1 category: Hasql, Database, PostgreSQL synopsis:
library/Hasql/Pool.hs view
@@ -51,6 +51,8 @@ | PoolIsReleasedUsageError deriving (Show, Eq) +instance Exception UsageError+ -- | -- Use a connection from the pool to run a session and -- return the connection to the pool, when finished.