keystone.guru
keystone.guru copied to clipboard
Bump predis/predis from 1.1.10 to 2.0.3
Bumps predis/predis from 1.1.10 to 2.0.3.
Release notes
Sourced from predis/predis's releases.
v2.0.3
- Improved PHP 8.2 support
- Call
is_resource()
before reading/writing- Added partial support for Redis Stream commands
- Fixed Sentinel authentication issue
v2.0.2
- Fixed PHP 8.2 deprecation notice: Use of "static" in callables
v2.0.1
- Added retry interval to
RedisCluster
with a default of10ms
- Avoid PHP 8.2 warning in
Connection\Parameters
- Fixed Sentinel reconnect issue in long-running PHP processes
v2.0.0
Dropped support for PHP 7.1 and older
Accepted values for some client options have changed, this is the new list of accepted values:
aggregate
: callable returning an aggregate connection.cluster
: string value (predis
,redis
), callable returning an aggregate connection.replication
: string value (predis
,sentinel
), callable returning an aggregate connection.commands
: command factory, named array mapping command IDs to PHP classes, callable returning a command factory or a named array.connections
: connection factory, callable object returning a connection factory, named array mapping URI schemes to PHP classes, string identifying a supported combination of configurations for the connection factory.prefix
: string value, command processor, callable.exceptions
: boolean.Note that both the
cluster
andreplication
options now return a closure acting as initializer instead of an aggregate connection instance.The
connections
client option now accepts certain string values identifying certain combinations of configurations for the connection factory. Currenlty this is used to provide a short way to configure Predis to load our phpiredis based connection backends simply, accepted values are:
phpiredis-stream
mapsPhpiredis\Connection\PhpiredisStreamConnection
totcp
,redis
,unix
URI schemes.phpiredis-socket
mapsPhpiredis\Connection\PhpiredisSocketConnection
totcp
,redis
,unix
URI schemes.phpiredis-stream
is simply an alias ofphpiredis-stream
.Added the new
Predis\Cluster\Hash\PhpiredisCRC16
class using ext-phpiredis to speed-up the generation of the CRC16 hash of keys for redis-cluster. Predis
... (truncated)
Changelog
Sourced from predis/predis's changelog.
v2.0.3 (2022-10-11)
- Improved PHP 8.2 support
- Call
is_resource()
before reading/writing- Added partial support for Redis Stream commands
- Fixed Sentinel authentication issue
v2.0.2 (2022-09-06)
- Fixed PHP 8.2 deprecation notice: Use of "static" in callables
v2.0.1 (2022-09-04)
- Added retry interval to
RedisCluster
with a default of10ms
- Avoid PHP 8.2 warning in
Connection\Parameters
- Fixed Sentinel reconnect issue in long-running PHP processes
v2.0.0 (2022-06-08)
Dropped support for PHP 7.1 and older
Accepted values for some client options have changed, this is the new list of accepted values:
aggregate
: callable returning an aggregate connection.cluster
: string value (predis
,redis
), callable returning an aggregate connection.replication
: string value (predis
,sentinel
), callable returning an aggregate connection.commands
: command factory, named array mapping command IDs to PHP classes, callable returning a command factory or a named array.connections
: connection factory, callable object returning a connection factory, named array mapping URI schemes to PHP classes, string identifying a supported combination of configurations for the connection factory.prefix
: string value, command processor, callable.exceptions
: boolean.Note that both the
cluster
andreplication
options now return a closure acting as initializer instead of an aggregate connection instance.The
connections
client option now accepts certain string values identifying certain combinations of configurations for the connection factory. Currenlty this is used to provide a short way to configure Predis to load our phpiredis based connection backends simply, accepted values are:
phpiredis-stream
mapsPhpiredis\Connection\PhpiredisStreamConnection
totcp
,redis
,unix
URI schemes.phpiredis-socket
mapsPhpiredis\Connection\PhpiredisSocketConnection
totcp
,redis
,unix
URI schemes.phpiredis-stream
is simply an alias ofphpiredis-stream
.
... (truncated)
Commits
ff59f74
bump version1a0eb7e
sentinel default to no password when replica authentication is used (#807)bb6c1a7
Add partial support for Stream commands (#804)42c33a4
Check if socket is resource before reading (#802)7ad7421
check resource before writing, w/ test (#800)72d7675
improve PHP 8.2 support (#797)8b5fa92
mention php version [no ci]076a62e
bump version to 2.0.285dc175
PHP 8.2 Support (#796)7683215
bump tag to v2.0.1- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase
.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
-
@dependabot rebase
will rebase this PR -
@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it -
@dependabot merge
will merge this PR after your CI passes on it -
@dependabot squash and merge
will squash and merge this PR after your CI passes on it -
@dependabot cancel merge
will cancel a previously requested merge and block automerging -
@dependabot reopen
will reopen this PR if it is closed -
@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot ignore this major version
will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this minor version
will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this dependency
will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)