blob: e738d1eb12030b363a6de1426b8b94d433574ce5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
|
# CHANGELOG
## 3.8.1
### Changed
* Compatibility with ghc-8.8.3
## 3.7.0
### Changed
* Use 'HasCallStack' and logging with stack (ilyakooo0)
## 3.6.0
### Changed
* Compatibility with ghc-8.6.5
## 3.5.0
### Changed
* Copatibility with ghc-8.4
* Drop dependency from `derive`
### Fixed
* Implemented method `hlocal`
## 3.4.0
### Removed
* Drop `EitherT` support
## 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` and `pgExecuteWithMasker` for custom log masker
* `MonadPostgres` type synonim
### Changed
* Refactoring of `SqlBuilder` and `Entity` 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 for `PgMonadT`
## 2.1.0
### Changed
* use hset-2.0 and hreader-1.0
## 2.0.0
### Changed
* `Entity` typeclass now use `FN` instead of `Text`. This provides an
ability to define dot-separated table names like
`schemaname.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 to `eoDeriveClasses`
### Added
* Grammar added to documentation
## 1.3.1
### Changed
* work with `hset-1.0.0`
## 1.3.0
### Added
* dependency from `hreader` and `hset`
* `HasPostgres` instance for `HReaderT` transformer
## 1.2.1
* remove version constraints for `transformers` package
## 1.2.0
### Added
* `pgWithTransactionMode` and its friends, like
`pgWithTransactionSerializable` added.
## 1.1.1
### Changed
* `pgInsertManyEntities` returns count of inserted entities
* `pgDeleteEntity` returns True if entity was actually deleted
* `pgUpdateEntity` returns True if entity was actually updated
## 1.1.0
### Added
* `deriveEntity` - TH derivation `Entity` instances for you types
* `deriveEverything` - TH derivation of `Entity`, `ToRow` and `FromRow` in one shot
### Changed
* Docs improoved
## 1.0.1
The first usable version
|