From 9398a793a5f0280d789c19fc70e479207dc48da8 Mon Sep 17 00:00:00 2001 From: Daniele Alessandri Date: Wed, 25 May 2016 11:25:12 +0200 Subject: [PATCH] Bump default server profile to Redis 3.2. --- CHANGELOG.md | 2 ++ phpunit.xml.dist | 2 +- phpunit.xml.travisci | 2 +- src/Profile/Factory.php | 2 +- tests/Predis/Profile/FactoryTest.php | 2 +- 5 files changed, 6 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a184f2638..09e682071 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,8 @@ v1.1.0 (2016-0x-xx) ================================================================================ +- Bumped the default server profile used by the client to Redis 3.2. + - Responses to the following commands are not casted into booleans anymore, the original integer value is returned: `SETNX`, `MSETNX`, `SMOVE`, `SISMEMBER`, `HSET`, `HSETNX`, `HEXISTS`, `PFADD`, `EXISTS`, `MOVE`, `PERSIST`, `EXPIRE`, diff --git a/phpunit.xml.dist b/phpunit.xml.dist index ce8aa41fb..610620a52 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -38,7 +38,7 @@ - + diff --git a/phpunit.xml.travisci b/phpunit.xml.travisci index f4e5c873c..3bd2bf044 100644 --- a/phpunit.xml.travisci +++ b/phpunit.xml.travisci @@ -42,7 +42,7 @@ - + diff --git a/src/Profile/Factory.php b/src/Profile/Factory.php index 260fee423..d4907a232 100644 --- a/src/Profile/Factory.php +++ b/src/Profile/Factory.php @@ -29,7 +29,7 @@ final class Factory '3.0' => 'Predis\Profile\RedisVersion300', '3.2' => 'Predis\Profile\RedisVersion320', 'dev' => 'Predis\Profile\RedisUnstable', - 'default' => 'Predis\Profile\RedisVersion300', + 'default' => 'Predis\Profile\RedisVersion320', ); /** diff --git a/tests/Predis/Profile/FactoryTest.php b/tests/Predis/Profile/FactoryTest.php index 00061810c..74048610e 100644 --- a/tests/Predis/Profile/FactoryTest.php +++ b/tests/Predis/Profile/FactoryTest.php @@ -18,7 +18,7 @@ */ class FactoryTest extends PredisTestCase { - const DEFAULT_PROFILE_VERSION = '3.0'; + const DEFAULT_PROFILE_VERSION = '3.2'; const DEVELOPMENT_PROFILE_VERSION = '3.2'; /**