1 Star 0 Fork 0

Eleven/phpredis

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
package.xml 38.52 KB
一键复制 编辑 原始数据 按行查看 历史
Pavlo Yatsukhnenko 提交于 2020-03-21 17:12 . Update 'master' to '5.2.1'
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869
<?xml version="1.0"?>
<package packagerversion="1.4.11" version="2.0" xmlns="http://pear.php.net/dtd/package-2.0" xmlns:tasks="http://pear.php.net/dtd/tasks-1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://pear.php.net/dtd/tasks-1.0
http://pear.php.net/dtd/tasks-1.0.xsd
http://pear.php.net/dtd/package-2.0
http://pear.php.net/dtd/package-2.0.xsd">
<name>redis</name>
<channel>pecl.php.net</channel>
<summary>PHP extension for interfacing with Redis</summary>
<description>
This extension provides an API for communicating with Redis servers.
</description>
<lead>
<name>Michael Grunder</name>
<user>mgrunder</user>
<email>michael.grunder@gmail.com</email>
<active>yes</active>
</lead>
<lead>
<name>Pavlo Yatsukhnenko</name>
<user>yatsukhnenko</user>
<email>p.yatsukhnenko@gmail.com</email>
<active>yes</active>
</lead>
<lead>
<name>Nicolas Favre-Felix</name>
<user>nff</user>
<email>n.favrefelix@gmail.com</email>
<active>no</active>
</lead>
<date>2020-03-19</date>
<version>
<release>5.2.1</release>
<api>5.2.1</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license uri="http://www.php.net/license">PHP</license>
<notes>
phpredis 5.2.1
This is a bugfix release that fixes `redis->zAdd` arginfo as well as a
segfault when closing persistent connections.
* Fix arginfo for Redis::zadd [a8e2b021] (Pavlo Yatsukhnenko)
* Fix segfault on closing persistent stream [b7f9df75] (Pavlo Yatsukhnenko)
* Sponsors
~ Audiomack.com - https://audiomack.com
~ Till Kruss - https://github.com/tillkruss
</notes>
<contents>
<dir name="/">
<file role='doc' name='COPYING'/>
<file role='doc' name='CREDITS'/>
<file role='doc' name='README.markdown'/>
<file role='src' name='INSTALL.markdown'/>
<file role='doc' name='arrays.markdown'/>
<file role='doc' name='cluster.markdown'/>
<file role='doc' name='sentinel.markdown'/>
<file role='src' name='cluster_library.c'/>
<file role='src' name='cluster_library.h'/>
<file role='src' name='common.h'/>
<file role='src' name='config.m4'/>
<file role='src' name='config.w32'/>
<file role='src' name='crc16.h'/>
<file role='src' name='library.c'/>
<file role='src' name='library.h'/>
<file role='src' name='php_redis.h'/>
<file role='src' name='redis.c'/>
<file role='src' name='redis_array.c'/>
<file role='src' name='redis_array.h'/>
<file role='src' name='redis_array_impl.c'/>
<file role='src' name='redis_array_impl.h'/>
<file role='src' name='redis_cluster.c'/>
<file role='src' name='redis_cluster.h'/>
<file role='src' name='redis_commands.c'/>
<file role='src' name='redis_commands.h'/>
<file role='src' name='redis_session.c'/>
<file role='src' name='redis_session.h'/>
<file role='src' name='redis_sentinel.c'/>
<file role='src' name='redis_sentinel.h'/>
<file role='src' name='sentinel_library.c'/>
<file role='src' name='sentinel_library.h'/>
<dir name='liblzf'>
<file role='doc' name='LICENSE'/>
<file role='doc' name='README'/>
<file role='src' name='lzf.h'/>
<file role='src' name='lzfP.h'/>
<file role='src' name='lzf_c.c'/>
<file role='src' name='lzf_d.c'/>
</dir> <!-- liblzf -->
<dir name='tests'>
<file role='test' name='RedisArrayTest.php'/>
<file role='test' name='RedisClusterTest.php'/>
<file role='test' name='RedisSentinelTest.php'/>
<file role='test' name='RedisTest.php'/>
<file role='test' name='TestRedis.php'/>
<file role='test' name='TestSuite.php'/>
<file role='test' name='getSessionData.php'/>
<file role='test' name='regenerateSessionId.php'/>
<file role='test' name='startSession.php'/>
<file role='test' name='make-cluster.sh'/>
<file role='test' name='mkring.sh'/>
</dir> <!-- tests -->
</dir> <!-- / -->
</contents>
<dependencies>
<required>
<php>
<min>7.0.0</min>
<max>7.9.99</max>
</php>
<pearinstaller>
<min>1.4.0b1</min>
</pearinstaller>
</required>
</dependencies>
<providesextension>redis</providesextension>
<extsrcrelease>
<configureoption name="enable-redis-igbinary" prompt="enable igbinary serializer support?" default="no"/>
<configureoption name="enable-redis-lzf" prompt="enable lzf compression support?" default="no"/>
<configureoption name="enable-redis-zstd" prompt="enable zstd compression support?" default="no"/>
</extsrcrelease>
<changelog>
<release>
<stability><release>stable</release><api>stable</api></stability>
<version><release>5.2.1</release><api>5.2.1</api></version>
<date>2020-03-19</date>
<notes>
phpredis 5.2.1
This is a bugfix release that fixes `redis->zAdd` arginfo as well as a
segfault when closing persistent connections.
* Fix arginfo for Redis::zadd [a8e2b021] (Pavlo Yatsukhnenko)
* Fix segfault on closing persistent stream [b7f9df75] (Pavlo Yatsukhnenko)
* Sponsors
~ Audiomack.com - https://audiomack.com
~ Till Kruss - https://github.com/tillkruss
</notes>
</release>
<release>
<version><release>5.2.0</release><api>5.2.0</api></version>
<date>2020-03-02</date>
<notes>
phpredis 5.2.0
- There were no changes between 5.2.0RC2 and 5.2.0.
phpredis 5.2.0RC2
* Include RedisSentinelTest.php in package.xml! [eddbfc8f] (Michael Grunder)
* Fix -Wmaybe-uninitialized warning [740b8c87] (Remi Collet)
* Fix improper destructor when zipping values and scores [371ae7ae]
(Michael Grunder)
* Use php_rand instead of php_mt_rand for liveness challenge string
[9ef2ed89] (Michael Grunder)
phpredis 5.2.0RC1
This release contains initial support for Redis Sentinel as well as many
smaller bug fixes and improvements. It is especially of interest if you
use persistent connections, as we've added logic to make sure they are in
a good state when retreving them from the pool.
IMPORTANT: Sentinel support is considered experimental and the API
will likely change based on user feedback.
* Sponsors
~ Audiomack.com - https://audiomack.com
~ Till Kruss - https://github.com/tillkruss
---
* Initial support for RedisSentinel [90cb69f3, c94e28f1, 46da22b0, 5a609fa4,
383779ed] (Pavlo Yatsukhnenko)
* Houskeeping (spelling, doc changes, etc) [23f9de30, d07a8df6, 2d39b48d,
0ef488fc, 2c35e435, f52bd8a8, 2ddc5f21, 1ff7dfb7, db446138] (Tyson Andre,
Pavlo Yatsukhnenko, Michael Grunder, Tyson Andre)
* Fix for ASK redirections [ba73fbee] (Michael Grunder)
* Create specific 'test skipped' exception [c3d83d44] (Michael Grunder)
* Fixed memory leaks in RedisCluster [a107c9fc] (Michael Grunder)
* Fixes for session lifetime values that underflow or overflow [7a79ad9c,
3c48a332] (Michael Grunder)
* Enables slot caching for Redis Cluster [23b1a9d8] (Michael Booth)
* Support TYPE argument for SCAN [8eb39a26, b1724b84, 53fb36c9, 544e641b]
(Pavlo Yatsukhnenko)
* Added challenge/response mechanism for persistent connections [a5f95925,
25cdaee6, 7b6072e0, 99ebd0cc, 3243f426] (Pavlo Yatsukhnenko, Michael Grunder)
phpredis 5.2.0RC2
* Include RedisSentinelTest.php in package.xml! [eddbfc8f] (Michael Grunder)
* Fix -Wmaybe-uninitialized warning [740b8c87] (Remi Collet)
* Fix improper destructor when zipping values and scores [371ae7ae]
(Michael Grunder)
* Use php_rand instead of php_mt_rand for liveness challenge string
[9ef2ed89] (Michael Grunder)
phpredis 5.2.0RC1
This release contains initial support for Redis Sentinel as well as many
smaller bug fixes and improvements. It is especially of interest if you
use persistent connections, as we've added logic to make sure they are in
a good state when retreving them from the pool.
IMPORTANT: Sentinel support is considered experimental and the API
will likely change based on user feedback.
* Sponsors
~ Audiomack.com - https://audiomack.com
~ Till Kruss - https://github.com/tillkruss
---
* Initial support for RedisSentinel [90cb69f3, c94e28f1, 46da22b0, 5a609fa4,
383779ed] (Pavlo Yatsukhnenko)
* Houskeeping (spelling, doc changes, etc) [23f9de30, d07a8df6, 2d39b48d,
0ef488fc, 2c35e435, f52bd8a8, 2ddc5f21, 1ff7dfb7, db446138] (Tyson Andre,
Pavlo Yatsukhnenko, Michael Grunder, Tyson Andre)
* Fix for ASK redirections [ba73fbee] (Michael Grunder)
* Create specific 'test skipped' exception [c3d83d44] (Michael Grunder)
* Fixed memory leaks in RedisCluster [a107c9fc] (Michael Grunder)
* Fixes for session lifetime values that underflow or overflow [7a79ad9c,
3c48a332] (Michael Grunder)
* Enables slot caching for Redis Cluster [23b1a9d8] (Michael Booth)
* Support TYPE argument for SCAN [8eb39a26, b1724b84, 53fb36c9, 544e641b]
(Pavlo Yatsukhnenko)
* Added challenge/response mechanism for persistent connections [a5f95925,
25cdaee6, 7b6072e0, 99ebd0cc, 3243f426] (Pavlo Yatsukhnenko, Michael Grunder)
</notes>
</release>
<release>
<stability><release>stable</release><api>stable</api></stability>
<version><release>5.1.1</release><api>5.1.0</api></version>
<date>2019-11-11</date>
<notes>
phpredis 5.1.1
This release contains only bugfix for unix-socket connection.
* Fix fail to connect to redis through unix socket [2bae8010, 9f4ededa] (Pavlo Yatsukhnenko, Michael Grunder)
* Documentation improvements (@fitztrev)
</notes>
</release>
<release>
<stability><release>stable</release><api>stable</api></stability>
<version><release>5.1.0</release><api>5.1.0</api></version>
<date>2019-10-31</date>
<notes>
This release contains important bugfixes and improvements.
phpredis 5.1.0
* Allow to specify scheme for session handler [53a8bcc7] (Pavlo Yatsukhnenko)
* Add documentation for hyperloglog [75a6f3fa, 96a0f0c3, 9686757a] (@rlunar)
phpredis 5.1.0RC2
* Fix missing null byte in PHP_MINFO_FUNCTION [8bc2240c] (Remi Collet)
* Remove dead code generic_unsubscribe_cmd [8ee4abbc] (Pavlo Yatsukhnenko)
* Add documentation for zpopmin and zpopmax [99ec24b3, 4ab1f940] (@alexander-schranz)
phpredis 5.1.0RC1
* Fix regression for multihost_distribute_call added in 112c77e3 [fbe0f804] (Pavlo Yatsukhnenko)
* Fix regression for conntecting to unix sockets with relative path added in 1f41da64 [17b139d8, 7ef17ce1] (Pavlo Yatsukhnenko)
* Fix unix-socket detection logic broken in 418428fa [a080b73f] (Pavlo Yatsukhnenko)
* Fix memory leak and bug with getLastError for redis_mbulk_reply_assoc and redis_mbulk_reply_zipped. [7f42d628, 3a622a07] (Pavlo Yatsukhnenko), (Michael Grunder)
* Fix bug with password contain "#" for redis_session [2bb08680] (Pavlo Yatsukhnenko)
* Add optional support for Zstd compression, using --enable-redis-ztsd. This requires libzstd version >= 1.3.0 [2abc61da] (Remi Collet)
* Fix overallocation in RedisCluster directed node commands [cf93649] (Michael Grunder)
* Also attach slaves when caching cluster slots [0d6d3fdd, b114fc26] (Michael Grunder)
* Use zend_register_persistent_resource_ex for connection pooling [fdada7ae, 7c6c43a6] (Pavlo Yatsukhnenko)
* Refactor redis_session [91a8e734, 978c3074] (Pavlo Yatsukhnenko)
* Documentation improvements (@Steveb-p, @tangix, @ljack-adista, @jdreesen, Michael Grunder)
</notes>
</release>
<release>
<stability><release>stable</release><api>stable</api></stability>
<version><release>5.0.2</release><api>5.0.0</api></version>
<date>2019-07-29</date>
<notes>
This release contains bugfixes and changes that necessary for PHP-7.4 compatibility
* Cleanup TSRMLS_* usage [94380227] (Remi Collet)
* Replace ulong with zend_ulong [b4eb158a] (Remi Collet)
* Replace uint with uint32_t [d6fc5c73] (Remi Collet)
* Fix regression for conntecting to ports > 32767 [1f41da64] (Owen Smith)
* RedisCluster segfaults after second connection with cache_slots enabled [f52cd237, cb5d6b94] (Pavlo Yatsukhnenko, Michael Grunder)
* Documentation improvements (Michael Grunder)
</notes>
</release>
<release>
<stability><release>stable</release><api>stable</api></stability>
<version><release>5.0.1</release><api>5.0.0</api></version>
<date>2019-07-12</date>
<notes>
This release contains only bugfix for one critical issue
* RedisCluster segfaults after second connection with cache_slots enabled [327cf0bd] (Pavlo Yatsukhnenko)
</notes>
</release>
<release>
<stability><release>stable</release><api>stable</api></stability>
<version><release>5.0.0</release><api>5.0.0</api></version>
<date>2019-07-02</date>
<notes>
This release contains important improvements and breaking changes.
The most interesting are: drop PHP5 support, RedisCluster slots caching,
JSON and msgpack serializers, soft deprecation of non-Redis commands.
phpredis 5.0.0
* Remove HAVE_SPL [55c5586c] (@petk)
* Update Fedora installation instructions [90aa067c] (@remicollet)
phpredis 5.0.0RC2
* Allow compilation without JSON serialization enabled and fixes for deprecated
helper methods. [235a27] (Pavlo Yatsukhnenko)
* Fix php msgpack >= 2.0.3 version requirement. [6973478..a537df8] (Michael Grunder)
phpredis 5.0.0RC1
* Enable connection pooling by default [8206b147] (Pavlo Yatsukhnenko)
* Soft deprecate methods that aren't actually Redis commands [a81b4f2d, 95c8aab9] (Pavlo Yatsukhnenko, Michael Grunder)
* Enable pooling for cluster slave nodes [17600dd1] (Michael Grunder)
* xInfo response format [4852a510, ac9dca0a] (Pavlo Yatsukhnenko)
* Make the XREADGROUP optional COUNT and BLOCK arguments nullable [0c17bd27] (Michael Grunder)
* Allow PING to take an optional argument [6e494170] (Michael Grunder)
* Allow ZRANGE to be called either with `true` or `['withscores' => true]` [19f3efcf] (Michael Grunder)
* Allow to specify server address as schema://host [418428fa] (Pavlo Yatsukhnenko)
* Allow persistent_id to be passed as NULL with strict_types enabled [60223762] (Michael Grunder)
* Add server address to exception message [e8fb49be, 34d6403d] (Pavlo Yatsukhnenko)
* Adds OPT_REPLY_LITERAL for rawCommand and EVAL [5cb30fb2] (Michael Grunder)
* JSON serializer [98bd2886, 96c57139] (Pavlo Yatsukhnenko, Michael Grunder)
* Add support for STREAM to the type command [d7450b2f, 068ce978, 8a45d18c] (Michael Grunder, Pavlo Yatsukhnenko)
* Fix TypeError when using built-in constants in `setOption` [4c7643ee] (@JoyceBabu)
* Handle references in MGET [60d8b679] (Michael Grunder)
* msgpack serializer [d5b8f833, 545250f3, 52bae8ab] (@bgort, Pavlo Yatsukhnenko, Michael Grunder)
* Add RedisCluster slots caching [9f0d7bc0, ea081e05] (Michael Grunder)
* Drop PHP5 support [f9928642, 46a50c12, 4601887d, 6ebb36ce, fdbe9d29] (Michael Grunder)
* Documentation improvements (@alexander-schranz, @cookieguru, Pavlo Yatsukhnenko, Michael Grunder)
</notes>
</release>
<release>
<stability><release>stable</release><api>stable</api></stability>
<version><release>4.3.0</release><api>4.3.0</api></version>
<date>2019-03-13</date>
<notes>
phpredis 4.3.0
This is probably the last release with PHP 5 suport!!!
* Proper persistent connections pooling implementation [a3703820, c76e00fb, 0433dc03, c75b3b93] (Pavlo Yatsukhnenko)
* RedisArray auth [b5549cff, 339cfa2b, 6b411aa8] (Pavlo Yatsukhnenko)
* Use zend_string for storing key hashing algorithm [8cd165df, 64e6a57f] (Pavlo Yatsukhnenko)
* Add ZPOPMAX and ZPOPMIN support [46f03561, f89e941a, 2ec7d91a] (@mbezhanov, Michael Grunder)
* Implement GEORADIUS_RO and GEORADIUSBYMEMBER_RO [22d81a94] (Michael Grunder)
* Add callback parameter to subscribe/psubscribe arginfo [0653ff31] (Pavlo Yatsukhnenko)
* Don't check the number affected keys in PS_UPDATE_TIMESTAMP_FUNC [b00060ce] (Pavlo Yatsukhnenko)
* Xgroup updates [15995c06] (Michael Grunder)
* RedisCluster auth [c5994f2a] (Pavlo Yatsukhnenko)
* Cancel pipeline mode without executing commands [789256d7] (Pavlo Yatsukhnenko)
* Use zend_string for pipeline_cmd [e98f5116] (Pavlo Yatsukhnenko)
* Different key hashing algorithms from hash extension [850027ff] (Pavlo Yatsukhnenko)
* Breaking the lock acquire loop in case of network problems [61889cd7] (@SkydiveMarius)
* Implement consistent hashing algorithm for RedisArray [bb32e6f3, 71922bf1] (Pavlo Yatsukhnenko)
* Use zend_string for storing RedisArray hosts [602740d3, 3e7e1c83] (Pavlo Yatsukhnenko)
* Update lzf_compress to be compatible with PECL lzf extension [b27fd430] (@jrchamp)
* Fix RedisCluster keys memory leak [3b56b7db] (Michael Grunder)
* Directly use return_value in RedisCluster::keys method [ad10a49e] (Pavlo Yatsukhnenko)
* Fix segfault in Redis Cluster with inconsistent configuration [72749916, 6e455e2e] (Pavlo Yatsukhnenko)
* Masters info leakfix [91bd7426] (Michael Grunder)
* Refactor redis_sock_read_bulk_reply [bc4dbc4b] (Pavlo Yatsukhnenko)
* Remove unused parameter lazy_connect from redis_sock_create [c0793e8b] (Pavlo Yatsukhnenko)
* Remove useless ZEND_ACC_[C|D]TOR. [bc9b5597] (@twosee)
* Documentation improvements (@fanjiapeng, @alexander-schranz, @hmc, Pavlo Yatsukhnenko, Michael Grunder)
</notes>
</release>
<release>
<stability><release>beta</release><api>beta</api></stability>
<version><release>4.2.0RC3</release><api>4.2.0RC3</api></version>
<date>2018-11-08</date>
<notes>
phpredis 4.2.0RC3
The main feature of this release is new Streams API implemented by Michael Grunder.
4.2.0RC3:
* Optimize close method [2a1ef961] (fanjiapeng)
* Prevent potential infinite loop for sessions [4e2de158] (Pavlo Yatsukhnenko)
* Fix coverty warnings [6f7ddd27] (Pavlo Yatsukhnenko)
* Fix session memory leaks [071a1d54, 92f14b14] (Pavlo Yatsukhnenko, Michael Grunder)
* Fix XCLAIM on 32-bit installs [18dc2aac] (Michael Grunder)
* Build warning fixes [b5093910, 51027044, 8b0f28cd] (Pavlo Yatsukhnenko, Remi Collet, twosee)
4.2.0RC2:
* Fix incorrect arginfo for `Redis::sRem` and `Redis::multi` [25b043ce] (Pavlo Yatsukhnenko)
* Update STREAM API to handle STATUS -> BULK reply change [0b97ec37] (Michael Grunder)
* Treat a -1 response from cluster_check_response as a timeout. [27df9220, 07ef7f4e, d1172426] (Michael Grunder)
* Use a ZSET insted of SET for EVAL tests [2e412373] (Michael Grunder)
* Missing space between command and args [0af2a7fe] (@remicollet)
4.2.0RC1:
* Streams API [2c9e0572] (Michael Grunder)
* Reset the socket after a timeout to make sure no wrong data is received [cd6ebc6d] (@marcdejonge)
* Modify session testing logic [bfd27471] (Michael Grunder)
* Allow '-' and '+' arguments and add tests for zLexCount and zRemRangeByLex [d4a08697] (Michael Grunder)
* Fix printf format warnings [dcde9331] (Pavlo Yatsukhnenko)
* Session module is required [58bd8cc8] (@remicollet)
* Set default values for ini entries [e206ce9c] (Pavlo Yatsukhnenko)
* Display ini entries in output of phpinfo [908ac4b3] (Pavlo Yatsukhnenko)
* Persistant connections can be closed via close method + change reconnection logic [1d997873] (Pavlo Yatsukhnenko)
* Documentation improvements (@mg, @elcheco, @lucascourot, @nolimitdev, Michael Grunder)
</notes>
</release>
<release>
<stability><release>stable</release><api>stable</api></stability>
<version><release>4.1.1</release><api>4.1.1</api></version>
<date>2018-08-01</date>
<notes>
phpredis 4.1.1
This release contains only bugfixes and documentation improvements
* Fix arginfo for Redis::set method [0c5e7f4d] (Pavlo Yatsukhnenko)
* Fix compression in RedisCluster [a53e1a34] (Pavlo Yatsukhnenko)
* Fix TravisCI builds [9bf32d30] (@jrchamp)
* Highlight php codes in documentation [c3b023b0] (@ackintosh)
</notes>
</release>
<release>
<stability><release>stable</release><api>stable</api></stability>
<version><release>4.1.0</release><api>4.1.0</api></version>
<date>2018-01-10</date>
<notes>
phpredis 4.1.0
The primary new feature of this release is session locking functionality. Thanks to @SkydiveMarius!
* Add callbacks validate_sid and update_timestamp to session handler [aaaf0f23] (@hongboliu)
* Call cluster_disconnect before destroying cluster object. [28ec4322] (Pavlo Yatsukhnenko)
* Bulk strings can be zero length. (Michael Grunder)
* Handle async parameter for flushDb and flushAll [beb6e8f3,acd10409,742cdd05] (Pavlo Yatsukhnenko)
* Split INSTALL and add more instructions [43613d9e,80d2a917] (@remicollet, Pavlo Yatsukhnenko)
* Only the first arg of connect and pconnect is required [063b5c1a] (@mathroc)
* Add session locking functionality [300c7251] (@SkydiveMarius, Michael Grunder, Pavlo Yatsukhnenko)
* Fix compression in RedisCluster [1aed74b4] (Pavlo Yatsukhnenko)
* Refactor geo* commands + documentation improvements (Michael Grunder)
</notes>
</release>
<release>
<stability><release>stable</release><api>stable</api></stability>
<version><release>4.0.2</release><api>4.0.2</api></version>
<date>2018-04-25</date>
<notes>
phpredis 4.0.2
This release contains only fix of exists method to take multiple keys
and return integer value (was broken in 4.0.1) Thanks @RanjanRohit!
</notes>
</release>
<release>
<stability><release>stable</release><api>stable</api></stability>
<version><release>4.0.1</release><api>4.0.1</api></version>
<date>2018-04-18</date>
<notes>
phpredis 4.0.1
* Fix arginfo for connect/pconnect issue #1337 [c3b228] (@mathroc)
* Don't leak a ZVAL [278232] (Michael Grunder)
* Fix config.m4 for lzf issue #1325 [20e173] (Pavlo Yatsukhnenko)
* Updates EXISTS documentation and notes change in 4.0.0 [bed186] (Michael Grunder)
* Fix typo in notes [0bed36] (@szepeviktor)
</notes>
</release>
<release>
<stability><release>stable</release><api>stable</api></stability>
<version><release>4.0.0</release><api>4.0.0</api></version>
<date>2018-03-17</date>
<notes>
phpredis 4.0.0
*** WARNING! THIS RELEASE CONTAINS BREAKING API CHANGES! ***
* Add proper ARGINFO for all methods. (Pavlo Yatsukhnenko, Michael Grunder)
* Let EXISTS take multiple keys [cccc39] (Michael Grunder)
* Use zend_string as returning value for ra_extract_key and ra_call_extractor [9cd05911] (Pavlo Yatsukhnenko)
* Implement SWAPDB and UNLINK commands [84f1f28b, 9e65c429] (Michael Grunder)
* Return real connection error as exception [5b9c0c60] (Pavlo Yatsukhnenko, Michael Grunder)
* Disallow using empty string as session name. [485db46f] (Pavlo Yatsukhnenko)
* Use zend_string for storing auth and prefix members [4b8336f7] (Pavlo Yatsukhnenko)
* The element of z_seeds may be a reference on php7 [367bc6aa, 1e63717a] (@janic716)
* Avoid connection in helper methods [91e9cfe1] (Pavlo Yatsukhnenko)
* Add tcp_keepalive option to redis sock [68c58513, 5101172a, 010336d5, 51e48729] (@git-hulk, Michael Grunder)
* More robust GEORADIUS COUNT validation [f7edee5d] (Michael Grunder)
* Add LZF compression (experimental) [e2c51251, 8cb2d5bd, 8657557] (Pavlo Yatsukhnenko)
* Allow to use empty string as persistant_id [ec4fd1bd] (Pavlo Yatsukhnenko)
* Don't use convert_to_string in redis_hmget_cmd [99335d6] (Pavlo Yatsukhnenko)
* Allow mixing MULTI and PIPELINE modes (experimental) [5874b0] (Pavlo Yatsukhnenko)
* PHP >=7.3.0 uses zend_string to store `php_url` elements [b566fb44] (@fmk)
* Documentation improvements (Michael Grunder, @TomA-R)
</notes>
</release>
<release>
<stability><release>stable</release><api>stable</api></stability>
<version><release>3.1.6</release><api>3.1.6</api></version>
<date>2018-01-03</date>
<notes>
phpredis 3.1.6
This release conains only fix of RedisArray distributor hashing function
which was broken in 3.1.4. Huge thanks to @rexchen123
</notes>
</release>
<release>
<stability><release>stable</release><api>stable</api></stability>
<version><release>3.1.5</release><api>3.1.5</api></version>
<date>2017-12-20</date>
<notes>
phpredis 3.1.5
This is interim release which contains only bug fixes.
* Fix segfault when extending Redis class in PHP 5 [d23eff] (Pavlo Yatsukhnenko)
* Fix RedisCluster constructor with PHP 7 strict scalar type [5c21d7] (Pavlo Yatsukhnenko)
* Allow to use empty string as persistant_id [344de5] (Pavlo Yatsukhnenko)
* Fix cluster_init_seeds. [db1347] (@adlagares)
* Fix z_seeds may be a reference [42581a] (@janic716)
* PHP >=7.3 uses zend_string for php_url elements [b566fb] (@fmk)
</notes>
</release>
<release>
<stability><release>stable</release><api>stable</api></stability>
<version><release>3.1.4</release><api>3.1.4</api></version>
<date>2017-09-27</date>
<notes>
phpredis 3.1.4
The primary new feature phpredis 3.1.4 is the ability to send MULTI .. EXEC blocks in pipeline mode. There are
also many bugfixes and minor improvements to the api, listed below:
* Allow mixing MULTI and PIPELINE modes (experimental)! [5874b0] (Pavlo Yatsukhnenko)
* Added integration for coverty static analysis and fixed several warnings
[faac8b0, eff7398, 4766c25, 0438ab4, 1e0b065, 733732a, 26eeda5, 735025, 42f1c9, af71d4] (Pavlo Yatsukhnenko)
* Added arginfo inrospection structures [81a0303, d5609fc, e5660be, 3c60e1f, 50dcb15, 6c2c6fa,
212e323, e23be2c, 682593d, f8de702, 4ef3acd, f116be9, 5c111dd, 9caa029, 0d69650, 6859828, 024e593,
3643ab6, f576fab, 122d41f, a09d0e6] (Tyson Andre, Pavlo Yatsukhnenko)
* Fixed link to redis cluster documentation [3b0b06] (Pavlo Yatsukhnenko)
* Remove unused PHP_RINIT and PHP_RSHUTDOWN functions [c760bf] (Pavlo Yatsukhnenko)
* Removed duplicate HGET in redis array hash table, formatting [d0b9c5] (Pavlo Yatsukhnenko)
* Treat NULL bulk as success for session read [659450] (Pavlo Yatsukhnenko)
* Refactor redis_send_discard [ea15ce] (Pavlo Yatsukhnenko)
* Updated runtime exception handling [8dcaa4, 7c1407] (Pavlo Yatsukhnenko)
* Added a github issue template [61aba9] (Pavlo Yatsukhnenko)
* Initialize gc member of zend_string [37f569) (Pavlo Yatsukhnenko)
* Fix valgrind warnings [471ce07, 1ab89e1, b624a8b] (Pavlo Yatsukhnenko)
* Fix php5/php7 compatibility layer [1ab89e, 4e3225] (Pavlo Yatsukhnenko)
* Fix typo in README.markdown [e47e44] (Mark Shehata)
* Improve redis array rehash [577a91] (Pavlo Yatsukhnenko)
* Change redis array pure_cmds from zval to hashtable [a56ed7] (Pavlo Yatsukhnenko)
* Don't try to set TCP_NODELAY on a unix socket and don't warn on multiple
calls to pipeline [d11798, 77aeba] (Michael Grunder)
* Use zend_string rather than char* for various context fields (err, prefix, etc) [2bf7b2] (Pavlo Yatsukhnenko)
* Various other library fixes [142b51, 4452f6, e672f4, 658ee3, c9df77, 4a0a46] (Pavlo Yatsukhnenko)
</notes>
</release>
<release>
<stability><release>stable</release><api>stable</api></stability>
<version><release>3.1.3</release><api>3.1.3</api></version>
<date>2017-07-15</date>
<notes>
phpredis 3.1.3
This release contains two big improvements:
1. Adding a new printf like command construction function with additionaly format specifiers specific to phpredis.
2. Implementation of custom objects for Redis and RedisArray wich eliminates double hash lookup.
Also many small improvements and bug fixes were made.
* A printf like method to construct a Redis RESP command [a4a0ed, d75081, bdd287, 0eaeae, b3d00d] (Michael Grunder)
* Use custom objects instead of zend_list for storing Redis/RedisArray [a765f8, 8fa85a] (Pavlo Yatsukhnenko)
* Make sure redisCluster members are all initialized on (re)creation [162d88] (Michael Grunder)
* Fix Null Bulk String response parsing in cluster library [058753] (Alberto Fernández)
* Add hStrLen command [c52077, fb88e1] (Pavlo Yatsukhnenko)
* Add optional COUNT argument to sPop [d2e203] (Michael Grunder)
* Allow sInterStore to take one arg [26aec4, 4cd06b] (Michael Grunder)
* Allow MIGRATE to accept multiple keys [9aa3db] (Michael Grunder)
* Allow using numeric string in zInter command [ba0070] (Pavlo Yatsukhnenko)
* Use crc32 table from PHP distro [f81694] (Pavlo Yatsukhnenko)
* Use ZVAL_DEREF macros for dereference input variables [ad4596] (Pavlo Yatsukhnenko)
* Add configureoption tag to package.xml [750963] (Pavlo Yatsukhnenko)
* Fix read_timeout [18149e, b56dc4] (Pavlo Yatsukhnenko)
* Fix zval_get_string impl for PHP5 [4e56ba] (Pavlo Yatsukhnenko)
* Fix Redis/RedisArray segfaults [be5c1f, 635c3a, 1f8dde, 43e1e0] (Pavlo Yatsukhnenko)
* Fix memory leak and potential segfault [aa6ff7, 88efaa] (Michael Grunder)
* Throw exception for all non recoverable errors [e37239] (Pavlo Yatsukhnenko)
* Assume "NULL bulk" reply as success (empty session data) [4a81e1] (Pavlo Yatsukhnenko)
* Increase read buffers size [520e06] (Pavlo Yatsukhnenko)
* Better documentation [f0c25a, c5991f, 9ec9ae] (Michael Grunder)
* Better TravisCI integration [e37c08] (Pavlo Yatsukhnenko)
* Refactoring (Pavlo Yatsukhnenko, Michael Grunder)
</notes>
</release>
<release>
<stability><release>stable</release><api>stable</api></stability>
<version><release>3.1.2</release><api>3.1.2</api></version>
<date>2017-03-16</date>
<notes>
phpredis 3.1.2
* RedisArray segfault fix [564ce3] (Pavlo Yatsukhnenko)
* Small memory leak fix [645888b] (Mike Grunder)
* Segfault fix when recreating RedisCluster objects [abf7d4] (Michael Grunder)
* Fix for RedisCluster bulk response parsing [4121c4] (Alberto Fernández)
* Re allow single array for sInterStore [6ef0c2, d01966] (Michael Grunder)
* Better TravisCI integration [4fd2f6] (Pavlo Yatsukhnenko)
</notes>
</release>
<release>
<stability><release>beta</release><api>beta</api></stability>
<version><release>3.1.1RC2</release><api>3.1.1RC2</api></version>
<date>2017-01-16</date>
<notes>
phpredis 3.1.1RC2
* Additional test updates for 32 bit systems (@remicollet)
* ARM rounding issue in tests (@remicollet)
* Use new zend_list_close instead of zend_list_delete when reconnecting.
* Refactoring of redis_boolean_response_impl and redis_sock_write (@yatsukhnenko)
phpredis 3.1.1.RC1
This release contains mostly fixes for issues introduced when merging
the php 5 and 7 codebase into a single branch.
* Fixed a segfault in igbinary serialization (@yatsukhnenko)
* Restore 2.2.8/3.0.0 functionality to distinguish between an error
and simply empty session data. (@remicollet)
* Fix double to string conversion function (@yatsukhnenko)
* Use PHP_FE_END definition when available (@remicollet)
* Fixed various 'static function declared but not used' warnings
* Fixes to various calls which were typecasting pointers to the
wrong size. (@remicollet)
* Added php session unit test (@yatsukhnenko)
* Added explicit module dependancy for igbinary (@remicollet)
* Added phpinfo serialization information (@remicollet)
</notes>
</release>
<release>
<stability><release>stable</release><api>stable</api></stability>
<version><release>3.1.0</release><api>3.1.0</api></version>
<date>2016-12-14</date>
<notes>
phpredis 3.1.0
In this version of phpredis codebase was unified to work with all versions of php \o/
Also many bug fixes and some improvements has been made.
--- Improvements ---
* Support the client to Redis Cluster just having one master (andyli) [892e5646]
* Allow both long and strings that are longs for zrangebyscore offset/limit (Michael Grunder) [bdcdd2aa]
* Process NX|XX, CH and INCR options in zAdd command (Pavlo Yatsukhnenko) [71c9f7c8]
--- Fixes ---
* Fix incrby/decrby for large integers (Michael Grunder) [3a12758a]
* Use static declarations for spl_ce_RuntimeException decl (Jeremy Mikola) [a9857d69]
* Fixed method call problem causes session handler to display two times (ZiHang Gao) [24f86c49]
* psetex method returns '+OK' on success, not true (sitri@ndxbn) [afcd8445]
* Fix integer overflow for long (>32bit) increments in hIncrBy (iyesin) [58e1d799]
* Move zend_object handler to the end (Michael Grunder) [34107966]
* Using setOption on redis array causes immediate connection (Pavlo Yatsukhnenko) [f1a85b38]
</notes>
</release>
<release>
<stability><release>stable</release><api>stable</api></stability>
<version><release>2.2.8</release><api>2.2.8</api></version>
<date>2016-06-02</date>
<notes>
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
</notes>
</release>
<release>
<stability><release>stable</release><api>stable</api></stability>
<version><release>2.2.7</release><api>2.2.7</api></version>
<date>2015-03-03</date>
<notes>
phpredis 2.2.7
-- Improvements ---
* Implemented PFADD, PFMERGE, and PFCOUNT command handling
* Implemented ZRANGEBYLEX command (holding off on ZREVRANGEBYLEX
as that won't be out until 3.0)
* Implemented getMode() so clients can detect whether we're in
ATOMIC/MULTI/PIPELINE mode.
* Implemented rawCommand() so clients can send arbitrary things to
the redis server
* Implemented DEBUG OBJECT (@michael-grunder, @isage)
* Added/abide by connect timeout for RedisArray
* Select to the last selected DB when phpredis reconnects
-- Fixes ---
* Fix a possible invalid free in _serialize
* Added SAVE and BGSAVE to "distributable" commands for RedisArray
* @welting -- Fixed invalid "argc" calculation re HLL commands
* Allow clients to break out of the subscribe loop and return context.
* Fixes a memory leak in SCAN when OPT_SCAN_RETRY id.
* @remicollet -- Fix possible segfault when igbinary is enabled.
* Add a couple of cases where we throw on an error (LOADING/NOAUTH/MASTERDOWN)
* Fix several issues with serialization NARY
* @itcom -- Fix missing TSRMLS_CC and a TSRMLS_DC/TSRMLS_CC typo
</notes>
</release>
<release>
<stability><release>stable</release><api>stable</api></stability>
<version><release>2.2.5</release><api>2.2.5</api></version>
<date>2014-03-15</date>
<notes>
phpredis 2.2.5
This is a minor release with several bug fixes as well as additions to support
new commands that have been introduced to Redis since our last release.
A special thanks to everyone who helps the project by commenting on issues and
submitting pull requests! :)
[NEW] Support for the BITPOS command
[NEW] Connection timeout option for RedisArray (@MikeToString)
[NEW] A _serialize method, to complement our existing _unserialize method
[NEW] Support for the PUBSUB command
[NEW] Support for SCAN, SSCAN, HSCAN, and ZSCAN
[NEW] Support for the WAIT command
[FIX] Handle the COPY and REPLACE arguments for the MIGRATE command
[DOC] Fix syntax error in documentation for the SET command (@mithunsatheesh)
[DOC] Homebrew documentation instructions (@mathias)
</notes>
</release>
<release>
<stability><release>stable</release><api>stable</api></stability>
<version><release>2.2.4</release><api>2.2.4</api></version>
<date>2013-09-01</date>
<notes>
**
** Features / Improvements
**
* Randomized reconnect delay for RedisArray @mobli
This feature adds an optional parameter when constructing a RedisArray object
such that a random delay will be introduced if reconnections are made,
mitigating any &apos;thundering herd&apos; type problems.
* Lazy connections to RedisArray servers @mobli
By default, RedisArray will attempt to connect to each server you pass in
the ring on construction. This feature lets you specify that you would
rather have RedisArray only attempt a connection when it needs to get data
from a particular node (throughput/performance improvement).
* Allow LONG and STRING keys in MGET/MSET
* Extended SET options for Redis &gt;= 2.6.12
* Persistent connections and UNIX SOCKET support for RedisArray
* Allow aggregates for ZUNION/ZINTER without weights @mheijkoop
* Support for SLOWLOG command
* Reworked MGET algorithm to run in linear time regardless of key count.
* Reworked ZINTERSTORE/ZUNIONSTORE algorithm to run in linear time
**
** Bug fixes
**
* C99 Compliance (or rather lack thereof) fix @mobli
* Added ZEND_ACC_CTOR and ZEND_ACC_DTOR @euskadi31
* Stop throwing and clearing an exception on connect failure @matmoi
* Fix a false positive unit test failure having to do with TTL returns
</notes>
</release>
<release>
<stability><release>stable</release><api>stable</api></stability>
<version><release>2.2.3</release><api>2.2.3</api></version>
<date>2013-04-29</date>
<notes>
First release to PECL
</notes>
</release>
</changelog>
</package>
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/mo52/phpredis.git
git@gitee.com:mo52/phpredis.git
mo52
phpredis
phpredis
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385