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

# 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

Latest version `0.18.0`, released December 6, 2025. [Source repository](https://github.com/Sorcery/sorcery)

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

- From [0.9.0](#v-0-9-0) to [0.18.0](#v-0-18-0): 25 breaking changes in 8 versions.

## sorcery 0.18.0 breaking changes

sorcery 0.18.0, released December 6, 2025: 8 breaking changes.

- **Removed** `form_authenticity_token`  

The form_authenticity_token method was removed in this release. Code calling it must be updated. [github.com](https://github.com/Sorcery/sorcery/releases/tag/v0.18.0)
- **Behavior changed**  

The gem now requires Ruby 3.0.0 or later. Users on older Ruby versions must upgrade. [github.com](https://github.com/Sorcery/sorcery/releases/tag/v0.18.0)
- **Behavior changed**  

The gem now depends on Rails 7.1 or higher. Apps on older Rails versions must upgrade. [github.com](https://github.com/Sorcery/sorcery/releases/tag/v0.18.0)
- **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](https://github.com/Sorcery/sorcery/releases/tag/v0.18.0)
- **Behavior changed**  

Only the necessary files are now included in the gem package, so code relying on other shipped files may break. [github.com](https://github.com/Sorcery/sorcery/releases/tag/v0.18.0)
- **Behavior changed** `login!`  

The login! method's signature was changed to forward all arguments, which may alter how calls are handled. [github.com](https://github.com/Sorcery/sorcery/releases/tag/v0.18.0)
- **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](https://github.com/Sorcery/sorcery/releases/tag/v0.18.0)
- **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](https://github.com/Sorcery/sorcery/releases/tag/v0.18.0)

## sorcery 0.17.0 breaking changes

sorcery 0.17.0, released March 8, 2024: 1 breaking change.

- **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](https://github.com/Sorcery/sorcery/releases/tag/v0.17.0)

## sorcery 0.15.0 breaking changes

sorcery 0.15.0, released May 2, 2020: 2 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](https://github.com/Sorcery/sorcery/releases/tag/v0.15.0)
- **Behavior changed**  

JSON requests are no longer returned after login. Check any code that relies on that return behavior. [github.com](https://github.com/Sorcery/sorcery/releases/tag/v0.15.0)

## sorcery 0.14.0 breaking changes

sorcery 0.14.0, released May 23, 2019: 2 breaking changes.

- **Removed**  

Rails 4.2 and lower are no longer supported. Apps on those Rails versions should upgrade Rails. [github.com](https://github.com/Sorcery/sorcery/blob/v0.14.0/CHANGELOG.md)
- **Behavior changed**  

The LinkedIn provider was switched to OAuth 2. Apps using LinkedIn login may need to check their credentials and configuration. [github.com](https://github.com/Sorcery/sorcery/blob/v0.14.0/CHANGELOG.md)

## sorcery 0.13.0 breaking changes

sorcery 0.13.0, released November 29, 2018: 3 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](https://github.com/Sorcery/sorcery/releases/tag/v0.13.0)
- **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](https://github.com/Sorcery/sorcery/releases/tag/v0.13.0)
- **Behavior changed**  

Logging in through RememberMe now enforces the session timeout, so sessions that previously stayed valid may now expire. [github.com](https://github.com/Sorcery/sorcery/releases/tag/v0.13.0)

## sorcery 0.12.0 breaking changes

sorcery 0.12.0, released April 23, 2018: 4 breaking changes.

- **Behavior changed** `Ruby`  

The required Ruby version is now 2.2. Older Ruby versions are no longer supported. [github.com](https://github.com/Sorcery/sorcery/releases/tag/v0.12.0)
- **Behavior changed** `update_attributes`  

Calling update_attributes now behaves like update. Check code that relied on the previous update_attributes behavior. [github.com](https://github.com/Sorcery/sorcery/releases/tag/v0.12.0)
- **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](https://github.com/Sorcery/sorcery/releases/tag/v0.12.0)
- **Configuration changed**  

Configuration now raises an ArgumentError if user_class is not defined. Make sure user_class is set in the initializer. [github.com](https://github.com/Sorcery/sorcery/releases/tag/v0.12.0)

## Older versions

3 older versions, each with its first changes. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

### sorcery 0.11.0 breaking changes

sorcery 0.11.0, released May 16, 2017: 1 breaking change.

- **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](https://github.com/Sorcery/sorcery/releases/tag/0.11.0)

### sorcery 0.10.0 breaking changes

sorcery 0.10.0, released December 30, 2016: 4 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](https://github.com/Sorcery/sorcery/blob/v0.10.0/CHANGELOG.md)
- **Removed** `current_users`  

The current_users method was removed, so code calling it must stop using it. [github.com](https://github.com/Sorcery/sorcery/blob/v0.10.0/CHANGELOG.md)

And 2 more in this version.

### sorcery 0.9.0 breaking changes

sorcery 0.9.0, released January 13, 2015: 1 breaking change.

- **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](https://github.com/Sorcery/sorcery/blob/v0.9.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.
