* Wed May 06 2020 Johannes Weberhofer <jweberhofer@weberhofer.at>
- Update to 5.2.2
* https://pecl.php.net/package-changelog.php?package=redis&release=5.2.2
This is a bugfix release that contains a fix for authentication
when using persistent connections, and an option to make the
ECHO challenge response logic optional.
* Inexpensive liveness check, and making ECHO optional [56898f81] (Pavlo Yatsukhnenko)
* Move `AUTH` to `redis_sock_server_open` [80f2529b](Pavlo Yatsukhnenko)
* Fri Mar 27 2020 ???? ?????? <ilya@ilya.pp.ua>
- Update to 5.2.1
* https://pecl.php.net/package-changelog.php?package=redis&release=5.2.1
* Fix arginfo for Redis::zadd.
* Fix segfault on closing persistent stream.
* Wed Mar 04 2020 ???? ?????? <ilya@ilya.pp.ua>
- Update to 5.2.0
* https://pecl.php.net/package-changelog.php?package=redis&release=5.2.0
* Include RedisSentinelTest.php in package.xml!
* Fix -Wmaybe-uninitialized warning.
* Fix improper destructor when zipping values and scores.
* Use php_rand instead of php_mt_rand for liveness challenge string.
* Initial support for RedisSentinel.
* Fix for ASK redirections.
* Create specific 'test skipped' exception.
* Fixed memory leaks in RedisCluster.
* Fixes for session lifetime values that underflow or overflow.
* Enables slot caching for Redis Cluster.
* Support TYPE argument for SCAN.
* Added challenge/response mechanism for persistent connections.
* Fri Nov 29 2019 ???? ?????? <ilya@ilya.pp.ua>
- Update to 5.1.1
* https://pecl.php.net/package-changelog.php?package=redis&release=5.1.1
* Fix fail to connect to redis through unix socket.
* Documentation improvements.
* Sat Nov 02 2019 ???? ?????? <ilya@ilya.pp.ua>
- Update to 5.1.0
* https://pecl.php.net/package-changelog.php?package=redis&release=5.1.0
* Fix regression for multihost_distribute_call added in 112c77e3.
* Fix regression for conntecting to unix sockets with relative path
added in 1f41da64.
* Fix unix-socket detection logic broken in 418428fa.
* Fix memory leak and bug with getLastError for redis_mbulk_reply_assoc
and redis_mbulk_reply_zipped.
* Fix bug with password contain "#" for redis_session.
* Add optional support for Zstd compression, using --enable-redis-ztsd.
This requires libzstd version >= 1.3.0.
* Fix overallocation in RedisCluster directed node commands.
* Also attach slaves when caching cluster slots.
* Use zend_register_persistent_resource_ex for connection pooling.
* Refactor redis_session.
* Documentation improvements.
* Fix missing null byte in PHP_MINFO_FUNCTION.
* Remove dead code generic_unsubscribe_cmd.
* Add documentation for zpopmin and zpopmax.
* Allow to specify scheme for session handler.
* Wed Aug 07 2019 ???? ?????? <ilya@ilya.pp.ua>
- Refresh spec-file with manual optmizations
* Remove version limit from BuildRequires:php7-devel (no actual).
* Remove BuildRequires:php7-soap (no needed).
* Add BuildRequires:php7-json (need for tests, but still does not load).
* Add %make_build and %make_install macros.
- Update to 5.0.2
* https://pecl.php.net/package-changelog.php?package=redis&release=5.0.2
* RedisCluster segfaults after second connection with cache_slots enabled.
* Cleanup TSRMLS_* usage.
* Replace ulong with zend_ulong.
* Replace uint with uint32_t.
* Fix regression for conntecting to ports > 32767.
* RedisCluster segfaults after second connection with cache_slots enabled.
* Documentation improvements.
* Tue Jul 02 2019 Johannes Weberhofer <jweberhofer@weberhofer.at>
- Update to 5.0.0
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.
* Remove HAVE_SPL
* Allow compilation without JSON serialization enabled and fixes for
deprecated helper methods.
* Enable connection pooling by default
* Soft deprecate methods that aren't actually Redis commands
* Enable pooling for cluster slave nodes
* xInfo response format
* Make the XREADGROUP optional COUNT and BLOCK arguments nullable
* Allow PING to take an optional argument
* Allow ZRANGE to be called either with `true` or `['withscores' => true]`
* Allow to specify server address as schema://host
* Allow persistent_id to be passed as NULL with strict_types enabled
* Add server address to exception message
* Adds OPT_REPLY_LITERAL for rawCommand and EVAL
* JSON serializer
* Add support for STREAM to the type command
* Fix TypeError when using built-in constants in `setOption`
* Handle references in MGET
* msgpack serializer
* Add Cluster slots caching
* Drop PHP5 support
* Documentation improvements
Version: 4.3.0-bp151.1.4
* Fri Mar 15 2019 Johannes Weberhofer <jweberhofer@weberhofer.at>
- Update to 4.3.0
* Proper persistent connections pooling implementation
* RedisArray auth
* Use zend_string for storing key
* Add ZPOPMAX and ZPOPMIN support
* Implement GEORADIUS_RO and GEORADIUSBYMEMBER_RO
* Add callback parameter to subscribe/psubscribe arginfo
* Don't check the number affected keys in PS_UPDATE_TIMESTAMP_FUNC
* Xgroup updates
* RedisCluster auth
* Cancel pipeline mode without executing commands
* Use zend_string for pipeline_cmd
* Different key hashing algorithms from hash extension
* Breaking the lock acquire loop in case of network problems
* Implement consistent hashing algorithm for RedisArray
* Use zend_string for storing RedisArray hosts
* Update lzf_compress to be compatible with PECL lzf extension
* Fix RedisCluster keys memory leak
* Directly use return_value in RedisCluster::keys method
* Fix segfault in Redis Cluster with inconsistent configuration
* Masters info leakfix
* Refactor redis_sock_read_bulk_reply
* Remove unused parameter lazy_connect from redis_sock_create
* Remove useless ZEND_ACC_[C|D]TOR.
* Documentation improvements
- Added additional settings to redis.ini
* Fri Nov 30 2018 ???? ?????? <ilya@ilya.pp.ua>
- Update to 4.2.0
* https://pecl.php.net/package-changelog.php?package=redis&release=4.2.0
* Optimize close method.
* Prevent potential infinite loop for sessions.
* Fix coverty warnings.
* Fix session memory leaks.
* Fix XCLAIM on 32-bit installs.
* Build warning fixes.
* Fix incorrect arginfo for `Redis::sRem` and `Redis::multi`.
* Update STREAM API to handle STATUS -> BULK reply change.
* Treat a -1 response from cluster_check_response as a timeout.
* Use a ZSET insted of SET for EVAL tests.
* Missing space between command and args.
* Streams API.
* Reset the socket after a timeout to make sure no wrong data is received.
* Modify session testing logic.
* Allow '-' and '+' arguments and add tests for zLexCount and zRemRangeByLex.
* Fix printf format warnings.
* Session module is required.
* Set default values for ini entries.
* Display ini entries in output of phpinfo.
* Persistant connections can be closed via close method + change reconnection logic.
* Documentation improvements.
Version: 4.2.0-2.1
* Fri Nov 30 2018 ilya@ilya.pp.ua
- Update to 4.2.0
* https://pecl.php.net/package-changelog.php?package=redis&release=4.2.0
* Optimize close method.
* Prevent potential infinite loop for sessions.
* Fix coverty warnings.
* Fix session memory leaks.
* Fix XCLAIM on 32-bit installs.
* Build warning fixes.
* Fix incorrect arginfo for `Redis::sRem` and `Redis::multi`.
* Update STREAM API to handle STATUS -> BULK reply change.
* Treat a -1 response from cluster_check_response as a timeout.
* Use a ZSET insted of SET for EVAL tests.
* Missing space between command and args.
* Streams API.
* Reset the socket after a timeout to make sure no wrong data is received.
* Modify session testing logic.
* Allow '-' and '+' arguments and add tests for zLexCount and zRemRangeByLex.
* Fix printf format warnings.
* Session module is required.
* Set default values for ini entries.
* Display ini entries in output of phpinfo.
* Persistant connections can be closed via close method + change reconnection logic.
* Documentation improvements.
* Thu Aug 16 2018 ilya@ilya.pp.ua
- Update to 4.1.1
* https://pecl.php.net/package-changelog.php?package=redis&release=4.1.1
* Fix arginfo for Redis::set method.
* Fix compression in RedisCluster.
* Fix TravisCI builds.
* Highlight php codes in documentation.
* Fri Jul 13 2018 ilya@ilya.pp.ua
- Update to 4.1.0
* https://pecl.php.net/package-changelog.php?package=redis&release=4.1.0
* Add callbacks validate_sid and update_timestamp to session handler.
* Call cluster_disconnect before destroying cluster object.
* Bulk strings can be zero length.
* Handle async parameter for flushDb and flushAll.
* Split INSTALL and add more instructions.
* Only the first arg of connect and pconnect is required.
* Add session locking functionality.
* Fix compression in RedisCluster.
* Refactor geo* commands + documentation improvements.
Version: 4.0.2-bp150.2.4
* Fri Apr 27 2018 ilya@ilya.pp.ua
- Update to 4.0.2
* https://pecl.php.net/package-changelog.php?package=redis&release=4.0.2
* Fix of exists method to take multiple keys and return integer value.
* Fri Apr 20 2018 jweberhofer@weberhofer.at
- Update to 4.0.1
* Fix arginfo for connect/pconnect issue
* Don't leak a ZVAL
* Fix config.m4 for lzf
* Updates EXISTS documentation and notes change in 4.0.0
* Fix typo in notes
* Mon Mar 19 2018 ilya@ilya.pp.ua
- Update to 4.0.0
* https://pecl.php.net/package-changelog.php?package=redis&release=4.0.0
* Add proper ARGINFO for all methods.
* Let EXISTS take multiple keys.
* Use zend_string as returning value for ra_extract_key and ra_call_extractor.
* Implement SWAPDB and UNLINK commands.
* Return real connection error as exception.
* Disallow using empty string as session name.
* Use zend_string for storing auth and prefix members.
* The element of z_seeds may be a reference on php7.
* Avoid connection in helper methods.
* Add tcp_keepalive option to redis sock.
* More robust GEORADIUS COUNT validation.
* Add LZF compression (experimental).
* Allow to use empty string as persistant_id.
* Don't use convert_to_string in redis_hmget_cmd.
* Allow mixing MULTI and PIPELINE modes (experimental).
* PHP >=7.3.0 uses zend_string to store `php_url` elements.
* Documentation improvements.
* Thu Mar 08 2018 ilya@ilya.pp.ua
- Remove %configure/make duplicates.
- Add %licence macros.
* Tue Jan 30 2018 crrodriguez@opensuse.org
- Build with hidden visibility, only a few symbols must be
exported, those are marked with default visibility in PHP core
headers.
* Thu Jan 04 2018 ilya@ilya.pp.ua
- Update to 3.1.6
* ChangeLog https://pecl.php.net/package-changelog.php?package=redis&release=3.1.6
* Fix of RedisArray distributor hashing function which was broken in 3.1.4.
* Fix RedisCluster constructor with PHP 7 strict scalar type.
* Allow to use empty string as persistant_id.
* Fix cluster_init_seeds.
* Fix z_seeds may be a reference.
* PHP >=7.3 uses zend_string for php_url elements.
* Sun Oct 08 2017 ilya@ilya.pp.ua
- Update to 3.1.4
* ChangeLog https://pecl.php.net/package-changelog.php?package=redis&release=3.1.4
* Allow mixing MULTI and PIPELINE modes (experimental).
* Added integration for coverty static analysis and fixed several warnings.
* Fixed link to redis cluster documentation.
* Remove unused PHP_RINIT and PHP_RSHUTDOWN functions.
* Removed duplicate HGET in redis array hash table, formatting.
* Treat NULL bulk as success for session read.
* Refactor redis_send_discard.
* Updated runtime exception handling.
* Added a github issue template.
* Initialize gc member of zend_string.
* Fix valgrind warnings.
* Fix php5/php7 compatibility layer.
* Fix typo in README.markdown.
* Improve redis array rehash.
* Change redis array pure_cmds from zval to hashtable.
* Don't try to set TCP_NODELAY on a unix socket and don't warn on multiple calls to pipeline.
* Use zend_string rather than char* for various context fields.
* Various other library fixes.
* Wed Aug 02 2017 tchvatal@suse.com
- Remove the php5 packages as the php5 language is being removed
* Wed Jul 19 2017 ilya@ilya.pp.ua
- Update to 3.1.3
* ChangeLog https://pecl.php.net/package-changelog.php?package=redis&release=3.1.3
Version: 3.1.2-4.1
* Mon Jul 10 2017 ilya@ilya.pp.ua
- Add config file redis.ini
- Format spec-file to macro style
* Tue Jun 27 2017 jweberhofer@weberhofer.at
- Upgraded to version 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)
* Sat Feb 18 2017 jweberhofer@weberhofer.at
- Upgraded to version 3.1.1
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)
* 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)
* Added php session unit test (@yatsukhnenko)
* Added explicit module dependancy for igbinary (@remicollet)
* Added phpinfo serialization information (@remicollet)
- Version 3.1.0
In this version of phpredis codebase was unified to work with all versions of php.
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]
* Sun Jan 29 2017 jweberhofer@weberhofer.at
- Provide php-redis as php5 and php7 can't be installed together
* Tue Jan 10 2017 jweberhofer@weberhofer.at
- Updated to version 3.0.0 - no changelog provided
* Tue Mar 08 2016 danimo@owncloud.com
- Update build from php7 branch