lockbox breaking changes
lockbox 2.0.0 (October 27, 2024) is its newest release with breaking changes, 2 of them. The first: lockbox 2.0.0 requires Active Record 7 or later. Every breaking API change we have recorded in lockbox on RubyGems: 12 breaking changes in 5 versions. Below, its 5 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 2.3.0. Source repository
Its 1.0.0 release requires Ruby 2.6 or later. Ruby end of life dates.
- From 1.0.0 to 2.0.0: 2 breaking changes in 1 version.
- From 0.3.0 to 2.0.0: 7 breaking changes in 4 versions.
lockbox 2.0.0 breaking changes
- Removed
Active Record versions older than 7 are no longer supported; upgrade Active Record before using this version. github.com - Removed
lockbox_encrypts
The deprecated lockbox_encrypts method is gone; use has_encrypted instead. github.com
lockbox 1.0.0 breaking changes
- Removed
Ruby versions older than 2.6 are no longer supported, so upgrade Ruby before using this version. github.com
lockbox 0.5.0 breaking changes
- Behavior changed
Code that specifies no attributes now raises an error instead of printing a warning, so it must specify attributes to keep working. github.com
lockbox 0.4.0 breaking changes
- Removed
attached_encrypted
The deprecated attached_encrypted method was removed. Code that still calls it will stop working. github.com - Removed
attr_encrypted
The legacy attr_encrypted encryptor was removed. Code that uses it must switch to a supported encryptor. github.com - Behavior changed
attributes
Calling attributes now loads the encrypted attributes as well, so code that relies on the previous result may see different values. github.com
lockbox 0.3.0 breaking changes
- Behavior changed
Many Mongoid methods were changed to behave like they do for unencrypted columns. Check Mongoid code that depends on their previous behavior. github.com - Behavior changed
in_database
The in_database method now returns values consistent with unencrypted columns before an update. Check code that relies on its previous return values. github.com - Behavior changed
restore
The restore methods now restore the encrypted ciphertext rather than the previous value. Check code that depends on the restored data. github.com - Behavior changed
was
The was method now returns values consistent with unencrypted columns before an update. Check code that relies on its previous return values. github.com - Signature changed
Lockbox
Lockbox changed from a class to a module, so code that instantiates it or relies on it being a class must be updated. 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.