rack-attack breaking changes
rack-attack 6.0.0 (April 17, 2019) is its newest release with breaking changes, 5 of them. The first: rack-attack 6.0.0 drops support for Ruby 2.2. Every breaking API change we have recorded in rack-attack on RubyGems: 8 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 6.8.0. Source repository
Its 6.0.0 release drops Ruby 2.2. Ruby end of life dates.
- From 5.0.0 to 6.0.0: 5 breaking changes in 1 version.
- From 3.0.0 to 6.0.0: 7 breaking changes in 3 versions.
rack-attack 6.0.0 breaking changes
- Removed
Ruby 2.2 is no longer supported. Upgrade Ruby before using this version. github.com - Removed
blacklist
The deprecated #blacklist method was removed. Use #blocklist instead. github.com - Removed
memcache-client
The obsolete memcache-client is no longer supported as a cache store. github.com - Removed
whitelist
The deprecated #whitelist method was removed. Use #safelist instead. github.com - Behavior changed
ActiveSupport.Notifications
Notification event names were changed to follow the recommended format. Code relying on the old event names must be updated. github.com
rack-attack 5.0.0 breaking changes
- Behavior changed
rack.attack.match_type
Code that checks rack.attack.match_type will see :safelist and :blocklist values instead of the older names, so update those comparisons. github.com
rack-attack 4.0.0 breaking changes
- Behavior changed
Rack.Attack
Rack::Attack is now a class instead of a module, and Rack::Attack.new returns an instance. Code that treats Rack::Attack as a module must be updated to create and use an instance. github.com
rack-attack 3.0.0 breaking changes
- Default changed
The default response for blacklisted requests is now 403 Forbidden. Code that relied on the previous default status must set the response explicitly. 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.