Skip to content

Commit d8a5ca9

Browse files
authored
Release redis 0.23.4 / redis-test 0.2.4 (redis-rs#992)
1 parent a6df6e2 commit d8a5ca9

File tree

5 files changed

+58
-15
lines changed

5 files changed

+58
-15
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.3"
17+
redis = "0.23.4"
1818
```
1919

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

6060
```
6161
# if you use tokio
62-
redis = { version = "0.23.3", features = ["tokio-comp"] }
62+
redis = { version = "0.23.4", features = ["tokio-comp"] }
6363
6464
# if you use async-std
65-
redis = { version = "0.23.3", features = ["async-std-comp"] }
65+
redis = { version = "0.23.4", features = ["async-std-comp"] }
6666
```
6767

6868
## TLS Support
@@ -73,25 +73,25 @@ Currently, `native-tls` and `rustls` are supported.
7373
To use `native-tls`:
7474

7575
```
76-
redis = { version = "0.23.3", features = ["tls-native-tls"] }
76+
redis = { version = "0.23.4", features = ["tls-native-tls"] }
7777
7878
# if you use tokio
79-
redis = { version = "0.23.3", features = ["tokio-native-tls-comp"] }
79+
redis = { version = "0.23.4", features = ["tokio-native-tls-comp"] }
8080
8181
# if you use async-std
82-
redis = { version = "0.23.3", features = ["async-std-native-tls-comp"] }
82+
redis = { version = "0.23.4", features = ["async-std-native-tls-comp"] }
8383
```
8484

8585
To use `rustls`:
8686

8787
```
88-
redis = { version = "0.23.3", features = ["tls-rustls"] }
88+
redis = { version = "0.23.4", features = ["tls-rustls"] }
8989
9090
# if you use tokio
91-
redis = { version = "0.23.3", features = ["tokio-rustls-comp"] }
91+
redis = { version = "0.23.4", features = ["tokio-rustls-comp"] }
9292
9393
# if you use async-std
94-
redis = { version = "0.23.3", features = ["async-std-rustls-comp"] }
94+
redis = { version = "0.23.4", features = ["async-std-rustls-comp"] }
9595
```
9696

9797
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")?;
117117

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

120-
`redis = { version = "0.23.3", features = [ "cluster"] }`
120+
`redis = { version = "0.23.4", features = [ "cluster"] }`
121121

122122
Then you can simply use the `ClusterClient`, which accepts a list of available nodes. Note
123123
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 {
140140
Async Redis Cluster support can be enabled by enabling the `cluster-async` feature, along
141141
with your preferred async runtime, e.g.:
142142

143-
`redis = { version = "0.23.3", features = [ "cluster-async", "tokio-std-comp" ] }`
143+
`redis = { version = "0.23.4", features = [ "cluster-async", "tokio-std-comp" ] }`
144144

145145
```rust
146146
use redis::cluster::ClusterClient;
@@ -160,7 +160,7 @@ async fn fetch_an_integer() -> String {
160160

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

163-
`redis = { version = "0.23.3", features = ["json"] }`
163+
`redis = { version = "0.23.4", features = ["json"] }`
164164

165165
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)
166166

redis-test/CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
### 0.2.4 (2023-11-26)
2+
* Track redis 0.23.4 release
3+
4+
#### Changes
5+
* Remove redis version from Cargo. (#943)
6+
17
### 0.2.3 (2023-09-01)
28

39
* Track redis 0.23.3 release

redis-test/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "redis-test"
3-
version = "0.2.3"
3+
version = "0.2.4"
44
edition = "2021"
55
description = "Testing helpers for the `redis` crate"
66
homepage = "https://github.com/redis-rs/redis-rs"

redis/CHANGELOG.md

+38-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,40 @@
1-
### 0.23.3 (2023-09-01)
1+
### 0.23.4 (2023-11-26)
2+
3+
4+
#### Features
5+
* Support Mutual TLS ([#858](https://github.com/redis-rs/redis-rs/pull/858) @sp-angel)
6+
* Implement `FromRedisValue` for `Box<[T]>` and `Arc<[T]>` ([#799](https://github.com/redis-rs/redis-rs/pull/799) @JOT85)
7+
* Sync Cluster: support multi-slot operations. ([#967](https://github.com/redis-rs/redis-rs/pull/967))
8+
* Execute multi-node requests using try_request. ([#919](https://github.com/redis-rs/redis-rs/pull/919))
9+
* Sorted set blocking commands ([#962](https://github.com/redis-rs/redis-rs/pull/962) @gheorghitamutu)
10+
* Allow passing routing information to cluster. ([#899](https://github.com/redis-rs/redis-rs/pull/899))
11+
* Add `tcp_nodelay` feature ([#941](https://github.com/redis-rs/redis-rs/pull/941) @PureWhiteWu)
12+
* Add support for multi-shard commands. ([#900](https://github.com/redis-rs/redis-rs/pull/900))
13+
14+
15+
#### Changes
16+
* Fix sync cluster behavior with transactions. ([#983](https://github.com/redis-rs/redis-rs/pull/983))
17+
* Sync Pub/Sub - cache received pub/sub messages. ([#910](https://github.com/redis-rs/redis-rs/pull/910))
18+
* Prefer routing to primary in a transaction. ([#986](https://github.com/redis-rs/redis-rs/pull/986))
19+
* Accept iterator at `ClusterClient` initialization ([#987](https://github.com/redis-rs/redis-rs/pull/987) @ruanpetterson)
20+
* Change timeouts from usize and isize to f64 ([#988](https://github.com/redis-rs/redis-rs/pull/988) @eythorhel19)
21+
* Update minimal rust version to 1.6.5 ([#982](https://github.com/redis-rs/redis-rs/pull/982))
22+
* Disable JSON module tests for redis 6.2.4. ([#980](https://github.com/redis-rs/redis-rs/pull/980))
23+
* Add connection string examples ([#976](https://github.com/redis-rs/redis-rs/pull/976) @NuclearOreo)
24+
* Move response policy into multi-node routing. ([#952](https://github.com/redis-rs/redis-rs/pull/952))
25+
* Added functions that allow tests to check version. ([#963](https://github.com/redis-rs/redis-rs/pull/963))
26+
* Fix XREADGROUP command ordering as per Redis Docs, and compatibility with Upstash Redis ([#960](https://github.com/redis-rs/redis-rs/pull/960) @prabhpreet)
27+
* Optimize make_pipeline_results by pre-allocate memory ([#957](https://github.com/redis-rs/redis-rs/pull/957) @PureWhiteWu)
28+
* Run module tests sequentially. ([#956](https://github.com/redis-rs/redis-rs/pull/956))
29+
* Log cluster creation output in tests. ([#955](https://github.com/redis-rs/redis-rs/pull/955))
30+
* CI: Update and use better maintained github actions. ([#954](https://github.com/redis-rs/redis-rs/pull/954))
31+
* Call CLIENT SETINFO on new connections. ([#945](https://github.com/redis-rs/redis-rs/pull/945))
32+
* Deprecate functions that erroneously use `tokio` in their name. ([#913](https://github.com/redis-rs/redis-rs/pull/913))
33+
* CI: Increase timeouts and use newer redis. ([#949](https://github.com/redis-rs/redis-rs/pull/949))
34+
* Remove redis version from redis-test. ([#943](https://github.com/redis-rs/redis-rs/pull/943))
35+
36+
37+
### 0.23.4 (2023-09-01)
238

339
Note that this release fixes a small regression in async Redis Cluster handling of the `PING` command.
440
Based on updated response aggregation logic in [#888](https://github.com/redis-rs/redis-rs/pull/888), it
@@ -8,6 +44,7 @@ will again return a single response instead of an array.
844
* Add `key_type` command ([#933](https://github.com/redis-rs/redis-rs/pull/933) @bruaba)
945
* Async cluster: Group responses by response_policy. ([#888](https://github.com/redis-rs/redis-rs/pull/888))
1046

47+
1148
#### Fixes
1249
* Remove unnecessary heap allocation ([#939](https://github.com/redis-rs/redis-rs/pull/939) @thechampagne)
1350
* Sentinel tests: Ensure no ports are used twice ([#915](https://github.com/redis-rs/redis-rs/pull/915))

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.3"
3+
version = "0.23.4"
44
keywords = ["redis", "database"]
55
description = "Redis driver for Rust."
66
homepage = "https://github.com/redis-rs/redis-rs"

0 commit comments

Comments
 (0)