pqi-ffi 1.0.0.1 → 1.0.1.0
raw patch · 3 files changed
+11/−5 lines, 3 filesdep ~pqiPVP ok
version bump matches the API change (PVP)
Dependency ranges changed: pqi
API changes (from Hackage documentation)
Files
- CHANGELOG.md +6/−0
- pqi-ffi.cabal +2/−2
- src/library/Pqi/Ffi.hs +3/−3
CHANGELOG.md view
@@ -1,3 +1,9 @@+# v1.0.1.0++## Non-breaking++- Picked up `pqi` 1.1.0.0, which renamed `Notify`'s fields to `notifyRelname`/`notifyBePid`/`notifyExtra` to match `postgresql-libpq`+ # v1.0.0.1 Doc corrections.
pqi-ffi.cabal view
@@ -1,6 +1,6 @@ cabal-version: 3.0 name: pqi-ffi-version: 1.0.0.1+version: 1.0.1.0 category: Database, PostgreSQL synopsis: FFI adapter for pqi, backed by postgresql-libpq description:@@ -91,7 +91,7 @@ base >=4.11 && <5, bytestring >=0.10 && <0.13, postgresql-libpq >=0.11 && <0.12,- pqi ^>=1.0,+ pqi ^>=1.1, test-suite ffi-test import: test
src/library/Pqi/Ffi.hs view
@@ -189,9 +189,9 @@ fromNotify :: Pq.Notify -> Pqi.Notify fromNotify notification = Pqi.Notify- { Pqi.relname = Pq.notifyRelname notification,- Pqi.bePid = fromIntegral (Pq.notifyBePid notification),- Pqi.extra = Pq.notifyExtra notification+ { Pqi.notifyRelname = Pq.notifyRelname notification,+ Pqi.notifyBePid = fromIntegral (Pq.notifyBePid notification),+ Pqi.notifyExtra = Pq.notifyExtra notification } toFormat :: Pqi.Format -> Pq.Format