packages feed

mail-pool 2.3.0 → 2.3.1

raw patch · 3 files changed

+7/−2 lines, 3 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

Changelog.md view
@@ -1,5 +1,9 @@ # Changelog mailpool +# Release 2.3.1 2024.08.14++ set poolStripeMax to numCapabilities+  this causes issues if set to a low number. (5)+ # Release 2.3.0 2024.08.12  + set default to starttls   + apparantly mailgun requires it by default now
mail-pool.cabal view
@@ -1,7 +1,7 @@ cabal-version:      3.0  name:           mail-pool-version:        2.3.0+version:        2.3.1 synopsis:       Preconfigured email connection pool on top of smtp. description:    Email helper functions with some sane defaults such as a resource pool and cli support category:       Email
src/Network/Mail/Pool.hs view
@@ -45,6 +45,7 @@ import           Network.Socket import           Options.Applicative import           Type.Reflection             (Typeable)+import GHC.Conc(numCapabilities)  -- | Failed to authetnicate with some upstream service (smtp for example) newtype ServiceAuthFailure a = ServiceAuthFailure a@@ -103,7 +104,7 @@   { _poolCred = cred   , _poolConnf = openTls   , _poolUnused = 60-  , _poolStripeMax = 5+  , _poolStripeMax = numCapabilities   }  openPlain :: SmtpCred -> IO SMTPConnection