2503 Commits

Author SHA1 Message Date
Pavlo Yatsukhnenko d26dcb5627 5.3.2RC2 5.3.2RC2 2020-10-14 17:49:54 +03:00
Pavlo Yatsukhnenko 39513cab71 Update Changelog.md 2020-10-14 17:43:13 +03:00
Michael Grunder 514bc37102 Verify SET options are strings before testing them as strings. (#1859)
Addresses #1835
2020-10-13 13:05:20 -07:00
Pavlo Yatsukhnenko 44345f0afb Update Changelog.md 2020-10-07 11:47:44 +03:00
Pavlo Yatsukhnenko 81c502ae7c Issue #1839 (#1854) 2020-09-28 11:08:45 -07:00
Michael Grunder 950e8de807 Issue.1847 cluster segfault (#1850)
Fix for #1847 when dealing with NULL multi bulk replies in RedisCluster.

Adds `Redis::OPT_NULL_MULTIBULK_AS_NULL` setting to have PhpRedis
treat NULL multi bulk replies as `NULL` instead of `[]`.

Co-authored-by: Alex Offshore <offshore@aopdg.ru>
2020-09-28 11:07:46 -07:00
Pavlo Yatsukhnenko 7e5191fb56 Merge pull request #1845 from phpredis/issue-php8test
fix test suite for PHP 8
2020-09-11 12:39:39 +03:00
Remi Collet 1784879191 fix arg indexes 2020-09-11 10:15:30 +02:00
Remi Collet f4a30cb2bd fix 1 test for PHP 8, use call_user_func when no arg 2020-09-11 09:37:11 +02:00
Pavlo Yatsukhnenko d3780b487e TravisCI: skip dependency if not available 2020-09-10 10:34:52 +03:00
Pavlo Yatsukhnenko f1f07d7e88 TravisCI: ppa:redislabs/redis 2020-09-10 10:07:26 +03:00
Grégoire Pineau 398c99d985 Fixed Documentation of Redis::zScore (#1844) 2020-09-09 08:09:30 -07:00
Pavlo Yatsukhnenko 7e8c3eb9f8 Merge pull request #1843 from phpredis/issue-1782
Issue #1782
2020-09-09 09:46:12 +03:00
Pavlo Yatsukhnenko 4fbe7df79b Issue #1782
Update documentation.
2020-09-09 09:43:15 +03:00
Pavlo Yatsukhnenko a8daaff87a Issue #1782
Allow to specify stream context for rediscluster session handler.
2020-09-08 17:58:08 +03:00
Pavlo Yatsukhnenko f5c6fb0a45 Merge pull request #1837 from phpredis/issue-1794
Issue #1794
2020-08-31 21:05:21 +03:00
Pavlo Yatsukhnenko 500916a4d0 Issue #1794 2020-08-31 17:12:14 +03:00
Michael Grunder 3645807188 Relax requirements on set's expire argument (#1830)
Relax requirements on set's expire argument

See: #1783
2020-08-30 13:51:12 -07:00
Pavlo Yatsukhnenko 2351d12491 Merge pull request #1833 from phpredis/issue-1831
Issue #1831
2020-08-28 20:15:53 +03:00
michael-grunder 566fdeeb19 Add a regression test for XINFO on empty stream 2020-08-28 10:03:38 -07:00
Pavlo Yatsukhnenko 5719c9f7ff Issue #1831 2020-08-28 16:23:38 +03:00
Pavlo Yatsukhnenko b2cffffc10 Fix memory leak in rediscluster session handler 2020-08-14 16:56:32 +03:00
Pavlo Yatsukhnenko afcb303ff0 Merge pull request #1823 from phpredis/liveness-check
Refactor redis_sock_check_liveness
2020-08-05 19:58:06 +03:00
Pavlo Yatsukhnenko c5950644e9 Refactor redis_sock_check_liveness 2020-08-05 11:44:49 +03:00
Ali Alwash c9ed151dba Update zAdd/zRangeByScore documentation (#1815)
* Update zAdd functionality
* Fix readability additional params
* Add example of -inf/+inf for zRangeByScore
2020-07-21 10:22:27 -07:00
Pavlo Yatsukhnenko a7662da792 Don't use zend_fcall_info.no_separation 2020-07-09 13:01:34 +03:00
Pavlo Yatsukhnenko f771ea16b7 Issue #1607 (#1806) 2020-07-07 13:18:01 -07:00
michael-grunder bee44fb6c8 Final update for tagging 5.3.1 5.3.1 2020-07-07 10:48:38 -07:00
michael-grunder 14ac969da2 Add a test for passing NULL to auth 2020-07-07 10:43:31 -07:00
michael-grunder b465b797c0 Prepare for 5.3.1 2020-07-07 09:52:51 -07:00
michael-grunder 066cff6ade Proper cleanup and conditional address deallocation.
See: #1807
2020-07-07 09:41:39 -07:00
michael-grunder 49428a2f70 Passing only NULL to auth is a failure for redis_get_auth_info
Fixes: #1808
2020-07-07 09:33:55 -07:00
michael-grunder b8996894ff Prepare for 5.3.1 2020-07-06 13:19:53 -07:00
michael-grunder 7fed60f248 We don't want to efree a zend_string 2020-07-06 13:16:30 -07:00
michael-grunder e20b1cef86 Remove duplicate sha/name 2020-07-06 09:45:45 -07:00
michael-grunder 5d30e975ba Prepare for 5.3.1 2020-07-06 09:17:58 -07:00
Michael Grunder ff2e160f40 Don't attempt to take ZSTR_VAL(NULL) (#1804)
Fixes #1798
2020-07-02 09:56:54 -07:00
Remi Collet 83a1b7c5e2 fix configure message (#1803) 2020-07-02 09:52:54 -07:00
Remi Collet 08f202e775 fix #1796 missing include (#1800) 2020-07-02 09:47:05 -07:00
Pavlo Yatsukhnenko 13a168f42d Merge pull request #1799 from weberhofer/patch-1
Added installation section for openSUSE
2020-07-02 10:43:07 +03:00
Remi Collet b4779e6a91 [skip ci] remove instruction for EOL Fedora versions 2020-07-02 09:29:42 +02:00
Johannes Weberhofer 6ba7cffcfd Added installation section for openSUSE 2020-07-02 09:17:46 +02:00
Remi Collet 3c56289c71 check for hash extension during the build 2020-07-01 10:48:00 -07:00
michael-grunder a5783b2349 Merge tag '5.3.0' into develop
phpredis 5.3.0

  This release contains initial support for Redis 6 ACLs, LZ4 compression,
  and many more fixes and improvements.

  You can find a detailed list of changes in Changelog.md and package.xml

  A special thanks to BlueHost for sponsoring ACL support \o/

  * Sponsors
    ~ Audiomack - https://audiomack.com
    ~ BlueHost - https://bluehost.com
    ~ Redis Cache Pro for WordPress - https://wprediscache.com
    ~ Avtandil Kikabidze - https://github.com/akalongman
2020-07-01 09:17:56 -07:00
michael-grunder adbc12e526 Prepare for 5.3.0 GA 5.3.0 2020-06-30 15:16:39 -07:00
michael-grunder 5ceba7c6d9 Prepare for 5.3.0RC2 5.3.0RC2 2020-06-26 13:00:12 -07:00
michael-grunder 3ba3f06d51 Attempt to run LZ4 tests in Travis 2020-06-26 09:41:47 -07:00
Remi Collet df398cb07c Fix config.m4 errors and user pkg-config when possible 2020-06-26 08:57:26 -07:00
michael-grunder 57bb95bf5a Also NULL terminate if format is NULL 2020-06-26 08:36:30 -07:00
michael-grunder 262cc70e9e Update documentation with new feature info 2020-06-26 08:36:16 -07:00