hit-box / hitbox

A high-performance caching framework suitable for single-machine and for distributed applications in Rust
MIT License
73 stars 6 forks source link

Update redis requirement from 0.21 to 0.23 #66

Closed dependabot[bot] closed 1 year ago

dependabot[bot] commented 1 year ago

Updates the requirements on redis to permit the latest version.

Release notes

Sourced from redis's releases.

v0.23.0

This release adds the cluster_async module, which introduces async Redis Cluster support. The code therein is largely taken from @​Marwes's redis-cluster-async crate, which itself appears to have started from a sync Redis Cluster mplementation started by @​atuk721. In any case, thanks to @​Marwes and @​atuk721 for the great work, and we hope to keep development moving forward in redis-rs.

This release also adds support for Rustls, a long-sought feature. Thanks to @​rharish101 and @​LeoRowan for getting this in! Note that the tls and async-std-tls-comp features have been deprecated and replaced by tls-native-tls and async-std-native-tls-comp, respectively.

Though async Redis Cluster functionality for the time being has been kept as close to the originating crate as possible, previous users of redis-cluster-async should note the following changes:

  • Retries, while still configurable, can no longer be set to None/infinite retries
  • Routing and slot parsing logic has been removed and merged with existing redis-rs functionality
  • The client has been removed and superceded by common ClusterClient
  • Renamed Connection to ClusterConnection
  • Added support for reading from replicas
  • Added support for insecure TLS
  • Added support for setting both username and password

Breaking Changes

  • Fix long-standing bug related to AsyncIter's stream implementation in which polling the server for additional data yielded broken data in most cases. Type bounds for AsyncIter have changed slightly, making this a potentially breaking change. (#597 @​roger)

Changes

  • Update Rustls to v0.21.0 (#820 @​rharish101)
  • Implement support for Rustls (#725 @​rharish101, @​LeoRowan)
  • Commands: Add additional generic args for key arguments (#795 @​MaxOhn)
  • Add mset / deprecate set_multiple (#766 @​randomairborne)
  • More efficient interfaces for MultiplexedConnection and ConnectionManager (#811 @​nihohit)
  • Refactor / remove flaky test (#810)
  • cluster_async: rename Connection to ClusterConnection, Pipeline to ClusterConnInner (#808)
  • Support parsing IPV6 cluster nodes (#796 @​socs)
  • Common client for sync/async cluster connections (#798)
    • cluster::ClusterConnection underlying connection type is now generic (with existing type as default)
    • Support read_from_replicas in cluster_async
    • Set retries in ClusterClientBuilder
    • Add mock tests for cluster
  • cluster-async common slot parsing(#793)
  • Support async-std in cluster_async module (#790)
  • Async-Cluster use same routing as Sync-Cluster (#789)
  • Add Async Cluster Support (#696)
  • Fix broken json-module tests (#786)
  • cluster: Tls Builder support / simplify cluster connection map (#718 @​0xWOF, @​utkarshgupta137)
Commits


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] commented 1 year ago

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.