Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpredis/phpredis.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-07-18use spl_ce_RuntimeException (exists since 5.6)Remi Collet
2022-07-18mark auth param as sensitive for PHP 8.2Remi 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-07Issue #1894issue-1894-pop-countPavlo Yatsukhnenko
Add the COUNT argument to LPOP and RPOP
2021-08-26[WIP] Use stub/arginfo for RedisClusterPavlo Yatsukhnenko
2021-06-22Separate compression and create utility methodsmichael-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 #1894Pavlo Yatsukhnenko
Add GET option to SET command
2021-03-22Merge pull request #1955 from phpredis/issue-1894-zinterunionPavlo Yatsukhnenko
[WIP] Issue #1894
2021-03-21[WIP] Issue #1894Pavlo Yatsukhnenko
Add Redis::zinter and Redis::zunion commands
2021-03-19fixRoy
2021-03-18Fix #1952roy
2020-10-21Issue #1864 (#1867)Pavlo Yatsukhnenko
Allow `$options` to be passed as `NULL`.
2020-07-07Issue #1607 (#1806)Pavlo Yatsukhnenko
2020-06-25Support 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-07Issue.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-05Store auth information in cluster->flags->authPavlo Yatsukhnenko
2020-05-19Issue #548 (#1649)Pavlo Yatsukhnenko
Adds `Redis::SCAN_PREFIX` and `Redis::SCAN_NOPREFIX` as options to SCAN. See #548
2020-05-06fix [-Wformat=] warning on 32-bit (#1750)Remi Collet
Use the portable `ZEND_LONG_FORMAT` family instead of C format specifiers
2020-03-09Fix redis_cluster GET_CONTEXT usagePavlo Yatsukhnenko
2020-03-09Add PHPREDIS_GET_OBJECT and PHPREDIS_ZVAL_GET_OBJECT macrosPavlo Yatsukhnenko
2020-01-14Remove "PHP Version 5" sectionTyson Andre
package.xml has a minimum version of 7.0 PHP 8.0 will probably be out in around a year.
2020-01-06Merge pull request #1696 from TysonAndre/fix-redis_cluster-protoPavlo Yatsukhnenko
Fix proto comments for host_port in RedisCluster
2020-01-06Fix typos detected by codespellTyson Andre
2020-01-06Fix proto comments for host_port in RedisClusterTyson Andre
These methods accept a single argument, not two arguments. (cluster_cmd_get_slot accepts one argument)
2019-12-02Enable slot caching for session clusterMichael Booth
2019-07-17Use zend_object_properties_size while creating cluster objectPavlo Yatsukhnenko
2019-07-09cleanup TSRMLS_* usageRemi Collet
2019-06-12Fix xInfo ro RedisClusterPavlo Yatsukhnenko
2019-06-03Allow PING to take an optional argument.michael-grunder
Addresses #1563
2019-06-03Issue.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-13Adds OPT_REPLY_LITERAL for rawCommand and EVALmichael-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-20Remove last remnants of PHP5michael-grunder
2019-03-20Use a more specific name for our 'slot caching enabled' definemichael-grunder
2019-03-19Merge branch 'cluster-slot-cache' into issue.1448-require_php7michael-grunder
2019-02-24Merge branch 'issue-1509' into issue.1448-require_php7michael-grunder
2019-02-19Remove dead code, fix min_argc for blocking commandsmichael-grunder
2019-02-19Change ZPOP* return type and implement blocking variantsmichael-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-17Add ZPOPMAX and ZPOPMIN supportMarin Bezhanov
2019-02-14Merge branch 'issue.1448-require_php7' into cluster-slot-cachemichael-grunder
2019-02-14Merge branch 'issue.1502.geo-readonly-cmds' into issue.1448-require_php7michael-grunder
2019-02-14Implement GEORADIUS_RO and GEORADIUSBYMEMBER_ROmichael-grunder
This addresses #1502, #1487
2019-02-10Attach slot cache key and mechanism for invalidationmichael-grunder
2019-02-09Merge exception fixes into cluster-slot-cachemichael-grunder
2019-02-09PHP 7 exception and compiler warning fixesmichael-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-09WIP: Reimplementation of cluster slot cachingmichael-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-27PHP 5 is dead, long live PHP 7michael-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-18RedisCluster authPavlo Yatsukhnenko
2018-12-26Merge pull request #1426 from twose/developPavlo Yatsukhnenko
Remove useless ZEND_ACC_[C|D]TOR.
2018-11-26Fix RedisCluster keys memory leak (#1466)Michael Grunder
Free redis response since adding it to our array duplicates the data anyway. Addresses #1460
2018-11-23Directly use return_value in RedisCluster::keys methodPavlo Yatsukhnenko
2018-11-22Masters info leakfix (#1462)Michael Grunder
Fix for memory leaks in `RedisCluster->_masters()` and `RedisCluster->info()`