- Support for ghc-8.2 (Catherine Galkina)
- Relax dependency constraints for inflections (Dmitry Bushev)
- Change interface of
deriveEntity
: now you can state the schema of table of entity. (by @4e6)
- Support for inflections-0.3 (fixed buildability). Tested with LTS 8.5
- Buildability with ghc-8.0.1
- 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
pgQueryWithMasker
andpgExecuteWithMasker
for custom log masker
- Added interpolation syntax
MonadPostgres
type synonim
- Refactoring of
SqlBuilder
andEntity
modules - Some low-level intefaces changed
derivePgEnum
TH generator for enum fields
- TH code splitted to modules
MonadHReader
instance forPgMonadT
- use hset-2.0 and hreader-1.0
-
Entity
typeclass now useFN
instead 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
Entity
typeclass.
eoDeriveClasse
renamed toeoDeriveClasses
- Grammar added to documentation
- work with
hset-1.0.0
- dependency from
hreader
andhset
HasPostgres
instance forHReaderT
transformer
- remove version constraints for
transformers
package
pgWithTransactionMode
and its friends, likepgWithTransactionSerializable
added.
pgInsertManyEntities
returns count of inserted entitiespgDeleteEntity
returns True if entity was actually deletedpgUpdateEntity
returns True if entity was actually updated
deriveEntity
- TH derivationEntity
instances for you typesderiveEverything
- TH derivation ofEntity
,ToRow
andFromRow
in one shot
- Docs improoved
The first usable version