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

# 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

Latest version `7.1.2`. [Source repository](https://github.com/RubyCrypto/rbnacl)

Its 7.0.0 release drops Ruby 2.2. [Ruby end of life dates](https://since.dev/calendar/ruby.md).

- From [4.0.0](#v-4-0-0) to [7.0.0](#v-7-0-0): 1 breaking change in 1 version.
- From [2.0.0](#v-2-0-0) to [7.0.0](#v-7-0-0): 6 breaking changes in 3 versions.

## rbnacl 7.0.0 breaking changes

rbnacl 7.0.0, released May 23, 2019: 1 breaking change.

- **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](https://github.com/RubyCrypto/rbnacl/blob/v7.0.0/CHANGES.md)

## rbnacl 4.0.0 breaking changes

rbnacl 4.0.0, released December 23, 2016: 1 breaking change.

- **Removed**  

Older Ruby versions are no longer supported; upgrade Ruby to 2.2.6 or later before using this release. [github.com](https://github.com/RubyCrypto/rbnacl/blob/v4.0.0/CHANGES.md)

## rbnacl 3.0.0 breaking changes

rbnacl 3.0.0, released April 23, 2014: 4 breaking changes.

- **Renamed** `RandomNonceBox`  

RandomNonceBox is now called SimpleBox. The old name still works, but new code should use SimpleBox. [github.com](https://github.com/RubyCrypto/rbnacl/blob/v3.0.0/CHANGES.md)
- **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](https://github.com/RubyCrypto/rbnacl/blob/v3.0.0/CHANGES.md)
- **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](https://github.com/RubyCrypto/rbnacl/blob/v3.0.0/CHANGES.md)
- **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](https://github.com/RubyCrypto/rbnacl/blob/v3.0.0/CHANGES.md)

## rbnacl 2.0.0 breaking changes

rbnacl 2.0.0, released November 7, 2013: 10 breaking changes.

- **Removed**  

The encoders were removed. Code that depends on them must be changed. [github.com](https://github.com/RubyCrypto/rbnacl/blob/v2.0.0/CHANGES.md)
- **Removed**  

Support for Ruby 1.8 was dropped. Use a newer Ruby version. [github.com](https://github.com/RubyCrypto/rbnacl/blob/v2.0.0/CHANGES.md)
- **Removed** `NaCl`  

The NaCl module was removed along with changes to the low level libsodium binding. [github.com](https://github.com/RubyCrypto/rbnacl/blob/v2.0.0/CHANGES.md)
- **Renamed** `Crypto`  

The Crypto module was renamed to RbNaCl. Update code that references Crypto to use RbNaCl. [github.com](https://github.com/RubyCrypto/rbnacl/blob/v2.0.0/CHANGES.md)
- **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](https://github.com/RubyCrypto/rbnacl/blob/v2.0.0/CHANGES.md)
- **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](https://github.com/RubyCrypto/rbnacl/blob/v2.0.0/CHANGES.md)
- **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](https://github.com/RubyCrypto/rbnacl/blob/v2.0.0/CHANGES.md)
- **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](https://github.com/RubyCrypto/rbnacl/blob/v2.0.0/CHANGES.md)
- **Configuration changed**  

The package now checks that libsodium is at least version 0.4.3. Older libsodium installs will fail that check. [github.com](https://github.com/RubyCrypto/rbnacl/blob/v2.0.0/CHANGES.md)
- **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](https://github.com/RubyCrypto/rbnacl/blob/v2.0.0/CHANGES.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.
