What's New
v0.9.0 (Rust preview)
Release Date: 10/7/2026
Valkey GLIDE for Rust is now available on crates.io as a preview release.
valkey-glide is a native Rust client that's built on the same Rust engine that powers the other GLIDE clients. It includes async and blocking clients for standalone and cluster mode, pipelines and transactions, pub/sub, AWS IAM authentication, and OpenTelemetry. The command API mirrors redis-rs 1.7.0, so most code migrates with minimal changes.
[!NOTE] This is a preview release. The API may still change. We would love your feedback: please open an issue.
Installation
cargo add valkey-glide
cargo add tokio --features rt-multi-thread,macros
The package is named valkey-glide and is imported as glide. The minimum supported Rust version is 1.94.1.
use glide::{AsyncTypedCommands, GlideClient, GlideClientConfiguration};
#[tokio::main]
async fn main() -> glide::ValkeyResult<()> {
let config = GlideClientConfiguration::with_address("localhost", 6379);
let client = GlideClient::connect(config).await?;
client.set("hello", "world").await?;
let value = client.get("hello").await?;
assert_eq!(value.as_deref(), Some("world"));
Ok(())
}
Key Features
- Async and blocking clients:
GlideClientandGlideClusterClientrun on Tokio, and thesyncfeature (on by default) adds blocking versions. - Familiar API for redis-rs users: The command API mirrors redis-rs 1.7.0, so most code migrates with minimal changes. See the migration guide.
- Broad command coverage: Typed methods for all major data types, plus
custom_commandfor anything else. - Batching: Pipelines and
MULTI/EXECtransactions, with optional per-call timeout and retry settings. - Cluster support: Route commands to specific nodes and scan across the whole cluster.
- Authentication and TLS: AWS IAM authentication for ElastiCache and MemoryDB, runtime password rotation, and TLS.
- Pub/Sub: Subscribe when connecting or at runtime, including sharded channels.
- OpenTelemetry: Export traces and metrics over gRPC, HTTP, or to a file.
Supported Platforms
The client supports the same engine versions as GLIDE (see the Supported Engine Versions table). It is tested on Linux x86_64 and aarch64. Other platforms, such as macOS, should work anywhere glide-core builds, but we haven't tested them yet.
Supporting Crates
This release also publishes the internal crates the client depends on:
These are internal crates and aren't meant to be used directly.
Resources
Release: https://github.com/valkey-io/valkey-glide/releases/tag/rust/v0.9.0
v2.5.3
Release Date: 9/25/2026
What's Changed
- Add
AZ_AFFINITY_ALL_NODESread strategy for Java and Python (backport #7059 + #6721) by @jamesx-improving in https://github.com/valkey-io/valkey-glide/pull/7106
Full Changelog: https://github.com/valkey-io/valkey-glide/compare/v2.5.2...v2.5.3
Release: https://github.com/valkey-io/valkey-glide/releases/tag/v2.5.3
v2.5.2
Release Date: 9/2/2026
What's Changed
- fix(ffi): backport to release-2.5 — release response payload buffers when parking arenas in ARENA_POOL by @superbaddude in https://github.com/valkey-io/valkey-glide/pull/6741
- fix(deps): bump h2 to 0.4.16 to resolve RUSTSEC-2026-0258 (backport #6784 to release-2.5) by @xShinnRyuu in https://github.com/valkey-io/valkey-glide/pull/6811
- fix(core): retry empty-receivers multi-node fan-out under topology churn (backport #6768 to release-2.5) by @xShinnRyuu in https://github.com/valkey-io/valkey-glide/pull/6810
- fix(core): backport recovery-queue drain and escalation hardening to release-2.5 by @affonsov in https://github.com/valkey-io/valkey-glide/pull/6890
- Backport client info tag to release-2.5 by @nderraugh in https://github.com/valkey-io/valkey-glide/pull/6901
- Python: backport trio pub/sub BusyResourceError fix and flaky-test stabilizations (#6605) to release-2.5 by @xShinnRyuu in https://github.com/valkey-io/valkey-glide/pull/6923
Full Changelog: https://github.com/valkey-io/valkey-glide/compare/v2.5.1...v2.5.2
Release: https://github.com/valkey-io/valkey-glide/releases/tag/v2.5.2