redis

PHP extension for interfacing with Redis


This extension provides an API for communicating with Redis servers.

License: PHP

Latest releases

Version Release Download
5.3.2 2020-10-22 redis-5.3.2.tgz
5.3.2RC2 2020-10-14 redis-5.3.2RC2.tgz
5.3.2RC1 2020-10-07 redis-5.3.2RC1.tgz
5.3.1 2020-07-07 redis-5.3.1.tgz
5.3.0 2020-06-30 redis-5.3.0.tgz
Show all releases

Changelog

Version Message
5.3.2 This release containse some bugfixes and small improvements.
You can find a detailed list of changes in Changelog.md and package.xml

* Sponsors
~ Audiomack - https://audiomack.com
~ BlueHost - https://bluehost.com
~ Redis Cache Pro for WordPress - https://wprediscache.com
~ Avtandil Kikabidze - https://github.com/akalongman
~ Oleg Babushkin - https://github.com/olbabushkin

phpredis 5.3.2

* Use "%.17g" sprintf format for doubles as done in Redis server. [32be3006] (Pavlo Yatsukhnenko)
* Allow to pass NULL as RedisCluster stream context options. [72024afe] (Pavlo Yatsukhnenko)

---

phpredis 5.3.2RC2

---

* Verify SET options are strings before testing them as strings [514bc371] (Michael Grunder)

---

phpredis 5.3.2RC1

---
* Fix cluster segfault when dealing with NULL multi bulk replies in RedisCluster [950e8de8] (Michael Grunder, Alex Offshore)
* Fix xReadGroup() must return message id [500916a4] (Pavlo Yatsukhnenko)
* Fix memory leak in rediscluster session handler [b2cffffc] (Pavlo Yatsukhnenko)
* Fix XInfo() returns false if the stream is empty [5719c9f7, 566fdeeb] (Pavlo Yatsukhnenko, Michael Grunder)
* Relax requirements on set's expire argument [36458071] (Michael Grunder)
* Refactor redis_sock_check_liveness [c5950644] (Pavlo Yatsukhnenko)
* PHP8 compatibility [a7662da7, f4a30cb2, 17848791] (Pavlo Yatsukhnenko, Remi Collet)
* Update documentation [c9ed151d, 398c99d9] (Ali Alwash, Gregoire Pineau)
* Add Redis::OPT_NULL_MULTIBULK_AS_NULL setting to treat NULL multi bulk replies as NULL instead of []. [950e8de8] (Michael Grunder, Alex Offshore)
* Allow to specify stream context for rediscluster session handler [a8daaff8, 4fbe7df7] (Pavlo Yatsukhnenko)
* Add new parameter to RedisCluster to specify stream ssl/tls context. [f771ea16] (Pavlo Yatsukhnenko)
* Add new parameter to RedisSentinel to specify auth information [81c502ae] (Pavlo Yatsukhnenko)
5.3.2RC2 phpredis 5.3.2RC2

---

* Verify SET options are strings before testing them as strings [514bc371] (Michael Grunder)

---

phpredis 5.3.2RC1

This release containse some bugfixes and small improvements.

You can find a detailed list of changes in Changelog.md and package.xml

* Sponsors
~ Audiomack - https://audiomack.com
~ BlueHost - https://bluehost.com
~ Redis Cache Pro for WordPress - https://wprediscache.com
~ Avtandil Kikabidze - https://github.com/akalongman
~ Oleg Babushkin - https://github.com/olbabushkin

