Documentation for agents: an index at /llms.txt, every docs page in one file at /llms-full.txt, and Markdown for any docs page by adding .md to its URL.

Effect KitRedis

Compatibility

See which Redis-compatible servers and versions the package is tested against.

The client speaks RESP, so it connects to any server that does. What the package tests is listed below. A server not in the table may work, but nothing in the package checks it.

Tested servers

ServerHow you connectTested versions
RedisRedisNode or RedisBun, including Cluster and Sentinel6.2.19, 7.2.11, 7.4.6, 8.10.2
ValkeyRedisNode or RedisBun, including Cluster and Sentinel7.2.11, 8.0.3, 9.1.2
DragonflyRedisNode or RedisBun, a subset of commandsv2.0.2
KeyDBRedisNode or RedisBun, a subset of commandsv6.3.4
RedictRedisNode or RedisBun, a subset of commands7.3.6
GarnetRedisNode or RedisBun, a subset of commandsv2.2.4
Apache KvrocksRedisNode or RedisBun, a subset of commandsv2.17.0
UpstashRedisUpstash over HTTP, or a native rediss:// connectionHosted instances
Aiven Valkey, Redis Cloud FreeRedisNode or RedisBunHosted instances
Deno, Cloudflare WorkersRedisUpstashNot applicable

The versions come from the package's test fixtures. The command tests run on every listed Redis and Valkey version. The five other engines run once, on the version shown. Each engine is exercised over RESP2 and RESP3, on Node.js and on Bun.

See Engines for the engine profiles, Managed providers for cloud services, and Modules for JSON, Search and the rest.

What compatible means

Commands and their guarantees depend on the server version, its configuration and the modules it has loaded. The client does not detect the server version. It sends the command, and an older or different server answers with a ServerError.

Some commands exist on only one product:

  • HEXPIRE and the other hash field expiry commands arrive in Redis 7.4.0 and Valkey 9.0.0.
  • DELIFEQ is in Valkey 9.0.0 and not in the Redis baseline the package was written against.
  • CLUSTERSCAN is in Valkey 9.1.0 and later.

The typed API includes all of them. Calling one on a server without it fails with ServerError.

Profiles do not certify

A deployment profile applies rules for one engine or provider, such as TLS and restricted commands. It does not certify that provider. Every profile has certification: "pending".

Not covered by the command API

Replication and RDB framing, and streamed RESP3 aggregates, are outside the ordinary command API. A Redis Cluster allows only database 0. Valkey 9.0 and later can be configured for multiple databases in a cluster, which you declare with databaseCapability: "valkey-multi-db".