Login | Packages | Support | Bugs 


Changelog for redis
Release What has changed?
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


--- 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
* Fix potential segfault in Redis Cluster session storage (Sergei Lomakov)
* Fixed memory leak in discard function [17b1f427]
* Sanity check for igbinary unserialization (Maurus Cuelenaere) [3266b222,
* 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
* 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


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