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 2022-08-01 21:30:57
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-yesod-persistent (Old)
 and      /work/SRC/openSUSE:Factory/.ghc-yesod-persistent.new.1533 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ghc-yesod-persistent"

Mon Aug  1 21:30:57 2022 rev:7 rq:987117 version:1.6.0.8

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/ghc-yesod-persistent/ghc-yesod-persistent.changes    
    2021-05-11 23:04:19.440912898 +0200
+++ 
/work/SRC/openSUSE:Factory/.ghc-yesod-persistent.new.1533/ghc-yesod-persistent.changes
      2022-08-01 21:31:32.677853677 +0200
@@ -1,0 +2,8 @@
+Fri Apr 15 17:21:58 UTC 2022 - Peter Simons <[email protected]>
+
+- Update yesod-persistent to version 1.6.0.8.
+  ## 1.6.0.8
+
+  * Add support for `persistent-2.14` 
[#1706](https://github.com/yesodweb/yesod/pull/1760)
+
+-------------------------------------------------------------------

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

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

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

Other differences:
------------------
++++++ ghc-yesod-persistent.spec ++++++
--- /var/tmp/diff_new_pack.AuMDtO/_old  2022-08-01 21:31:34.233858140 +0200
+++ /var/tmp/diff_new_pack.AuMDtO/_new  2022-08-01 21:31:34.237858152 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-yesod-persistent
 #
-# 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
@@ -19,7 +19,7 @@
 %global pkg_name yesod-persistent
 %bcond_with tests
 Name:           ghc-%{pkg_name}
-Version:        1.6.0.7
+Version:        1.6.0.8
 Release:        0
 Summary:        Some helpers for using Persistent from Yesod
 License:        MIT

++++++ yesod-persistent-1.6.0.7.tar.gz -> yesod-persistent-1.6.0.8.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yesod-persistent-1.6.0.7/ChangeLog.md 
new/yesod-persistent-1.6.0.8/ChangeLog.md
--- old/yesod-persistent-1.6.0.7/ChangeLog.md   2021-05-07 13:10:52.000000000 
+0200
+++ new/yesod-persistent-1.6.0.8/ChangeLog.md   2022-04-15 19:21:53.000000000 
+0200
@@ -1,5 +1,9 @@
 # ChangeLog for yesod-persistent
 
+## 1.6.0.8
+
+* Add support for `persistent-2.14` 
[#1706](https://github.com/yesodweb/yesod/pull/1760)
+
 ## 1.6.0.7
 
 * Add support for persistent 2.13. 
[#1723](https://github.com/yesodweb/yesod/pull/1723)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yesod-persistent-1.6.0.7/Yesod/Persist/Core.hs 
new/yesod-persistent-1.6.0.8/Yesod/Persist/Core.hs
--- old/yesod-persistent-1.6.0.7/Yesod/Persist/Core.hs  2021-05-07 
13:10:52.000000000 +0200
+++ new/yesod-persistent-1.6.0.8/Yesod/Persist/Core.hs  2022-04-15 
19:21:53.000000000 +0200
@@ -37,6 +37,9 @@
 #if MIN_VERSION_persistent(2,13,0)
 import qualified Database.Persist.SqlBackend.Internal as SQL
 #endif
+#if MIN_VERSION_persistent(2,14,0)
+import Database.Persist.Class.PersistEntity
+#endif
 
 unSqlPersistT :: a -> a
 unSqlPersistT = id
@@ -187,14 +190,21 @@
 -- is violated.
 --
 -- @since 1.4.1
-#if MIN_VERSION_persistent(2,5,0)
-insert400 :: (MonadIO m, PersistUniqueWrite backend, PersistRecordBackend val 
backend)
-          => val
-          -> ReaderT backend m (Key val)
-#else
-insert400 :: (MonadIO m, PersistUnique (PersistEntityBackend val), 
PersistEntity val)
-          => val
-          -> ReaderT (PersistEntityBackend val) m (Key val)
+#if MIN_VERSION_persistent(2,14,0)
+insert400
+    :: (MonadIO m, PersistUniqueWrite backend, PersistRecordBackend val 
backend, SafeToInsert val)
+    => val
+    -> ReaderT backend m (Key val)
+#elif MIN_VERSION_persistent(2,5,0)
+insert400
+    :: (MonadIO m, PersistUniqueWrite backend, PersistRecordBackend val 
backend)
+    => val
+    -> ReaderT backend m (Key val)
+#else
+insert400
+    :: (MonadIO m, PersistUnique (PersistEntityBackend val), PersistEntity val)
+    => val
+    -> ReaderT (PersistEntityBackend val) m (Key val)
 #endif
 insert400 datum = do
     conflict <- checkUnique datum
@@ -214,7 +224,12 @@
 -- | Same as 'insert400', but doesn???t return a key.
 --
 -- @since 1.4.1
-#if MIN_VERSION_persistent(2,5,0)
+#if MIN_VERSION_persistent(2,14,0)
+insert400_ :: (MonadIO m, PersistUniqueWrite backend, PersistRecordBackend val 
backend, SafeToInsert val)
+           => val
+           -> ReaderT backend m ()
+
+#elif MIN_VERSION_persistent(2,5,0)
 insert400_ :: (MonadIO m, PersistUniqueWrite backend, PersistRecordBackend val 
backend)
            => val
            -> ReaderT backend m ()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yesod-persistent-1.6.0.7/yesod-persistent.cabal 
new/yesod-persistent-1.6.0.8/yesod-persistent.cabal
--- old/yesod-persistent-1.6.0.7/yesod-persistent.cabal 2021-05-07 
13:10:52.000000000 +0200
+++ new/yesod-persistent-1.6.0.8/yesod-persistent.cabal 2022-04-15 
19:21:53.000000000 +0200
@@ -1,6 +1,6 @@
 cabal-version:   >= 1.10
 name:            yesod-persistent
-version:         1.6.0.7
+version:         1.6.0.8
 license:         MIT
 license-file:    LICENSE
 author:          Michael Snoyman <[email protected]>

Reply via email to