Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package ghc-persistent for openSUSE:Factory checked in at 2022-08-01 21:30:16 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ghc-persistent (Old) and /work/SRC/openSUSE:Factory/.ghc-persistent.new.1533 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-persistent" Mon Aug 1 21:30:16 2022 rev:34 rq:987073 version:2.14.0.2 Changes: -------- --- /work/SRC/openSUSE:Factory/ghc-persistent/ghc-persistent.changes 2022-02-11 23:09:52.187025845 +0100 +++ /work/SRC/openSUSE:Factory/.ghc-persistent.new.1533/ghc-persistent.changes 2022-08-01 21:30:34.729687427 +0200 @@ -1,0 +2,110 @@ +Fri Jun 10 15:19:57 UTC 2022 - Peter Simons <[email protected]> + +- Update persistent to version 2.14.0.2. + ## 2.14.0.2 + + * [#1407](https://github.com/yesodweb/persistent/pull/1407) + * Fix a name shadowing warning. + + ## 2.14.0.1 + + * [#1392](https://github.com/yesodweb/persistent/pull/1392) + * Enhance `selectList` documentation with TypeApplications examples. + * Clarify `selectSource` documentation wording. + * [#1391](https://github.com/yesodweb/persistent/pull/1391) + * Increasing quasi module test coverage, improve error assertions + * [#1401](https://github.com/yesodweb/persistent/pull/1401) + * Change `Entity` back into a regular record and drop the `HasField` + instance. This is technically a breaking change, but [the bug in GHC's + `COMPLETE` annotations](https://gitlab.haskell.org/ghc/ghc/-/issues/15681) + rendered a super common pattern a much more invasive breaking change than + anticipated. As a result, upgrading to `persistent-2.14` was untenable. + + If you *did* upgrade and this broke your codebase *again*, please let me + know and I can release another patch to shim it. + + ## 2.14.0.0 + + * [#1343](https://github.com/yesodweb/persistent/pull/1343) + * Implement Type Literal based field definitions + * [#1387](https://github.com/yesodweb/persistent/pull/1387) + * Better UX with `insert`. We now report a type error when you try to + `insert` an `Entity` or a function, and we also forbid `insert`ing if the + database would throw an error missing a primary key. + * [#1383](https://github.com/yesodweb/persistent/pull/1383) + * Primary keys have a `NonEmpty` of fields, not a `[]` of fields. + * A `Primary` key on an entity now creates a `Unique` constructror for that + record, with the name `#{entityName}PrimaryKey`. This also affects the + generation of `AtLeastOneUniqueKey` and `OnlyOneUniqueKey` instances, so + you may need to change behavior on these classes. + * [#1381](https://github.com/yesodweb/persistent/pull/1381) + * `Entity` is given a `HasField` instance that uses the database field + names. This is primarily done to support `OverloadedRecordDot` in GHC 9.2 + and above. + * A consequence of this is that the `Entity` constructor has been renamed to + `Entity'`. A pattern synonym is provided that should work in almost all + cases. You may incur a `MonadFail m` constraint if you are pattern + matching directly on the constructor in a `do` result. + * [#1364](https://github.com/yesodweb/persistent/pull/1346) + * The type `SomePersistField` was removed in favor of using `PersistValue` + directly. + * [#1386](https://github.com/yesodweb/persistent/pull/1386) + * The module `Database.Persist.Class.DeleteCascade` was deleted since you + can put cascade behavior directly on your database models. + * Removed `mkSave` from `Database.Persist.TH`. Use `mkEntityDefList` + instead. + * Remove the `CompositeDef` constructor from `ReferenceDef` which was not + used internally anymore. + * [#1385](https://github.com/yesodweb/persistent/pull/1385) + * The support for entity-level sum types is deprecated. It adds a + considerable amount of complexity to the code, and the pattern is not + particularly good for actually supporting sum types in most databases. + * [#1384](https://github.com/yesodweb/persistent/pull/1384) + * Add `tabulateEntityA` to the `PersistEntity` class, allowing you to + construct an `Entity a` by providing a function `EntityField a t -> f t`. + Note that this doesn't make sense for sum entities, and the implementation + `error`s. + * Add `tabulateEntity` as a pure version of that. + + ## 2.13.3.5 + + * [#1374](https://github.com/yesodweb/persistent/pull/1374) + * Increasing test coverage for errors thrown when parsing entity definitions + + ## 2.13.3.4 + * [#1379](https://github.com/yesodweb/persistent/pull/1379) + * `mkPersist` now generates code that compiles under `NoFieldSelectors` and `DuplicateRecordFields` even if field labels are not prefixed + * [#1376](https://github.com/yesodweb/persistent/pull/1376) + * Add coverage for parsing nested parens/lists in field types + * [#1370](https://github.com/yesodweb/persistent/pull/1370) + * Add spec to assert Persistent.TH is the only import required when defining entities + +------------------------------------------------------------------- +Tue Mar 15 14:49:55 UTC 2022 - Peter Simons <[email protected]> + +- Update persistent to version 2.13.3.3. + ## 2.13.3.3 + + * [#1369](https://github.com/yesodweb/persistent/pull/1369) + * Fix `withObject` needing to be imported + +------------------------------------------------------------------- +Mon Mar 14 19:11:29 UTC 2022 - Peter Simons <[email protected]> + +- Update persistent to version 2.13.3.2. + ## 2.13.3.2 + + * [#1315](https://github.com/yesodweb/persistent/pull/1315) + * Refactor entity constraint parsing in Quasi module + + ## 2.13.3.1 + + * [#1367](https://github.com/yesodweb/persistent/pull/1367), + [#1366](https://github.com/yesodweb/persistent/pull/1367), + [#1338](https://github.com/yesodweb/persistent/pull/1338), + [#1335](https://github.com/yesodweb/persistent/pull/1335) + * Support GHC 9.2 + * [#1356](https://github.com/yesodweb/persistent/pull/1356) + * Improve parse errors in generated FromJSON instances + +------------------------------------------------------------------- Old: ---- persistent-2.13.3.0.tar.gz New: ---- persistent-2.14.0.2.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ghc-persistent.spec ++++++ --- /var/tmp/diff_new_pack.38xUC5/_old 2022-08-01 21:30:35.361689241 +0200 +++ /var/tmp/diff_new_pack.38xUC5/_new 2022-08-01 21:30:35.369689264 +0200 @@ -19,7 +19,7 @@ %global pkg_name persistent %bcond_with tests Name: ghc-%{pkg_name} -Version: 2.13.3.0 +Version: 2.14.0.2 Release: 0 Summary: Type-safe, multi-backend data serialization License: MIT ++++++ persistent-2.13.3.0.tar.gz -> persistent-2.14.0.2.tar.gz ++++++ ++++ 2936 lines of diff (skipped)
