Changelog for postgresql-query-3.3.0
CHANGELOG
3.3.0
Changed
- Support for ghc-8.2 (Catherine Galkina)
- Relax dependency constraints for inflections (Dmitry Bushev)
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
pgQueryWithMasker
andpgExecuteWithMasker
for custom log masker
- Added interpolation syntax
MonadPostgres
type synonim
Changed
- Refactoring of
SqlBuilder
andEntity
modules - Some low-level intefaces changed
2.3.0
Added
derivePgEnum
TH generator for enum fields
Changed
- TH code splitted to modules
2.2.0
Added
MonadHReader
instance forPgMonadT
2.1.0
Changed
- use hset-2.0 and hreader-1.0
2.0.0
Changed
-
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.
1.4.0
Changed
eoDeriveClasse
renamed toeoDeriveClasses
Added
- Grammar added to documentation
1.3.1
Changed
- work with
hset-1.0.0
1.3.0
Added
- dependency from
hreader
andhset
HasPostgres
instance forHReaderT
transformer
1.2.1
- remove version constraints for
transformers
package
1.2.0
Added
pgWithTransactionMode
and its friends, likepgWithTransactionSerializable
added.
1.1.1
Changed
pgInsertManyEntities
returns count of inserted entitiespgDeleteEntity
returns True if entity was actually deletedpgUpdateEntity
returns True if entity was actually updated
1.1.0
Added
deriveEntity
- TH derivationEntity
instances for you typesderiveEverything
- TH derivation ofEntity
,ToRow
andFromRow
in one shot
Changed
- Docs improoved
1.0.1
The first usable version