redis-0.26.0
版本发布时间: 2024-07-26 17:19:27
redis-rs/redis-rs最新发布版本:redis-0.27.4(2024-10-10 02:59:20)
0.26.0 (2024-07-26)
Features
- Breaking change: Add RESP3 support (#1058 @altanozlu)
-
Breaking change: Expose Errors in
Value
1093 - Add max retry delay for every reconnect (#1194 tonynguyen-sotatek)
- Add support for routing by node address. #1062
- Breaking change: Deprecate function that erroneously use tokio in its name. 1087
- Breaking change: Change is_single_arg to num_of_args in ToRedisArgs trait (1238 @git-hulk)
- feat: add implementation of
ToRedisArgs
,FromRedisValue
traits forArc<T>
,Box<T>
,Rc<T>
(1088 @xoac) - MultiplexedConnection: Relax type requirements for pubsub functions. 1129
- Add
invoke_script
to commands to allow for pipelining of scripts (1097 @Dav1dde) - Adde MultiplexedConnection configuration, usable through Sentinel (1167 @jrylander)
- Slot parsing: Added handling to "?" and NULL hostnames in CLUSTER SLOTS. 1094
- Add scan_options (1231 @alekspickle)
- Add un/subscribe commands to
aio::ConnectionManager
. 1149 - Mark deprecated constructor functions. 1218
Changes & Bug fixes
- Add xautoclaim command support (1169 @urkle)
- Add support of EXPIRETIME/PEXPIRETIME command (#1235 @git-hulk)
- Implement
ToRedisArgs
forstd::borrow::Cow
(#1219 @caass) - Correct the document of default feature flags (#1184 @naskya)
- Add xgroup_createconsumer command support (#1170 @urkle)
- Route unkeyed commands to a random node. 1095
- Add dependabot (1053 @oriontvv)
- impl
Clone
forMsg
(1116 @publicqi) - Make response_timeout Optional (1134 @zhixinwen)
- Remove redundant match. 1135
- Update cluster_async router_command docs (1141 @joachimbulow)
- Remove unnecessary generics from multiplexed_connection. 1142
- Fix compilation on Windows. (1146 @Yury-Fridlyand)
- fix #1150: change int types for expiry to
u64
(1152 @ahmadbky) - check tls mode before setting it in the call of certs() (1166 @MyBitterCoffee)
- Fix explicit IoError not being recognized. 1191
- Fix typos (1198 @wutchzone)
- Fix typos (1213 @jayvdb)
- Fix some typos in connection_manager.rs and client.rs (1217 @meierfra-ergon)
- Send retries in multi-node reconnect to new connection. 1202
- Remove unnecessary clones from pubsub codepaths. 1127
- MultiplexedConnection: Report disconnects without polling. 1096
- Various documentation improvements. 1082
- Fix compilation break. 1224
- Split
Request
and routing from cluster async to separate files. 1226 - Improve documentation of multiplexed connection. 1237
- Fix async cluster documentation. 1259
- Cluster connection - Refactor response handling. 1222
- Add support of HASH expiration commands (1232 @git-hulk)
- Remove push manager 1251
- Remove tokio dependency from non-aio build. 1265
Dependency updates, lints & testing improvements
- Fix new lints. 1268
- Fix flakey multi-threaded test runs. 1261
- Fix documentation warning. 1258
- Fix nightly compilation warnings. 1229
- Fix fuzzer. 1145
- Fix flakey test. 1221
- Cluster creation in test: Try getting a new port if the current port isn't available. 1214
- Log the server / cluster logfile on error. 1200
- Remove loop from test. 1187
- Add
valkey
crate 1168 - Add tests for username+password authentication. 1157
- Improve PushManager tests in sync connection (1100 @altanozlu)
- Fix issues that prevented cluster tests from running concurrently. 1130
- Fix issue in cluster tests. 1139
- Remove redundant call. 1112
- Fix clippy warnings #1180
- Wrap tests with modules. 1084
- Add missing module skips. #1083
- Add vscode settings to gitignore. 1085