Hello community, here is the log from the commit of package ghc-conduit for openSUSE:Factory checked in at 2018-10-25 08:15:49 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ghc-conduit (Old) and /work/SRC/openSUSE:Factory/.ghc-conduit.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-conduit" Thu Oct 25 08:15:49 2018 rev:22 rq:642852 version:1.3.1 Changes: -------- --- /work/SRC/openSUSE:Factory/ghc-conduit/ghc-conduit.changes 2018-07-24 17:16:15.934827904 +0200 +++ /work/SRC/openSUSE:Factory/.ghc-conduit.new/ghc-conduit.changes 2018-10-25 08:17:02.644052303 +0200 @@ -1,0 +2,8 @@ +Wed Oct 10 19:24:07 UTC 2018 - [email protected] + +- Update conduit to version 1.3.1. + ## 1.3.1 + + * Add `MonadFail` instance for `ConduitT`. + +------------------------------------------------------------------- Old: ---- conduit-1.3.0.3.tar.gz New: ---- conduit-1.3.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ghc-conduit.spec ++++++ --- /var/tmp/diff_new_pack.IHMVwc/_old 2018-10-25 08:17:03.068052118 +0200 +++ /var/tmp/diff_new_pack.IHMVwc/_new 2018-10-25 08:17:03.072052117 +0200 @@ -12,14 +12,14 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # %global pkg_name conduit %bcond_with tests Name: ghc-%{pkg_name} -Version: 1.3.0.3 +Version: 1.3.1 Release: 0 Summary: Streaming data processing library License: MIT ++++++ conduit-1.3.0.3.tar.gz -> conduit-1.3.1.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/conduit-1.3.0.3/ChangeLog.md new/conduit-1.3.1/ChangeLog.md --- old/conduit-1.3.0.3/ChangeLog.md 2018-04-11 15:57:42.000000000 +0200 +++ new/conduit-1.3.1/ChangeLog.md 2018-10-06 21:25:16.000000000 +0200 @@ -1,3 +1,7 @@ +## 1.3.1 + +* Add `MonadFail` instance for `ConduitT`. + ## 1.3.0.3 * Improve fusion framework rewrite rules diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/conduit-1.3.0.3/conduit.cabal new/conduit-1.3.1/conduit.cabal --- old/conduit-1.3.0.3/conduit.cabal 2018-05-15 10:09:32.000000000 +0200 +++ new/conduit-1.3.1/conduit.cabal 2018-10-06 21:25:16.000000000 +0200 @@ -1,5 +1,5 @@ Name: conduit -Version: 1.3.0.3 +Version: 1.3.1 Synopsis: Streaming data processing library. description: `conduit` is a solution to the streaming data problem, allowing for production, diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/conduit-1.3.0.3/src/Data/Conduit/Internal/Conduit.hs new/conduit-1.3.1/src/Data/Conduit/Internal/Conduit.hs --- old/conduit-1.3.0.3/src/Data/Conduit/Internal/Conduit.hs 2018-05-15 10:09:32.000000000 +0200 +++ new/conduit-1.3.1/src/Data/Conduit/Internal/Conduit.hs 2018-10-06 21:25:16.000000000 +0200 @@ -91,6 +91,7 @@ import Control.Exception (Exception) import qualified Control.Exception as E (catch) import Control.Monad (liftM, liftM2, ap) +import Control.Monad.Fail(MonadFail(..)) import Control.Monad.Error.Class(MonadError(..)) import Control.Monad.Reader.Class(MonadReader(..)) import Control.Monad.RWS.Class(MonadRWS()) @@ -149,6 +150,10 @@ return = pure ConduitT f >>= g = ConduitT $ \h -> f $ \a -> unConduitT (g a) h +-- | @since 1.3.1 +instance MonadFail m => MonadFail (ConduitT i o m) where + fail = lift . Control.Monad.Fail.fail + instance MonadThrow m => MonadThrow (ConduitT i o m) where throwM = lift . throwM @@ -714,7 +719,7 @@ -> m r connect = ($$) --- | Named function synonym for '.|'. +-- | Named function synonym for '.|' -- -- Equivalent to '.|' and '=$='. However, the latter is -- deprecated and will be removed in a future version.
