|
@@ -1,25 +1,18 @@
|
|
|
v0.6.0
|
|
|
- * New commands added for the Redis 2.0 (DEV) profile:
|
|
|
+ * Completely switched to the new multi-bulk request protocol for all of the
|
|
|
+ commands in the Redis 1.2 and Redis 2.0 profiles. Inline and bulk requests
|
|
|
+ are now deprecated as they will be removed in future releases of Redis.
|
|
|
+
|
|
|
+ * Support for Redis 1.0 is now optional and it is provided by requiring
|
|
|
+ 'Predis_Compatibility.php' before creating an instance of \Predis\Client.
|
|
|
+
|
|
|
+ * New commands added to the Redis 2.0 profile since Predis 0.5.1:
|
|
|
- Strings: APPEND, SUBSTR
|
|
|
- ZSets : ZCOUNT, ZRANK, ZUNION, ZINTER, ZREMBYRANK, ZREVRANK
|
|
|
- Hashes : HSET, HINCRBY, HGET, HDEL, HEXISTS, HLEN, HKEYS, HVALS,
|
|
|
HGETALL
|
|
|
- Misc. : DISCARD, CONFIG
|
|
|
|
|
|
- * The GET parameter for the SORT command now accepts also multiple key
|
|
|
- patterns by passing an array of strings.
|
|
|
-
|
|
|
- * KEYS will return a multibulk reply starting from Redis 2.0 (DEV). Predis
|
|
|
- handles this change in a backwards-compatible way.
|
|
|
-
|
|
|
- * Switched to class-based handlers instead of anonymous functions to
|
|
|
- handle the various server response types.
|
|
|
-
|
|
|
- * CommandPipeline and MultiExecBlock return their instances when invoking
|
|
|
- commands, thus allowing method chaining in pipelines and multi-exec blocks.
|
|
|
-
|
|
|
- * MultiExecBlock instances can handle the new DISCARD command.
|
|
|
-
|
|
|
* Introduced client-level options with the new Predis\ClientOptions class.
|
|
|
Options can be passed to Predis\Client::__construct in its second argument
|
|
|
as an array or an instance of Predis\ClientOptions. For brevity's sake and
|
|
@@ -66,6 +59,20 @@ v0.6.0
|
|
|
* Connections now support float values for the connection_timeout parameter
|
|
|
to express timeouts with a microsecond resolution.
|
|
|
|
|
|
+ * CommandPipeline and MultiExecBlock return their instances when invoking
|
|
|
+ commands, thus allowing method chaining in pipelines and multi-exec blocks.
|
|
|
+
|
|
|
+ * MultiExecBlock instances can handle the new DISCARD command.
|
|
|
+
|
|
|
+ * The GET parameter for the SORT command now accepts also multiple key
|
|
|
+ patterns by passing an array of strings.
|
|
|
+
|
|
|
+ * KEYS will return a multibulk reply starting from Redis 2.0 (DEV). Predis
|
|
|
+ handles this change in a backwards-compatible way.
|
|
|
+
|
|
|
+ * Switched to class-based handlers instead of anonymous functions to
|
|
|
+ handle the various server response types.
|
|
|
+
|
|
|
v0.5.1
|
|
|
* RPOPLPUSH has been changed from bulk command to inline command in Redis
|
|
|
1.2.1, so ListPopLastPushHead now extends InlineCommand. The old RPOPLPUSH
|