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

# devise breaking changes

devise 5.0.0.rc (January 23, 2026) is its newest release with breaking changes, 14 of them. The first: devise 5.0.0.rc requires Ruby 2.7 or later. Every breaking API change we have recorded in devise on RubyGems: 24 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

Latest version `5.0.4`. [Source repository](https://github.com/heartcombo/devise)

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

- From [4.0.0](#v-4-0-0) to [5.0.0.rc](#v-5-0-0-rc): 14 breaking changes in 1 version.

## devise 5.0.0.rc breaking changes

devise 5.0.0.rc, released January 23, 2026: 14 breaking changes.

- **Removed**  

Devise 5.0 no longer supports Ruby versions before 2.7. Upgrade Ruby before upgrading Devise. [github.com](https://github.com/heartcombo/devise/blob/v5.0.0/CHANGELOG.md)
- **Removed**  

Devise 5.0 no longer supports Rails versions before 7.0. Upgrade Rails before upgrading Devise. [github.com](https://github.com/heartcombo/devise/blob/v5.0.0/CHANGELOG.md)
- **Removed** `devise_error_messages!`  

Render the devise/shared/error_messages partial directly instead. [github.com](https://github.com/heartcombo/devise/blob/v5.0.0/CHANGELOG.md)
- **Removed** `Devise.activerecord51?`  

This deprecated method is gone and no replacement is named. [github.com](https://github.com/heartcombo/devise/blob/v5.0.0/CHANGELOG.md)
- **Removed** `Devise.Models.Authenticatable.BLACKLIST_FOR_SERIALIZATION`  

This deprecated constant is gone and no replacement is named. [github.com](https://github.com/heartcombo/devise/blob/v5.0.0/CHANGELOG.md)
- **Removed** `Devise.TestHelpers`  

Use Devise::Test::ControllerHelpers instead. [github.com](https://github.com/heartcombo/devise/blob/v5.0.0/CHANGELOG.md)
- **Removed** `SecretKeyFinder`  

Devise no longer searches for a secret key itself; it uses app.secret_key_base by default. [github.com](https://github.com/heartcombo/devise/blob/v5.0.0/CHANGELOG.md)
- **Removed** `sign_in`  

Use bypass_sign_in instead of the :bypass option of the sign_in helper. [github.com](https://github.com/heartcombo/devise/blob/v5.0.0/CHANGELOG.md)
- **Behavior changed**  

Routes now load lazily in test and development environments, so Devise loads them before Devise.mappings is called. [github.com](https://github.com/heartcombo/devise/blob/v5.0.0/CHANGELOG.md)
- **Behavior changed**  

Older Turbo versions need the data-turbo-cache=false attribute restored by copying the template into your app. [github.com](https://github.com/heartcombo/devise/blob/v5.0.0/CHANGELOG.md)
- **Behavior changed**  

The reset button in the default Devise view now reads Send me password reset instructions. [github.com](https://github.com/heartcombo/devise/blob/v5.0.0/CHANGELOG.md)
- **Behavior changed**  

Default Devise views change markup from br separators to p wrappers; custom views may need updating. [github.com](https://github.com/heartcombo/devise/blob/v5.0.0/CHANGELOG.md)
- **Behavior changed**  

The validator reads the length limits at runtime, so overriding password_length behaves differently than before. [github.com](https://github.com/heartcombo/devise/blob/v5.0.0/CHANGELOG.md)
- **Default changed** `Devise.secret_key`  

Confirm your secret key matches the previous one, or tokens for recoverable, lockable and confirmable become invalid. [github.com](https://github.com/heartcombo/devise/blob/v5.0.0/CHANGELOG.md)

## devise 4.0.0 breaking changes

devise 4.0.0, released April 18, 2016: 7 breaking changes.

- **Removed** `Devise.Controllers.Helpers.expire_session_data_after_sign_in!`  

The deprecated private method is gone; code calling it must be updated. [github.com](https://github.com/heartcombo/devise/blob/v4.0.0/CHANGELOG.md)
- **Removed** `Devise.Models.Rememberable.remember_me!`  

Calls to remember_me! that pass the deprecated argument no longer work; drop the argument. [github.com](https://github.com/heartcombo/devise/blob/v4.0.0/CHANGELOG.md)
- **Default changed** `email_regexp`  

The default will change in Devise 4.1; set the option explicitly if you rely on the current default. [github.com](https://github.com/heartcombo/devise/blob/v4.0.0/CHANGELOG.md)
- **Default changed** `reconfirmable`  

The default will become true in Devise 4.1; set the option explicitly if you rely on the current default. [github.com](https://github.com/heartcombo/devise/blob/v4.0.0/CHANGELOG.md)
- **Default changed** `sign_out_via`  

The default will become :delete in Devise 4.1; set the option explicitly if you rely on the current default. [github.com](https://github.com/heartcombo/devise/blob/v4.0.0/CHANGELOG.md)
- **Default changed** `skip_session_storage`  

The default will become \[:http_auth\] in Devise 4.1; set the option explicitly if you rely on the current default. [github.com](https://github.com/heartcombo/devise/blob/v4.0.0/CHANGELOG.md)
- **Default changed** `strip_whitespace_keys`  

The default will become \[:email\] in Devise 4.1; set the option explicitly if you rely on the current default. [github.com](https://github.com/heartcombo/devise/blob/v4.0.0/CHANGELOG.md)

## devise 4.0.0.rc2 breaking changes

devise 4.0.0.rc2, released April 18, 2016: 1 breaking change.

- **Behavior changed** `rails g devise:install`  

rails g devise:install stops with an error if the app has no ORM configured. [github.com](https://github.com/heartcombo/devise/blob/v4.0.0/CHANGELOG.md)

## devise 4.0.0.rc1 breaking changes

devise 4.0.0.rc1, released April 18, 2016: 2 breaking changes.

- **Removed**  

Devise no longer works with Rails 3.2 or 4.0; upgrade Rails before upgrading Devise. [github.com](https://github.com/heartcombo/devise/blob/v4.0.0/CHANGELOG.md)
- **Removed**  

Devise no longer supports Ruby 1.9 or 2.0; run it on a newer Ruby. [github.com](https://github.com/heartcombo/devise/blob/v4.0.0/CHANGELOG.md)

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