|
 |
 |
 |
Changelog for ghc-persistent-doc-2.14.6.3-1.14.noarch.rpm :
* Wed Aug 28 2024 Peter Simons - Update persistent to version 2.14.6.3. [#]# 2.14.6.3 * [#1544](https://github.com/yesodweb/persistent/pull/1544) * Fix type error message when no unique keys are defined on a model and you use a function with constraint `AtLeastOneUniqueKey`. * Fri Jul 19 2024 Peter Simons - Update persistent to version 2.14.6.2. [#]# 2.14.6.2 * [#1536](https://github.com/yesodweb/persistent/pull/1536/) * Build with GHC 9.10 * Tue Mar 12 2024 Peter Simons - Drop obsolete \'drop-dependency-on-empty-attoparsec-aeson-library.patch\'. * Thu Feb 08 2024 Peter Simons - Update persistent to version 2.14.6.1. [#]# 2.14.6.1 * [#1528](https://github.com/yesodweb/persistent/pull/1528) * The `PersistField Int{,8,16,32,64}` instances will now work with a `PersistRational`, provided that the denominator is 1. This fixes the bug where `SUM` in Postgres would change the type of a column being summed. * Tue Oct 03 2023 Peter Simons - Update persistent to version 2.14.6.0. [#]# 2.14.6.0 * [#1477](https://github.com/yesodweb/persistent/pull/1477) * Qualified references to other tables will work * [#1503](https://github.com/yesodweb/persistent/pull/1503) * Create Haddocks from entity documentation comments * [1497](https://github.com/yesodweb/persistent/pull/1497) * Always generates `SymbolToField \"id\"` instance * [#1509](https://github.com/yesodweb/persistent/pull/1509) * Provide `ViaPersistEntity` for defining `PathMultiPiece` for entity keys. * [#1480](https://github.com/yesodweb/persistent/pull/1480) * Add `mpsAvoidHsKeyword` in `MkPersistSettings` * [#]# 2.14.5.2 * [#1513](https://github.com/yesodweb/persistent/pull/1513) * Support GHC 9.8 and `aeson-2.2`- Apply drop-dependency-on-empty-attoparsec-aeson-library.patch to fix the build. * Mon Jul 03 2023 Peter Simons - Update persistent to version 2.14.5.1 revision 1. Upstream has revised the Cabal build instructions on Hackage. * Wed Jun 28 2023 Peter Simons - Update persistent to version 2.14.5.1. [#]# 2.14.5.1 * [#1496](https://github.com/yesodweb/persistent/pull/1496) * Fixes name shadowing error at the generated `keyFromRecordM` function. * [#1505](https://github.com/yesodweb/persistent/pull/1505) * Fixes the comment line parsing rule so that accommodates paragraph breaks. * Thu Mar 30 2023 Peter Simons - Updated spec file to conform with ghc-rpm-macros-2.5.2. * Sat Mar 04 2023 Peter Simons - Update persistent to version 2.14.5.0. Upstream has edited the change log file since the last release in a non-trivial way, i.e. they did more than just add a new entry at the top. You can review the file at: http://hackage.haskell.org/package/persistent-2.14.5.0/src/ChangeLog.md * Thu Jan 05 2023 Peter Simons - Update persistent to version 2.14.4.4. [#]# 2.14.4.4 * [#1460] https://github.com/yesodweb/persistent/pull/1460 * Fix a problem where a `Primary` key causes `mkPersist` to generate code that doesn\'t compile under `NoFieldSelectors` * Sat Dec 17 2022 Peter Simons - Update persistent to version 2.14.4.3. [#]# 2.14.4.3 * [#1452](https://github.com/yesodweb/persistent/pull/1452) * Implement `repsert` as a special case of `respertMany`. Allows backend specific behavior. * Mon Dec 05 2022 Peter Simons - Update persistent to version 2.14.4.2. [#]# 2.14.4.2 * [#1451](https://github.com/yesodweb/persistent/pull/1451) * Support `mtl >= 2.3` [#]# 2.14.4.1 * [#1449](https://github.com/yesodweb/persistent/pull/1449) * Default implementation for `insert_` which doesn\'t perform any unnecessary queries. * Sat Dec 03 2022 Peter Simons - Update persistent to version 2.14.4.0. [#]# 2.14.4.0 * [#1440](https://github.com/yesodweb/persistent/pull/1440) * Defined NFData PersistValue [#]# 2.14.3.2 * [#1446](https://github.com/yesodweb/persistent/pull/1446) * Foreign key discovery was fixed for qualified names, `Key Model`, and `Maybe` references. * [#1438](https://github.com/yesodweb/persistent/pull/1438) * Clarify wording on the error message for null in unique constraint * [#1447](https://github.com/yesodweb/persistent/pull/1447) * Fix `SafeToInsert` not being generated correctly for some `Id` columns [#]# 2.14.3.1 * [#1428](https://github.com/yesodweb/persistent/pull/1428) * Fix that the documentation for `discoverEntities` was not being generated. * Wed Oct 19 2022 Peter Simons - Update persistent to version 2.14.3.0 revision 1. Upstream has revised the Cabal build instructions on Hackage. * Mon Sep 12 2022 Peter Simons - Update persistent to version 2.14.3.0. [#]# 2.14.3.0 * [#1425](https://github.com/yesodweb/persistent/pull/1425) * Introduce an alias `setPsUseSnakeCaseForeignKeys` for `setPsUseSnakeCaseForiegnKeys` due to a typo in the latter; deprecate `setPsUseSnakeCaseForiegnKeys` * Wed Aug 24 2022 Peter Simons - Update persistent to version 2.14.2.0. [#]# 2.14.2.0 * [#1421](https://github.com/yesodweb/persistent/pull/1421) * Add `mpsCamelCaseCompositeKeySelector` field to `MkPersistSettings`, which define the style of the entity\'s composite key. * Thu Aug 11 2022 Peter Simons - Update persistent to version 2.14.1.0. [#]# 2.14.1.0 * [#1418](https://github.com/yesodweb/persistent/pull/1418/) * Re-export `SafeToInsert` from `Database.Persist.Class`, which should re-export it through `Database.Persist`, `Database.Persist.Sql`, etc. * [#1409](https://github.com/yesodweb/persistent/pull/1409) * Fix incorrect reference to rawSql in documentation. * Wed Jul 27 2022 Peter Simons - Update persistent to version 2.14.0.3 revision 1. Upstream has revised the Cabal build instructions on Hackage. * Wed Jul 20 2022 Peter Simons - Update persistent to version 2.14.0.3. [#]# 2.14.0.3 * [#1411](https://github.com/yesodweb/persistent/pull/1411) * Fix the docs for `FieldNameDB`, and update `FieldDef.fieldComments` docs since the quasiquoter *supports * field comments now. * Fri Jun 10 2022 Peter Simons - 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 2022 Peter Simons - 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 2022 Peter Simons - 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 * Sat Jan 29 2022 Peter Simons - Update persistent to version 2.13.3.0. [#]# 2.13.3.0 * [#1341](https://github.com/yesodweb/persistent/pull/1341) * Add `SqlBackendHooks` to allow for instrumentation of queries. * [#1327](https://github.com/yesodweb/persistent/pull/1327) * Update `SqlBackend` to use new `StatementCache` interface instead of `IORef (Map Text Statement)` [#]# 2.13.2.2 * [#1351](https://github.com/yesodweb/persistent/pull/1351/) * `aeson-2.0` support
|
|
|