dalli breaking changes
dalli 5.0.0 (February 6, 2026) is its newest release with breaking changes, 5 of them. The first: dalli 5.0.0 drops support for Ruby 3.1 and 3.2 and requires Ruby 3.3 or later. Every breaking API change we have recorded in dalli on RubyGems: 23 breaking changes in 4 versions. Below, its 4 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 5.5.0. Source repository
Its 5.0.0 release requires Ruby 3.3 or later. Ruby end of life dates.
- From 4.0.0 to 5.0.0: 5 breaking changes in 1 version.
- From 2.0.0 to 5.0.0: 18 breaking changes in 3 versions.
dalli 5.0.0 breaking changes
- Removed
Dalli 5.0.0 requires Ruby 3.3 or later; JRuby remains supported. github.com - Removed
protocol
The :protocol option is no longer used and the binary protocol is gone. Requires memcached 1.6+; users on older memcached must upgrade or stay on Dalli 4.x. github.com - Renamed
db.operation
The db.operation attribute is renamed to db.operation.name. Update any tracing queries or dashboards that rely on the old name. github.com - Renamed
db.system
The db.system attribute is renamed to db.system.name. Update any tracing queries or dashboards that rely on the old name. github.com - Behavior changed
server.address
server.address now contains only the hostname and server.port is a separate integer attribute. Adjust any code parsing the old combined value. github.com
dalli 4.0.0 breaking changes
- Removed
:compression
Use the :compress option instead. github.com - Removed
close_on_fork
Use reconnect_on_fork instead. github.com - Removed
Dalli.Server
Replace Dalli::Server with Dalli::Protocol::Binary. github.com - Behavior changed
The gem now requires Ruby 3.1 or later; upgrade Ruby before updating dalli. github.com - Behavior changed
Dalli.Marshal serializer
A security warning is now emitted when using the default Marshal serializer; set silence_marshal_warning: true to silence it. github.com - Behavior changed
Serializer .load
Errors from the serializer's load step are reraised as UnmarshalError, so code rescuing other error types may need updating. github.com
dalli 3.0.0 breaking changes
- Removed
The kgio gem is no longer supported because it is not relevant on Ruby 2.3+. github.com - Removed
dalli_store
The :dalli_store option is gone. Use Rails' official :mem_cache_store instead. github.com - Behavior changed
The Rack session adapter no longer supports thread-unsafe configurations. Add the connection_pool gem to your Gemfile to keep session operations thread-safe. github.com - Behavior changed
Values larger than memcached allows used to be truncated with a warning. They now raise an error, so code storing large values must handle that error. github.com - Behavior changed
Errors while marshalling values raise an exception rather than only printing an error message. github.com - Behavior changed
servers
Invalid servers arguments are now rejected, so code passing malformed server values may now fail. github.com - Default changed
Compression defaults to true for values greater than 4KB. Code relying on uncompressed stored values must turn compression off explicitly. github.com
dalli 2.0.0 breaking changes
- Removed
Ruby 1.8.6 is no longer supported by this release. github.com - Removed
em-synchrony
Connections using em-synchrony are no longer supported. github.com - Removed
memcache-client
The memcache-client compatibility layer and its upgrade documentation were removed. github.com - Removed
unix socket
Connections over unix sockets are no longer supported. github.com - Behavior changed
dalli_store
dalli_store no longer uses ActiveSupport::Cache::Entry, and data stored by 2.x is not readable by 1.x. Namespace keys and roll out the upgrade gradually so keys do not clash. github.com
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The 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.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.