Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package ghc-persistent-sqlite for
openSUSE:Factory checked in at 2023-01-28 18:44:33
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-persistent-sqlite (Old)
and /work/SRC/openSUSE:Factory/.ghc-persistent-sqlite.new.32243 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-persistent-sqlite"
Sat Jan 28 18:44:33 2023 rev:10 rq:1061634 version:2.13.1.1
Changes:
--------
---
/work/SRC/openSUSE:Factory/ghc-persistent-sqlite/ghc-persistent-sqlite.changes
2022-02-11 23:11:22.995288488 +0100
+++
/work/SRC/openSUSE:Factory/.ghc-persistent-sqlite.new.32243/ghc-persistent-sqlite.changes
2023-01-28 18:52:08.564941518 +0100
@@ -1,0 +2,9 @@
+Sun Jan 22 17:06:44 UTC 2023 - Peter Simons <[email protected]>
+
+- Update persistent-sqlite to version 2.13.1.1.
+ ## 2.13.1.1
+
+ * [#1459](https://github.com/yesodweb/persistent/pull/1459)
+ * Make use of `CautiousMigration` type alias for clarity.
+
+-------------------------------------------------------------------
Old:
----
persistent-sqlite-2.13.1.0.tar.gz
New:
----
persistent-sqlite-2.13.1.1.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ ghc-persistent-sqlite.spec ++++++
--- /var/tmp/diff_new_pack.KIxRWM/_old 2023-01-28 18:52:09.432946435 +0100
+++ /var/tmp/diff_new_pack.KIxRWM/_new 2023-01-28 18:52:09.436946457 +0100
@@ -1,7 +1,7 @@
#
# spec file for package ghc-persistent-sqlite
#
-# Copyright (c) 2022 SUSE LLC
+# Copyright (c) 2023 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 persistent-sqlite
%bcond_with tests
Name: ghc-%{pkg_name}
-Version: 2.13.1.0
+Version: 2.13.1.1
Release: 0
Summary: Backend for the persistent library using sqlite3
License: MIT
++++++ persistent-sqlite-2.13.1.0.tar.gz -> persistent-sqlite-2.13.1.1.tar.gz
++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/persistent-sqlite-2.13.1.0/ChangeLog.md
new/persistent-sqlite-2.13.1.1/ChangeLog.md
--- old/persistent-sqlite-2.13.1.0/ChangeLog.md 2022-01-29 01:05:29.000000000
+0100
+++ new/persistent-sqlite-2.13.1.1/ChangeLog.md 2023-01-22 18:06:11.000000000
+0100
@@ -1,5 +1,10 @@
# Changelog for persistent-sqlite
+## 2.13.1.1
+
+* [#1459](https://github.com/yesodweb/persistent/pull/1459)
+ * Make use of `CautiousMigration` type alias for clarity.
+
## 2.13.1.0
* [#1341](https://github.com/yesodweb/persistent/pull/1341)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/persistent-sqlite-2.13.1.0/Database/Persist/Sqlite.hs
new/persistent-sqlite-2.13.1.1/Database/Persist/Sqlite.hs
--- old/persistent-sqlite-2.13.1.0/Database/Persist/Sqlite.hs 2022-01-29
01:01:38.000000000 +0100
+++ new/persistent-sqlite-2.13.1.1/Database/Persist/Sqlite.hs 2023-01-22
18:06:11.000000000 +0100
@@ -112,7 +112,6 @@
import Database.Persist.SqlBackend
import qualified Database.Sqlite as Sqlite
-
-- | Create a pool of SQLite connections.
--
-- Note that this should not be used with the @:memory:@ connection string, as
@@ -442,7 +441,7 @@
:: [EntityDef]
-> (Text -> IO Statement)
-> EntityDef
- -> IO (Either [Text] [(Bool, Text)])
+ -> IO (Either [Text] CautiousMigration)
migrate' allDefs getter val = do
let (cols, uniqs, fdefs) = sqliteMkColumns allDefs val
let newSql = mkCreateTable False def (filter (not . safeToRemove val .
cName) cols, uniqs, fdefs)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/persistent-sqlite-2.13.1.0/persistent-sqlite.cabal
new/persistent-sqlite-2.13.1.1/persistent-sqlite.cabal
--- old/persistent-sqlite-2.13.1.0/persistent-sqlite.cabal 2022-01-29
01:01:38.000000000 +0100
+++ new/persistent-sqlite-2.13.1.1/persistent-sqlite.cabal 2023-01-22
18:06:11.000000000 +0100
@@ -1,5 +1,5 @@
name: persistent-sqlite
-version: 2.13.1.0
+version: 2.13.1.1
license: MIT
license-file: LICENSE
author: Michael Snoyman <[email protected]>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/persistent-sqlite-2.13.1.0/test/main.hs
new/persistent-sqlite-2.13.1.1/test/main.hs
--- old/persistent-sqlite-2.13.1.0/test/main.hs 2021-06-29 16:23:53.000000000
+0200
+++ new/persistent-sqlite-2.13.1.1/test/main.hs 2022-12-05 19:14:40.000000000
+0100
@@ -45,6 +45,7 @@
import qualified RenameTest
import qualified SumTypeTest
import qualified TransactionLevelTest
+import qualified TypeLitFieldDefsTest
import qualified UniqueTest
import qualified UpsertTest
@@ -162,6 +163,7 @@
, UniqueTest.uniqueMigrate
, MaxLenTest.maxlenMigrate
, MaybeFieldDefsTest.maybeFieldDefMigrate
+ , TypeLitFieldDefsTest.typeLitFieldDefsMigrate
, Recursive.recursiveMigrate
, CompositeTest.compositeMigrate
, MigrationTest.migrationMigrate
@@ -209,6 +211,7 @@
UniqueTest.specsWith db
MaxLenTest.specsWith db
MaybeFieldDefsTest.specsWith db
+ TypeLitFieldDefsTest.specsWith db
Recursive.specsWith db
SumTypeTest.specsWith db (Just (runMigrationSilent
SumTypeTest.sumTypeMigrate))
MigrationOnlyTest.specsWith db