Hello community, here is the log from the commit of package ghc-relational-record for openSUSE:Factory checked in at 2017-08-31 20:58:30 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ghc-relational-record (Old) and /work/SRC/openSUSE:Factory/.ghc-relational-record.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "ghc-relational-record" Thu Aug 31 20:58:30 2017 rev:5 rq:513469 version:0.1.8.0 Changes: -------- --- /work/SRC/openSUSE:Factory/ghc-relational-record/ghc-relational-record.changes 2017-04-14 13:38:43.654856319 +0200 +++ /work/SRC/openSUSE:Factory/.ghc-relational-record.new/ghc-relational-record.changes 2017-08-31 20:58:30.354198656 +0200 @@ -1,0 +2,5 @@ +Thu Jul 27 14:07:28 UTC 2017 - psimons@suse.com + +- Update to version 0.1.8.0. + +------------------------------------------------------------------- Old: ---- relational-record-0.1.7.1.tar.gz New: ---- relational-record-0.1.8.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ghc-relational-record.spec ++++++ --- /var/tmp/diff_new_pack.gyujjC/_old 2017-08-31 20:58:31.374055363 +0200 +++ /var/tmp/diff_new_pack.gyujjC/_new 2017-08-31 20:58:31.378054801 +0200 @@ -18,7 +18,7 @@ %global pkg_name relational-record Name: ghc-%{pkg_name} -Version: 0.1.7.1 +Version: 0.1.8.0 Release: 0 Summary: Meta package of Relational Record License: BSD-3-Clause @@ -26,6 +26,7 @@ Url: https://hackage.haskell.org/package/%{pkg_name} Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz BuildRequires: ghc-Cabal-devel +BuildRequires: ghc-persistable-record-devel BuildRequires: ghc-persistable-types-HDBC-pg-devel BuildRequires: ghc-relational-query-HDBC-devel BuildRequires: ghc-relational-query-devel ++++++ relational-record-0.1.7.1.tar.gz -> relational-record-0.1.8.0.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/relational-record-0.1.7.1/relational-record.cabal new/relational-record-0.1.8.0/relational-record.cabal --- old/relational-record-0.1.7.1/relational-record.cabal 2017-03-21 05:00:51.000000000 +0100 +++ new/relational-record-0.1.8.0/relational-record.cabal 2017-05-05 12:25:10.000000000 +0200 @@ -1,5 +1,5 @@ name: relational-record -version: 0.1.7.1 +version: 0.1.8.0 synopsis: Meta package of Relational Record description: Meta package to install Relational Record quickly homepage: http://khibino.github.io/haskell-relational-record/ @@ -17,7 +17,8 @@ Database.Relational.Query.Documentation build-depends: base <5 - , relational-query >=0.3 + , persistable-record >= 0.5 + , relational-query >=0.9 , relational-query-HDBC , persistable-types-HDBC-pg diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/relational-record-0.1.7.1/src/Database/Relational/Query/Documentation.hs new/relational-record-0.1.8.0/src/Database/Relational/Query/Documentation.hs --- old/relational-record-0.1.7.1/src/Database/Relational/Query/Documentation.hs 2017-03-21 05:00:51.000000000 +0100 +++ new/relational-record-0.1.8.0/src/Database/Relational/Query/Documentation.hs 2017-05-05 12:25:10.000000000 +0200 @@ -70,6 +70,8 @@ -- *** Projection Operators -- $projectionOperators + ShowConstantTermsSQL, + value, values, (.=.), (.<.), (.<=.), (.>.), (.>=.), (.<>.), @@ -148,6 +150,11 @@ -- * Database Operations -- $databaseOperations + -- ** Conversion interfaces to communicate with database + -- $conversionInterfaces + FromSql, ToSql, + RecordFromSql, RecordToSql, + -- ** Generalized Statement -- $generalizedStmt prepareNoFetch, @@ -191,6 +198,7 @@ ) where import Database.Relational.Query +import Database.Record (RecordFromSql, FromSql, RecordToSql, ToSql) import Database.HDBC.Record {- $concepts @@ -198,7 +206,7 @@ [@"Database.Relational.Query"@] Relational Query Building DSL -[@"Database.HDBC.Record"@] Database Operation Actions +[@"Database.Record" and "Database.HDBC.Record"@] Database Operation Actions -} {- $queryBuildingDSL @@ -274,7 +282,10 @@ Some operators are defined to calculate projected values. For example, -'value' operator projects from Haskell value into 'Projection' corresponding SQL value, +'value' operator projects from Haskell value into 'Projection' corresponding SQL row value, +which projection is implicitly specified by 'ShowConstantTermsSQL' class. +Generic programming with default signature is available to define instances of 'ShowConstantTermsSQL'. + 'values' operator projects from Haskell list value into 'ListProjection', corresponding SQL set value, '.=.' operator is equal compare operation of projected value correspond to SQL =, '.+.' operator is plus operation of projected value correspond to SQL +, and so on. @@ -375,6 +386,16 @@ Some HDBC actions are defined for database side effects. -} +{- $conversionInterfaces +Some record conversion interfaces are defined to communicate with database. + +The conversions are implicitly specified by 'FromSql' class and 'ToSql' class. +Generic programming with default signature is available to define instances of 'FromSql' and 'ToSql'. + +The explicit definitions correnponsing those classes are 'RecordFromSql' and 'RecordToSql'. + +-} + {- $generalizedStmt Actions to manage generalized SQL statements. -}