Login | Packages | Support | Bugs 

Return

Changelog for redis
Release What has changed?
3.1.3 phpredis 3.1.3

This release contains two big improvements:
1. Adding a new printf like command construction function with additionaly format specifiers specific to phpredis.
2. Implementation of custom objects for Redis and RedisArray wich eliminates double hash lookup.
Also many small improvements and bug fixes were made.

* A printf like method to construct a Redis RESP command [a4a0ed, d75081, bdd287, 0eaeae, b3d00d] (Michael Grunder)
* Use custom objects instead of zend_list for storing Redis/RedisArray [a765f8, 8fa85a] (Pavlo Yatsukhnenko)
* Make sure redisCluster members are all initialized on (re)creation [162d88] (Michael Grunder)
* Fix Null Bulk String response parsing in cluster library [058753] (Alberto Fern?ndez)
* Add hStrLen command [c52077, fb88e1] (Pavlo Yatsukhnenko)
* Add optional COUNT argument to sPop [d2e203] (Michael Grunder)
* Allow sInterStore to take one arg [26aec4, 4cd06b] (Michael Grunder)
* Allow MIGRATE to accept multiple keys [9aa3db] (Michael Grunder)
* Allow using numeric string in zInter command [ba0070] (Pavlo Yatsukhnenko)
* Use crc32 table from PHP distro [f81694] (Pavlo Yatsukhnenko)
* Use ZVAL_DEREF macros for dereference input variables [ad4596] (Pavlo Yatsukhnenko)
* Add configureoption tag to package.xml [750963] (Pavlo Yatsukhnenko)
* Fix read_timeout [18149e, b56dc4] (Pavlo Yatsukhnenko)
* Fix zval_get_string impl for PHP5 [4e56ba] (Pavlo Yatsukhnenko)
* Fix Redis/RedisArray segfaults [be5c1f, 635c3a, 1f8dde, 43e1e0] (Pavlo Yatsukhnenko)
* Fix memory leak and potential segfault [aa6ff7, 88efaa] (Michael Grunder)
* Throw exception for all non recoverable errors [e37239] (Pavlo Yatsukhnenko)
* Assume "NULL bulk" reply as success (empty session data) [4a81e1] (Pavlo Yatsukhnenko)
* Increase read buffers size [520e06] (Pavlo Yatsukhnenko)
* Better documentation [f0c25a, c5991f, 9ec9ae] (Michael Grunder)
* Better TravisCI integration [e37c08] (Pavlo Yatsukhnenko)
* Refactoring (Pavlo Yatsukhnenko, Michael Grunder)
3.1.3RC2 phpredis 3.1.3RC2

This release contains two big improvements:
1. Adding a new printf like command construction function with additionaly format specifiers specific to phpredis.
2. Implementation of custom objects for Redis and RedisArray wich eliminates double hash lookup.
Also many small improvements and bug fixes were made.

* A printf like method to construct a Redis RESP command [a4a0ed, d75081, bdd287, 0eaeae, b3d00d] (Michael Grunder)
* Use custom objects instead of zend_list for storing Redis/RedisArray [a765f8, 8fa85a] (Pavlo Yatsukhnenko)
* Make sure redisCluster members are all initialized on (re)creation [162d88] (Michael Grunder)
* Fix Null Bulk String response parsing in cluster library [058753] (Alberto Fern?ndez)
* Add hStrLen command [c52077, fb88e1] (Pavlo Yatsukhnenko)
* Add optional COUNT argument to sPop [d2e203] (Michael Grunder)
* Allow sInterStore to take one arg [26aec4, 4cd06b] (Michael Grunder)
* Allow MIGRATE to accept multiple keys [9aa3db] (Michael Grunder)
* Allow using numeric string in zInter command [ba0070] (Pavlo Yatsukhnenko)
* Use crc32 table from PHP distro [f81694] (Pavlo Yatsukhnenko)
* Use ZVAL_DEREF macros for dereference input variables [ad4596] (Pavlo Yatsukhnenko)
* Add configureoption tag to package.xml [750963] (Pavlo Yatsukhnenko)
* Fix read_timeout [18149e, b56dc4] (Pavlo Yatsukhnenko)
* Fix zval_get_string impl for PHP5 [4e56ba] (Pavlo Yatsukhnenko)
* Fix Redis/RedisArray segfaults [be5c1f, 635c3a, 1f8dde, 43e1e0] (Pavlo Yatsukhnenko)
* Fix memory leak and potential segfault [aa6ff7, 88efaa] (Michael Grunder)
* Throw exception for all non recoverable errors [e37239] (Pavlo Yatsukhnenko)
* Assume "NULL bulk" reply as success (empty session data) [4a81e1] (Pavlo Yatsukhnenko)
* Increase read buffers size [520e06] (Pavlo Yatsukhnenko)
* Better documentation [f0c25a, c5991f, 9ec9ae] (Michael Grunder)
* Better TravisCI integration [e37c08] (Pavlo Yatsukhnenko)
* Refactoring (Pavlo Yatsukhnenko, Michael Grunder)
3.1.3RC1 phpredis 3.1.3RC1

