Hello community,
here is the log from the commit of package ghc-monad-logger for
openSUSE:Factory checked in at 2020-07-09 13:19:26
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-monad-logger (Old)
and /work/SRC/openSUSE:Factory/.ghc-monad-logger.new.3060 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-monad-logger"
Thu Jul 9 13:19:26 2020 rev:22 rq:819582 version:0.3.34
Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-monad-logger/ghc-monad-logger.changes
2020-06-19 17:15:36.642566517 +0200
+++
/work/SRC/openSUSE:Factory/.ghc-monad-logger.new.3060/ghc-monad-logger.changes
2020-07-09 13:19:50.953360948 +0200
@@ -1,0 +2,16 @@
+Wed Jul 8 02:00:26 UTC 2020 - [email protected]
+
+- Update monad-logger to version 0.3.34.
+ ## 0.3.34
+
+ * Fix build for lts-9 resolver
+
+-------------------------------------------------------------------
+Thu Jul 2 02:00:20 UTC 2020 - [email protected]
+
+- Update monad-logger to version 0.3.33.
+ ## 0.3.33
+
+ * Export `LogLine` type synonym.
+
+-------------------------------------------------------------------
Old:
----
monad-logger-0.3.32.tar.gz
New:
----
monad-logger-0.3.34.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ ghc-monad-logger.spec ++++++
--- /var/tmp/diff_new_pack.Jo6Z13/_old 2020-07-09 13:19:51.877363869 +0200
+++ /var/tmp/diff_new_pack.Jo6Z13/_new 2020-07-09 13:19:51.881363881 +0200
@@ -18,7 +18,7 @@
%global pkg_name monad-logger
Name: ghc-%{pkg_name}
-Version: 0.3.32
+Version: 0.3.34
Release: 0
Summary: A class of monads which can log messages
License: MIT
++++++ monad-logger-0.3.32.tar.gz -> monad-logger-0.3.34.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/monad-logger-0.3.32/ChangeLog.md
new/monad-logger-0.3.34/ChangeLog.md
--- old/monad-logger-0.3.32/ChangeLog.md 2020-03-01 09:40:33.000000000
+0100
+++ new/monad-logger-0.3.34/ChangeLog.md 2020-07-07 07:20:03.000000000
+0200
@@ -1,5 +1,13 @@
# ChangeLog for monad-logger
+## 0.3.34
+
+* Fix build for lts-9 resolver
+
+## 0.3.33
+
+* Export `LogLine` type synonym.
+
## 0.3.32
* Compat with `unliftio-core` 0.2
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/monad-logger-0.3.32/Control/Monad/Logger.hs
new/monad-logger-0.3.34/Control/Monad/Logger.hs
--- old/monad-logger-0.3.32/Control/Monad/Logger.hs 2020-03-01
09:40:04.000000000 +0100
+++ new/monad-logger-0.3.34/Control/Monad/Logger.hs 2020-07-07
07:20:03.000000000 +0200
@@ -34,6 +34,7 @@
MonadLogger(..)
, MonadLoggerIO (..)
, LogLevel(..)
+ , LogLine
, LogSource
-- * Re-export from fast-logger
, LogStr
@@ -402,13 +403,20 @@
-- | @since 0.3.26
instance MonadUnliftIO m => MonadUnliftIO (NoLoggingT m) where
+#if MIN_VERSION_unliftio_core(0, 1, 1)
{-# INLINE withRunInIO #-}
withRunInIO inner =
NoLoggingT $
withRunInIO $ \run ->
inner (run . runNoLoggingT)
+#else
+ askUnliftIO =
+ NoLoggingT $
+ withUnliftIO $ \u ->
+ return (UnliftIO (unliftIO u . runNoLoggingT))
+#endif
--- | @since 0.3.28
+-- | @since 0.3.32
type LogLine = (Loc, LogSource, LogLevel, LogStr)
-- | @since 0.3.28
@@ -626,11 +634,18 @@
-- | @since 0.3.26
instance MonadUnliftIO m => MonadUnliftIO (LoggingT m) where
+#if MIN_VERSION_unliftio_core(0, 1, 1)
{-# INLINE withRunInIO #-}
withRunInIO inner =
LoggingT $ \r ->
withRunInIO $ \run ->
inner (run . flip runLoggingT r)
+#else
+ askUnliftIO =
+ LoggingT $ \f ->
+ withUnliftIO $ \u ->
+ return (UnliftIO (unliftIO u . flip runLoggingT f))
+#endif
defaultOutput :: Handle
-> Loc
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/monad-logger-0.3.32/monad-logger.cabal
new/monad-logger-0.3.34/monad-logger.cabal
--- old/monad-logger-0.3.32/monad-logger.cabal 2020-03-01 09:40:15.000000000
+0100
+++ new/monad-logger-0.3.34/monad-logger.cabal 2020-07-07 07:20:28.000000000
+0200
@@ -4,10 +4,10 @@
--
-- see: https://github.com/sol/hpack
--
--- hash: 3bc78e9ad84902b767b9156b71057661558496979be02259b5e9161b3268b097
+-- hash: 4c723e63ce03c6e1717d2dbde2229b03d803ec328b909536160c9d7e8e5c9583
name: monad-logger
-version: 0.3.32
+version: 0.3.34
synopsis: A class of monads which can log messages.
description: See README and Haddocks at
<https://www.stackage.org/package/monad-logger>
category: System