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
On this page
Latest version 4.2.1. Source repository
Its 4.0.0 release requires Ruby 3.2 or later. Ruby end of life dates.
dentaku 4.0.0 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 - 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 - Renamed
Dentaku.Error.recipient_variable
Dentaku::Error#recipient_variable is now #assigned_to. Update code that reads the old name. github.com - Renamed
NodeError.child
NodeError#child is now #operand, which holds the failing operand's position. Update code that reads #child. github.com - Renamed
NodeError.expect
NodeError#expect is now #expected. Update code that reads #expect. github.com - 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 - 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 - 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 - 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 - 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 - 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 - 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 - 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 - 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
dentaku 3.0.0 breaking changes
- 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
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.