Install

Works with Drupal: 7.x

Using Composer to manage Drupal site dependencies

Downloads

Download redis-7.x-3.4.tar.gztar.gz 45.28 KB
MD5: 0fd342a5b5d4dad20b85ed989eb29875
SHA-1: 3ea58ccf564770f18f7e59151b20df164aa372d6
SHA-256: f269f341be7ec2fc77221923266021c96ce9989d84d6d9e1a5eac3e87126322d
Download redis-7.x-3.4.zipzip 69.59 KB
MD5: 26a3744068fc5b27b4efcc7a721eb652
SHA-1: d2c2aea83fb62ca2f03ddf4b268be1e58a6354f3
SHA-256: 083cccab63271b68235076bb8e982ac54153e273ec57a52ae573a03006f4215a

Release notes

This new release brings numerous features and bugfixes, if you are using the 3.x branch you are urged to upgrade to this version.

The most awaited new feature is the ability to set a server pool in configuration (documentation to be written still) - This won't be used as of now by the cache, lock, path or queue implementation, but provides a public API for external users that would use multiple Redis servers for various business reasons. This feature remains experimental as the way it's to be configured is not stable and still unused yet by the provided backends.

The 3.x branch is still moving fast until it'll reach a stable point where it'll be usable for production over a sharded environment. Until then, most patches will attempt to unify its internals to match the way the 8.x branch will look like in order to facilitate maintainance between the 2 branches.

Full changelog:

  • Added the client manager and client pool classes, as their primitive configuration options to be able to manage a Redis server pool on PHP side. This is experimental.
  • Moved some static functions around to make the API more consistent.
  • Got rid of most static calls in various backends implementations, real connector is now injected by an upper layer.
  • Refactored all the unit tests to be included in PSR-0/PEAR class hierarchy, this makes the whole being a lot easier to read and modify.
  • Fixed a bug that happened when cache clear, set and get where done at the exact same second, using a timestamp based and an arbitrary serial number as flush key, fixing a lot of bugs when reverting features or rebuilding caches.
  • Fixed the autoloaders hanging around everywhere because of the wrongly designed test suite and to Predis usage, code is cleaner and should be a bit more failsafe.
  • Changed the getKey() method signature, the method now accepts only one argument which is either a string or an array, in order to normalize with the future 8.x version.
  • Fixed PhpRedis Queue implementation, should now work gracefully.
  • Issue #2475869 by mdupont: RedisCache::getMultiple() seriously wrong behavior.
  • Issue #2478447 by mikl: Notice: Constant PREDIS_BASE_PATH already defined if set in settings PHP.
  • Issue #2453065 by DrColossos: Invalid bulk length due to possbile wrong function call.
  • Thanks to the previous three points and their respective authors, Predis now passes all unit tests but one single remaining! A great thank you to all the testers!
Created by: pounard
Created on: 27 Apr 2015 at 18:16 UTC
Last updated: 5 May 2015 at 12:18 UTC
Bug fixes
New features

Other releases