HDBC-session 0.1.2.0 → 0.1.2.1
raw patch · 2 files changed
+16/−5 lines, 2 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- HDBC-session.cabal +15/−4
- src/Database/HDBC/Session.hs +1/−1
HDBC-session.cabal view
@@ -1,5 +1,5 @@ name: HDBC-session-version: 0.1.2.0+version: 0.1.2.1 synopsis: Bracketed connection for HDBC description: This package contains a base bracketed function to call close correctly against opend DB connection.@@ -8,11 +8,18 @@ license-file: LICENSE author: Kei Hibino maintainer: ex8k.hibino@gmail.com-copyright: Copyright (c) 2013-2018 Kei Hibino+copyright: Copyright (c) 2013-2023 Kei Hibino category: Database build-type: Simple cabal-version: >=1.10-tested-with: GHC == 8.4.1, GHC == 8.4.2, GHC == 8.4.3+tested-with: GHC == 9.6.2+ , GHC == 9.4.6+ , GHC == 9.2.8+ , GHC == 9.0.2+ , GHC == 8.10.7+ , GHC == 8.8.1, GHC == 8.8.2+ , GHC == 8.6.1, GHC == 8.6.2, GHC == 8.6.3, GHC == 8.6.4, GHC == 8.6.5+ , GHC == 8.4.1, GHC == 8.4.2, GHC == 8.4.3, GHC == 8.4.4 , GHC == 8.2.1, GHC == 8.2.2 , GHC == 8.0.1, GHC == 8.0.2 , GHC == 7.10.1, GHC == 7.10.2, GHC == 7.10.3@@ -27,8 +34,12 @@ , HDBC hs-source-dirs: src ghc-options: -Wall+ if impl(ghc >= 8)+ ghc-options: -Wcompat+ if impl(ghc >= 8) && impl(ghc < 8.8)+ ghc-options: -Wnoncanonical-monadfail-instances - default-language: Haskell2010+ default-language: Haskell2010 source-repository head
src/Database/HDBC/Session.hs view
@@ -114,7 +114,7 @@ -- | Run a transaction on a HDBC 'IConnection' and commit at last, and then close the connection. -- In other words, the transaction with no exception is committed.--- Handy defintion for simple transactions.+-- Handy definition for simple transactions. transaction :: IConnection conn => IO conn -- ^ Connect action -> (conn -> IO a) -- ^ Transaction body