This release contains two big improvements:
1. Adding a new printf like command construction function with additionaly format specifiers specific to phpredis.
2. Implementation of custom objects for Redis and RedisArray wich eliminates double hash lookup.
Also many small improvements and bug fixes were made.

* A printf like method to construct a Redis RESP command [a4a0ed, d75081, bdd287, 0eaeae, b3d00d] (Michael Grunder)
* Use custom objects instead of zend_list for storing Redis/RedisArray [a765f8, 8fa85a] (Pavlo Yatsukhnenko)
* Make sure redisCluster members are all initialized on (re)creation [162d88] (Michael Grunder)
* Fix Null Bulk String response parsing in cluster library [058753] (Alberto Fern?ndez)
* Add hStrLen command [c52077, fb88e1] (Pavlo Yatsukhnenko)
* Add optional COUNT argument to sPop [d2e203] (Michael Grunder)
* Allow sInterStore to take one arg [26aec4, 4cd06b] (Michael Grunder)
* Allow MIGRATE to accept multiple keys [9aa3db] (Michael Grunder)
* Allow using numeric string in zInter command [ba0070] (Pavlo Yatsukhnenko)
* Use crc32 table from PHP distro [f81694] (Pavlo Yatsukhnenko)
* Use ZVAL_DEREF macros for dereference input variables [ad4596] (Pavlo Yatsukhnenko)
* Add configureoption tag to package.xml [750963] (Pavlo Yatsukhnenko)
* Fix read_timeout [18149e, b56dc4] (Pavlo Yatsukhnenko)
* Fix zval_get_string impl for PHP5 [4e56ba] (Pavlo Yatsukhnenko)
* Fix Redis/RedisArray segfaults [be5c1f, 635c3a, 1f8dde, 43e1e0] (Pavlo Yatsukhnenko)
* Fix memory leak and potential segfault [aa6ff7, 88efaa] (Michael Grunder)
* Throw exception for all non recoverable errors [e37239] (Pavlo Yatsukhnenko)
* Increase read buffers size [520e06] (Pavlo Yatsukhnenko)
* Better documentation [f0c25a, c5991f, 9ec9ae] (Michael Grunder)
* Better TravisCI integration [e37c08] (Pavlo Yatsukhnenko)
* Refactoring (Pavlo Yatsukhnenko, Michael Grunder)
3.1.2 phpredis 3.1.2

* RedisArray segfault fix [564ce3] (Pavlo Yatsukhnenko)
* Small memory leak fix [645888b] (Mike Grunder)
* Segfault fix when recreating RedisCluster objects [abf7d4] (Michael Grunder)
* Fix for RedisCluster bulk response parsing [4121c4] (Alberto Fern?ndez)
* Re allow single array for sInterStore [6ef0c2, d01966] (Michael Grunder)
* Better TravisCI integration [4fd2f6] (Pavlo Yatsukhnenko)
3.1.1 phpredis 3.1.1

* Additional test updates for 32 bit systems (@remicollet)
* ARM rounding issue in tests (@remicollet)
* Use new zend_list_close instead of zend_list_delete when reconnecting.
* Refactoring of redis_boolean_response_impl and redis_sock_write (@yatsukhnenko)

phpredis 3.1.1

This release contains mostly fixes for issues introduced when merging
the php 5 and 7 codebase into a single branch.

* Fixed a segfault in igbinary serialization (@yatsukhnenko)
* Restore 2.2.8/3.0.0 functionality to distinguish between an error
and simply empty session data. (@remicollet)
* Fix double to string conversion function (@yatsukhnenko)
* Use PHP_FE_END definition when available (@remicollet)
* Fixed various 'static function declared but not used' warnings
* Fixes to various calls which were typecasting pointers to the
wrong size. (@remicollet)

