Till Krüss
7683215023
bump tag to v2.0.1
v2.0.1
2022-09-04 14:57:36 -07:00
Till Krüss
dd4ddf6504
Update CHANGELOG.md
2022-08-03 11:53:59 -07:00
Till Krüss
6468e6cc2e
Update CHANGELOG.md
2022-08-03 11:51:22 -07:00
digital2real
12f6d30502
Add retry logic to support temporary redis cluster failure ( #788 )
...
* Add retry logic to support temporary redis cluster failure
* formatting
* Use exponential backoff retries.
$minRetryAfter cant be changed if needed with RedisCluster::setMinRetryAfter
* fix formating
* (hotfix) formaing + import import \Predis\Response\Error and \Predis\Connection\ConnectionException
* Update RedisCluster.php
* formatting
* tweaks
* Update RedisCluster.php
* Update RedisCluster.php
* Update RedisCluster.php
* Update unit tests regarding renaming of "retryInterval"
* spacing
Co-authored-by: Till Krüss <tillkruss@users.noreply.github.com >
2022-08-03 11:49:56 -07:00
Linc
a602fc7425
Fix sentinel reconnect issue on long-running PHP processes ( #784 )
...
* Fix no sentinel server available for autodiscovery on Swoole
* Fix errors in PHPUnit 9.5
the reason: https://github.com/sebastianbergmann/phpunit/commit/68582043e149039cfa3596b42ed35753dcf54fb2?fbclid=IwAR1qy1jFNFeJ3hUt5k7XAflqyCTUTWZhEqVSeizkybVHUEqXjBZ1gJM739U
* add restart sentinel test
2022-07-12 09:44:28 -07:00
John Paul E. Balandan, CPA
4ec74cc5fe
Declare $parameters property of Predis\Connection\Parameters ( #781 )
2022-06-29 07:58:14 -07:00
BrightQi
78fd4cb998
bugfix for srem type to accept array #779 ( #780 )
...
* bugfix for srem type to accept array #779
* add test to test SREM accept members as array type #779
2022-06-28 08:23:35 -07:00
Tomáš Fedor
2a8dd6a7f1
Add array as possible return type to spop ( #774 )
...
* Add array as possible return type to spop
* Update ClientInterface.php
Co-authored-by: Till Krüss <tillkruss@users.noreply.github.com >
2022-06-14 19:59:10 -07:00
Jayin Taung
7d7b3416a8
Add example for installing predis by Composer ( #772 )
...
* Add example for installing predis by Composer
* Update README.md
Co-authored-by: Till Krüss <tillkruss@users.noreply.github.com >
2022-06-13 07:54:46 -07:00
Till Krüss
99c253733d
tweak changelog format
v2.0.0
2022-06-08 06:14:56 -07:00
Till Krüss
69bb8fa082
bump version to v2.0.0 stable
2022-06-08 06:11:35 -07:00
Josias Montag
e5221fa13b
Allow PubSub / MultiExec with Replication
2022-05-28 08:18:01 -07:00
Till Krüss
15244c9642
cleanup readme
2022-05-26 12:01:30 -07:00
Till Krüss
4cc119a03c
tag 2.0.0-beta.1
v2.0.0-beta.1
2022-05-26 11:48:12 -07:00
Till Krüss
619890f715
fix test
2022-05-26 11:45:35 -07:00
Till Krüss
b060d43157
port changes from v1.1 branch
2022-05-26 11:29:45 -07:00
Till Krüss
a5ab2bce6b
truncate changelog
2022-05-26 11:12:41 -07:00
Hubert Lenoir
89f20dc968
add TOUCH command ( #767 )
2022-05-23 08:46:48 -07:00
Michal Lulco
6af5394a89
Added ZPOPMIN and ZPOPMAX ( #758 )
...
* Added ZPOPMIN and ZPOPMAX
* Added ZPOPMIN and ZPOPMAX
* Applied patch
2022-05-16 08:00:06 -07:00
Zaher Ghaibeh
c508086b0e
remove redundant variables ( #765 )
2022-05-15 09:51:28 -07:00
Zaher Ghaibeh
3c01ccc94c
Testing code against Redis 7 ( #764 )
...
* redis 7 init
fix typo
add the new returns
* having a full sentence for the exception message
2022-05-12 12:23:51 -07:00
Jordi Boggiano
e382bedb27
Update method tags ( #762 )
2022-05-12 09:13:06 -07:00
Zaher Ghaibeh
a2449da7c8
PHP 8.1 tests ( #760 )
...
* - init 8.1 tests
- adding `#[\ReturnTypeWillChange]`
- Fix deprecation message: strlen(): Passing null to parameter #1 ($string) of type string is deprecated
- null is not allowed
- cleanup
- default values should be same type
* Mirror `v1.1` fixes for these files
* add null as type too since we also accept null as default value
Signed-off-by: Zaher Ghaibeh <zaher@zaher.dev >
* revert back to assertNull
* Update CHANGELOG
* Update CHANGELOG.md
Co-authored-by: Till Krüss <tillkruss@users.noreply.github.com >
2022-05-07 08:03:53 -07:00
♚ PH⑦ de Soria™♛
b3a5bdf940
Remove invalid input for actions/cache ( #737 )
...
https://github.com/actions/cache/blob/main/examples.md#php---composer
2022-01-14 08:22:59 -08:00
Georges.L
4c1aada5ae
Updated set, setex, setexp type hint ( #710 )
2021-09-08 09:05:55 -07:00
Mehdi Baaboura
54775a0295
Update LICENSE ( #704 )
2021-07-19 09:27:37 -07:00
Ruslan Bekenev
367bd72a0b
Test optional count argument for LPOP ( #700 )
...
First added in Redis 6.2
2021-06-09 09:46:24 -07:00
Till Krüss
1d7ccb64ab
Merge pull request #670 from charescape/patch-1
...
Update README.md
2021-04-04 10:33:08 -07:00
Till Krüss
e29ae9065f
some spacing
2021-04-04 10:31:53 -07:00
Till Krüss
64fc7774c6
stick to PHPUnit 9.4.* for now
...
`getAnnotations()` was removed in 9.5:
https://github.com/sebastianbergmann/phpunit/commit/68582043e149039cfa3596b42ed35753dcf54fb2
2021-04-04 10:31:45 -07:00
Till Krüss
554c36b329
Merge pull request #688 from open-source-contributions/improve_assertions
...
Improve PHPUnit assertions
2021-04-04 10:20:39 -07:00
Till Krüss
be9d477564
fix for Redis 6 error message
2021-04-04 10:16:44 -07:00
Till Krüss
0e4e8f41cc
fix
2021-04-04 10:14:13 -07:00
Till Krüss
aa0c30809b
fix test when using Redis 6
2021-04-04 10:11:29 -07:00
Peter
20f8faee6f
Improve PHPUnit assertions
2021-04-04 23:30:14 +08:00
Till Krüss
aa436263f8
Merge pull request #684 from andrew-demb/patch-2
...
CommandInterface::parseResponse() can accept array and null argument
2021-03-09 08:43:59 -08:00
Till Krüss
3c8856b05a
Merge pull request #683 from andrew-demb/patch-1
...
Status::get() always return self
2021-03-09 08:43:39 -08:00
Andrii Dembitskyi
d935f6e5c2
CommandInterface::parseResponse() can accept array and null argument
2021-03-09 07:15:08 -05:00
Andrii Dembitskyi
87fcc69e7a
Status::get() always return self
2021-03-09 07:09:15 -05:00
charescape
407ddeca92
Update README.md
2020-11-12 11:39:48 +08:00
Till Krüss
338ba6d73d
Merge pull request #665 from danwall/patch-1
...
Fix typo
2020-09-26 19:08:13 -07:00
Dan Wall
25db9bfec5
Fix typo
2020-09-26 11:52:44 +10:00
Daniele Alessandri
0e9aeee90f
Fix PhpiredisSocketConnection for PHP 8.
...
Removed is_resource() check as socket_create() now returns an object.
2020-09-20 15:29:16 +02:00
Daniele Alessandri
f07f8d01fe
Where the heck did my beloved flat-style for badges go?
2020-09-10 21:51:36 +02:00
Daniele Alessandri
f133a3660c
Various updates to options class and interface.
2020-09-10 21:23:45 +02:00
Daniele Alessandri
fa44ff0846
Improve code used for client initialization.
...
Also provide a more detailed description of methods in phpdocs.
2020-09-10 21:23:10 +02:00
Daniele Alessandri
985343a992
Merge remote-tracking branch 'github/pr/656' into main
...
Local branch v2.0-clientoptions-aggregateconnections
2020-09-10 21:19:52 +02:00
Daniele Alessandri
d954e9f43f
Merge branch 'v1.1' into main
2020-09-10 21:16:58 +02:00
Daniele Alessandri
9e5371f5ce
Back to development.
...
[ci skip]
2020-09-10 15:40:46 +02:00
Daniele Alessandri
8ca99f91e4
Update CHANGELOG and bump VERSION (v1.1.5)
v1.1.5
2020-09-10 15:35:23 +02:00