sorcery breaking changes
sorcery 0.18.0 (December 6, 2025) is its newest release with breaking changes, 8 of them. The first: Removed form_authenticity_token. Every breaking API change we have recorded in sorcery on RubyGems: 26 breaking changes in 9 versions. Below, its 9 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 0.18.0, released December 6, 2025. Source repository
Its 0.18.0 release requires Ruby 3.2 or later. Ruby end of life dates.
sorcery 0.18.0 breaking changes
- Removed
form_authenticity_token
The form_authenticity_token method was removed in this release. Code calling it must be updated. github.com - Behavior changed
The gem now requires Ruby 3.0.0 or later. Users on older Ruby versions must upgrade. github.com - Behavior changed
The gem now depends on Rails 7.1 or higher. Apps on older Rails versions must upgrade. github.com - Behavior changed
Support for Ruby versions below 3.2 and Rails versions below 7.1 was dropped. Users on older versions must upgrade. github.com - Behavior changed
Only the necessary files are now included in the gem package, so code relying on other shipped files may break. github.com - Behavior changed
login!
The login! method's signature was changed to forward all arguments, which may alter how calls are handled. github.com - Behavior changed
redirect_to_before_login_path
The method can now redirect to other hosts, which changes behavior for code that relied on it staying on the same host. github.com - Configuration changed
use_redirect_back_or_to_by_rails
A new option avoids definition conflicts with redirect_back_or_to; it is a configuration addition that users may need to review. github.com
sorcery 0.17.0 breaking changes
- Behavior changed
The release switches to ActiveRecord.timestamped_migrations, so migrations created by the package follow ActiveRecord's timestamped naming. Check any code or tooling that depends on the old migration file names. github.com
sorcery 0.15.0 breaking changes
- Behavior changed
The VK provider now reads the id field where it previously used uid. Check any code that depends on the uid value. github.com - Behavior changed
JSON requests are no longer returned after login. Check any code that relies on that return behavior. github.com
sorcery 0.14.0 breaking changes
- Removed
Rails 4.2 and lower are no longer supported. Apps on those Rails versions should upgrade Rails. github.com - Behavior changed
The LinkedIn provider was switched to OAuth 2. Apps using LinkedIn login may need to check their credentials and configuration. github.com
sorcery 0.13.0 breaking changes
- Behavior changed
The activation email is sent after the database transaction commits instead of earlier, so code that depends on its timing may behave differently. github.com - Behavior changed
The facebook provider no longer asks for the publish_actions permission. Code that relied on posting actions through this permission must change. github.com - Behavior changed
Logging in through RememberMe now enforces the session timeout, so sessions that previously stayed valid may now expire. github.com
sorcery 0.12.0 breaking changes
- Behavior changed
Ruby
The required Ruby version is now 2.2. Older Ruby versions are no longer supported. github.com - Behavior changed
update_attributes
Calling update_attributes now behaves like update. Check code that relied on the previous update_attributes behavior. github.com - Default changed
user.stretches
In the test environment, user.stretches now defaults to 1. Tests that depended on the previous default may need updating. github.com - Configuration changed
Configuration now raises an ArgumentError if user_class is not defined. Make sure user_class is set in the initializer. github.com
Older versions
3 older versions, each with its first changes. Sign up to see every change
Show 3 older versions
sorcery 0.11.0 breaking changes
- Behavior changed
Block authentication is restored and now shows why authentication failed. Code that relies on the previous silent failure behavior may need to handle the reason. github.com
sorcery 0.10.0 breaking changes
- Removed
The adapters now live under the sorcery-rails organization instead of the core Sorcery repo, so users of these ORMs must get them from there. github.com - Removed
current_users
The current_users method was removed, so code calling it must stop using it. github.com
And 2 more in this version.
sorcery 0.9.0 breaking changes
- Renamed
find_by_provider_and_uid
The find_by_provider_and_uid method was replaced with find_by_oauth_credentials. Update calls to use the new name. 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.