* Added php session unit test (@yatsukhnenko)
* Added explicit module dependancy for igbinary (@remicollet)
* Added phpinfo serialization information (@remicollet)
3.1.1RC2 phpredis 3.1.1RC2

* Additional test updates for 32 bit systems (@remicollet)
* ARM rounding issue in tests (@remicollet)
* Use new zend_list_close instead of zend_list_delete when reconnecting.
* Refactoring of redis_boolean_response_impl and redis_sock_write (@yatsukhnenko)

phpredis 3.1.1.RC1

This release contains mostly fixes for issues introduced when merging
the php 5 and 7 codebase into a single branch.

* Fixed a segfault in igbinary serialization (@yatsukhnenko)
* Restore 2.2.8/3.0.0 functionality to distinguish between an error
and simply empty session data. (@remicollet)
* Fix double to string conversion function (@yatsukhnenko)
* Use PHP_FE_END definition when available (@remicollet)
* Fixed various 'static function declared but not used' warnings
* Fixes to various calls which were typecasting pointers to the
wrong size. (@remicollet)

* Added php session unit test (@yatsukhnenko)
* Added explicit module dependancy for igbinary (@remicollet)
* Added phpinfo serialization information (@remicollet)
3.1.0 phpredis 3.1.0

In this version of phpredis codebase was unified to work with all versions of php \o/
Also many bug fixes and some improvements has been made.

--- Improvements ---

* Support the client to Redis Cluster just having one master (andyli) [892e5646]
* Allow both long and strings that are longs for zrangebyscore offset/limit (Michael Grunder) [bdcdd2aa]
* Process NX|XX, CH and INCR options in zAdd command (Pavlo Yatsukhnenko) [71c9f7c8]

--- Fixes ---

* Fix incrby/decrby for large integers (Michael Grunder) [3a12758a]
* Use static declarations for spl_ce_RuntimeException decl (Jeremy Mikola) [a9857d69]
* Fixed method call problem causes session handler to display two times (ZiHang Gao) [24f86c49]
* psetex method returns '+OK' on success, not true (sitri@ndxbn) [afcd8445]
* Fix integer overflow for long (>32bit) increments in hIncrBy (iyesin) [58e1d799]
* Move zend_object handler to the end (Michael Grunder) [34107966]
* Using setOption on redis array causes immediate connection (Pavlo Yatsukhnenko) [f1a85b38]
3.0.0 phpredis 3.0.0

This version of phpredis supports cluster and is intended for php versions
7.0.0 and higher. To compile cluster-enabled phpredis for older versions
of php, please use the 2.2.8 pecl package.

A huge thanks goes out to Sean DuBois for doing all the work required to get
phpredis working in php 7.0!

-- Improvements ---

* PHP 7 Support (Sean DuBois) [3159bd2, 567dc2f, daa4d9f, f2711e3, 9cb9d07,
9d51c89, 9ff8f49, 33bb629, cbdf65a, f30b7fd, c687a51, 6b3e773, 2bf8241,
771bd3d, 9221ca4, 4e00df6, e2407ca, 97fcfe6, 77e6200]
* Redis Cluster support
* Allow SINTERSTORE to take a single array argument again
* IPv6 support

--- Fixes ---

* config.w32 fix (Jan-E) [495d308, c9e0b682]
* Exception handling improvement (Jan-E) [314a2c3c]
* Unit test fix for max int value (Jan-E) [659ea2aa]
* unsigned long -> zend_ulong fix (Jan-E) [4d66e3d4]
* Visual Stuio 14 fixes (Jan-E) [ea98401c]
* Segfault fix when looking up our socket (ephemeralsnow) [0126481a]
* Allow '-' and '+' in ZRANGEBYLEX (Patrick Pokatilo) [8bfa2188]
* Documentation fixes (Ares) [54b9a0ec]
* php7 related memory leak fix (Stuart Carnie) [b75bf3b4]
* Potential segfault fix in cluster session (Sergei Lomakov) [661fb5b1]
* php7 related serialization leak fix (Adam Harvey) [c40fc1d8]
2.2.8 phpredis 2.2.8

The main improvement in this version of phpredis is support for Redis
Cluster. This version of phpredis is intended for versions of php older
than 7.

In addition there have been many bug fixes and improvements to non cluster
related commands, which are listed below.

I've attempted to include everyone who contribued to the project in each fix
description and have included names or github user ids.

Thanks to everyone for submitting bug reports and pull requests. A special
thanks to Remi Collet for helping with any and all packaging related issues

\o/

--- Improvements ---

