wai-rate-limit-postgres 0.4.0.0 → 0.5.0.0
raw patch · 3 files changed
+5/−2 lines, 3 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
CHANGELOG.md view
@@ -3,6 +3,10 @@ `wai-rate-limit-postgres` uses [PVP Versioning][1]. The changelog is available [on GitHub][2]. +## 0.5.0.0++* Remove last remaining debug print statement+ ## 0.4.0.0 * Fix encoding bug by changing key type to `bytea` (#5)
src/Network/Wai/RateLimit/Postgres.hs view
@@ -86,7 +86,6 @@ pgBackendIncAndGetUsage :: Pool PG.Connection -> Text -> ByteString -> Integer -> IO (Either PGBackendError Integer) pgBackendIncAndGetUsage p tableName key usage = withResource p $ \c -> do res <- try $ PG.query c incAndGetQuery (PG.Binary key, usage) `catches` sqlHandlers- print res return $ do rows <- res case rows of
wai-rate-limit-postgres.cabal view
@@ -1,6 +1,6 @@ cabal-version: 3.0 name: wai-rate-limit-postgres-version: 0.4.0.0+version: 0.5.0.0 category: Security, Web, Network synopsis: See README for more info description: