Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-07-18 | use spl_ce_RuntimeException (exists since 5.6) | Remi Collet | |
2022-07-18 | mark auth param as sensitive for PHP 8.2 | Remi Collet | |
refactor MINIT (split in each class sources file) use @generate-class-entries in stub files add RedisException and RedisClusterException in stub files | |||
2022-06-07 | Issue #1894issue-1894-pop-count | Pavlo Yatsukhnenko | |
Add the COUNT argument to LPOP and RPOP | |||
2021-08-26 | [WIP] Use stub/arginfo for RedisCluster | Pavlo Yatsukhnenko | |
2021-06-22 | Separate compression and create utility methods | michael-grunder | |
This commit splits compression and serialization into two distinct parts and adds some utility functions so the user can compress/uncompress or pack/unpack data explicily. See #1939 | |||
2021-04-10 | [WIP] Issue #1894 | Pavlo Yatsukhnenko | |
Add GET option to SET command | |||
2021-03-22 | Merge pull request #1955 from phpredis/issue-1894-zinterunion | Pavlo Yatsukhnenko | |
[WIP] Issue #1894 | |||
2021-03-21 | [WIP] Issue #1894 | Pavlo Yatsukhnenko | |
Add Redis::zinter and Redis::zunion commands | |||
2021-03-19 | fix | Roy | |
2021-03-18 | Fix #1952 | roy | |
2020-10-21 | Issue #1864 (#1867) | Pavlo Yatsukhnenko | |
Allow `$options` to be passed as `NULL`. | |||
2020-07-07 | Issue #1607 (#1806) | Pavlo Yatsukhnenko | |
2020-06-25 | Support for Redis 6 ACLs (#1791) | Michael Grunder | |
Add support for Redis 6 ACLs in the `Redis`, `RedisCluster`, and `RedisArray` classes. On a related note, it adds a mechanism for users to customize how we generate persistent connection IDs such that they can be grouped in different ways depending on the specific use case required (e.g. it would allow connections to be grouped by username, or by user-defined persistent_id, or both). | |||
2020-06-07 | Issue.1765 (#1774) | Michael Grunder | |
Various improvements and fixes to cluster slot caching. * Improves slot caching so any unique set of seeds all hash to the same key * Fix a couple of memory leaks. * Fixes a segfault when executing a multiple key command such as `MGET` or `MSET` while the cluster is resharding. | |||
2020-06-05 | Store auth information in cluster->flags->auth | Pavlo Yatsukhnenko | |
2020-05-19 | Issue #548 (#1649) | Pavlo Yatsukhnenko | |
Adds `Redis::SCAN_PREFIX` and `Redis::SCAN_NOPREFIX` as options to SCAN. See #548 | |||
2020-05-06 | fix [-Wformat=] warning on 32-bit (#1750) | Remi Collet | |
Use the portable `ZEND_LONG_FORMAT` family instead of C format specifiers | |||
2020-03-09 | Fix redis_cluster GET_CONTEXT usage | Pavlo Yatsukhnenko | |
2020-03-09 | Add PHPREDIS_GET_OBJECT and PHPREDIS_ZVAL_GET_OBJECT macros | Pavlo Yatsukhnenko | |
2020-01-14 | Remove "PHP Version 5" section | Tyson Andre | |
package.xml has a minimum version of 7.0 PHP 8.0 will probably be out in around a year. | |||
2020-01-06 | Merge pull request #1696 from TysonAndre/fix-redis_cluster-proto | Pavlo Yatsukhnenko | |
Fix proto comments for host_port in RedisCluster | |||
2020-01-06 | Fix typos detected by codespell | Tyson Andre | |
2020-01-06 | Fix proto comments for host_port in RedisCluster | Tyson Andre | |
These methods accept a single argument, not two arguments. (cluster_cmd_get_slot accepts one argument) | |||
2019-12-02 | Enable slot caching for session cluster | Michael Booth | |
2019-07-17 | Use zend_object_properties_size while creating cluster object | Pavlo Yatsukhnenko | |
2019-07-09 | cleanup TSRMLS_* usage | Remi Collet | |
2019-06-12 | Fix xInfo ro RedisCluster | Pavlo Yatsukhnenko | |
2019-06-03 | Allow PING to take an optional argument. | michael-grunder | |
Addresses #1563 | |||
2019-06-03 | Issue.1555 zrange withscores arg (#1565) | Michael Grunder | |
Allows ZRANGE to be called either with `true` or `['withscores' => true]` so it's consistent with `ZRANGEBYSCORE` but also backward compatible. Fixes #1555 | |||
2019-05-13 | Adds OPT_REPLY_LITERAL for rawCommand and EVAL | michael-grunder | |
Adds an option to process the actual strings in simple string replies as opposed to translating them to `true`. This only applies to `rawCommand` and `eval` because as far as I know know vanilla Redis command attaches any information besides `OK` to simple string replies. Addresses #1550 | |||
2019-03-20 | Remove last remnants of PHP5 | michael-grunder | |
2019-03-20 | Use a more specific name for our 'slot caching enabled' define | michael-grunder | |
2019-03-19 | Merge branch 'cluster-slot-cache' into issue.1448-require_php7 | michael-grunder | |
2019-02-24 | Merge branch 'issue-1509' into issue.1448-require_php7 | michael-grunder | |
2019-02-19 | Remove dead code, fix min_argc for blocking commands | michael-grunder | |
2019-02-19 | Change ZPOP* return type and implement blocking variants | michael-grunder | |
This commit updates ZPOPMIN/ZPOPMAX to return the same format that zRange WITHSCORES and zRangeByScore WITHSCORES does. In addition the blocking variants BZPOPMIN and BZPOPMAX are implemented. | |||
2019-02-17 | Add ZPOPMAX and ZPOPMIN support | Marin Bezhanov | |
2019-02-14 | Merge branch 'issue.1448-require_php7' into cluster-slot-cache | michael-grunder | |
2019-02-14 | Merge branch 'issue.1502.geo-readonly-cmds' into issue.1448-require_php7 | michael-grunder | |
2019-02-14 | Implement GEORADIUS_RO and GEORADIUSBYMEMBER_RO | michael-grunder | |
This addresses #1502, #1487 | |||
2019-02-10 | Attach slot cache key and mechanism for invalidation | michael-grunder | |
2019-02-09 | Merge exception fixes into cluster-slot-cache | michael-grunder | |
2019-02-09 | PHP 7 exception and compiler warning fixes | michael-grunder | |
PHP 7 removed TSRMLS_CC from zend_throw_exception* routines. Additionally this commit creates two simple wrapper macros for throwing Redis or RedisCluster exceptions so we don't duplicate as much code. Additionally there were a couple of minor compiler warnings printf type correctness fixed in this commit. | |||
2019-02-09 | WIP: Reimplementation of cluster slot caching | michael-grunder | |
RedisCluster currently has a high construction overhead because every request has to issue a CLUSTER SLOTS command to map the keyspace. The issue is especially evident when a request only does a few commands. | |||
2019-01-27 | PHP 5 is dead, long live PHP 7 | michael-grunder | |
This commit removes support for PHP 5 by getting rid of all of our Zend compatibility layer methods, as well as any call checking against PHP_MAJOR_VERSION or ZEND_MODULE_API_NO. Unit tests are all passing for Redis, RedisCluster, and RedisArray but this should still be considered a work in progress until more testing can be done. Addresses issue #1448 | |||
2019-01-18 | RedisCluster auth | Pavlo Yatsukhnenko | |
2018-12-26 | Merge pull request #1426 from twose/develop | Pavlo Yatsukhnenko | |
Remove useless ZEND_ACC_[C|D]TOR. | |||
2018-11-26 | Fix RedisCluster keys memory leak (#1466) | Michael Grunder | |
Free redis response since adding it to our array duplicates the data anyway. Addresses #1460 | |||
2018-11-23 | Directly use return_value in RedisCluster::keys method | Pavlo Yatsukhnenko | |
2018-11-22 | Masters info leakfix (#1462) | Michael Grunder | |
Fix for memory leaks in `RedisCluster->_masters()` and `RedisCluster->info()` |