From 337dd815538e348102d6695da139419c9b639c60 Mon Sep 17 00:00:00 2001 From: James Lucas Date: Tue, 28 May 2024 16:44:20 -0500 Subject: [PATCH] Prepare release 0.25.4 --- Cargo.lock | 2 +- README.md | 24 ++++++++++++------------ redis/CHANGELOG.md | 4 ++++ redis/Cargo.toml | 2 +- 4 files changed, 18 insertions(+), 14 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 3449a666c..503d8a246 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1503,7 +1503,7 @@ dependencies = [ [[package]] name = "redis" -version = "0.25.3" +version = "0.25.4" dependencies = [ "ahash 0.8.7", "anyhow", diff --git a/README.md b/README.md index 9702d2d92..823f063bf 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ The crate is called `redis` and you can depend on it via cargo: ```ini [dependencies] -redis = "0.25.3" +redis = "0.25.4" ``` Documentation on the library can be found at @@ -59,10 +59,10 @@ To enable asynchronous clients, enable the relevant feature in your Cargo.toml, ``` # if you use tokio -redis = { version = "0.25.3", features = ["tokio-comp"] } +redis = { version = "0.25.4", features = ["tokio-comp"] } # if you use async-std -redis = { version = "0.25.3", features = ["async-std-comp"] } +redis = { version = "0.25.4", features = ["async-std-comp"] } ``` ## TLS Support @@ -73,25 +73,25 @@ Currently, `native-tls` and `rustls` are supported. To use `native-tls`: ``` -redis = { version = "0.25.3", features = ["tls-native-tls"] } +redis = { version = "0.25.4", features = ["tls-native-tls"] } # if you use tokio -redis = { version = "0.25.3", features = ["tokio-native-tls-comp"] } +redis = { version = "0.25.4", features = ["tokio-native-tls-comp"] } # if you use async-std -redis = { version = "0.25.3", features = ["async-std-native-tls-comp"] } +redis = { version = "0.25.4", features = ["async-std-native-tls-comp"] } ``` To use `rustls`: ``` -redis = { version = "0.25.3", features = ["tls-rustls"] } +redis = { version = "0.25.4", features = ["tls-rustls"] } # if you use tokio -redis = { version = "0.25.3", features = ["tokio-rustls-comp"] } +redis = { version = "0.25.4", features = ["tokio-rustls-comp"] } # if you use async-std -redis = { version = "0.25.3", features = ["async-std-rustls-comp"] } +redis = { version = "0.25.4", features = ["async-std-rustls-comp"] } ``` With `rustls`, you can add the following feature flags on top of other feature flags to enable additional features: @@ -117,7 +117,7 @@ let client = redis::Client::open("rediss://127.0.0.1/#insecure")?; Support for Redis Cluster can be enabled by enabling the `cluster` feature in your Cargo.toml: -`redis = { version = "0.25.3", features = [ "cluster"] }` +`redis = { version = "0.25.4", features = [ "cluster"] }` Then you can simply use the `ClusterClient`, which accepts a list of available nodes. Note that only one node in the cluster needs to be specified when instantiating the client, though @@ -140,7 +140,7 @@ fn fetch_an_integer() -> String { Async Redis Cluster support can be enabled by enabling the `cluster-async` feature, along with your preferred async runtime, e.g.: -`redis = { version = "0.25.3", features = [ "cluster-async", "tokio-std-comp" ] }` +`redis = { version = "0.25.4", features = [ "cluster-async", "tokio-std-comp" ] }` ```rust use redis::cluster::ClusterClient; @@ -160,7 +160,7 @@ async fn fetch_an_integer() -> String { Support for the RedisJSON Module can be enabled by specifying "json" as a feature in your Cargo.toml. -`redis = { version = "0.25.3", features = ["json"] }` +`redis = { version = "0.25.4", features = ["json"] }` Then you can simply import the `JsonCommands` trait which will add the `json` commands to all Redis Connections (not to be confused with just `Commands` which only adds the default commands) diff --git a/redis/CHANGELOG.md b/redis/CHANGELOG.md index 9f6fe8c62..d429aaef6 100644 --- a/redis/CHANGELOG.md +++ b/redis/CHANGELOG.md @@ -1,3 +1,7 @@ +### 0.25.4 (2024-05-28) + +* Fix explicit IoError not being recognized ([#1191](https://github.com/redis-rs/redis-rs/pull/1191)) + ### 0.25.3 (2024-04-04) * Handle empty results in multi-node operations ([#1099](https://github.com/redis-rs/redis-rs/pull/1099)) diff --git a/redis/Cargo.toml b/redis/Cargo.toml index 830b9ae37..24af62361 100644 --- a/redis/Cargo.toml +++ b/redis/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "redis" -version = "0.25.3" +version = "0.25.4" keywords = ["redis", "database"] description = "Redis driver for Rust." homepage = "https://github.com/redis-rs/redis-rs"