pqi 1.0.0.3 → 1.1.0.0
raw patch · 3 files changed
+10/−4 lines, 3 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
- Pqi: [bePid] :: Notify -> Int32
- Pqi: [extra] :: Notify -> ByteString
- Pqi: [relname] :: Notify -> ByteString
+ Pqi: [notifyBePid] :: Notify -> Int32
+ Pqi: [notifyExtra] :: Notify -> ByteString
+ Pqi: [notifyRelname] :: Notify -> ByteString
Files
- CHANGELOG.md +6/−0
- pqi.cabal +1/−1
- src/library/Pqi.hs +3/−3
CHANGELOG.md view
@@ -1,3 +1,9 @@+# v1.1.0.0++## Breaking++- Renamed `Notify` fields to match `postgresql-libpq` exactly: `relname` → `notifyRelname`, `bePid` → `notifyBePid`, `extra` → `notifyExtra`+ # v1.0.0.3 Doc corrections.
pqi.cabal view
@@ -1,6 +1,6 @@ cabal-version: 3.0 name: pqi-version: 1.0.0.3+version: 1.1.0.0 category: Database, PostgreSQL synopsis: Driver-agnostic interface to the PostgreSQL libpq API description:
src/library/Pqi.hs view
@@ -218,9 +218,9 @@ -- | An asynchronous notification, as returned by 'notifies'. data Notify = Notify- { relname :: ByteString,- bePid :: Int32,- extra :: ByteString+ { notifyRelname :: ByteString,+ notifyBePid :: Int32,+ notifyExtra :: ByteString } deriving stock (Eq, Ord, Show)