Changelog for postgresql-query-3.2.0
CHANGELOG
3.2.0
Changed
- Change interface of
deriveEntity: now you can state the schema of table of entity. (by @4e6)
3.1.0
Changed
- Support for inflections-0.3 (fixed buildability). Tested with LTS 8.5
3.0.1
Changed
- Buildability with ghc-8.0.1
3.0.0
Added
- Ability to mask some sensitive query arguments in query logs. In case you dont
want someone can see your secret data in logs.
- Added interpolation syntax
#?{argumentExpression}for masked parameters - Added
pgQueryWithMaskerandpgExecuteWithMaskerfor custom log masker
- Added interpolation syntax
MonadPostgrestype synonim
Changed
- Refactoring of
SqlBuilderandEntitymodules - Some low-level intefaces changed
2.3.0
Added
derivePgEnumTH generator for enum fields
Changed
- TH code splitted to modules
2.2.0
Added
MonadHReaderinstance forPgMonadT
2.1.0
Changed
- use hset-2.0 and hreader-1.0
2.0.0
Changed
-
Entitytypeclass now useFNinstead ofText. This provides an ability to define dot-separated table names likeschemaname.tablename. This changes breaks backward compatibility, so major version is bumped to 2. -
TH code changed according to changes in
Entitytypeclass.
1.4.0
Changed
eoDeriveClasserenamed toeoDeriveClasses
Added
- Grammar added to documentation
1.3.1
Changed
- work with
hset-1.0.0
1.3.0
Added
- dependency from
hreaderandhset HasPostgresinstance forHReaderTtransformer
1.2.1
- remove version constraints for
transformerspackage
1.2.0
Added
pgWithTransactionModeand its friends, likepgWithTransactionSerializableadded.
1.1.1
Changed
pgInsertManyEntitiesreturns count of inserted entitiespgDeleteEntityreturns True if entity was actually deletedpgUpdateEntityreturns True if entity was actually updated
1.1.0
Added
deriveEntity- TH derivationEntityinstances for you typesderiveEverything- TH derivation ofEntity,ToRowandFromRowin one shot
Changed
- Docs improoved
1.0.1
The first usable version