Predis v1.1.5 Release Notes
Release Date: 2020-09-10 // over 3 years ago-
๐ Here we have a new patch release!
NOTE: We are still missing handlers for commands added in Redis 4, 5 and 6. We will get on par eventually, in the meanwhile you can define your own ones or use
Predis\Client::executeRaw()
. Read this post for details about how to properly implement support for new commands if you would like to add missing ones and share your work with us by creating pull requests, contributions are always greatly appreciated!๐ NOTE intentionally commented out, please read the release notes for v1.1.6
๐ FIX : authentication for sentinels is now supported, previously it was not possible to specify apassword
for sentinels as its value was stripped during initialization because sentinels did not support authentication until Redis 5. Please note that with the current implementation each sentinel must have its ownpassword
parameter set in the parameters list despite this password is the same for all sentinels (read howrequirepass
works on the Redis docs). In this case you should avoid using the globalparameters
client option used to set default parameters for every connection created by Predis as this would end up using the same password even when connecting to actual Redis nodes. We are investiganting how to make it easier to specify the required password to access sentinels only once instead of repeating it for each sentinel.๐ FIX : the username is now correctly retrieved from the userinfo fragment of the URI when using the
redis
scheme and ausername:password
pair is present. Values retrieved from the userinfo fragment always override the ones specified inusername
andpassword
if those fields are present in the query string.๐ FIX :
Predis\Connection\WebdisConnection
was unable to connect to Webdis when using an IPv4 address in the URL and this is probably due to some change in cURL internals since the last time we tested it.๐ FIX : an exception is thrown when passing
FALSE
or any value evaluating toFALSE
to thereplication
client option. This was supposed to be unsupported, in fact it actually breaks client initialization and raises a PHP warning. Now the user is alerted with anInvalidArgumentException
and a proper message. (PR #381).