---
title: "@iarna/toml 3.0.0 Breaking Changes on npm | Since.dev"
description: "What each @iarna/toml release removed, renamed or changed: 9 breaking changes in 2 versions on npm, each with its source."
canonical_url: https://since.dev/packages/npm/@iarna/toml
last_updated: 2026-12-04
---

# @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

Latest version `3.0.0`, released April 23, 2020. 

Packages on npm run on Node.js. [Node.js end of life dates](https://since.dev/calendar/nodejs.md).

- From [2.0.0](#v-2-0-0) to [3.0.0](#v-3-0-0): 4 breaking changes in 1 version.

## @iarna/toml 3.0.0 breaking changes

@iarna/toml 3.0.0, released April 23, 2020: 4 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](https://github.com/iarna/iarna-toml/blob/v3.0.0/CHANGELOG.md)
- **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](https://github.com/iarna/iarna-toml/blob/v3.0.0/CHANGELOG.md)
- **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](https://github.com/iarna/iarna-toml/blob/v3.0.0/CHANGELOG.md)
- **Signature changed** `JsonArray`  

Was type JsonArray = boolean\[\] | number\[\] | string\[\] | JsonMap\[\] | Date\[\]; now type JsonArray = JsonValue\[\]. [npmjs.com](https://www.npmjs.com/package/@iarna/toml/v/3.0.0)

## @iarna/toml 2.0.0 breaking changes

@iarna/toml 2.0.0, released July 27, 2018: 5 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](https://github.com/iarna/iarna-toml/blob/v2.0.0/CHANGELOG.md)
- **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](https://github.com/iarna/iarna-toml/blob/v2.0.0/CHANGELOG.md)
- **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](https://github.com/iarna/iarna-toml/blob/v2.0.0/CHANGELOG.md)
- **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](https://github.com/iarna/iarna-toml/blob/v2.0.0/CHANGELOG.md)
- **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](https://github.com/iarna/iarna-toml/blob/v2.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.
