packages feed

hpqtypes 1.8.0.1 → 1.9.0.0

raw patch · 3 files changed

+11/−7 lines, 3 filesdep ~basePVP ok

version bump matches the API change (PVP)

Dependency ranges changed: base

API changes (from Hackage documentation)

+ Database.PostgreSQL.PQTypes.Internal.Monad: instance Control.Monad.Fail.MonadFail n => Control.Monad.Fail.MonadFail (Database.PostgreSQL.PQTypes.Internal.Monad.DBT_ m n)

Files

CHANGELOG.md view
@@ -1,3 +1,6 @@+# hpqtypes-1.9.0.0 (2020-04-02)+* Support GHC 8.8 and 8.10.+ # hpqtypes-1.8.0.1 (2020-02-06) * Make poolSource work properly with shortcircuiting monad transformers. 
hpqtypes.cabal view
@@ -1,5 +1,5 @@ name:                hpqtypes-version:             1.8.0.1+version:             1.9.0.0 synopsis:            Haskell bindings to libpqtypes  description:         Efficient and easy-to-use bindings to (slightly modified)@@ -39,7 +39,7 @@ category:            Database build-type:          Custom cabal-version:       1.24-tested-with:         GHC ==8.0.2 || ==8.2.2 || ==8.4.4 || ==8.6.5 || ==8.8.1+tested-with:         GHC ==8.0.2 || ==8.2.2 || ==8.4.4 || ==8.6.5 || ==8.8.1 || ==8.10.1   extra-source-files: README.md@@ -70,8 +70,8 @@                   , libpqtypes/src/libpqtypes.h  custom-setup-  setup-depends: base  >= 4.9  && < 4.14,-                 Cabal >= 1.24 && < 3.1,+  setup-depends: base  >= 4.9  && < 4.15,+                 Cabal >= 1.24 && < 3.3,                  directory,                  filepath @@ -123,7 +123,7 @@                      , Database.PostgreSQL.PQTypes.Internal.C.Interface                      , Database.PostgreSQL.PQTypes.Internal.C.Get -  build-depends:       base              >= 4.9     && < 4.14+  build-depends:       base              >= 4.9     && < 4.15                      , text              >= 0.11    && < 1.3                      , aeson             >= 1.0     && < 1.5                      , async             >= 2.1.1.1 && < 2.3@@ -207,7 +207,7 @@                      Test.QuickCheck.Compat                      Test.QuickCheck.Arbitrary.Instances   build-depends:       hpqtypes-                     , base >= 4.9 && < 4.14+                     , base >= 4.9 && < 4.15                      , HUnit >= 1.2                      , QuickCheck >= 2.5                      , aeson >= 0.6.2.0
src/Database/PostgreSQL/PQTypes/Internal/Monad.hs view
@@ -16,6 +16,7 @@ import Control.Monad.Trans.Control import Control.Monad.Writer.Class import qualified Control.Monad.Trans.State.Strict as S+import qualified Control.Monad.Fail as MF  import Database.PostgreSQL.PQTypes.Class import Database.PostgreSQL.PQTypes.Internal.Connection@@ -34,7 +35,7 @@ -- | Monad transformer for adding database -- interaction capabilities to the underlying monad. newtype DBT_ m n a = DBT { unDBT :: InnerDBT m n a }-  deriving (Alternative, Applicative, Functor, Monad, MonadBase b, MonadCatch, MonadIO, MonadMask, MonadPlus, MonadThrow, MonadTrans)+  deriving (Alternative, Applicative, Functor, Monad, MF.MonadFail, MonadBase b, MonadCatch, MonadIO, MonadMask, MonadPlus, MonadThrow, MonadTrans)  type DBT m = DBT_ m m