Repository navigation
Releases
Releases Β· toon-format/toon
v4.4.0
Β Β Β π Features
- Support spec v4.4 Β -Β by @johannschopplich in #362 (236a7)
Β Β Β π Bug Fixes
- Keep usage off stdout and split short option values Β -Β by @johannschopplich (55483)
- Quote a root string that starts with U+FEFF Β -Β by @Iams4kura in #343 (09364)
- cli:
- Keep the last duplicate key when decoding with
--no-strictΒ -Β by @johannschopplich in #353 (c6dd0)
- Keep the last duplicate key when decoding with
- decode:
- Three decoder cases that diverged from the spec Β -Β by @johannschopplich in #355 (42342)
- Follow the spec 4.2 decoder rules Β -Β by @johannschopplich in #357 (b620f)
- encode:
- Normalize sparse array holes to null Β -Β by @Iams4kura in #335 (033d8)
Β Β Β Β View changes on GitHub
v4.1.1
Β Β Β π Bug Fixes
- Write CLI diagnostics to stderr so stdout carries results only Β -Β by @johannschopplich (46757)
- Terminate the last line of file output with a newline Β -Β by @johannschopplich (c3d7c)
- Treat a tab-indented hash line as content, not a comment Β -Β by @johannschopplich (6e822)
- Reject a raw string whose comment marker follows a byte-order mark Β -Β by @johannschopplich (bde6e)
Β Β Β Β View changes on GitHub
v4.1.0
Β Β Β π Features
- benchmarks:
- Add
keyedandnested-groupdatasets covering v4 tabular forms Β -Β by @johannschopplich (ebe80) - Corrupt encoded text for structural-validation datasets Β -Β by @johannschopplich (1de7b)
- Add wilson 95% intervals to accuracy tables Β -Β by @johannschopplich (ac638)
- Add
- encode:
rawStringmarker andescapeStringexport for verbatim replacer output Β -Β by @yilmazhasan in #321 (b36f8)
Β Β Β π Bug Fixes
- Accept the
indentSizeoption named by the spec Β -Β by @johannschopplich (b41d5) - benchmarks:
- Normalize non-ISO dates in local time to avoid timezone-dependent day shifts Β -Β by @johannschopplich (c7b6f)
- Pin faker reference date so regenerated datasets stay reproducible Β -Β by @johannschopplich (d7d78)
- Split accuracy report into csv-excluded and flat-only tracks Β -Β by @johannschopplich (911ba)
- Floor
grok-4.5reasoning atlowΒ -Β by @johannschopplich (7c792)
- cli:
- Error on ill-formed UTF-8 input in strict mode Β -Β by @johannschopplich (5f04e)
- decode:
- Strip a byte-order mark and trailing spaces, and stop truncating at a declared
[N]Β -Β by @johannschopplich (d8ca3) - Keep a quoted colon inside an unquoted key Β -Β by @johannschopplich (41c92)
- Omit leaf fields that have no cell instead of yielding undefined Β -Β by @johannschopplich (c2c25)
- Reject a bare token line outside root primitive position Β -Β by @johannschopplich (ea050)
- Strip a byte-order mark and trailing spaces, and stop truncating at a declared
- encode:
- Reject unpaired surrogates and invalid delimiters Β -Β by @johannschopplich (db67c)
Β Β Β Β View changes on GitHub
v4.0.0
Β Β Β π¨ Breaking Changes
- Remove key folding and path expansion Β -Β by @johannschopplich (46956)
Β Β Β π Features
- Decode-side comment lines with encoder quoting of #-leading strings Β -Β by @johannschopplich (13561)
- Nested field groups in tabular headers Β -Β by @johannschopplich (128fc)
- Keyed tabular form for objects of uniform objects Β -Β by @johannschopplich (68464)
- decode: Reject indentation depth jumps in strict mode Β -Β by @johannschopplich (6db88)
Β Β Β π Bug Fixes
- decode:
- Prevent false array header detection for unquoted keys c⦠ - by @rayriffy in #314 (13360)
- Trim value tokens by U+0020 only Β -Β by @johannschopplich (fea26)
- Reject over-indented orphan lines and trailing root content in strict mode Β -Β by @johannschopplich (4489d)
- Treat a trailing carriage return as part of the line terminator Β -Β by @johannschopplich (9562c)
- Reject keyless headers outside root and list-item positions Β -Β by @johannschopplich (1560d)
- Reject inline content after fields-bearing headers Β -Β by @johannschopplich (06bd0)
- encode:
- Quote leading-plus numeric-like strings Β -Β by @johannschopplich (b769d)
Β Β Β Β View changes on GitHub
v2.3.1
Β Β Β π Bug Fixes
- Harden encode and decode against prototype pollution Β -Β by @ckorhonen in #316 (94a2b)
- decode:
- Slice key-value rest at key token end offset Β -Β by @johannschopplich (70230)
- Treat quoted spans as opaque in line classification Β -Β by @johannschopplich (9024a)
Β Β Β Β View changes on GitHub
v2.3.0
Β Β Β π Features
- decode: Strict-mode error coverage for Β§6/Β§9.1/Β§14 Β -Β by @johannschopplich (a13dc)
- docs: Add YAML input to Playground with tests Β -Β by @swetasanghi2004-prog in #303 (90a04)
- encode: Emit canonical empty-array form
key: []Β -Β by @johannschopplich (e6d97)
Β Β Β π Bug Fixes
- decode:
- Support \uXXXX escape per Β§7.1 Β -Β by @johannschopplich (17820)
- Reject whitespace gap in array header per Β§6 Β -Β by @johannschopplich (d5149)
Β Β Β Β View changes on GitHub
v2.2.0
Β Β Β π Features
- Throw
ToonDecodeErroron error Β -Β by @johannschopplich (1181b) - cli: Render decode error with line context, source, and caret Β -Β by @johannschopplich (3d99b)
Β Β Β π Bug Fixes
- Remove deprecated bare list item decoder logic Β -Β by @johannschopplich (4852a)
- Reject negative numbers with leading zeros Β -Β by @johannschopplich (19719)
- Preserve empty-string keys in array headers across encode/decode Β -Β by @johannschopplich in #281 (c6ab0)
- decode: Reject array headers with trailing content between bracket and colon Β -Β by @johannschopplich (6f699)
Β Β Β π Performance
- Remove
tsxusage Β -Β by @johannschopplich (9bb97)
Β Β Β Β View changes on GitHub
v2.1.0
Β Β Β π Features
- Add replacer function for encoding transformations and filtering Β -Β by @johannschopplich in #209 (2c519)
toJSONmethod support for custom serialization Β -Β by @ViliamKopecky in #237 (a4538)
Β Β Β Β View changes on GitHub
v2.0.1
No significant changes
Β Β Β Β View changes on GitHub
v2.0.0
Β Β Β π¨ Breaking Changes
- Standardized encoding for list-item objects (spec v3) Β -Β by @johannschopplich (05abb)