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
On this page
Latest version 5.0.4. Source repository
Its 5.0.0.rc release requires Ruby 2.7 or later. Ruby end of life dates.
devise 5.0.0.rc breaking changes
- Removed
Devise 5.0 no longer supports Ruby versions before 2.7. Upgrade Ruby before upgrading Devise. github.com - Removed
Devise 5.0 no longer supports Rails versions before 7.0. Upgrade Rails before upgrading Devise. github.com - Removed
devise_error_messages!
Render the devise/shared/error_messages partial directly instead. github.com - Removed
Devise.activerecord51?
This deprecated method is gone and no replacement is named. github.com - Removed
Devise.Models.Authenticatable.BLACKLIST_FOR_SERIALIZATION
This deprecated constant is gone and no replacement is named. github.com - Removed
Devise.TestHelpers
Use Devise::Test::ControllerHelpers instead. github.com - Removed
SecretKeyFinder
Devise no longer searches for a secret key itself; it uses app.secret_key_base by default. github.com - Removed
sign_in
Use bypass_sign_in instead of the :bypass option of the sign_in helper. github.com - Behavior changed
Routes now load lazily in test and development environments, so Devise loads them before Devise.mappings is called. github.com - Behavior changed
Older Turbo versions need the data-turbo-cache=false attribute restored by copying the template into your app. github.com - Behavior changed
The reset button in the default Devise view now reads Send me password reset instructions. github.com - Behavior changed
Default Devise views change markup from br separators to p wrappers; custom views may need updating. github.com - Behavior changed
The validator reads the length limits at runtime, so overriding password_length behaves differently than before. github.com - Default changed
Devise.secret_key
Confirm your secret key matches the previous one, or tokens for recoverable, lockable and confirmable become invalid. github.com
devise 4.0.0 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 - Removed
Devise.Models.Rememberable.remember_me!
Calls to remember_me! that pass the deprecated argument no longer work; drop the argument. github.com - 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 - 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 - 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 - 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 - 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
devise 4.0.0.rc2 breaking changes
- Behavior changed
rails g devise:install
rails g devise:install stops with an error if the app has no ORM configured. github.com
devise 4.0.0.rc1 breaking changes
- Removed
Devise no longer works with Rails 3.2 or 4.0; upgrade Rails before upgrading Devise. github.com - Removed
Devise no longer supports Ruby 1.9 or 2.0; run it on a newer Ruby. 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.