rbnacl breaking changes
rbnacl 7.0.0 (May 23, 2019) is its newest release with breaking changes. The first: rbnacl 7.0.0 drops support for Ruby 2.2. Every breaking API change we have recorded in rbnacl on RubyGems: 16 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 7.1.2. Source repository
Its 7.0.0 release drops Ruby 2.2. Ruby end of life dates.
- From 4.0.0 to 7.0.0: 1 breaking change in 1 version.
- From 2.0.0 to 7.0.0: 6 breaking changes in 3 versions.
rbnacl 7.0.0 breaking changes
- Removed
The gem no longer supports Ruby 2.2, so users on Ruby 2.2 must upgrade their Ruby version before using this release. github.com
rbnacl 4.0.0 breaking changes
- Removed
Older Ruby versions are no longer supported; upgrade Ruby to 2.2.6 or later before using this release. github.com
rbnacl 3.0.0 breaking changes
- Renamed
RandomNonceBox
RandomNonceBox is now called SimpleBox. The old name still works, but new code should use SimpleBox. github.com - Behavior changed
The package now converts all strings to ASCII-8BIT/BINARY encoding before using them. Code that depends on the previous string encoding may see different results. github.com - Signature changed
RandomNonceBox.initialize
The documented order of the RandomNonceBox initialize parameters was reversed. Code that passes arguments positionally must check the order it uses. github.com - Signature changed
SimpleBox.initialize
The documented order of the SimpleBox initialize parameters was reversed. Code that passes arguments positionally must check the order it uses. github.com
rbnacl 2.0.0 breaking changes
- Removed
The encoders were removed. Code that depends on them must be changed. github.com - Removed
Support for Ruby 1.8 was dropped. Use a newer Ruby version. github.com - Removed
NaCl
The NaCl module was removed along with changes to the low level libsodium binding. github.com - Renamed
Crypto
The Crypto module was renamed to RbNaCl. Update code that references Crypto to use RbNaCl. github.com - Behavior changed
Auth.verify
Auth#verify now raises a CryptoError when the check fails instead of returning a failure value. Handle the exception. github.com - Behavior changed
RbNaCl.Box.open
Box#open now raises a CryptoError when the check fails instead of returning a failure value. Handle the exception. github.com - Behavior changed
RbNaCl.SecretBox.open
SecretBox#open now raises a CryptoError when the check fails instead of returning a failure value. Handle the exception. github.com - Behavior changed
RbNaCl.VerifyKey.verify
VerifyKey#verify now raises a CryptoError when the check fails instead of returning a failure value. Handle the exception. github.com - Configuration changed
The package now checks that libsodium is at least version 0.4.3. Older libsodium installs will fail that check. github.com - Signature changed
RbNaCl.VerifyKey.verify
The operand order changed to signature, message instead of message, signature. Update callers to pass the signature first. 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.