Up to [cvs.NetBSD.org] / pkgsrc / databases / php-redis
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
databases/php-redis: use PHP_REQUIRE_MODULE Use PHP_REQUIRE_MODULE for php-json dependency. No functional change.
databases/php-redis: update to 6.3.0 6.3.0 (2025-11-06) This release introduces support for dozens of new commands, including hash field expiration, Valkey?s DELIFEQ, and Redis vector set commands. It also includes many bug fixes and performance improvements. Fixed: * Cloning our objects should not segfault [770034cc] (michael-grunder) * Fix return type for RedisCluster vgetattr and vsetattr [834d2b37] (michael-grunder)
databases/php-redis: update to 6.2.0 6.2.0 (2025-03-24) Fixed: * Fix arguments order for SET command [f73f5fc] (Pavlo Yatsukhnenko) * Fix error length calculation and UB sanity check [e73130fe] (michael-grunder) * Invalidate slot cache on failed cluster connections [c7b87843] (James Kennedy) * Don't cast a uint64_t to a long [faa4bc20] (michael-grunder) * Fix potential NULL dereference [43e6cab8] (peter15914) * Print cursor as unsigned 64 bit integer [138d07b6] (Bentley O'Kane-Chase) * Fix XAUTOCLAIM argc when sending COUNT [0fe45d24] (michael-grunder) Added: * Added serverName() and serverVersion() [fa3eb006, cbaf095f, 056c2dbe] (Pavlo Yatsukhnenko, Michael Grunder) * Added getWithMeta method [9036ffca, 36ab5850] (Pavlo Yatsukhnenko) * Implement GETDEL command for RedisCluster [d342e4ac] (michael-grunder) * Introduce Redis::OPT_PACK_IGNORE_NUMBERS option [f9ce9429, 29e5cf0d] (michael-grunder) * Implement Valkey >= 8.1 IFEQ SET option [a2eef77f] (michael-grunder) * Implement KeyDB's EXPIREMEMBER[AT] commands [4cd3f593] (michael-grunder) Documentation: * Fix phpdoc type of $pattern [5cad2076] (OHZEKI Naoki) * Better documentation for the $tlsOptions parameter of RedisCluster [8144db37] (Jacob Brown) Tests/CI: * Add details to the option doc block [abb0f6cc] (michael-grunder) * Update CodeQL to v3 [41e11417, a10bca35] (Pavlo Yatsukhnenko) * Add PHP 8.4 to CI [6097e7ba] (Pavlo Yatsukhnenko) * Pin ubuntu version for KeyDB [eb66fc9e, 985b0313] (michael-grunder) * Windows CI: update setup-php-sdk to v0.10 and enable caching [f89d4d8f] (Christoph M. Becker) Internal: * Reduce buffer size for signed integer [044b3038, 35c59880] (Bentley O'Kane-Chase) * Create a strncmp wrapper [085d61ec] (michael-grunder) * Refactor and avoid allocation in rawcommand method [f68544f7] (Jakub Onderka) * Use defines for callback growth + sanity check [42a42769] (michael-grunder) * Switch from linked list to growing array for reply callbacks [a551fdc9] (Jakub Onderka) * Reuse redis_sock_append_auth method [be388562] (Jakub Onderka) * Switch pipeline_cmd from smart_str to smart_string [571ffbc8] (Jakub Onderka) * Remove unused redis_debug_response method from library.c [7895636a] (Jakub Onderka) * Optimise HMGET method [2434ba29] (Jakub Onderka) * Avoid unnecessary allocation in redis_hset_cmd [aba09933] (Jakub Onderka) * Avoid unnecessary allocation in redis_hdel_cmd [4082dd07] (Jakub Onderka) * Avoid unnecessary allocation in redis_key_varval_cmd [99650e15] (Jakub Onderka) * Use zval_get_tmp_string method that is faster when provided zval is string [f6906470] (Jakub Onderka) * Optimise constructing Redis command string [2a2f908f] (Jakub Onderka) * If no command is issued in multi mode, return immutable empty array [5156e032] (Jakub Onderka) * Test for empty pipeline and multi [426de2bb] (Jakub Onderka) * Optimise method array_zip_values_and_scores [400503b8] (Jakub Onderka) * Faster parameter parsing in redis_key_cmd and redis_key_long_val_cmd [83a19656] (Jakub Onderka) * Use immutable empty array in Redis::hKeys [3a2f3f45] (Jakub Onderka) * Use immutable empty array in Redis::exec [60b5a886] (Jakub Onderka) * Do not allocate empty string or string with one character [64da891e] (Jakub Onderka) * Initialize arrays with known size [99beb922] (Jakub Onderka) * Use smart str for constructing pipeline cmd [b665925e] (Jakub Onderka)
databases/php-redis: update to 6.1.0 Please refer <https://pecl.php.net/package-changelog.php> for complete changes in 6.0.0 and 6.1.0. 6.0.0 (2023-09-11) This release adds new commands introduced in Redis 6.2 and 7.0 as well as many fixes and improvements. 6.0.1 (2023-09-23) * Fix memory leak and segfault in Redis::exec [362e1141] (Pavlo Yatsukhnenko), (Markus Podar) * Fix unknown expiration modifier [264c0c7e, 95bd184b] (Pavlo Yatsukhnenko) * Update documentation [3674d663, 849bedb6, 1ad95b63] (Till Kruss), (Joost OrangeJuiced) 6.0.2 (2023-10-22) * Fix deprecation error when passing null to match_type parameter.[b835aaa3] (Pavlo Yatsukhnenko) * Fix flaky test and OBJECT in a pipeline. [a7f51f70] (Michael Grunder) * Find our callback by pattern with PSUBSCRIBE [2f276dcd] (Michael Grunder) 6.1.0 (2024-10-04) PHP 8.4 support enhancements.
databases/php-redis: multiple PHP support * Simply include lang/php/json.mk. Bump PKGREVISION.
databases/php-redis: update to 5.3.6 (2022-01-17) * Fix a segfault in RedisArray::del [d2f2a7d9] (Pavlo Yatsukhnenko) 5.3.7 (2022-02-15) * Fix RedisArray::[hsz]scan and tests [08a9d5db, 0264de18] (Pavlo Yatsukhnenko, Michael Grunder) * Fix RedisArray::scan [8689ab1c] (Pavlo Yatsukhnenko) * Fix LZF decompression logic [0719c1ec] (Michael Grunder)
databases/php-redis: update to 5.3.5 5.3.4 (2021-03-24) This release fixes a multi/pipeline segfault on apple silicon as well as two small compression related bugs. You can find a detailed list of changes in Changelog.md and package.xml * Fix multi/pipeline segfault on Apple silicon [e0796d48] (Michael Grunder) * Pass compression flag on HMGET in RedisCluster [edc724e6] (Adam Olley) * Abide by ZSTD error return constants [8400ed1c] (Michael Grunder) * Fix timing related CI session tests [9b986bf8] (Michael Grunder) * Sponsors ~ Audiomack - https://audiomack.com ~ Open LMS - https://openlms.net ~ BlueHost - https://bluehost.com ~ Object Cache Pro for WordPress - https://objectcache.pro ~ Avtandil Kikabidze - https://github.com/akalongman ~ Zaher Ghaibeh - https://github.com/zaherg ~ BatchLabs - https://batch.com 5.3.5 (2021-12-18) This release adds support for exponential backoff w/jitter, experimental support for detecting a dirty connection, as well as many other fixes and improvements. You can find a detailed list of changes in Changelog.md and package.xml or by inspecting the git commit logs. --- Sponsors --- Audiomack - https://audiomack.com Open LMS - https://openlms.net BlueHost - https://bluehost.com Object Cache Pro for WordPress - https://objectcache.pro Avtandil Kikabidze - https://github.com/akalongman Zaher Ghaibeh - https://github.com/zaherg BatchLabs - https://batch.com Luis Zarate - https://github.com/jlzaratec * Fixed segfault in redis_setoption_handler [692e4e84] (Pavlo Yatsukhnenko) * Fix masters array in the event of a cluster failover [bce692962] (Bar Shaul) * Fix 32 bit type error [672dec87f] (Remi Collet) * Fix radix character in certain locales [89a871e24] (Pavlo Yatsukhnenko) * ZSTD Validation fix [6a77ef5cd] (Michael Grunder) * Remove superfluous typecast [b2871471f] (Remi Collet) * Updated documentation [f84168657, d017788e7, 20ac84710, 0adf05260, aee29bf73, 09a095e72, 12ffbf33a, ff331af98, a6bdb8731, 305c15840, 1aa10e93a, d78b0c79d, c6d37c27c, a6303f5b9, d144bd2c7, a6fb815ef, 9ef862bc6] (neodisco, Clement Tessier, T. Todua, dengliming, Maxime Cornet, Emanuele Filannino Michael Grunder) * Travis CI Fixes [a43f4586e, 4fde8178f, 7bd5415ac, fdb8c4bb7, d4f407470] (Pavlo Yatsukhnenko) * Minor fixes/cleanup [2e190adc1, 99975b592, 9d0879fa5, 22b06457b] (Pavlo Yatsukhnenko) * Fix RedisArray constructor bug [85dc883ba](https://github.com/phpredis/phpredis/commit/85dc883ba) ([Pavlo Yatsukhnenko](https://github.com/yatsukhnenko)) * Moved to GitHub Actions [4d2afa786, 502d09fd5] (Pavlo Yatsukhnenko) * Use more appropriate array iteration macro [6008900c2] (Pavlo Yatsukhnenko) * Clean up session tests [ab25ae7f3] (Michael Grunder) * RedisArray refactors [1250f0001, 017b2ea7f, 37ed3f079] (Pavlo Yatsukhnenko) * Use zend_parse_parameters_none helper [a26b14dbe] (Remi Collet) * Support for various exponential backoff strategies [#1986, #1993, 732eb8dcb, 05129c3a3, 5bba6a7fc], (Nathaniel Braun) * Added experimental support for detecting a dirty connection [d68579562] (Michael Grunder) * Created distinct compression utility methods (pack/unpack) [#1939, da2790aec] (Michael Grunder) * SMISMEMBER Command [#1894, ae2382472, ed283e1ab] (Pavlo Yatsukhnenko) * Fix typo in cluster_scan_resp [44affad2] (Michael Grunder)
databases/php-redis: fix for php80 php-json is bundled in lang/php80 pacakge.
(databases/php-redis) +.include php-json/buildlink3.mk
databases/php-redis: update to 5.3.3 Update php-redis to latest version 5.3.3, switch php-redis for php56 to php73 and php74. Changes are too many to write here, but php-redis supports redis 6. For more information, please refer <https://pecl.php.net/package-changelog.php?package=redis>.
Update php-redis to 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 \o/ --- 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 (mixiaojiong). * Fix potential segfault in Redis Cluster session storage (Sergei Lomakov) [cc15aae] * Fixed memory leak in discard function [17b1f427] * Sanity check for igbinary unserialization (Maurus Cuelenaere) [3266b222, 5528297a] * 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
Drop "55" (php55) from PHP_VERSIONS_ACCEPTED.
Restrict PHP_VERSIONS_ACCEPTED to 55 and 56.
Update php-redis to 2.2.7. Exact changes are not available. Please refer <https://github.com/phpredis/phpredis/commits/master>.
Set WRKSRC a bit safer. Fixes build with PHP_VERSION_DEFAULT=53.
Fix WRKSRC.
Updated to latest release, 2.2.5. No ChangeLog in DISTFILE/repo.
Ignore the missing return values from the multiple layers of macros.
Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days.
Change default PKGNAME scheme for PECL packages.
Drop ${PHP_BASE_VARS} from PKGVERSION by default.
It used to be required to support multiple php version.
But after PHP version based ${PHP_PKG_PREFIX} was introduced,
such trick is not required anymore.
In addition to this, such version name schme invokes unwanted version bump
when base php version is bumped, plus, such version scheme is hard to
use for DEPENDS pattern.
To avoid downgrading of package using such legacy version scheme,
PECL_LEGACY_VERSION_SCHEME is introduced.
If it is defined, current version scheme is still used for currently
supported PHP version (5 and 53), but instead of ${PHP_BASE_VARS},
current fixed PHP base version in pkgsrc is used to avoid unwanted version bump
from update of PHP base package.
With newer PHP (54, or so on), new version scheme will be used if
it is defined.
This trick will not be required and should be removed after php5 and php53 will
be gone away from pkgsrc.
Reflect "php-license" => "php" and enable LICENSE.
Import php-redis-2.1.3 as databases/php-redis. The phpredis extension provides an API for communicating with the Redis key-value store. It is released under the PHP License, version 3.01. This code has been developed and maintained by Owlient from November 2009 to March 2011.
Initial revision