keystone.guru icon indicating copy to clipboard operation
keystone.guru copied to clipboard

Bump predis/predis from 1.1.10 to 2.0.3

Open dependabot[bot] opened this issue 1 year ago • 0 comments

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 of 10ms
  • 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 and replication 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 maps Phpiredis\Connection\PhpiredisStreamConnection to tcp, redis, unix URI schemes.
    • phpiredis-socket maps Phpiredis\Connection\PhpiredisSocketConnection to tcp, redis, unix URI schemes.
    • phpiredis-stream is simply an alias of phpiredis-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 of 10ms
  • 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 and replication 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 maps Phpiredis\Connection\PhpiredisStreamConnection to tcp, redis, unix URI schemes.
    • phpiredis-socket maps Phpiredis\Connection\PhpiredisSocketConnection to tcp, redis, unix URI schemes.
    • phpiredis-stream is simply an alias of phpiredis-stream.

... (truncated)

Commits

Dependabot compatibility score

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)

dependabot[bot] avatar Oct 12 '22 08:10 dependabot[bot]