Skip to content
This repository was archived by the owner on Oct 9, 2022. It is now read-only.

Bump predis/predis from 1.1.10 to 2.0.2 #432

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Sep 6, 2022

Bumps predis/predis from 1.1.10 to 2.0.2.

Release notes

Sourced from predis/predis's releases.

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 automatically uses this class when ext-phpiredis is loaded, but it is possible to configure the hash generator using the new crc16 client option (accepted values predis, phpiredis or an hash generator instance).

  • Replication backends now use the role parameter instead of alias in order to distinguish the role of a connection. Accepted values are master, slave

... (truncated)

Changelog

Sourced from predis/predis's changelog.

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.
  • 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 automatically uses this class when ext-phpiredis is loaded, but it is possible to configure the hash generator using the new crc16 client option (accepted values predis, phpiredis or an hash generator instance).

... (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)

Bumps [predis/predis](https://github.com/predis/predis) from 1.1.10 to 2.0.2.
- [Release notes](https://github.com/predis/predis/releases)
- [Changelog](https://github.com/predis/predis/blob/main/CHANGELOG.md)
- [Commits](predis/predis@v1.1.10...v2.0.2)

---
updated-dependencies:
- dependency-name: predis/predis
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file php Pull requests that update Php code labels Sep 6, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
dependencies Pull requests that update a dependency file php Pull requests that update Php code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants