packages feed

hasql-optparse-applicative 0.7.2 → 0.8

raw patch · 2 files changed

+7/−6 lines, 2 filesdep ~hasql-poolPVP ok

version bump matches the API change (PVP)

Dependency ranges changed: hasql-pool

API changes (from Hackage documentation)

Files

hasql-optparse-applicative.cabal view
@@ -1,6 +1,6 @@ cabal-version:      3.0 name:               hasql-optparse-applicative-version:            0.7.2+version:            0.8 synopsis:           "optparse-applicative" parsers for "hasql" category:           Hasql, Database, PostgreSQL, Options homepage:@@ -70,6 +70,6 @@     , base >=4.11 && <5     , bytestring >=0.10 && <0.13     , hasql >=1.6 && <1.7-    , hasql-pool >=1 && <1.1+    , hasql-pool >=1.0.1 && <1.1     , optparse-applicative >=0.18 && <0.19     , time >=1.10 && <2
library/Hasql/OptparseApplicative.hs view
@@ -10,6 +10,7 @@ import qualified Hasql.Connection as Connection import Hasql.OptparseApplicative.Prelude import qualified Hasql.Pool.Config as Pool.Config+import qualified Hasql.Pool.Config.Defaults as Pool.Config.Defaults import Options.Applicative  -- * Pool@@ -49,7 +50,7 @@   option auto     . mconcat     $ [ long (modifyName "pool-size"),-        value 1,+        value Pool.Config.Defaults.size,         showDefault,         help "Amount of connections in the pool"       ]@@ -59,7 +60,7 @@   attoparsedOption AttoparsecTime.diffTime     . mconcat     $ [ long (modifyName "pool-acquisition-timeout"),-        value 10,+        value Pool.Config.Defaults.acquisitionTimeout,         showDefault,         help "How long it takes until the attempt to connect is considered timed out"       ]@@ -69,7 +70,7 @@   attoparsedOption AttoparsecTime.diffTime     . mconcat     $ [ long (modifyName "pool-connection-lifetime"),-        value (fromIntegral (24 * 60 * 60)),+        value Pool.Config.Defaults.agingTimeout,         showDefault,         help "Maximal lifetime for connections. Allows to periodically clean up the connection resources to avoid server-side leaks"       ]@@ -79,7 +80,7 @@   attoparsedOption AttoparsecTime.diffTime     . mconcat     $ [ long (modifyName "pool-connection-idle-time"),-        value (fromIntegral (5 * 60)),+        value Pool.Config.Defaults.idlenessTimeout,         showDefault,         help "Maximal connection idle time"       ]