hasql-cursor-query 0.4.4.2 → 0.4.4.3
raw patch · 3 files changed
+16/−19 lines, 3 filesdep ~hasqldep ~tastydep ~tasty-hunitPVP ok
version bump matches the API change (PVP)
Dependency ranges changed: hasql, tasty, tasty-hunit, tasty-quickcheck
API changes (from Hackage documentation)
Files
- hasql-cursor-query.cabal +8/−11
- tasty/Main/CursorQueries.hs +4/−4
- tasty/Main/Statements.hs +4/−4
hasql-cursor-query.cabal view
@@ -1,7 +1,7 @@ name: hasql-cursor-query version:- 0.4.4.2+ 0.4.4.3 category: Hasql, Database, PostgreSQL, Streaming synopsis:@@ -55,7 +55,7 @@ Hasql.CursorQuery build-depends: -- database:- hasql >= 1.3 && < 1.4,+ hasql >= 1.4 && < 1.5, hasql-transaction >= 0.7 && < 0.8, hasql-cursor-transaction >= 0.6 && < 0.7, -- data:@@ -85,15 +85,12 @@ default-language: Haskell2010 build-depends:- -- database:+ foldl >= 1.2 && < 2, hasql, hasql-cursor-query,- -- testing:- tasty >=1.0.1 && <1.2,- tasty-quickcheck >=0.10 && <0.11,- tasty-hunit >=0.10 && <0.11,- quickcheck-instances >=0.3.11 && <0.4, QuickCheck >=2.8.1 && <3,- -- - foldl >= 1.2 && < 2,- rebase < 2+ quickcheck-instances >=0.3.11 && <0.4,+ rebase < 2,+ tasty >=0.12 && <2,+ tasty-hunit >=0.9 && <0.11,+ tasty-quickcheck >=0.9 && <0.11
tasty/Main/CursorQueries.hs view
@@ -14,12 +14,12 @@ sql = "select oid, typname from pg_type" encoder =- A.unit+ A.noParams decoder = reducingDecoder rowDecoder fold where rowDecoder =- (,) <$> B.column B.int8 <*> B.column B.text+ (,) <$> (B.column . B.nonNullable) B.int8 <*> (B.column . B.nonNullable) B.text fold = C.length @@ -30,12 +30,12 @@ sql = "select oid, typname from pg_type" encoder =- A.unit+ A.noParams decoder = reducingDecoder rowDecoder fold where rowDecoder =- (,) <$> B.column B.int8 <*> B.column B.text+ (,) <$> (B.column . B.nonNullable) B.int8 <*> (B.column . B.nonNullable) B.text fold = C.list
tasty/Main/Statements.hs view
@@ -13,9 +13,9 @@ sql = "select count(*) from pg_type" encoder =- A.unit+ A.noParams decoder =- B.singleRow (B.column (fmap fromIntegral B.int8))+ (B.singleRow . B.column . B.nonNullable . fmap fromIntegral) B.int8 slectOIDAndTypeName :: Statement () [(Int64, Text)] slectOIDAndTypeName =@@ -24,9 +24,9 @@ sql = "select oid, typname from pg_type" encoder =- A.unit+ A.noParams decoder = B.rowList rowDecoder where rowDecoder =- (,) <$> B.column B.int8 <*> B.column B.text+ (,) <$> (B.column . B.nonNullable) B.int8 <*> (B.column . B.nonNullable) B.text