@toon-format/toon breaking changes
@toon-format/toon 4.1.1 (August 5, 2026) is its newest release with breaking changes, 3 of them. The first: Raw strings after a byte-order mark with a comment marker are now rejected in @toon-format/toon 4.1.1. Every breaking API change we have recorded in @toon-format/toon on npm: 31 breaking changes in 5 versions. Below, its 5 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 4.4.0, released October 8, 2026. Source repository
Packages on npm run on Node.js. Node.js end of life dates.
- From 2.3.1 to 4.1.1: 27 breaking changes in 3 versions.
- From 2.3.0 to 4.1.1: 28 breaking changes in 4 versions.
@toon-format/toon 4.1.1 breaking changes
- Behavior changed
A raw string whose comment marker follows a byte-order mark is now rejected instead of accepted. Code parsing such input will now get an error. github.com - Behavior changed
A line indented with a tab that starts with a hash is now treated as content rather than ignored as a comment. Documents relying on the old comment handling will parse differently. github.com - Behavior changed
Diagnostic messages from the CLI are written to stderr, so stdout carries only results. Scripts that read diagnostics from stdout must read stderr instead. github.com
@toon-format/toon 4.1.0 breaking changes
- Removed
ResolvedDecodeOptions.indent
ResolvedDecodeOptions.indent was removed in @toon-format/toon 4.1.0 npmjs.com - Removed
ResolvedEncodeOptions.indent
ResolvedEncodeOptions.indent was removed in @toon-format/toon 4.1.0 npmjs.com - Behavior changed
Leaf fields with no cell are now left out of decoded objects rather than set to undefined. Code that checks for the key or its undefined value may behave differently. github.com - Behavior changed
In strict mode the CLI now fails on ill-formed UTF-8 input instead of accepting it. Callers feeding such input in strict mode will see an error. github.com - Behavior changed
Input with a bare token line outside root primitive position that used to decode is now rejected. Code decoding such input must fix the input. github.com - Behavior changed
Input with unpaired surrogates or invalid delimiters that used to encode now throws an error. Code that relies on those inputs encoding must be changed. github.com - Signature changed
ResolvedDecodeOptions
Was type ResolvedDecodeOptions = Readonly<Required<DecodeOptions>>; now type ResolvedDecodeOptions = Readonly<Required<Omit<DecodeOptions, "indent">>>. npmjs.com - Signature changed
ResolvedEncodeOptions
Was type ResolvedEncodeOptions = Readonly<Required<Omit<EncodeOptions, "replacer">>> & Pick<EncodeOptions, "replacer">; now type ResolvedEncodeOptions = Readonly<Required<Omit<EncodeOptions, "replacer" | "indent">>> & Pick<EncodeOptions... npmjs.com
@toon-format/toon 4.0.0 breaking changes
- Removed
The release removes key folding and path expansion. Code relying on these encoding or decoding behaviors must be updated. github.com - Removed
DecodeOptions.expandPaths
DecodeOptions.expandPaths was removed in @toon-format/toon 4.0.0 npmjs.com - Removed
DecodeStreamOptions.expandPaths
DecodeStreamOptions.expandPaths was removed in @toon-format/toon 4.0.0 npmjs.com - Removed
EncodeOptions.flattenDepth
EncodeOptions.flattenDepth was removed in @toon-format/toon 4.0.0 npmjs.com - Removed
EncodeOptions.keyFolding
EncodeOptions.keyFolding was removed in @toon-format/toon 4.0.0 npmjs.com - Removed
ResolvedDecodeOptions.expandPaths
ResolvedDecodeOptions.expandPaths was removed in @toon-format/toon 4.0.0 npmjs.com - Removed
ResolvedEncodeOptions.flattenDepth
ResolvedEncodeOptions.flattenDepth was removed in @toon-format/toon 4.0.0 npmjs.com - Removed
ResolvedEncodeOptions.keyFolding
ResolvedEncodeOptions.keyFolding was removed in @toon-format/toon 4.0.0 npmjs.com - Behavior changed
The encoder now quotes leading-plus numeric-like strings, so output for such values changes. github.com - Behavior changed
Strict-mode decoding now rejects over-indented orphan lines and trailing root content that were previously accepted. github.com
And 6 more in this version. Sign up to see every change
@toon-format/toon 2.3.1 breaking changes
- Signature changed
DELIMITERS
Was const DELIMITERS: {readonly comma: ", "; readonly tab: " "; readonly pipe: "|";}; now const DELIMITERS: {readonly comma: ", "; readonly tab: "\t"; readonly pipe: "|";}. npmjs.com
@toon-format/toon 2.3.0 breaking changes
- Behavior changed
Array headers containing a whitespace gap are now rejected per the spec, so input that was accepted before will now fail to decode. github.com - Behavior changed
Strict mode adds error coverage for more inputs, so input that decoded before may now throw. Check decoding code that relies on lenient parsing. github.com - Behavior changed
Empty arrays are emitted in the canonical form key: [], so encoded output for empty arrays changes. Code that matches the previous output text may need updating. 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.