clearance breaking changes
clearance 2.0.0 (November 12, 2019) is its newest release with breaking changes, 4 of them. The first: Drops support for Rails versions older than 5.0 in clearance 2.0.0. Every breaking API change we have recorded in clearance on RubyGems: 21 breaking changes in 6 versions. Below, its 6 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 2.12.0. Source repository
Its 2.0.0 release requires Ruby 2.4 or later. Ruby end of life dates.
- From 1.0.0 to 2.0.0: 4 breaking changes in 1 version.
- From 0.10.0 to 2.0.0: 19 breaking changes in 5 versions.
clearance 2.0.0 breaking changes
- Removed
Clearance 2.0.0 no longer supports Rails versions older than 5.0. Upgrade Rails to 5.0 or later before upgrading the gem. github.com - Removed
Clearance 2.0.0 no longer supports Ruby versions older than 2.4. Upgrade Ruby to 2.4 or later before upgrading the gem. github.com - Removed
Deprecated code paths from Clearance 1.x have been removed. Stop relying on any deprecated behavior before upgrading. github.com - Behavior changed
Flash messages are now stored under flash[:alert] rather than flash[:notice]. Update code that reads flash[:notice] to read flash[:alert]. github.com
clearance 1.0.0 breaking changes
- Removed
User.generate_random_code
The deprecated generate_random_code method was removed from User. github.com - Removed
User.password_required?
The deprecated password_required? method was removed from User. github.com - Removed
User.remember_me!
The deprecated remember_me! method was removed from User. github.com - Behavior changed
The package now requires Ruby newer than 1.9. github.com - Behavior changed
The email regular expression was replaced with the EmailValidator gem, so email validation results may differ. github.com - Default changed
The default password strategy is now BCrypt instead of SHA1. Users with existing SHA1 passwords may need the BCryptMigrationFromSHA1 strategy to migrate. github.com - Configuration changed
The default migration makes email, encrypted_password and remember_token NOT NULL; existing user tables may need migrating. github.com
clearance 0.15.0 breaking changes
- Removed
User.InstanceMethods
The User::InstanceMethods module was removed to silence a Rails 3.2 deprecation warning. Code that includes or references it must be updated. github.com
clearance 0.12.0 breaking changes
- Behavior changed
When access is denied, signed-in users are redirected to root_url and signed-out users to sign_in_url. Check any code that depends on the old redirect target. github.com - Behavior changed
Flash messages are now set under the :notice key everywhere instead of :success and :failure. Update code that reads or sets those keys. github.com - Behavior changed
The flash messages "Signed in.", "Signed out.", and "You are now signed up." are no longer shown. Update any code or tests that expect them. github.com - Behavior changed
After sign up, the user is sent back to the stored location via redirect_back_or. Check any sign-up redirect assumptions. github.com - Behavior changed
After a password reset, users now see a message telling them to check their email instead of being redirected to the sign in page. github.com
clearance 0.11.0 breaking changes
- Removed
Password confirmation was removed from the package. Code that relies on it must be changed. github.com - Renamed
before_filter :authenticate
The before_filter :authenticate API was replaced with the more aptly named before_filter :authorize. Code using the old name must switch to the new one. github.com
clearance 0.10.0 breaking changes
- Removed
The email confirmation step was removed from the engine. Add it back at the application level if needed. github.com - Removed
disable_with
The disable_with option on forms was removed because it stopped IE users from submitting forms. 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.