---
* Fix cluster segfault when dealing with NULL multi bulk replies in RedisCluster [950e8de8] (Michael Grunder, Alex Offshore)
* Fix xReadGroup() must return message id [500916a4] (Pavlo Yatsukhnenko)
* Fix memory leak in rediscluster session handler [b2cffffc] (Pavlo Yatsukhnenko)
* Fix XInfo() returns false if the stream is empty [5719c9f7, 566fdeeb] (Pavlo Yatsukhnenko, Michael Grunder)
* Relax requirements on set's expire argument [36458071] (Michael Grunder)
* Refactor redis_sock_check_liveness [c5950644] (Pavlo Yatsukhnenko)
* PHP8 compatibility [a7662da7, f4a30cb2, 17848791] (Pavlo Yatsukhnenko, Remi Collet)
* Update documentation [c9ed151d, 398c99d9] (Ali Alwash, Gregoire Pineau)
* Add Redis::OPT_NULL_MULTIBULK_AS_NULL setting to treat NULL multi bulk replies as NULL instead of []. [950e8de8] (Michael Grunder, Alex Offshore)
* Allow to specify stream context for rediscluster session handler [a8daaff8, 4fbe7df7] (Pavlo Yatsukhnenko)
* Add new parameter to RedisCluster to specify stream ssl/tls context. [f771ea16] (Pavlo Yatsukhnenko)
* Add new parameter to RedisSentinel to specify auth information [81c502ae] (Pavlo Yatsukhnenko)
5.3.2RC1 phpredis 5.3.2RC1

This release containse some bugfixes and small improvements.

You can find a detailed list of changes in Changelog.md and package.xml

* Sponsors
~ Audiomack - https://audiomack.com
~ BlueHost - https://bluehost.com
~ Redis Cache Pro for WordPress - https://wprediscache.com
~ Avtandil Kikabidze - https://github.com/akalongman

---
* Fix cluster segfault when dealing with NULL multi bulk replies in RedisCluster [950e8de8] (Michael Grunder, Alex Offshore)
* Fix xReadGroup() must return message id [500916a4] (Pavlo Yatsukhnenko)
* Fix memory leak in rediscluster session handler [b2cffffc] (Pavlo Yatsukhnenko)
* Fix XInfo() returns false if the stream is empty [5719c9f7, 566fdeeb] (Pavlo Yatsukhnenko, Michael Grunder)
* Relax requirements on set's expire argument [36458071] (Michael Grunder)
* Refactor redis_sock_check_liveness [c5950644] (Pavlo Yatsukhnenko)
* PHP8 compatibility [a7662da7, f4a30cb2, 17848791] (Pavlo Yatsukhnenko, Remi Collet)
* Update documentation [c9ed151d, 398c99d9] (Ali Alwash, Gregoire Pineau)
* Add Redis::OPT_NULL_MULTIBULK_AS_NULL setting to treat NULL multi bulk replies as NULL instead of []. [950e8de8] (Michael Grunder, Alex Offshore)
* Allow to specify stream context for rediscluster session handler [a8daaff8, 4fbe7df7] (Pavlo Yatsukhnenko)
* Add new parameter to RedisCluster to specify stream ssl/tls context. [f771ea16] (Pavlo Yatsukhnenko)
* Add new parameter to RedisSentinel to specify auth information [81c502ae] (Pavlo Yatsukhnenko)
5.3.1 phpredis 5.3.1

This is a small bugfix release that fixes a couple of issues in 5.3.0.

You should upgrade if you're using persistent_id in session.save_path or
of if you're having trouble building 5.3.0 because the php_hash_bin2hex
symbol is missing.

You can find a detailed list of changes in Changelog.md and package.xml

* Sponsors
~ Audiomack - https://audiomack.com
~ BlueHost - https://bluehost.com
~ Redis Cache Pro for WordPress - https://wprediscache.com
~ Avtandil Kikabidze - https://github.com/akalongman

---
* Properly clean up on session start failure [066cff6a] (Michael Grunder)
* Treat NULL as a failure for redis_extract_auth_info [49428a2f, 14ac969d]
(Michael Grunder)
* Don't dereference a NULL zend_string or efree one [ff2e160f, 7fed06f2]
(Michael Grunder)
* Fix config.m4 messages and test for and include php_hash.h [83a1b7c5,
3c56289c, 08f202e7] (Remi Collet)
* Add openSUSE installation instructions [13a168f4] (Pavlo Yatsukhnenko)
* Remove EOL Fedora installation instructions [b4779e6a] (Remi Collet)
5.3.0 phpredis 5.3.0

