hasql-postgres 0.6.1 → 0.7.0
raw patch · 3 files changed
+11/−10 lines, 3 filesdep ~QuickCheckdep ~hasqldep ~hasql-backendPVP ok
version bump matches the API change (PVP)
Dependency ranges changed: QuickCheck, hasql, hasql-backend
API changes (from Hackage documentation)
Files
- hasql-postgres.cabal +8/−8
- library/Hasql/Postgres.hs +2/−2
- tests/Main.hs +1/−0
hasql-postgres.cabal view
@@ -1,7 +1,7 @@ name: hasql-postgres version:- 0.6.1+ 0.7.0 synopsis: A "PostgreSQL" backend for the "hasql" library description:@@ -75,7 +75,7 @@ -- parsers: attoparsec >= 0.10 && < 0.13, -- database:- hasql-backend == 0.1.*,+ hasql-backend == 0.2.*, postgresql-binary == 0.5.*, postgresql-libpq == 0.9.*, -- data:@@ -121,13 +121,13 @@ -- testing: HTF == 0.12.*, quickcheck-instances == 0.3.*,- QuickCheck >= 2.6 && < 2.8,+ QuickCheck == 2.7.*, -- template haskell: template-haskell == 2.*, -- parsers: attoparsec >= 0.10 && < 0.13, -- database:- hasql >= 0.1.4 && < 0.2,+ hasql == 0.2.*, postgresql-binary == 0.5.*, postgresql-libpq == 0.9.*, -- data:@@ -169,11 +169,11 @@ build-depends: hasql-postgres, hasql-backend,- hasql >= 0.1.4 && < 0.2,+ hasql == 0.2.*, -- testing: HTF == 0.12.*, quickcheck-instances == 0.3.*,- QuickCheck >= 2.6 && < 2.8,+ QuickCheck == 2.7.*, -- concurrency: SafeSemaphore == 0.10.*, slave-thread == 0.1.*,@@ -214,9 +214,9 @@ postgresql-simple == 0.4.*, hasql-postgres, hasql-backend,- hasql >= 0.1.4 && < 0.2,+ hasql == 0.2.*, -- random:- QuickCheck >= 2.6 && < 2.8,+ QuickCheck == 2.7.*, quickcheck-instances == 0.3.*, -- benchmarking: criterion-plus == 0.1.*,
library/Hasql/Postgres.hs view
@@ -132,8 +132,8 @@ writeIORef (transactionState c) Nothing liftStatement :: Backend.Connection Postgres -> Backend.Statement Postgres -> Statement.Statement-liftStatement c (template, arguments) =- (,,) template (map liftArgument arguments) True+liftStatement c (template, arguments, preparable) =+ (,,) template (map liftArgument arguments) preparable where liftArgument (StatementArgument o f) = (,) o ((,) <$> f (environment c) <*> pure PQ.Binary)
tests/Main.hs view
@@ -4,6 +4,7 @@ import BasePrelude hiding (assert) import MTLPrelude import Test.Framework+import Test.QuickCheck import Test.QuickCheck.Instances import Hasql import Hasql.Postgres (Postgres(..))