Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package ghc-monad-logger for
openSUSE:Factory checked in at 2025-01-09 15:07:13
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-monad-logger (Old)
and /work/SRC/openSUSE:Factory/.ghc-monad-logger.new.1881 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-monad-logger"
Thu Jan 9 15:07:13 2025 rev:33 rq:1235747 version:0.3.41
Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-monad-logger/ghc-monad-logger.changes
2023-06-22 23:25:54.425794457 +0200
+++
/work/SRC/openSUSE:Factory/.ghc-monad-logger.new.1881/ghc-monad-logger.changes
2025-01-09 15:07:32.884577486 +0100
@@ -1,0 +2,8 @@
+Tue Dec 31 08:10:41 UTC 2024 - Peter Simons <[email protected]>
+
+- Update monad-logger to version 0.3.41.
+ ## 0.3.41
+
+ * Add `MonadAccum` instances for `LoggingT` and `NoLoggingT`
+
+-------------------------------------------------------------------
Old:
----
monad-logger-0.3.40.tar.gz
New:
----
monad-logger-0.3.41.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ ghc-monad-logger.spec ++++++
--- /var/tmp/diff_new_pack.PixmTm/_old 2025-01-09 15:07:33.652609423 +0100
+++ /var/tmp/diff_new_pack.PixmTm/_new 2025-01-09 15:07:33.652609423 +0100
@@ -1,7 +1,7 @@
#
# spec file for package ghc-monad-logger
#
-# Copyright (c) 2023 SUSE LLC
+# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -19,7 +19,7 @@
%global pkg_name monad-logger
%global pkgver %{pkg_name}-%{version}
Name: ghc-%{pkg_name}
-Version: 0.3.40
+Version: 0.3.41
Release: 0
Summary: A class of monads which can log messages
License: MIT
++++++ monad-logger-0.3.40.tar.gz -> monad-logger-0.3.41.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/monad-logger-0.3.40/ChangeLog.md
new/monad-logger-0.3.41/ChangeLog.md
--- old/monad-logger-0.3.40/ChangeLog.md 2023-06-05 13:14:46.000000000
+0200
+++ new/monad-logger-0.3.41/ChangeLog.md 2024-12-31 09:10:05.000000000
+0100
@@ -1,5 +1,9 @@
# ChangeLog for monad-logger
+## 0.3.41
+
+* Add `MonadAccum` instances for `LoggingT` and `NoLoggingT`
+
## 0.3.40
* Relax `fast-logger` upper bound from 3.2 to 3.3
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/monad-logger-0.3.40/Control/Monad/Logger.hs
new/monad-logger-0.3.41/Control/Monad/Logger.hs
--- old/monad-logger-0.3.40/Control/Monad/Logger.hs 2023-06-05
13:14:46.000000000 +0200
+++ new/monad-logger-0.3.41/Control/Monad/Logger.hs 2024-12-31
09:10:05.000000000 +0100
@@ -170,6 +170,9 @@
import Control.Monad.Reader.Class ( MonadReader (..) )
import Control.Monad.State.Class ( MonadState (..) )
import Control.Monad.Writer.Class ( MonadWriter (..) )
+#if MIN_VERSION_mtl(2, 3, 1)
+import Control.Monad.Accum ( MonadAccum (..) )
+#endif
#if WITH_CALLSTACK
import GHC.Stack as GHC
@@ -903,6 +906,16 @@
tell = Trans.lift . tell
listen = mapNoLoggingT listen
pass = mapNoLoggingT pass
+
+#if MIN_VERSION_mtl(2, 3, 1)
+-- | @since 0.3.41
+instance MonadAccum w m => MonadAccum w (LoggingT m) where
+ accum = Trans.lift . accum
+
+-- | @since 0.3.41
+instance MonadAccum w m => MonadAccum w (NoLoggingT m) where
+ accum = Trans.lift . accum
+#endif
-- | dummy location, used with 'logWithoutLoc'
--
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/monad-logger-0.3.40/monad-logger.cabal
new/monad-logger-0.3.41/monad-logger.cabal
--- old/monad-logger-0.3.40/monad-logger.cabal 2023-06-05 13:14:48.000000000
+0200
+++ new/monad-logger-0.3.41/monad-logger.cabal 2024-12-31 09:10:11.000000000
+0100
@@ -1,11 +1,11 @@
cabal-version: 1.12
--- This file has been generated from package.yaml by hpack version 0.35.1.
+-- This file has been generated from package.yaml by hpack version 0.37.0.
--
-- see: https://github.com/sol/hpack
name: monad-logger
-version: 0.3.40
+version: 0.3.41
synopsis: A class of monads which can log messages.
description: See README and Haddocks at
<https://www.stackage.org/package/monad-logger>
category: System