2423 Commits

Author SHA1 Message Date
michael-grunder 0229a793c3 Update version info, changelog, and package.xml 5.2.0 2020-03-01 18:10:39 -08:00
michael-grunder 9fb9dfc42b Update changelog/package.xml and add sponsor 5.2.0RC2 2020-02-20 16:16:38 -08:00
michael-grunder 9ef2ed8977 pool challenge doesn't need cryptographic security
* Use PHP's regular php_rand() function instead of mt_rand() because we
don't need cryptographic security for the test, and mt_rand() will seed
for us if it's unseeded.

* Adds a cluster test that should retreive connections from the pool.
2020-02-18 17:38:49 -08:00
michael-grunder 0cee8f70a0 Seed the mt_rand if it's not seeded
See #1712
2020-02-18 13:08:15 -08:00
michael-grunder 5b54f008b8 Bump version defines to RC2 2020-02-17 18:03:30 -08:00
michael-grunder 371ae7aef0 No need to execute copy constructor and explicitly delete 2020-02-17 17:27:07 -08:00
michael-grunder a6fa23530b Use correct date in Changelog.md 2020-02-17 09:47:01 -08:00
michael-grunder b06600d7a1 Use standard change format 2020-02-17 09:37:19 -08:00
michael-grunder 51b9f63976 Update package.xml and Changelog.md
See #1709
2020-02-17 09:32:02 -08:00
michael-grunder eddbfc8f56 Include RedisSentinelTest.php 2020-02-17 09:23:31 -08:00
Remi Collet 740b8c8770 set initial value to make gcc happy [-Wmaybe-uninitialized] 2020-02-17 08:47:29 +01:00
michael-grunder c58fb7316a Can't use unicode ü because it breaks pecl rendering release notes 5.2.0RC1 2020-02-15 12:34:25 -08:00
michael-grunder 0f7c75cbf0 Update package.xml 2020-02-15 12:21:38 -08:00
michael-grunder 0320d540e8 Messing with release notes 2020-02-15 11:52:15 -08:00
michael-grunder 7c2a789544 Update to today's date 2020-02-15 11:16:36 -08:00
michael-grunder 1e773ebad5 Finalize versioning for release 2020-02-15 11:14:41 -08:00
michael-grunder d4be5a5278 Bump to today's date 2020-02-15 10:32:44 -08:00
michael-grunder 77f058362d Fix old dead link 2020-02-15 10:28:13 -08:00
michael-grunder be94d32729 Fix typo 2020-02-14 13:22:02 -08:00
michael-grunder a14b862f0a Fix markdown formatting 2020-02-14 13:19:17 -08:00
michael-grunder 34c57916a2 Test markdown rendering 2020-02-14 13:13:37 -08:00
michael-grunder 2acd6584b3 Commit changelog/package updates 2020-02-14 12:55:52 -08:00
Jan Ehrhardt 17ddbe76a2 Update config,w32 with sentinel sources
The sentinel sources were added to config.m4 in https://github.com/phpredis/phpredis/commit/c94e28f1ebabdfceb722ad78eff75ce4fc57f5a3#diff-788d457a20b110cc38e571dec9ddc68c

They should be added to config.w32 as well.
2020-02-10 18:11:55 -08:00
michael-grunder 383779edc2 Correct spelling and fix wording 2020-02-06 16:06:17 -08:00
michael-grunder 23f9de30cb Update sponsorship information 2020-02-06 16:01:18 -08:00
Pavlo Yatsukhnenko 5a609fa425 Add documentation 2020-02-06 14:14:46 -08:00
Pavlo Yatsukhnenko 46da22b09b Fix memory leak and add copyright header 2020-02-06 14:14:46 -08:00
Pavlo Yatsukhnenko 90cb69f37f Add more connection parameters 2020-02-06 14:14:46 -08:00
Pavlo Yatsukhnenko c94e28f1eb Add RedisSentinel class and tests 2020-02-06 14:14:46 -08:00
michael-grunder b1724b8482 Use proper version compare 2020-02-06 14:01:52 -08:00
michael-grunder 53fb36c9d3 Remove additional TYPE test 2020-02-06 14:01:52 -08:00
michael-grunder 544e641bf2 Adds a test for #1646
NOTE:  [This
comment](https://github.com/antirez/redis/pull/6116#issuecomment-509331565)
indicates the feature may be backported to Redis 5, so we'll want to
change our unit test if that happens.
2020-02-06 14:01:52 -08:00
Pavlo Yatsukhnenko 8eb39a260c Issue #1646
Add TYPE param to SCAN command.
Arginfo wasn't updated so this change isn't breaking change :)
2020-02-06 14:01:52 -08:00
michael-grunder ba73fbee74 Initial commit of ASK redirection fix
See #1693
2020-01-31 09:14:22 -08:00
michael-grunder 9410a7db00 Merge branch 'develop' of github.com:phpredis/phpredis into develop 2020-01-21 10:14:31 -08:00
michael-grunder c3d83d4460 Create a specific exception for 'test skipped'
I our test suite we were only checking if an exception was an instance
of `RedisException` and marking the test 'SKIPPED' if not.  This was
masking a failure in the RedisCluster test for testMultiExec by showing
it as skipped when it was actually throwing an exception (not being able
to execute the MULTI across the cluster).
2020-01-21 10:07:00 -08:00
Paul DelRe d07a8df67c Update README with missing deprecation notes 2020-01-21 09:06:47 -08:00
michael-grunder a107c9fc08 Fix a couple of memory leaks in Redis/RedisCluster
Addresses #1701
2020-01-19 09:35:24 -08:00
Pavlo Yatsukhnenko 2d39b48d4a Merge pull request #1698 from TysonAndre/php-7-header
Remove "PHP Version 5" comment section
2020-01-14 07:18:40 +02:00
Tyson Andre 0ef488fca7 Remove "PHP Version 5" section
package.xml has a minimum version of 7.0
PHP 8.0 will probably be out in around a year.
2020-01-13 18:41:03 -05:00
michael-grunder 7a79ad9c27 Also protect against session.gc_maxlifetime <= 0
Addresses #1694
2020-01-10 09:47:58 -08:00
michael-grunder 3c48a332d2 Protect session.gc_maxlifetime from integer overflow 2020-01-10 09:47:58 -08:00
Pavlo Yatsukhnenko 2c35e435be Merge pull request #1696 from TysonAndre/fix-redis_cluster-proto
Fix proto comments for host_port in RedisCluster
2020-01-06 17:00:30 +02:00
Pavlo Yatsukhnenko 1ff7dfb7cd Merge pull request #1697 from TysonAndre/fix-typos
Fix typos detected by codespell
2020-01-06 16:37:26 +02:00
Tyson Andre f52bd8a853 Fix typos detected by codespell 2020-01-06 09:08:36 -05:00
Tyson Andre 2ddc5f2160 Fix proto comments for host_port in RedisCluster
These methods accept a single argument, not two arguments.
(cluster_cmd_get_slot accepts one argument)
2020-01-05 21:12:09 -05:00
Pavlo Yatsukhnenko db446138c5 TravisCI: PHP-7.4 2019-12-08 11:53:12 +02:00
Pavlo Yatsukhnenko 3d83157699 Update changelog 2019-12-07 21:54:45 +02:00
Pavlo Yatsukhnenko a5f95925cc Change PING to ECHO to be compatible with old versions of Redis. 2019-12-07 21:49:35 +02:00
michael-grunder 9dbde8df8b Merge branch 'develop' of github.com:phpredis/phpredis into develop 2019-12-05 09:05:39 -08:00