Hello community, here is the log from the commit of package ghc-persistent for openSUSE:Factory checked in at 2018-05-30 12:11:31 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ghc-persistent (Old) and /work/SRC/openSUSE:Factory/.ghc-persistent.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-persistent" Wed May 30 12:11:31 2018 rev:10 rq:607856 version:2.8.2 Changes: -------- --- /work/SRC/openSUSE:Factory/ghc-persistent/ghc-persistent.changes 2017-09-15 22:04:09.900921452 +0200 +++ /work/SRC/openSUSE:Factory/.ghc-persistent.new/ghc-persistent.changes 2018-05-30 12:26:45.123424303 +0200 @@ -1,0 +2,27 @@ +Mon May 14 17:02:11 UTC 2018 - [email protected] + +- Update persistent to version 2.8.2 revision 1. + * Added support for `sql=` to the unique constraints quasi-quoter so that users can specify the database names of the constraints. + * DRY-ed up and exposed several util functions in `Database.Persist.Sql.Util`. + * Upstream-ed `updatePersistValue`, `mkUpdateText`, and `commaSeparated` from `Database.Persist.MySQL`. + * De-duplicated `updatePersistValue` from various `Database.Persist.Sql.Orphan.*` modules. + * Batching enhancements to reduce db round-trips. + * Added `getMany` and `repsertMany` for batched `get` and `repsert`. + * Added `putMany` with a default/slow implementation. SqlBackend's that support native UPSERT should override this for batching enhancements. + * Updated `insertEntityMany` to replace slow looped usage with batched execution. + * See [#770](https://github.com/yesodweb/persistent/pull/770) + * Switch from `MonadBaseControl` to `MonadUnliftIO` + * Reapplies [#723](https://github.com/yesodweb/persistent/pull/723), which was reverted in version 2.7.3. + * Improve error messages when failing to parse database results into Persistent records. [#741](https://github.com/yesodweb/persistent/pull/741) + * A handful of `fromPersistField` implementations called `error` instead of returning a `Left Text`. All of the implementations were changed to return `Left`. [#741](https://github.com/yesodweb/persistent/pull/741) + * Improve error message when a SQL insert fails with a custom primary key [#757](https://github.com/yesodweb/persistent/pull/757) + * Reverts [#723](https://github.com/yesodweb/persistent/pull/723), which generalized functions using the `BackendCompatible` class. These changes were an accidental breaking change. + * Recommend the `PersistDbSpecific` docs if someone gets an error about converting from `PersistDbSpecific` + * Many of the functions have been generalized using the `BackendCompatible` class. [#723](https://github.com/yesodweb/persistent/pull/723) + * This change was an accidental breaking change and was reverted in 2.7.3. + * These change will be released in a future version of Persistent with a major version bump. + * Add raw sql quasi quoters [#717](https://github.com/yesodweb/persistent/pull/717) + * Added an `insertUniqueEntity` function [#718](https://github.com/yesodweb/persistent/pull/718) + * Added `BackendCompatible` class [#701](https://github.com/yesodweb/persistent/pull/701) + +------------------------------------------------------------------- Old: ---- persistent-2.7.0.tar.gz New: ---- persistent-2.8.2.tar.gz persistent.cabal ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ghc-persistent.spec ++++++ --- /var/tmp/diff_new_pack.0mATQ5/_old 2018-05-30 12:26:46.087391333 +0200 +++ /var/tmp/diff_new_pack.0mATQ5/_new 2018-05-30 12:26:46.091391196 +0200 @@ -1,7 +1,7 @@ # # spec file for package ghc-persistent # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 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,13 +19,14 @@ %global pkg_name persistent %bcond_with tests Name: ghc-%{pkg_name} -Version: 2.7.0 +Version: 2.8.2 Release: 0 Summary: Type-safe, multi-backend data serialization License: MIT Group: Development/Libraries/Haskell URL: https://hackage.haskell.org/package/%{pkg_name} Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz +Source1: https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/1.cabal#/%{pkg_name}.cabal BuildRequires: ghc-Cabal-devel BuildRequires: ghc-aeson-devel BuildRequires: ghc-attoparsec-devel @@ -35,11 +36,9 @@ BuildRequires: ghc-bytestring-devel BuildRequires: ghc-conduit-devel BuildRequires: ghc-containers-devel -BuildRequires: ghc-exceptions-devel BuildRequires: ghc-fast-logger-devel +BuildRequires: ghc-haskell-src-meta-devel BuildRequires: ghc-http-api-data-devel -BuildRequires: ghc-lifted-base-devel -BuildRequires: ghc-monad-control-devel BuildRequires: ghc-monad-logger-devel BuildRequires: ghc-mtl-devel BuildRequires: ghc-old-locale-devel @@ -53,12 +52,14 @@ BuildRequires: ghc-template-haskell-devel BuildRequires: ghc-text-devel BuildRequires: ghc-time-devel -BuildRequires: ghc-transformers-base-devel BuildRequires: ghc-transformers-devel +BuildRequires: ghc-unliftio-core-devel BuildRequires: ghc-unordered-containers-devel BuildRequires: ghc-vector-devel +BuildRequires: ghc-void-devel %if %{with tests} BuildRequires: ghc-hspec-devel +BuildRequires: ghc-monad-control-devel %endif %description @@ -78,6 +79,7 @@ %prep %setup -q -n %{pkg_name}-%{version} +cp -p %{SOURCE1} %{pkg_name}.cabal %build %ghc_lib_build @@ -95,7 +97,7 @@ %ghc_pkg_recache %files -f %{name}.files -%doc LICENSE +%license LICENSE %files devel -f %{name}-devel.files %doc ChangeLog.md README.md ++++++ persistent-2.7.0.tar.gz -> persistent-2.8.2.tar.gz ++++++ ++++ 2385 lines of diff (skipped) ++++++ persistent.cabal ++++++ name: persistent version: 2.8.2 x-revision: 1 license: MIT license-file: LICENSE author: Michael Snoyman <[email protected]> maintainer: Michael Snoyman <[email protected]>, Greg Weber <[email protected]> synopsis: Type-safe, multi-backend data serialization. description: Hackage documentation generation is not reliable. For up to date documentation, please see: <http://www.stackage.org/package/persistent>. category: Database, Yesod stability: Stable cabal-version: >= 1.8 build-type: Simple homepage: http://www.yesodweb.com/book/persistent bug-reports: https://github.com/yesodweb/persistent/issues extra-source-files: ChangeLog.md README.md flag nooverlap default: False description: test out our assumption that OverlappingInstances is just for String library if flag(nooverlap) cpp-options: -DNO_OVERLAP build-depends: base >= 4.8 && < 5 , bytestring >= 0.9 , transformers >= 0.2.1 , time >= 1.1.4 , old-locale , text >= 0.8 , containers >= 0.2 , conduit >= 1.2.8 , resourcet >= 1.1.10 , resource-pool >= 0.2.2.0 , path-pieces >= 0.1 , http-api-data >= 0.2 && < 0.4 , aeson >= 0.5 , monad-logger >= 0.3.28 , base64-bytestring , unordered-containers , vector , attoparsec , template-haskell , haskell-src-meta , blaze-html >= 0.5 , blaze-markup >= 0.5.1 , silently , mtl , fast-logger >= 2.1 , scientific , tagged , unliftio-core , void exposed-modules: Database.Persist Database.Persist.Quasi Database.Persist.Types Database.Persist.Class Database.Persist.Sql Database.Persist.Sql.Util Database.Persist.Sql.Types.Internal other-modules: Database.Persist.Types.Base Database.Persist.Class.DeleteCascade Database.Persist.Class.PersistEntity Database.Persist.Class.PersistQuery Database.Persist.Class.PersistUnique Database.Persist.Class.PersistConfig Database.Persist.Class.PersistField Database.Persist.Class.PersistStore Database.Persist.Sql.Migration Database.Persist.Sql.Internal Database.Persist.Sql.Types Database.Persist.Sql.Raw Database.Persist.Sql.Raw.QQ Database.Persist.Sql.Run Database.Persist.Sql.Class Database.Persist.Sql.Orphan.PersistQuery Database.Persist.Sql.Orphan.PersistStore Database.Persist.Sql.Orphan.PersistUnique ghc-options: -Wall test-suite test type: exitcode-stdio-1.0 main-is: test/main.hs build-depends: base >= 4.8 && < 5 , hspec >= 1.3 , containers , text , unordered-containers , time , old-locale , bytestring , vector , base64-bytestring , attoparsec , transformers , path-pieces , http-api-data >= 0.2 && < 0.4 , aeson , resourcet , monad-logger , conduit , monad-control , blaze-html , scientific , tagged , fast-logger >= 2.1 , mtl , template-haskell , resource-pool cpp-options: -DTEST other-modules: Database.Persist.Class.PersistEntity Database.Persist.Class.PersistField Database.Persist.Quasi Database.Persist.Types Database.Persist.Types.Base source-repository head type: git location: git://github.com/yesodweb/persistent.git
