redis pecl.php.net PHP extension for interfacing with Redis This extension provides an API for communicating with Redis servers. Michael Grunder mgrunder michael.grunder@gmail.com yes Nicolas Favre-Felix nff n.favrefelix@gmail.com yes 2016-06-10 3.0.0 3.0.0 stable stable PHP 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] 7.0.0 7.1.0 6.0.0 1.4.0b1 redis stablestable 3.0.03.0.0 2016-06-10 phpredis 3.0.0 -- 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 stablestable 2.2.72.2.7 2015-03-03 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 stablestable 2.2.52.2.5 2014-03-15 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) stablestable 2.2.42.2.4 2013-09-01 ** ** 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 stablestable 2.2.32.2.3 2013-04-29 First release to PECL