@iarna/toml breaking changes
@iarna/toml 3.0.0 (April 23, 2020) is its newest release with breaking changes, 4 of them. The first: Control characters in comments are now rejected in @iarna/toml 3.0.0. Every breaking API change we have recorded in @iarna/toml on npm: 9 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 3.0.0, released April 23, 2020.
Packages on npm run on Node.js. Node.js end of life dates.
@iarna/toml 3.0.0 breaking changes
- Behavior changed
Comments may no longer contain control characters; only tabs are allowed. TOML input with other control characters in comments will fail to parse. github.com - Behavior changed
A subtable header may not extend a table that was created via dotted keys, so TOML that does this will now be rejected. Restructure such TOML so the table is defined in one style. github.com - Behavior changed
Inline tables may no longer end with a trailing comma, so TOML input that has one will fail to parse. Remove the trailing comma from inline tables; inline arrays may still have them. github.com - Signature changed
JsonArray
Was type JsonArray = boolean[] | number[] | string[] | JsonMap[] | Date[]; now type JsonArray = JsonValue[]. npmjs.com
@iarna/toml 2.0.0 breaking changes
- Behavior changed
The stringifier no longer strips NaN, Infinity and -Infinity; it writes them as the TOML values nan, inf and -inf. github.com - Behavior changed
Parsing now keeps -0.0 and 0.0 as distinct floating point values, so code comparing or printing them may see different results. github.com - Behavior changed
Delete characters (U+007F) are no longer allowed in plain strings; code parsing such input will now get an error. Write them as escaped unicode such as \u007f instead. github.com - Behavior changed
Integers are now treated as 64-bit unsigned values and represented with BigInt on Node 10 or later, so code expecting plain Number integers may need to change. github.com - Behavior changed
Left-padding a decimal value with zeros is now illegal and will fail to parse; remove the leading zeros from such values. 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.