---
title: "redis-client 0.26.0 Breaking Changes on RubyGems | Since.dev"
description: "What each redis-client release removed, renamed or changed: 15 breaking changes in 11 versions on RubyGems, each with its source."
canonical_url: https://since.dev/packages/gem/redis-client
last_updated: 2026-12-04
---

# redis-client breaking changes

redis-client 0.26.0 (September 23, 2025) is its newest release with breaking changes. The first: Behavior changed Redis.new. Every breaking API change we have recorded in redis-client on RubyGems: 15 breaking changes in 11 versions. Below, its 11 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `0.31.0`, released October 5, 2026. [Source repository](https://github.com/redis-rb/redis-client)

Packages on RubyGems run on Ruby. [Ruby end of life dates](https://since.dev/calendar/ruby.md).

- From [0.2.0](#v-0-2-0) to [0.26.0](#v-0-26-0): 14 breaking changes in 10 versions.

## redis-client 0.26.0 breaking changes

redis-client 0.26.0, released September 23, 2025: 1 breaking change.

- **Behavior changed** `Redis.new`  

When db is nil, the database number from the URL is now used instead of defaulting to 0. Code relying on the old precedence will connect to a different database. [github.com](https://github.com/redis-rb/redis-client/blob/v0.26.0/CHANGELOG.md)

## redis-client 0.22.0 breaking changes

redis-client 0.22.0, released April 12, 2024: 1 breaking change.

- **Behavior changed**  

The driver now always treats data as UTF-8 rather than following Encoding.default_external. Code that relied on a non-UTF-8 default external encoding may see different string encodings and should set its data to UTF-8 explicitly. [github.com](https://github.com/redis-rb/redis-client/blob/v0.22.0/CHANGELOG.md)

## redis-client 0.21.0 breaking changes

redis-client 0.21.0, released March 4, 2024: 1 breaking change.

- **Behavior changed**  

Most error messages now contain the Redis server URL. Code that matches on exact error message text may need updating. [github.com](https://github.com/redis-rb/redis-client/blob/v0.21.0/CHANGELOG.md)

## redis-client 0.19.0 breaking changes

redis-client 0.19.0, released December 7, 2023: 2 breaking changes.

- **Behavior changed** `db:`  

Passing a db: value that is not an Integer now fails when the client is created rather than later, so code passing other types must pass an Integer. [github.com](https://github.com/redis-rb/redis-client/blob/v0.19.0/CHANGELOG.md)
- **Behavior changed** `RedisClient.connected?`  

connected? now checks the connection again instead of only reporting its cached state, so it can return a different result than before. [github.com](https://github.com/redis-rb/redis-client/blob/v0.19.0/CHANGELOG.md)

## redis-client 0.13.0 breaking changes

redis-client 0.13.0, released February 28, 2023: 1 breaking change.

- **Default changed**  

Redis sockets now send TCP keepalive probes every 15 seconds for 2 minutes by default. Code that depends on the previous socket behavior may be affected. [github.com](https://github.com/redis-rb/redis-client/blob/v0.13.0/CHANGELOG.md)

## redis-client 0.12.0 breaking changes

redis-client 0.12.0, released January 9, 2023: 1 breaking change.

- **Behavior changed**  

When Redis returns a MASTERDOWN error, the client now closes the connection, similar to how it already handles READONLY errors. Code that relied on the connection staying open after MASTERDOWN may see different behavior. [github.com](https://github.com/redis-rb/redis-client/blob/v0.12.0/CHANGELOG.md)

## Older versions

5 older versions, each with its first changes. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

### redis-client 0.11.0 breaking changes

redis-client 0.11.0, released November 1, 2022: 1 breaking change.

- **Behavior changed**  

On a read timeout the hiredis driver now leaves the connection open instead of closing it eagerly, so callers must decide whether a timeout is final. [github.com](https://github.com/redis-rb/redis-client/blob/v0.11.0/CHANGELOG.md)

### redis-client 0.6.0 breaking changes

redis-client 0.6.0, released August 16, 2022: 2 breaking changes.

- **Behavior changed**  

RESP3 set replies are no longer returned as Ruby Set objects. Code that expects Set instances must be updated. [github.com](https://github.com/redis-rb/redis-client/blob/v0.6.0/CHANGELOG.md)
- **Behavior changed** `blocking_call`  

A blocking_call that does not complete in time now raises ReadTimeoutError. Code that calls blocking_call must rescue that error. [github.com](https://github.com/redis-rb/redis-client/blob/v0.6.0/CHANGELOG.md)

### redis-client 0.4.0 breaking changes

redis-client 0.4.0, released May 6, 2022: 1 breaking change.

- **Removed** `hiredis`  

The hiredis driver is no longer bundled; install and use the hiredis-client gem instead. [github.com](https://github.com/redis-rb/redis-client/blob/v0.4.0/CHANGELOG.md)

### redis-client 0.3.0 breaking changes

redis-client 0.3.0, released May 5, 2022: 3 breaking changes.

- **Behavior changed** `call`  

Keyword arguments passed to #call are interpreted as Redis flags rather than as ordinary arguments. Check existing calls that pass keyword arguments. [github.com](https://github.com/redis-rb/redis-client/blob/v0.3.0/CHANGELOG.md)
- **Behavior changed** `RedisClient.multi`  

Some errors from RedisClient#multi are now raised as exceptions instead of being returned as values. Code that inspects returned error values must handle exceptions. [github.com](https://github.com/redis-rb/redis-client/blob/v0.3.0/CHANGELOG.md)

And 1 more in this version.

### redis-client 0.2.0 breaking changes

redis-client 0.2.0, released April 28, 2022: 1 breaking change.

- **Behavior changed**  

DNS resolution failures are now wrapped as RedisClient::ConnectionError rather than raw SocketError. Code that rescues SocketError for these failures must rescue RedisClient::ConnectionError instead. [github.com](https://github.com/redis-rb/redis-client/blob/v0.2.0/CHANGELOG.md)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