* Added randomization to our seed nodes to balance which instance is used
to map the keyspace (Vitaliy Stepanyuk) [32eb1c5f]
* Added support for IPv6 addresses

--- Fixes ---

* PHP liveness checking workaround (Shafreeck Sea) [c18d58b9]
* Various documentation and code formatting and style fixes (ares333,
sanpili, Bryan Nelson, linfangrong, Romero Malaquias, Viktor Sz?pe)
* Fix scan reply processing to use long instead of int to avoid overflow
(mixiaojiong).
* Fix potential segfault in Redis Cluster session storage (Sergei Lomakov)
[cc15aae]
* Fixed memory leak in discard function [17b1f427]
* Sanity check for igbinary unserialization (Maurus Cuelenaere) [3266b222,
5528297a]
* Fix segfault occuring from unclosed socket connection for Redis Cluster
(CatKang) [04196aee]
* Case insensitive zRangeByScore options
* Fixed dreaded size_t vs long long compiler warning
2.2.7 phpredis 2.2.7

-- Improvements ---

* Implemented PFADD, PFMERGE, and PFCOUNT command handling
* Implemented ZRANGEBYLEX command (holding off on ZREVRANGEBYLEX
as that won't be out until 3.0)
* Implemented getMode() so clients can detect whether we're in
ATOMIC/MULTI/PIPELINE mode.
* Implemented rawCommand() so clients can send arbitrary things to
the redis server
* Implemented DEBUG OBJECT (@michael-grunder, @isage)
* Added/abide by connect timeout for RedisArray
* Select to the last selected DB when phpredis reconnects

-- Fixes ---

* Fix a possible invalid free in _serialize
* Added SAVE and BGSAVE to "distributable" commands for RedisArray
* @welting -- Fixed invalid "argc" calculation re HLL commands
* Allow clients to break out of the subscribe loop and return context.
* Fixes a memory leak in SCAN when OPT_SCAN_RETRY id.
* @remicollet -- Fix possible segfault when igbinary is enabled.
* Add a couple of cases where we throw on an error (LOADING/NOAUTH/MASTERDOWN)
* Fix several issues with serialization NARY
* @itcom -- Fix missing TSRMLS_CC and a TSRMLS_DC/TSRMLS_CC typo
2.2.5 phpredis 2.2.5

This is a minor release with several bug fixes as well as additions to support
new commands that have been introduced to Redis since our last release.

A special thanks to everyone who helps the project by commenting on issues and
submitting pull requests! :)

[NEW] Support for the BITPOS command
[NEW] Connection timeout option for RedisArray (@MikeToString)
[NEW] A _serialize method, to complement our existing _unserialize method
[NEW] Support for the PUBSUB command
[NEW] Support for SCAN, SSCAN, HSCAN, and ZSCAN
[NEW] Support for the WAIT command

[FIX] Handle the COPY and REPLACE arguments for the MIGRATE command

[DOC] Fix syntax error in documentation for the SET command (@mithunsatheesh)
[DOC] Homebrew documentation instructions (@mathias)
2.2.4 **
** Features / Improvements
**

* Randomized reconnect delay for RedisArray @mobli
This feature adds an optional parameter when constructing a RedisArray object
such that a random delay will be introduced if reconnections are made,
mitigating any 'thundering herd' type problems.

* Lazy connections to RedisArray servers @mobli
By default, RedisArray will attempt to connect to each server you pass in
the ring on construction. This feature lets you specify that you would
rather have RedisArray only attempt a connection when it needs to get data
from a particular node (throughput/performance improvement).

* Allow LONG and STRING keys in MGET/MSET

* Extended SET options for Redis >= 2.6.12

* Persistent connections and UNIX SOCKET support for RedisArray

* Allow aggregates for ZUNION/ZINTER without weights @mheijkoop

* Support for SLOWLOG command

* Reworked MGET algorithm to run in linear time regardless of key count.

* Reworked ZINTERSTORE/ZUNIONSTORE algorithm to run in linear time

**
** Bug fixes
**

* C99 Compliance (or rather lack thereof) fix @mobli
* Added ZEND_ACC_CTOR and ZEND_ACC_DTOR @euskadi31
* Stop throwing and clearing an exception on connect failure @matmoi
* Fix a false positive unit test failure having to do with TTL returns
2.2.3 First public release

Return

PRIVACY POLICY | CREDITS
Copyright © 2001-2017 The PHP Group
All rights reserved.
Last updated: Thu Mar 26 06:22:20 2015 UTC
Bandwidth and hardware provided by: pair Networks