state_machines-activerecord breaking changes
state_machines-activerecord 0.304.0 (November 17, 2026) is its newest release with breaking changes. The first: Behavior changed around_transition. Every breaking API change we have recorded in state_machines-activerecord on RubyGems: 10 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
On this page
Latest version 0.304.0, released November 17, 2026. Source repository
Packages on RubyGems run on Ruby. Ruby end of life dates.
state_machines-activerecord 0.304.0 breaking changes
- Behavior changed
around_transition
An around_transition now wraps the save itself rather than spanning valid? and the save that follows. Code that relied on the old span must be adjusted, and state_machines 0.304.0 is required. github.com
state_machines-activerecord 0.302.0 breaking changes
- Behavior changed
A dynamic initial state now wins over the database column default. Code that relied on the column default being used may behave differently and should be checked. github.com
state_machines-activerecord 0.301.0 breaking changes
- Default changed
direct_assignment
Direct assignment of a state attribute is now allowed by default. Code that relied on it being blocked must set direct_assignment: :deny to keep the old behavior. github.com
state_machines-activerecord 0.300.0 breaking changes
- Removed
Rails 7.2 is no longer supported; apps on Rails 7.2 must upgrade Rails before using this release. github.com - Behavior changed
State changes are now event-only through the model, so code that sets state directly must switch to firing events. github.com - Default changed
When no initial state is configured, the database schema default is used as the initial state instead of the previous behavior. github.com - Configuration changed
Users must upgrade state_machines and state_machines-activemodel to at least 0.300.0. github.com - Configuration changed
ActiveRecord 8.0 or later is now required, so older ActiveRecord versions no longer work. github.com
state_machines-activerecord 0.40.0 breaking changes
- Removed
Rails 7.1 is no longer supported. Upgrade the application to Rails 7.2 or later before updating this gem. github.com
state_machines-activerecord 0.10.0 breaking changes
- Removed
The release removes support for a legacy version, but the notes do not name which one. Check your code and dependencies for that version before upgrading. github.com
Related packages
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.