瀏覽代碼

Switch to Redis 2.2 as the default server profile.

Daniele Alessandri 14 年之前
父節點
當前提交
e398ff977e
共有 2 個文件被更改,包括 4 次插入1 次删除
  1. 3 0
      CHANGELOG
  2. 1 1
      lib/Predis.php

+ 3 - 0
CHANGELOG

@@ -1,4 +1,7 @@
 v0.6.6 (2011-xx-xx)
+  * Switched to Redis 2.2 as the default server profile (there are no changes 
+    that would break compatibility with previous releases).
+
   * Added a VERSION constant to Predis\Client.
 
   * Some performance improvements for multibulk replies (parsing them is about 

+ 1 - 1
lib/Predis.php

@@ -1620,7 +1620,7 @@ abstract class RedisServerProfile {
             '1.2'     => '\Predis\RedisServer_v1_2',
             '2.0'     => '\Predis\RedisServer_v2_0',
             '2.2'     => '\Predis\RedisServer_v2_2',
-            'default' => '\Predis\RedisServer_v2_0',
+            'default' => '\Predis\RedisServer_v2_2',
             'dev'     => '\Predis\RedisServer_vNext',
         );
     }