cancancan breaking changes
cancancan 3.0.0 (April 3, 2019) is its newest release with breaking changes, 4 of them. The first: Drops support for actions defined without a subject in cancancan 3.0.0. Every breaking API change we have recorded in cancancan on RubyGems: 4 breaking changes in 1 version. Below, its one version with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 3.7.1. Source repository
Packages on RubyGems run on Ruby. Ruby end of life dates.
cancancan 3.0.0 breaking changes
- Behavior changed
Actions declared without a subject are no longer supported, so abilities that rely on them must name a subject. github.com - Behavior changed
When abilities are merged, alias actions are now merged as well, which can change which actions are allowed. github.com - Behavior changed
Associations are no longer eager loaded automatically for ActiveRecord 5.0 and later, so code that relied on that must add its own includes. github.com - Behavior changed
String literals are now frozen throughout the gem, so code that mutates strings it receives from the gem may now fail. 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.