decimal breaking changes
decimal 3.0.0 (May 7, 2026) is its newest release with breaking changes, 7 of them. The first: Behavior changed Decimal.cast.1. Every breaking API change we have recorded in decimal on Hex: 7 breaking changes in 1 version. Below, its one version with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 3.2.0, released October 10, 2026. Apache-2.0 license. Source repository
decimal 3.0.0 breaking changes
- Behavior changed
Decimal.cast.1
Decimal.cast/1 now rejects inputs whose digit count exceeds 34 or whose absolute exponent exceeds 6_144. Use cast/2 with max_digits: :infinity and max_exponent: :infinity to keep unbounded behavior. github.com - Behavior changed
Decimal.parse.1
Decimal.parse/1 now rejects inputs whose digit count exceeds 34 or whose absolute exponent exceeds 6_144. Use parse/2 with max_digits: :infinity and max_exponent: :infinity to keep unbounded behavior. github.com - Behavior changed
Decimal.to_string.2
Decimal.to_string/2 now raises ArgumentError when the rendered output would exceed 6_178 digit characters. Code that renders very large values must handle this error or pass max_digits: :infinity. github.com - Behavior changed
Decimal.to_string.3
Decimal.to_string/3 now raises ArgumentError when the rendered output would exceed 6_178 digit characters. Code that renders very large values must handle this error or pass max_digits: :infinity. github.com - Default changed
Decimal.cast.2
When not specified, cast/2 now limits max_digits to 34 and max_exponent to 6_144. Pass max_digits: :infinity and max_exponent: :infinity to keep the old unbounded behavior. github.com - Default changed
Decimal.Context
The default Decimal.Context now uses precision 34, emax 6_144 and emin -6_143 instead of precision 28 and unbounded exponents. Results outside that range now signal overflow or underflow, so code relying on the old defaults may need an... github.com - Default changed
Decimal.parse.2
When not specified, parse/2 now limits max_digits to 34 and max_exponent to 6_144. Pass max_digits: :infinity and max_exponent: :infinity to keep the old unbounded behavior. 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.