Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package ghc-yesod-persistent for 
openSUSE:Factory checked in at 2021-04-10 15:27:23
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-yesod-persistent (Old)
 and      /work/SRC/openSUSE:Factory/.ghc-yesod-persistent.new.2401 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ghc-yesod-persistent"

Sat Apr 10 15:27:23 2021 rev:5 rq:883528 version:1.6.0.6

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/ghc-yesod-persistent/ghc-yesod-persistent.changes    
    2020-12-22 11:49:43.478020517 +0100
+++ 
/work/SRC/openSUSE:Factory/.ghc-yesod-persistent.new.2401/ghc-yesod-persistent.changes
      2021-04-10 15:28:27.766455068 +0200
@@ -1,0 +2,8 @@
+Wed Mar 31 14:28:43 UTC 2021 - [email protected]
+
+- Update yesod-persistent to version 1.6.0.6.
+  ## 1.6.0.6
+
+  * Add support for persistent 2.12
+
+-------------------------------------------------------------------

Old:
----
  yesod-persistent-1.6.0.5.tar.gz

New:
----
  yesod-persistent-1.6.0.6.tar.gz

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

Other differences:
------------------
++++++ ghc-yesod-persistent.spec ++++++
--- /var/tmp/diff_new_pack.vrgofI/_old  2021-04-10 15:28:28.206455586 +0200
+++ /var/tmp/diff_new_pack.vrgofI/_new  2021-04-10 15:28:28.210455590 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-yesod-persistent
 #
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2021 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 yesod-persistent
 %bcond_with tests
 Name:           ghc-%{pkg_name}
-Version:        1.6.0.5
+Version:        1.6.0.6
 Release:        0
 Summary:        Some helpers for using Persistent from Yesod
 License:        MIT

++++++ yesod-persistent-1.6.0.5.tar.gz -> yesod-persistent-1.6.0.6.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yesod-persistent-1.6.0.5/ChangeLog.md 
new/yesod-persistent-1.6.0.6/ChangeLog.md
--- old/yesod-persistent-1.6.0.5/ChangeLog.md   2020-11-06 05:24:17.000000000 
+0100
+++ new/yesod-persistent-1.6.0.6/ChangeLog.md   2021-03-30 21:13:36.000000000 
+0200
@@ -1,5 +1,9 @@
 # ChangeLog for yesod-persistent
 
+## 1.6.0.6
+
+* Add support for persistent 2.12
+
 ## 1.6.0.5
 
 * Add support for Persistent 2.11 
[#1701](https://github.com/yesodweb/yesod/pull/1701)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yesod-persistent-1.6.0.5/Yesod/Persist/Core.hs 
new/yesod-persistent-1.6.0.6/Yesod/Persist/Core.hs
--- old/yesod-persistent-1.6.0.5/Yesod/Persist/Core.hs  2020-06-24 
09:26:46.000000000 +0200
+++ new/yesod-persistent-1.6.0.6/Yesod/Persist/Core.hs  2021-03-30 
20:29:07.000000000 +0200
@@ -196,7 +196,11 @@
     conflict <- checkUnique datum
     case conflict of
         Just unique ->
+#if MIN_VERSION_persistent(2, 12, 0)
+            badRequest' $ map (unFieldNameHS . fst) $ 
persistUniqueToFieldNames unique
+#else
             badRequest' $ map (unHaskellName . fst) $ 
persistUniqueToFieldNames unique
+#endif
         Nothing -> insert datum
 
 -- | Same as 'insert400', but doesn???t return a key.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yesod-persistent-1.6.0.5/yesod-persistent.cabal 
new/yesod-persistent-1.6.0.6/yesod-persistent.cabal
--- old/yesod-persistent-1.6.0.5/yesod-persistent.cabal 2020-11-06 
08:14:35.000000000 +0100
+++ new/yesod-persistent-1.6.0.6/yesod-persistent.cabal 2021-03-30 
20:29:49.000000000 +0200
@@ -1,6 +1,6 @@
 cabal-version:   >= 1.10
 name:            yesod-persistent
-version:         1.6.0.5
+version:         1.6.0.6
 license:         MIT
 license-file:    LICENSE
 author:          Michael Snoyman <[email protected]>
@@ -17,8 +17,8 @@
     default-language: Haskell2010
     build-depends:   base                      >= 4.10     && < 5
                    , yesod-core                >= 1.6      && < 1.7
-                   , persistent                >= 2.8      && < 2.12
-                   , persistent-template       >= 2.1      && < 2.10
+                   , persistent                >= 2.8
+                   , persistent-template       >= 2.1
                    , transformers              >= 0.2.2
                    , blaze-builder
                    , conduit

Reply via email to