文件历史

84 次代码提交

作者 SHA1 备注 提交日期
Johann Schopplich dd70538e0b chore: release v2.2.0
Release + Publish / Release (push) Has been cancelled
2026-05-08 23:18:34 +02:00
Johann Schopplich 4819128859 docs: harmonize prose and fix tab delimiter examples 2026-05-08 23:17:10 +02:00
Johann Schopplich 476e4a1784 refactor: variable name 2026-05-08 22:30:55 +02:00
Johann Schopplich 18864cbd1f docs: add error handling guide 2026-05-08 22:27:28 +02:00
Johann Schopplich d826be75d7 chore: upgrade dependencies 2026-05-08 22:23:54 +02:00
Johann Schopplich 3d99b7b9ae feat(cli): render decode error with line context, source, and caret 2026-05-08 22:18:43 +02:00
Johann Schopplich 1181b14bd7 feat: throw ToonDecodeError on error 2026-05-08 22:03:25 +02:00
Johann Schopplich 0f0b1b3217 test: remove unneeded comments 2026-05-08 22:03:03 +02:00
Johann Schopplich 7dabdb303b test: remove duplications 2026-05-08 21:53:18 +02:00
Johann Schopplich 6edc9ac5e7 chore: upgrade dependencies 2026-03-06 07:52:26 +01:00
Johann Schopplich 47c6d3d712 chore: update README with benchmarks for Gemini 3 Flash and Grok 4.1 2026-03-03 15:39:56 +01:00
Eugene Bann a42c87bdb6 docs: fix link to full list of implementations (#282) 2026-02-25 15:32:40 +01:00
Johann Schopplich 6f699bd4f5 fix(decode): reject array headers with trailing content between bracket and colon 2026-02-23 10:27:22 +01:00
Johann Schopplich c6ab05141f fix: preserve empty-string keys in array headers across encode/decode (closes #281) 2026-02-22 19:06:45 +01:00
Johann Schopplich 8073392822 refactor(cli): simplify args typings 2026-02-19 14:26:04 +01:00
Johann Schopplich 932f26189e test(cli): update tests for citty v0.2.x 2026-02-19 14:25:10 +01:00
Johann Schopplich 2a335341cc docs: update implementations section in README 2026-02-19 14:18:15 +01:00
Johann Schopplich 68f66bb5d6 chore: upgrade dependencies 2026-02-19 14:13:39 +01:00
Johann Schopplich 9bb97ce103 perf: remove tsx usage 2026-02-15 10:16:40 +01:00
Johann Schopplich b1413925b7 chore: simplify tsdown config 2026-01-23 08:17:45 +01:00
Mischa Sigtermans cc0a1b8e69 docs: update Laravel implementation to spec-compliant package (#266) 2026-01-21 16:34:19 +01:00
Yoshifumi Kawai 626ea62889 docs: add one more C# implmentation (ToonEncoder) 2026-01-16 18:57:37 +01:00
Davide Usberti f15619de6c docs: add TOONc (TOON library for C) to the community implementations (#255)
* Add C implementation link to community section

* Add C implementation to ecosystem documentation
2026-01-03 18:42:55 +01:00
Johann Schopplich 189bbfa9bc chore: upgrade dependencies 2025-12-15 14:26:31 +01:00
Johann Schopplich bbd7e8cf58 docs: add Swift implementation to official and community lists 2025-12-07 17:40:02 +01:00
Luke Last 24746854bf docs: add Kotlin community implementations (#236)
* Add ktoon for Kotlin to the community implementations.

* Update packages/toon/README.md

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Add ktoon to the implementations readme

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-12-07 17:37:24 +01:00
Johann Schopplich 19f9a5527f docs: fix CLI options naming (fixes #241) 2025-12-07 13:10:09 +01:00
Johann Schopplich 8a2c7e6715 refactor: consolidate numeric literal pattern definition 2025-12-05 14:15:24 +01:00
Johann Schopplich 19719a136f fix: reject negative numbers with leading zeros 2025-12-05 14:12:55 +01:00
Johann Schopplich 4852a09a76 fix: remove deprecated bare list item decoder logic 2025-12-05 13:39:50 +01:00
Johann Schopplich e02c3aae3a chore: release v2.1.0
Release + Publish / Release (push) Has been cancelled
2025-12-04 22:34:07 +01:00
Johann Schopplich c9382a5d53 docs: add Julia implementation to documentation 2025-12-04 14:50:48 +01:00
Viliam Kopecký a4538b48e7 feat: toJSON method support for custom serialization (#237)
* feat: add toJSON method support for custom serialization

* fix: prevent infinite recursion

* test: remove redundant toJSON test cases

* docs: add custom serialization details for toJSON method

* test: fix type issues

---------

Co-authored-by: Johann Schopplich <mail@johannschopplich.com>
2025-12-04 14:08:56 +01:00
Johann Schopplich 2c51932d51 feat: add replacer function for encoding transformations and filtering (closes #209) 2025-12-01 17:15:21 +01:00
Johann Schopplich 81dfab1d4d docs: update links for streaming decode APIs in README 2025-11-29 22:00:45 +01:00
Johann Schopplich b50d9fd16b docs: add official TOON Playground link 2025-11-29 21:54:34 +01:00
Johann Schopplich 690e402a6b chore: release v2.0.1
Release + Publish / Release (push) Has been cancelled
2025-11-27 22:07:47 +01:00
Okinea Dev 4190d4cc36 docs(readme): use themed badges (#227)
* chore: move readme to `packages/toon/README.md` and symlink in the project root

* fix paths and exclude `packages/toon/README.md` from `eslint` to avoid double linting

* docs(readme): use themed badges

They will now match the logo theme

* fix license path

* chore: revert changes

---------

Co-authored-by: Johann Schopplich <mail@johannschopplich.com>
2025-11-26 11:28:02 +01:00
Okinea Dev e35d8f71aa chore: move readme to packages/toon/README.md and symlink in the… (#228)
* chore: move readme to `packages/toon/README.md` and symlink in the project root

* fix paths and exclude `packages/toon/README.md` from `eslint` to avoid double linting

* fix: use relative paths

* fix link to readme benchmarks section
2025-11-26 11:21:58 +01:00
Johann Schopplich 5310e8ae3d chore: release v2.0.0
Release + Publish / Release (push) Has been cancelled
2025-11-24 17:45:42 +01:00
Johann Schopplich 9a6125424c docs: update benchmarks for v3 list item syntax 2025-11-24 16:35:44 +01:00
Johann Schopplich 14a8cb132e test(cli): mock console and stdout write 2025-11-24 16:21:01 +01:00
Johann Schopplich 8f96b8f0c8 refactor: share event handling in AST builder 2025-11-24 15:36:03 +01:00
Johann Schopplich 05abb99a7e feat!: standardized encoding for list-item objects (spec v3) 2025-11-24 14:40:36 +01:00
Johann Schopplich 2b2e26b0ef chore: release v1.4.0
Release / release (push) Has been cancelled
2025-11-24 08:42:50 +01:00
Johann Schopplich 327bddae55 feat: parse nested tabular arrays in list items with bare hyphen (spec v2.1) 2025-11-24 08:42:30 +01:00
Johann Schopplich 7a05d03e73 test(cli) add streaming events coverage 2025-11-22 08:53:47 +01:00
Johann Schopplich 8d9b486485 chore: release v1.3.0
Release / release (push) Has been cancelled
2025-11-21 22:38:59 +01:00
Johann Schopplich 6c57a14009 feat: streaming decode functionality with event-based parsing (closes #131) 2025-11-21 22:29:57 +01:00
Johann Schopplich 9ebad53ea3 feat(cli): stream output for both encoding and decoding 2025-11-21 16:52:34 +01:00