Skip to content

Commit cbe47c6

Browse files
authored
Release redis 0.23.1 / redis-test 0.2.1 (redis-rs#907)
1 parent a6b4c74 commit cbe47c6

File tree

5 files changed

+58
-16
lines changed

5 files changed

+58
-16
lines changed

README.md

+12-12
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ The crate is called `redis` and you can depend on it via cargo:
1414

1515
```ini
1616
[dependencies]
17-
redis = "0.23.0"
17+
redis = "0.23.1"
1818
```
1919

2020
Documentation on the library can be found at
@@ -60,10 +60,10 @@ To enable asynchronous clients, enable the relevant feature in your Cargo.toml,
6060

6161
```
6262
# if you use tokio
63-
redis = { version = "0.23.0", features = ["tokio-comp"] }
63+
redis = { version = "0.23.1", features = ["tokio-comp"] }
6464
6565
# if you use async-std
66-
redis = { version = "0.23.0", features = ["async-std-comp"] }
66+
redis = { version = "0.23.1", features = ["async-std-comp"] }
6767
```
6868

6969
## TLS Support
@@ -74,25 +74,25 @@ Currently, `native-tls` and `rustls` are supported.
7474
To use `native-tls`:
7575

7676
```
77-
redis = { version = "0.23.0", features = ["tls-native-tls"] }
77+
redis = { version = "0.23.1", features = ["tls-native-tls"] }
7878
7979
# if you use tokio
80-
redis = { version = "0.23.0", features = ["tokio-native-tls-comp"] }
80+
redis = { version = "0.23.1", features = ["tokio-native-tls-comp"] }
8181
8282
# if you use async-std
83-
redis = { version = "0.23.0", features = ["async-std-native-tls-comp"] }
83+
redis = { version = "0.23.1", features = ["async-std-native-tls-comp"] }
8484
```
8585

8686
To use `rustls`:
8787

8888
```
89-
redis = { version = "0.23.0", features = ["tls-rustls"] }
89+
redis = { version = "0.23.1", features = ["tls-rustls"] }
9090
9191
# if you use tokio
92-
redis = { version = "0.23.0", features = ["tokio-rustls-comp"] }
92+
redis = { version = "0.23.1", features = ["tokio-rustls-comp"] }
9393
9494
# if you use async-std
95-
redis = { version = "0.23.0", features = ["async-std-rustls-comp"] }
95+
redis = { version = "0.23.1", features = ["async-std-rustls-comp"] }
9696
```
9797

9898
With `rustls`, you can add the following feature flags on top of other feature flags to enable additional features:
@@ -112,7 +112,7 @@ let client = redis::Client::open("rediss://127.0.0.1/")?;
112112

113113
Support for Redis Cluster can be enabled by enabling the `cluster` feature in your Cargo.toml:
114114

115-
`redis = { version = "0.23.0", features = [ "cluster"] }`
115+
`redis = { version = "0.23.1", features = [ "cluster"] }`
116116

117117
Then you can simply use the `ClusterClient`, which accepts a list of available nodes. Note
118118
that only one node in the cluster needs to be specified when instantiating the client, though
@@ -135,7 +135,7 @@ fn fetch_an_integer() -> String {
135135
Async Redis Cluster support can be enabled by enabling the `cluster-async` feature, along
136136
with your preferred async runtime, e.g.:
137137

138-
`redis = { version = "0.23.0", features = [ "cluster-async", "tokio-std-comp" ] }`
138+
`redis = { version = "0.23.1", features = [ "cluster-async", "tokio-std-comp" ] }`
139139

140140
```rust
141141
use redis::cluster::ClusterClient;
@@ -155,7 +155,7 @@ async fn fetch_an_integer() -> String {
155155

156156
Support for the RedisJSON Module can be enabled by specifying "json" as a feature in your Cargo.toml.
157157

158-
`redis = { version = "0.23.0", features = ["json"] }`
158+
`redis = { version = "0.23.1", features = ["json"] }`
159159

160160
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)
161161

redis-test/CHANGELOG.md

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
<a name="0.2.1"></a>
2+
### 0.2.1 (2023-07-28)
3+
4+
* Track redis 0.23.1 release
5+
16
<a name="0.2.0"></a>
27
### 0.2.0 (2023-04-05)
38

redis-test/Cargo.toml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "redis-test"
3-
version = "0.2.0"
3+
version = "0.2.1"
44
edition = "2021"
55
description = "Testing helpers for the `redis` crate"
66
homepage = "https://github.com/redis-rs/redis-rs"
@@ -13,7 +13,7 @@ rust-version = "1.60"
1313
bench = false
1414

1515
[dependencies]
16-
redis = { version = "0.23.0", path = "../redis" }
16+
redis = { version = "0.23.1", path = "../redis" }
1717

1818
bytes = { version = "1", optional = true }
1919
futures = { version = "0.3", optional = true }
@@ -22,6 +22,6 @@ futures = { version = "0.3", optional = true }
2222
aio = ["futures", "redis/aio"]
2323

2424
[dev-dependencies]
25-
redis = { version = "0.23.0", path = "../redis", features = ["aio", "tokio-comp"] }
25+
redis = { version = "0.23.1", path = "../redis", features = ["aio", "tokio-comp"] }
2626
tokio = { version = "1", features = ["rt", "macros", "rt-multi-thread"] }
2727

redis/CHANGELOG.md

+37
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,40 @@
1+
<a name="0.23.1"></a>
2+
### 0.23.1 (2023-07-28)
3+
4+
#### Features
5+
* Add basic Sentinel functionality ([#836](https://github.com/redis-rs/redis-rs/pull/836) @felipou)
6+
* Enable keep alive on tcp connections via feature ([#886](https://github.com/redis-rs/redis-rs/pull/886) @DoumanAsh)
7+
* Support fan-out commands in cluster-async ([#843](https://github.com/redis-rs/redis-rs/pull/843) @nihohit)
8+
* connection_manager: retry and backoff on reconnect ([#804](https://github.com/redis-rs/redis-rs/pull/804) @nihohit)
9+
10+
#### Changes
11+
* Tests: Wait for all servers ([#901](https://github.com/redis-rs/redis-rs/pull/901) @barshaul)
12+
* Pin `tempfile` dependency ([#902](https://github.com/redis-rs/redis-rs/pull/902))
13+
* Update routing data for commands. ([#887](https://github.com/redis-rs/redis-rs/pull/887) @nihohit)
14+
* Add basic benchmark reporting to CI ([#880](https://github.com/redis-rs/redis-rs/pull/880))
15+
* Add `set_options` cmd ([#879](https://github.com/redis-rs/redis-rs/pull/879) @RokasVaitkevicius)
16+
* Move random connection creation to when needed. ([#882](https://github.com/redis-rs/redis-rs/pull/882) @nihohit)
17+
* Clean up existing benchmarks ([#881](https://github.com/redis-rs/redis-rs/pull/881))
18+
* Improve async cluster client performance. ([#877](https://github.com/redis-rs/redis-rs/pull/877) @nihohit)
19+
* Allow configuration of cluster retry wait duration ([#859](https://github.com/redis-rs/redis-rs/pull/859) @nihohit)
20+
* Fix async connect when ns resolved to multi ip ([#872](https://github.com/redis-rs/redis-rs/pull/872) @hugefiver)
21+
* Reduce the number of unnecessary clones. ([#874](https://github.com/redis-rs/redis-rs/pull/874) @nihohit)
22+
* Remove connection checking on every request. ([#873](https://github.com/redis-rs/redis-rs/pull/873) @nihohit)
23+
* cluster_async: Wrap internal state with Arc. ([#864](https://github.com/redis-rs/redis-rs/pull/864) @nihohit)
24+
* Fix redirect routing on request with no route. ([#870](https://github.com/redis-rs/redis-rs/pull/870) @nihohit)
25+
* Amend README for macOS users ([#869](https://github.com/redis-rs/redis-rs/pull/869) @sarisssa)
26+
* Improved redirection error handling ([#857](https://github.com/redis-rs/redis-rs/pull/857))
27+
* Fix minor async client bug. ([#862](https://github.com/redis-rs/redis-rs/pull/862) @nihohit)
28+
* Split aio.rs to separate files. ([#821](https://github.com/redis-rs/redis-rs/pull/821) @nihohit)
29+
* Add time feature to tokio dependency ([#855](https://github.com/redis-rs/redis-rs/pull/855) @robjtede)
30+
* Refactor cluster error handling ([#844](https://github.com/redis-rs/redis-rs/pull/844))
31+
* Fix unnecessarily mutable variable ([#849](https://github.com/redis-rs/redis-rs/pull/849) @kamulos)
32+
* Newtype SlotMap ([#845](https://github.com/redis-rs/redis-rs/pull/845))
33+
* Bump MSRV to 1.60 ([#846](https://github.com/redis-rs/redis-rs/pull/846))
34+
* Improve error logging. ([#838](https://github.com/redis-rs/redis-rs/pull/838) @nihohit)
35+
* Improve documentation, add references to `redis-macros` ([#769](https://github.com/redis-rs/redis-rs/pull/769) @daniel7grant)
36+
* Allow creating Cmd with capacity. ([#817](https://github.com/redis-rs/redis-rs/pull/817) @nihohit)
37+
138
<a name="0.23.0"></a>
239
### 0.23.0 (2023-04-05)
340
In addition to *everything mentioned in 0.23.0-beta.1 notes*, this release adds support for Rustls, a long-

redis/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "redis"
3-
version = "0.23.0"
3+
version = "0.23.1"
44
keywords = ["redis", "database"]
55
description = "Redis driver for Rust."
66
homepage = "https://github.com/redis-rs/redis-rs"

0 commit comments

Comments
 (0)