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

# 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

Latest version `2.12.0`. [Source repository](https://github.com/thoughtbot/clearance)

Its 2.0.0 release requires Ruby 2.4 or later. [Ruby end of life dates](https://since.dev/calendar/ruby.md).

- From [1.0.0](#v-1-0-0) to [2.0.0](#v-2-0-0): 4 breaking changes in 1 version.
- From [0.10.0](#v-0-10-0) to [2.0.0](#v-2-0-0): 19 breaking changes in 5 versions.

## clearance 2.0.0 breaking changes

clearance 2.0.0, released November 12, 2019: 4 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](https://github.com/thoughtbot/clearance/releases/tag/v2.0.0)
- **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](https://github.com/thoughtbot/clearance/releases/tag/v2.0.0)
- **Removed**  

Deprecated code paths from Clearance 1.x have been removed. Stop relying on any deprecated behavior before upgrading. [github.com](https://github.com/thoughtbot/clearance/releases/tag/v2.0.0)
- **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](https://github.com/thoughtbot/clearance/releases/tag/v2.0.0)

## clearance 1.0.0 breaking changes

clearance 1.0.0, released August 1, 2013: 7 breaking changes.

- **Removed** `User.generate_random_code`  

The deprecated generate_random_code method was removed from User. [github.com](https://github.com/thoughtbot/clearance/releases/tag/v1.0.0)
- **Removed** `User.password_required?`  

The deprecated password_required? method was removed from User. [github.com](https://github.com/thoughtbot/clearance/releases/tag/v1.0.0)
- **Removed** `User.remember_me!`  

The deprecated remember_me! method was removed from User. [github.com](https://github.com/thoughtbot/clearance/releases/tag/v1.0.0)
- **Behavior changed**  

The package now requires Ruby newer than 1.9. [github.com](https://github.com/thoughtbot/clearance/releases/tag/v1.0.0)
- **Behavior changed**  

The email regular expression was replaced with the EmailValidator gem, so email validation results may differ. [github.com](https://github.com/thoughtbot/clearance/releases/tag/v1.0.0)
- **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](https://github.com/thoughtbot/clearance/releases/tag/v1.0.0)
- **Configuration changed**  

The default migration makes email, encrypted_password and remember_token NOT NULL; existing user tables may need migrating. [github.com](https://github.com/thoughtbot/clearance/releases/tag/v1.0.0)

## clearance 0.15.0 breaking changes

clearance 0.15.0, released February 3, 2012: 1 breaking change.

- **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](https://github.com/thoughtbot/clearance/releases/tag/v0.15.0)

## clearance 0.12.0 breaking changes

clearance 0.12.0, released June 30, 2011: 5 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](https://github.com/thoughtbot/clearance/releases/tag/v0.12.0)
- **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](https://github.com/thoughtbot/clearance/releases/tag/v0.12.0)
- **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](https://github.com/thoughtbot/clearance/releases/tag/v0.12.0)
- **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](https://github.com/thoughtbot/clearance/releases/tag/v0.12.0)
- **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](https://github.com/thoughtbot/clearance/releases/tag/v0.12.0)

## clearance 0.11.0 breaking changes

clearance 0.11.0, released April 25, 2011: 2 breaking changes.

- **Removed**  

Password confirmation was removed from the package. Code that relies on it must be changed. [github.com](https://github.com/thoughtbot/clearance/releases/tag/v0.11.0)
- **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](https://github.com/thoughtbot/clearance/releases/tag/v0.11.0)

## clearance 0.10.0 breaking changes

clearance 0.10.0, released January 13, 2011: 2 breaking changes.

- **Removed**  

The email confirmation step was removed from the engine. Add it back at the application level if needed. [github.com](https://github.com/thoughtbot/clearance/releases/tag/v0.10.0)
- **Removed** `disable_with`  

The disable_with option on forms was removed because it stopped IE users from submitting forms. [github.com](https://github.com/thoughtbot/clearance/releases/tag/v0.10.0)

## 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.
