diff --git a/changelog.md b/changelog.md index 8bdbb0fc76..697727faa2 100644 --- a/changelog.md +++ b/changelog.md @@ -1,6 +1,13 @@ Changelog ========= +## v0.5.11 - April 7, 2011 + +Added DISCARD + +I originally didn't think DISCARD would do anything here because of the clever MULTI interface, but somebody +pointed out to me that DISCARD can be used to flush the WATCH set. + ## v0.5.10 - April 6, 2011 Added HVALS diff --git a/index.js b/index.js index 241d94f3bb..65cb02584b 100644 --- a/index.js +++ b/index.js @@ -585,7 +585,7 @@ function Multi(client, args) { "getbit", "setbit", "getrange", "setrange", // misc "getset", "mset", "msetnx", "randomkey", "select", "move", "rename", "renamenx", "expire", "expireat", "keys", "dbsize", "ping", "echo", - "save", "bgsave", "bgwriteaof", "shutdown", "lastsave", "type", "sync", "flushdb", "flushall", "sort", "info", + "save", "bgsave", "bgwriteaof", "shutdown", "lastsave", "type", "sync", "flushdb", "flushall", "sort", "info", "discard", "monitor", "ttl", "persist", "slaveof", "debug", "config", "subscribe", "unsubscribe", "psubscribe", "punsubscribe", "publish", "watch", "unwatch", "quit" ].forEach(function (command) { diff --git a/package.json b/package.json index 6a0d8c0d7a..7544be8fde 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { "name" : "redis", - "version" : "0.5.10", + "version" : "0.5.11", "description" : "Redis client library", "author": "Matt Ranney ", "contributors": [