This release contains initial support for Redis 6 ACLs, LZ4 compression,
and many more fixes and improvements.

You can find a detailed list of changes in Changelog.md and package.xml

A special thanks to BlueHost for sponsoring ACL support \o/

* Sponsors
~ Audiomack - https://audiomack.com
~ BlueHost - https://bluehost.com
~ Redis Cache Pro for WordPress - https://wprediscache.com
~ Avtandil Kikabidze - https://github.com/akalongman

phpredis 5.3.0

- There were no changes between 5.3.0RC2 and 5.3.0.

---

phpredis 5.3.0RC2

---

* Fix LZ4 configuration and use pkg-config if we have it [df398cb0]
(Remi Collet)
* Make sure persistent pool ID is NULL terminated [0838b5bd, 57bb95bf]
(Michael Grunder)
* Run LZ4 tests in Travis [3ba3f06d] (Michael Grunder)

phpredis 5.3.0RC1

---

* Support for Redis 6 ACLs [a311cc4e] (Michael Grunder)
* LZ4 Compression [04def9fb] (Ilia Alshanetsky)
* Support for new Redis 6 arguments (XINFO FULL, SET KEEPTTL) [a0c53e0b,
f9c7bb57] (Michael Grunder, Victor Kislov)
* Support for TLS connections [890ee0e6, b0671296] (Pavlo Yatsukhnenko)
* New option Redis::SCAN_PREFIX, Redis::SCAN_NOPREFIX [e80600e2] (Pavlo
Yatsukhnenko)
* Configurable unit test authentication arguments [e37f38a3, 201a9759]
(Pavlo Yatsukhnenko, Michael Grunder)
* Improved cluster slot caching mechanism to fix a couple of bugs and make
it more efficient. [5ca4141c] (Michael Grunder)
* Stop calling Redis constructor when creating a RedisArray [e41e19a8]
(Pavlo Yatsukhnenko)
* Use ZEND_LONG_FMT instead of system `long` [5bf88124] (Michael Grunder)
* Use long for SCAN iteration to fix potential overflow [f13f9b7c]
(Victor Kislov)
* Fix config.m4 to test for the variable $PHP_REDIS_JSON and not the
literal PHP_REDIS_JSON [20a3dc72] (Mizuki Nakano)
* Fix compiler warnings [b9b383f4, 215828e] (Remi Collet),
Pavlo Yatsukhnenko)
* Avoid use-after-free of RediSock [8c45816d] (Pavlo Yatsukhnenko)
* Fixed ZADD arginfo [a8e2b021] (Pavlo Yatsukhnenko)
* Store AUTH information in flags RedisSock rather than duplicating
information. [58dab564] (Pavlo Yatsukhnenko)
* Refactor redis_sock_get_connection_pool logic. [73212e1]
(Pavlo Yatsukhnenko)
* Updated documentation to show LPUSH and RPUSH are variadic and fixed DEL
documentation. [92f8dde1] (Michael Grunder)
* Authenticate in redis_server_sock_open [4ef465b5] (Pavlo Yatsukhnenko)
* Dynamically include json.so in unit tests based on configuration
[0ce7ca2f] (Michael Grunder)
* Update save_path logic in Redis Cluster session unit tests [dd66fce]
(Pavlo Yatsukhnenko)
* Refactoring various bits of logic [bbcf32a3, a42cf189, 460c8f29,
b7f9df75] (Pavlo Yatsukhnenko)
* Use the portable `ZEND_LONG_FORMAT` family instead of C format specifiers
[b9b383f4](Remi Collet)
* PHP 8 compatibility [9ee94ca4, 7e4c7b3e] (Pavlo Yatsukhnenko)
* Refactor PHPREDIS_GET_OBJECT macro [d5dadaf6, 190c0d34]
(Pavlo Yatsukhnenko)
* Fix documentation showing lPush and rPush are variadic [6808cd6a]
(Michael Grunder)
Show complete changelog