Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

2.2.7

phpredis 2.2.7
This is the tag for phpredis 2.2.7 which will become the
current master on github, with a pecl release to follow
(assuming we don't run into any issues in the meantime).

-- 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 is enabled.
* @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 and IGBINARY
* @itcom -- Fix missing TSRMLS_CC and a TSRMLS_DC/TSRMLS_CC typo

2.2.6

phpredis 2.2.6
This is the tag for phpredis 2.2.6 which will become the
current master on github, with a pecl release to follow
(assuming we don't run into any issues in the meantime).

-- 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 is enabled.
* @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 and IGBINARY

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)

ra_type_check

Bugfix to RedisArray so we don't segfault

hmget_invalid_args

Fixes issue #379 even when an array with some good
keys as well as empty items is passed.

2.2.4

[PHPRedis 2.2.4] Release date: 01 Sep 2013
**
** 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

ttl_return

TTL/PTTL documentation and unit tests

tsrmls_cc

Don't duplicate TSRMLS_CC

php5.2_warnings

Fix a couple warnings for PHP 5.2.X

2.2.1

Released v2.2.1 with updated version in php_redis.h

2.2.0

Merge pull request #156 from Breathless/master
.deb related fixes

2.1.3

version bump after tagging mistake

2.1.2

OBJECT command documentation.

2.0.12

Added support for UNIX Domain Sockets.

2.0.11

Added more contact info, version 2.0.11

2.0.9

Handle server death before close().

2.0.7

Added symbol for static compilation.

2.0.5

Added floating-point timeout for better precision.

2.0.1

Added MULTI/EXEC test for HMGET.
Something went wrong with that request. Please try again.