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

# dentaku breaking changes

dentaku 4.0.0 (August 2, 2026) is its newest release with breaking changes, 14 of them. The first: dentaku 4.0.0 requires Ruby 3.2 or later. Every breaking API change we have recorded in dentaku on RubyGems: 15 breaking changes in 2 versions. Below, its 2 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `4.2.1`. [Source repository](https://github.com/rubysolo/dentaku)

Its 4.0.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 [3.0.0](#v-3-0-0) to [4.0.0](#v-4-0-0): 14 breaking changes in 1 version.

## dentaku 4.0.0 breaking changes

dentaku 4.0.0, released August 2, 2026: 14 breaking changes.

- **Removed**  

The gem no longer supports Ruby versions older than 3.2. Upgrade Ruby to 3.2 or later before updating. [github.com](https://github.com/rubysolo/dentaku/blob/v4.0.0/CHANGELOG.md)
- **Removed** `TokenMatcher.method_missing`  

Function matchers built through method_missing are gone; use TokenMatcher.function(name) instead. The unused math_neg_pow and math_neg_mul matcher symbols were also removed. [github.com](https://github.com/rubysolo/dentaku/blob/v4.0.0/CHANGELOG.md)
- **Renamed** `Dentaku.Error.recipient_variable`  

Dentaku::Error#recipient_variable is now #assigned_to. Update code that reads the old name. [github.com](https://github.com/rubysolo/dentaku/blob/v4.0.0/CHANGELOG.md)
- **Renamed** `NodeError.child`  

NodeError#child is now #operand, which holds the failing operand's position. Update code that reads #child. [github.com](https://github.com/rubysolo/dentaku/blob/v4.0.0/CHANGELOG.md)
- **Renamed** `NodeError.expect`  

NodeError#expect is now #expected. Update code that reads #expect. [github.com](https://github.com/rubysolo/dentaku/blob/v4.0.0/CHANGELOG.md)
- **Behavior changed**  

CASE expressions now report dependencies only for the branch that would be taken when the switch value is resolvable. Code that depends on the full dependency list may see fewer entries. [github.com](https://github.com/rubysolo/dentaku/blob/v4.0.0/CHANGELOG.md)
- **Behavior changed**  

An unbound variable no longer raises when the bound operand already decides the result, and misspelled identifiers on untaken branches are no longer reported at evaluation time. Use dependencies for static validation. [github.com](https://github.com/rubysolo/dentaku/blob/v4.0.0/CHANGELOG.md)
- **Behavior changed**  

Bitwise operations on non-integer operands now raise :incompatible_type instead of :invalid_operator. Update code that matches the old reason. [github.com](https://github.com/rubysolo/dentaku/blob/v4.0.0/CHANGELOG.md)
- **Behavior changed**  

Indexing a non-indexable value such as a number, NULL, or boolean now raises Dentaku::ArgumentError instead of returning a bit-reference or a raw NoMethodError. Handle this error where such indexing can occur. [github.com](https://github.com/rubysolo/dentaku/blob/v4.0.0/CHANGELOG.md)
- **Behavior changed** `Calculator.new`  

Unknown options passed to Calculator.new now raise ArgumentError, and passed values are no longer mutated. Remove unknown options and do not rely on mutation of passed values. [github.com](https://github.com/rubysolo/dentaku/blob/v4.0.0/CHANGELOG.md)
- **Behavior changed** `Dentaku.aliases`  

Dentaku.aliases is now resolved lazily, so aliases set after a calculator was created also apply to it. Code that relied on later aliases being ignored will change behavior. [github.com](https://github.com/rubysolo/dentaku/blob/v4.0.0/CHANGELOG.md)
- **Behavior changed** `Dentaku.Error`  

Dentaku::Error is a module included by all Dentaku exceptions, so rescuing it also catches Dentaku::ArgumentError and Dentaku::ZeroDivisionError. Exceptions that subclassed it now subclass Dentaku::BaseError. [github.com](https://github.com/rubysolo/dentaku/blob/v4.0.0/CHANGELOG.md)
- **Behavior changed** `meta[:operation]`  

meta\[:operation\] is now always the AST class and meta\[:operator\] is the method symbol. Code that read the old ParseError :operator value as a class must change. [github.com](https://github.com/rubysolo/dentaku/blob/v4.0.0/CHANGELOG.md)
- **Signature changed** `Calculator.new`  

Calculator.new now takes keyword arguments, and the AST cache must be passed explicitly as ast_cache:. Update calls that passed leftover options positionally or implicitly. [github.com](https://github.com/rubysolo/dentaku/blob/v4.0.0/CHANGELOG.md)

## dentaku 3.0.0 breaking changes

dentaku 3.0.0, released October 11, 2017: 1 breaking change.

- **Removed**  

Version 3.0.0 no longer supports Ruby 1.9. Code running on Ruby 1.9 must upgrade its Ruby version before using this release. [github.com](https://github.com/rubysolo/dentaku/blob/v3.0.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.
