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
Qusonann
c778843b0d
Fix zrevrangebyscore pipeline annotation
...
[ci skip]
2020-09-09 23:42:03 +02:00
Daniele Alessandri
b3b81fce9f
Merge remote-tracking branch 'github/pr/657' into main
2020-09-09 23:39:18 +02:00
Qusonann
ccc2ea24cb
Fix zrevrangebyscore pipeline annotation
2020-09-08 21:23:35 +03:00
Daniele Alessandri
dca201291c
Fix CHANGELOG for broken Markdown rendering.
...
[ci skip]
2020-09-05 16:50:25 +02:00
Daniele Alessandri
2e76410e65
Support password-based authentication for sentinel instances.
...
Password-based authentication for sentinels has been added in Redis 5.
Predis was actively ignoring any "password" parameter for sentinels when
creating connections to them to avoid issues when this parameter is set
in the default "parameters" array passed via client options, as they are
applied to **every** connection created by Predis (see #346 ).
We need to find a better way to specify a common password for sentinels
to be handled in a different way than the ones for Redis nodes. For now
each sentinel node protected by password must have an explicit password
set in its parameters list even if this password, by design, is the same
for all sentinels. Since we cannot use default "parameters" as explained
above but we still need to pass a common value for all sentinels an idea
could be using a dedicated client option like we did with "service", but
we will see later.
In this commit we also explicitly reset any "username" parameter as it
would trigger an `AUTH $username $password` but sentinels do not support
ACL authentication.
Fixes #594 .
2020-09-05 16:25:06 +02:00