hedis 0.12.13 → 0.12.14
raw patch · 4 files changed
+14/−4 lines, 4 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
+ Database.Redis: ConnectTimeout :: ConnectPhase -> ConnectTimeout
+ Database.Redis: data ConnectTimeout
Files
- CHANGELOG +4/−0
- hedis.cabal +6/−2
- src/Database/Redis.hs +3/−2
- src/Database/Redis/ProtocolPipelining.hs +1/−0
CHANGELOG view
@@ -1,5 +1,9 @@ # Changelog for Hedis +## 0.12.14++* PR #153. Publicly expose ConnectTimeout exception+ ## 0.12.13 * PR #150, Issue #143. Leaking sockets when connection fails
hedis.cabal view
@@ -1,5 +1,5 @@ name: hedis-version: 0.12.13+version: 0.12.14 synopsis: Client library for the Redis datastore: supports full command set, pipelining.@@ -43,7 +43,7 @@ copyright: Copyright (c) 2011 Falko Peters category: Database build-type: Simple-cabal-version: >=1.8+cabal-version: >=1.10 homepage: https://github.com/informatikr/hedis bug-reports: https://github.com/informatikr/hedis/issues extra-source-files: CHANGELOG@@ -58,6 +58,7 @@ manual: True library+ default-language: Haskell2010 hs-source-dirs: src ghc-options: -Wall -fwarn-tabs if impl(ghc >= 8.6.0)@@ -102,6 +103,7 @@ Database.Redis.URL benchmark hedis-benchmark+ default-language: Haskell2010 type: exitcode-stdio-1.0 main-is: benchmark/Benchmark.hs build-depends:@@ -116,6 +118,7 @@ ghc-prof-options: -auto-all test-suite hedis-test+ default-language: Haskell2010 type: exitcode-stdio-1.0 hs-source-dirs: test main-is: Test.hs@@ -140,6 +143,7 @@ ghc-prof-options: -auto-all test-suite doctest+ default-language: Haskell2010 type: exitcode-stdio-1.0 main-is: DocTest.hs ghc-options: -O0 -rtsopts
src/Database/Redis.hs view
@@ -178,7 +178,8 @@ -- * Low-Level Command API sendRequest,- Reply(..),Status(..),RedisResult(..),ConnectionLostException(..),+ Reply(..), Status(..), RedisResult(..), ConnectionLostException(..),+ ConnectTimeout(..) -- |[Solution to Exercise] --@@ -196,7 +197,7 @@ import Database.Redis.PubSub import Database.Redis.Protocol import Database.Redis.ProtocolPipelining- (PortID(..), ConnectionLostException(..))+ (PortID(..), ConnectionLostException(..), ConnectTimeout(..)) import Database.Redis.Transactions import Database.Redis.Types import Database.Redis.URL
src/Database/Redis/ProtocolPipelining.hs view
@@ -20,6 +20,7 @@ Connection, connect, enableTLS, beginReceiving, disconnect, request, send, recv, flush, ConnectionLostException(..),+ ConnectTimeout(..), PortID(..) ) where