packages feed

hedis 0.14.1 → 0.14.2

raw patch · 4 files changed

+18/−3 lines, 4 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

CHANGELOG view
@@ -1,5 +1,10 @@ # Changelog for Hedis +## 0.14.2++* PR #163. support for redis 6.0 COMMAND format+* PR #164. remove invalid tests for Redis Cluster+ ## 0.14.1  * PR #162. Improved documentation for EVALSHA
hedis.cabal view
@@ -1,5 +1,5 @@ name:               hedis-version:            0.14.1+version:            0.14.2 synopsis:     Client library for the Redis datastore: supports full command set,     pipelining.
src/Database/Redis/Cluster/Command.hs view
@@ -86,6 +86,17 @@         parseLastKeyPos = return $ case lastKeyPos of             i | i < 0 -> UnlimitedKeys (-i - 1)             i -> LastKeyPosition i+    -- since redis 6.0+    decode (MultiBulk (Just+        [ name@(Bulk (Just _))+        , arity@(Integer _)+        , flags@(MultiBulk (Just _))+        , firstPos@(Integer _)+        , lastPos@(Integer _)+        , step@(Integer _)+        , MultiBulk _  -- ACL categories+        ])) =+        decode (MultiBulk (Just [name, arity, flags, firstPos, lastPos, step]))      decode e = Left e 
test/ClusterMain.hs view
@@ -32,8 +32,7 @@     [testBgrewriteaof, testFlushall, testSlowlog, testDebugObject]  testsConnection :: [Test]-testsConnection = [ testConnectAuthUnexpected, testConnectDb-                  , testConnectDbUnexisting, testEcho, testPing+testsConnection = [ testConnectAuthUnexpected, testEcho, testPing                   ]  testsKeys :: [Test]