Hello community,
here is the log from the commit of package ghc-persistent-sqlite for
openSUSE:Factory checked in at 2020-01-29 13:12:54
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-persistent-sqlite (Old)
and /work/SRC/openSUSE:Factory/.ghc-persistent-sqlite.new.26092 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-persistent-sqlite"
Wed Jan 29 13:12:54 2020 rev:19 rq:766986 version:2.10.5.2
Changes:
--------
---
/work/SRC/openSUSE:Factory/ghc-persistent-sqlite/ghc-persistent-sqlite.changes
2019-12-27 13:56:16.780742704 +0100
+++
/work/SRC/openSUSE:Factory/.ghc-persistent-sqlite.new.26092/ghc-persistent-sqlite.changes
2020-01-29 13:13:17.726013853 +0100
@@ -1,0 +2,12 @@
+Sat Jan 4 03:01:37 UTC 2020 - [email protected]
+
+- Update persistent-sqlite to version 2.10.5.2.
+ ## 2.10.5.2
+
+ * Compatibility with latest persistent-template for test suite
[#1002](https://github.com/yesodweb/persistent/pull/1002/files)
+
+ ## 2.10.5.1
+
+ * a fix for template-haskell 2.16, GHC 8.10 alpha
[#993](https://github.com/yesodweb/persistent/pull/993) @simonmichael
+
+-------------------------------------------------------------------
Old:
----
persistent-sqlite-2.10.5.tar.gz
New:
----
persistent-sqlite-2.10.5.2.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ ghc-persistent-sqlite.spec ++++++
--- /var/tmp/diff_new_pack.cua5Xd/_old 2020-01-29 13:13:19.106014557 +0100
+++ /var/tmp/diff_new_pack.cua5Xd/_new 2020-01-29 13:13:19.110014560 +0100
@@ -1,7 +1,7 @@
#
# spec file for package ghc-persistent-sqlite
#
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany.
#
# 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.10.5
+Version: 2.10.5.2
Release: 0
Summary: Backend for the persistent library using sqlite3
License: MIT
++++++ persistent-sqlite-2.10.5.tar.gz -> persistent-sqlite-2.10.5.2.tar.gz
++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/persistent-sqlite-2.10.5/ChangeLog.md
new/persistent-sqlite-2.10.5.2/ChangeLog.md
--- old/persistent-sqlite-2.10.5/ChangeLog.md 2019-08-20 23:10:17.000000000
+0200
+++ new/persistent-sqlite-2.10.5.2/ChangeLog.md 2020-01-03 20:00:03.000000000
+0100
@@ -1,5 +1,13 @@
# Changelog for persistent-sqlite
+## 2.10.5.2
+
+* Compatibility with latest persistent-template for test suite
[#1002](https://github.com/yesodweb/persistent/pull/1002/files)
+
+## 2.10.5.1
+
+* a fix for template-haskell 2.16, GHC 8.10 alpha
[#993](https://github.com/yesodweb/persistent/pull/993) @simonmichael
+
## 2.10.5
* Foreign keys table constraints are correctly generated
[#945](https://github.com/yesodweb/persistent/pull/945) @kderme
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/persistent-sqlite-2.10.5/Database/Persist/Sqlite.hs
new/persistent-sqlite-2.10.5.2/Database/Persist/Sqlite.hs
--- old/persistent-sqlite-2.10.5/Database/Persist/Sqlite.hs 2019-08-20
23:10:17.000000000 +0200
+++ new/persistent-sqlite-2.10.5.2/Database/Persist/Sqlite.hs 2020-01-03
05:03:17.000000000 +0100
@@ -704,7 +704,6 @@
, _fkEnabled :: Bool -- ^ if foreign-key constraints are enabled.
, _extraPragmas :: [Text] -- ^ additional pragmas to be set on
initialization
} deriving Show
-makeLenses ''SqliteConnectionInfo
instance FromJSON SqliteConnectionInfo where
parseJSON v = modifyFailure ("Persistent: error loading
SqliteConnectionInfo: " ++) $
@@ -714,6 +713,7 @@
<*> o .: "fkEnabled"
<*> o .:? "extraPragmas" .!= []
+makeLenses ''SqliteConnectionInfo
-- | Like `withSqliteConnInfo`, but exposes the internal `Sqlite.Connection`.
-- For power users who want to manually interact with SQLite's C API via
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/persistent-sqlite-2.10.5/persistent-sqlite.cabal
new/persistent-sqlite-2.10.5.2/persistent-sqlite.cabal
--- old/persistent-sqlite-2.10.5/persistent-sqlite.cabal 2019-08-20
23:10:17.000000000 +0200
+++ new/persistent-sqlite-2.10.5.2/persistent-sqlite.cabal 2020-01-03
19:59:49.000000000 +0100
@@ -1,5 +1,5 @@
name: persistent-sqlite
-version: 2.10.5
+version: 2.10.5.2
license: MIT
license-file: LICENSE
author: Michael Snoyman <[email protected]>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/persistent-sqlite-2.10.5/test/main.hs
new/persistent-sqlite-2.10.5.2/test/main.hs
--- old/persistent-sqlite-2.10.5/test/main.hs 2019-07-16 17:13:44.000000000
+0200
+++ new/persistent-sqlite-2.10.5.2/test/main.hs 2020-01-03 05:03:17.000000000
+0100
@@ -9,6 +9,8 @@
{-# LANGUAGE TemplateHaskell #-}
{-# LANGUAGE TypeFamilies #-}
{-# LANGUAGE UndecidableInstances #-}
+{-# LANGUAGE StandaloneDeriving #-}
+{-# LANGUAGE DerivingStrategies #-}
import SqliteInit
@@ -208,7 +210,7 @@
it "issue #328" $ asIO $ runSqliteInfo (mkSqliteConnectionInfo ":memory:")
$ do
runMigration migrateAll
- _ <- insert . Test $ read "2014-11-30 05:15:25.123"
+ _ <- insert . Test $ read "2014-11-30 05:15:25.123Z"
[Single x] <- rawSql "select strftime('%s%f',time) from test" []
liftIO $ x `shouldBe` Just ("141732452525.123" :: String)
it "issue #339" $ asIO $ runSqliteInfo (mkSqliteConnectionInfo ":memory:")
$ do
@@ -224,7 +226,7 @@
return ()
it "issue #527" $ asIO $ runSqliteInfo (mkSqliteConnectionInfo ":memory:")
$ do
runMigration migrateAll
- insertMany_ $ replicate 1000 (Test $ read "2014-11-30 05:15:25.123")
+ insertMany_ $ replicate 1000 (Test $ read "2014-11-30 05:15:25.123Z")
it "properly migrates to a composite primary key (issue #669)" $ asIO $
runSqliteInfo (mkSqliteConnectionInfo ":memory:") $ do
runMigration compositeSetup