Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package ghc-yesod for openSUSE:Factory 
checked in at 2022-02-15 23:57:33
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-yesod (Old)
 and      /work/SRC/openSUSE:Factory/.ghc-yesod.new.1956 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ghc-yesod"

Tue Feb 15 23:57:33 2022 rev:9 rq:954695 version:1.6.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-yesod/ghc-yesod.changes      2021-08-25 
20:58:52.841108221 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-yesod.new.1956/ghc-yesod.changes    
2022-02-15 23:58:00.588333381 +0100
@@ -1,0 +2,8 @@
+Fri Feb 11 04:25:21 UTC 2022 - Peter Simons <[email protected]>
+
+- Update yesod to version 1.6.2.
+  ## 1.6.2
+
+  * aeson 2
+
+-------------------------------------------------------------------

Old:
----
  yesod-1.6.1.2.tar.gz

New:
----
  yesod-1.6.2.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ ghc-yesod.spec ++++++
--- /var/tmp/diff_new_pack.p1OZZ3/_old  2022-02-15 23:58:00.992334496 +0100
+++ /var/tmp/diff_new_pack.p1OZZ3/_new  2022-02-15 23:58:00.996334507 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-yesod
 #
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -18,7 +18,7 @@
 
 %global pkg_name yesod
 Name:           ghc-%{pkg_name}
-Version:        1.6.1.2
+Version:        1.6.2
 Release:        0
 Summary:        Creation of type-safe, RESTful web applications
 License:        MIT

++++++ yesod-1.6.1.2.tar.gz -> yesod-1.6.2.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yesod-1.6.1.2/ChangeLog.md 
new/yesod-1.6.2/ChangeLog.md
--- old/yesod-1.6.1.2/ChangeLog.md      2021-06-30 17:45:25.000000000 +0200
+++ new/yesod-1.6.2/ChangeLog.md        2022-02-11 04:58:49.000000000 +0100
@@ -1,5 +1,9 @@
 # ChangeLog for yesod
 
+## 1.6.2
+
+* aeson 2
+
 ## 1.6.1.2
 
 * Fix compatibility with template-haskell 2.17 
[#1730](https://github.com/yesodweb/yesod/pull/1730)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yesod-1.6.1.2/Yesod/Default/Config.hs 
new/yesod-1.6.2/Yesod/Default/Config.hs
--- old/yesod-1.6.1.2/Yesod/Default/Config.hs   2021-06-30 17:45:25.000000000 
+0200
+++ new/yesod-1.6.2/Yesod/Default/Config.hs     2022-02-11 04:58:18.000000000 
+0100
@@ -1,3 +1,4 @@
+{-# LANGUAGE CPP #-}
 {-# LANGUAGE OverloadedStrings #-}
 {-# LANGUAGE PatternGuards #-}
 module Yesod.Default.Config
@@ -19,12 +20,17 @@
 import qualified Data.Text as T
 import Data.Yaml
 import Data.Maybe (fromMaybe)
-import qualified Data.HashMap.Strict as M
 import System.Environment (getArgs, getProgName, getEnvironment)
 import System.Exit (exitFailure)
 import Data.Streaming.Network (HostPreference)
 import Data.String (fromString)
 
+#if MIN_VERSION_aeson(2, 0, 0)
+import qualified Data.Aeson.KeyMap as M
+#else
+import qualified Data.HashMap.Strict as M
+#endif
+
 -- | A yesod-provided @'AppEnv'@, allows for Development, Testing, and
 --   Production environments
 data DefaultEnv = Development
@@ -143,7 +149,7 @@
                 Object obj -> return obj
                 _ -> fail "Expected Object"
         let senv = show env
-            tenv = T.pack senv
+            tenv = fromString senv
         maybe
             (error $ "Could not find environment: " ++ senv)
             return
@@ -237,5 +243,5 @@
         Left err ->
           fail $ "Invalid YAML file: " ++ show fp ++ " " ++ 
prettyPrintParseException err
         Right (Object obj)
-            | Just v <- M.lookup (T.pack $ show env) obj -> parseMonad f v
+            | Just v <- M.lookup (fromString $ show env) obj -> parseMonad f v
         _ -> fail $ "Could not find environment: " ++ show env
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yesod-1.6.1.2/Yesod/Default/Config2.hs 
new/yesod-1.6.2/Yesod/Default/Config2.hs
--- old/yesod-1.6.1.2/Yesod/Default/Config2.hs  2021-06-30 17:45:25.000000000 
+0200
+++ new/yesod-1.6.2/Yesod/Default/Config2.hs    2022-02-11 04:58:32.000000000 
+0100
@@ -30,7 +30,6 @@
 
 import Data.Semigroup
 import Data.Aeson
-import qualified Data.HashMap.Strict as H
 import System.Environment (getEnvironment)
 import Network.Wai (Application)
 import Network.Wai.Handler.Warp
@@ -43,6 +42,12 @@
 import Yesod.Core.Types (Logger (Logger))
 import System.Log.FastLogger (LoggerSet)
 
+#if MIN_VERSION_aeson(2, 0, 0)
+import qualified Data.Aeson.KeyMap as H
+#else
+import qualified Data.HashMap.Strict as H
+#endif
+
 #ifndef mingw32_HOST_OS
 import System.Posix.Signals (installHandler, sigINT, Handler(Catch))
 #endif
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yesod-1.6.1.2/yesod.cabal new/yesod-1.6.2/yesod.cabal
--- old/yesod-1.6.1.2/yesod.cabal       2021-06-30 17:45:25.000000000 +0200
+++ new/yesod-1.6.2/yesod.cabal 2022-02-11 04:58:41.000000000 +0100
@@ -1,5 +1,5 @@
 name:            yesod
-version:         1.6.1.2
+version:         1.6.2
 license:         MIT
 license-file:    LICENSE
 author:          Michael Snoyman <[email protected]>

Reply via email to