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
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
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
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
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
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
Johann Schopplich
cfbbb09358
chore: release v1.2.0
2025-11-21 14:03:40 +01:00
Johann Schopplich
1c003c6118
feat(cli): memory-efficient streaming for encoding
2025-11-21 14:02:22 +01:00
Johann Schopplich
be8bcfe9b2
chore: release v1.1.0
2025-11-21 09:36:25 +01:00
Johann Schopplich
36ddd2e0ea
fix: encode mixed-format arrays at root level ( fixes #202 )
2025-11-21 09:01:26 +01:00
Johann Schopplich
2e992aed74
feat: encodeLines for streaming encoding to TOON
2025-11-20 18:37:46 +01:00
Johann Schopplich
4b4f7c05f9
docs: add dedicated docs website
2025-11-18 07:23:10 +01:00
cy
f798bba095
test(cli): add tests for stdin input ( #107 )
...
* test(cli): add tests for stdin input
* test(cli): extract mock stdin to helper function
* test(cli): add comprehensive tests for stdin edge cases and output file handling
* refactor(test): streamline mockStdin function and relocate to utils
* test(cli): remove redundant test for JSON encoding from stdin
* test(cli): restore mocks consistently
* test(cli): restructured output file tests and modified some assertions
* chore: fix linting issues & remove redundant cleanups
---------
Co-authored-by: mad-cat-lon <113548315+mad-cat-lon@users.noreply.github.com >
Co-authored-by: Johann Schopplich <mail@johannschopplich.com >
2025-11-11 17:35:52 +01:00
Johann Schopplich
0a4c89e496
refactor: move function internally
2025-11-11 17:24:18 +01:00
Johann Schopplich
2e7a27c3c0
chore: upgrade tsdown
2025-11-11 09:31:17 +01:00
Johann Schopplich
b2782b026f
chore: release v1.0.0
2025-11-10 17:29:05 +01:00
Johann Schopplich
e8ae024e54
feat!: remove optional length marker option [#N] in favor of [N]
2025-11-10 17:28:49 +01:00
Johann Schopplich
1c74f09177
chore: fix linting error
2025-11-10 14:34:13 +01:00
Johann Schopplich
1837007048
perf: improve empty object checks
2025-11-10 14:30:54 +01:00
Johann Schopplich
661dcbe5f8
docs: clarify spec v1.5 changes
2025-11-10 13:21:25 +01:00
Johann Schopplich
ac17a8d260
refactor: misc. clean ups (removing unnecessary comments, improving variable names)
2025-11-10 13:19:33 +01:00
Johann Schopplich
4f5000b2eb
chore: release v0.9.0
2025-11-10 10:51:36 +01:00
Johann Schopplich
89b227302a
fix(path-expanding): overwrite with new value
2025-11-10 10:51:12 +01:00
Johann Schopplich
eefb0242e2
feat: opt-in key folding and path expansion ( closes #86 )
2025-11-10 09:56:09 +01:00
Johann Schopplich
acca69c64a
chore(benchmarks): replace LLM-as-judge, new structural validation
2025-11-07 21:28:21 +01:00
Johann Schopplich
853c3babea
chore: fix cli entry for testing
2025-11-06 22:20:07 +01:00
Johann Schopplich
9863875706
chore: release v0.8.0
2025-11-05 19:04:20 +01:00
Johann Schopplich
840626dc90
feat: minor fixes for spec v1.4 compliance
2025-11-05 19:04:00 +01:00
Johann Schopplich
cdb90585fa
test(cli): add tests for invalid values
2025-11-04 10:17:20 +01:00
Johann Schopplich
af298537a4
test(cli): add basic test suite
2025-11-04 07:45:50 +01:00
Johann Schopplich
314497630d
chore: release v0.7.3
2025-11-03 17:42:01 +01:00
Johann Schopplich
e174c46ba1
fix: add README files to published packages
2025-11-03 17:36:47 +01:00
Johann Schopplich
3fc9291a8f
chore: release v0.7.2
2025-11-03 11:41:37 +01:00
Johann Schopplich
a3b1a01a8b
feat(cli): support stdin for input handling ( fixes #71 )
2025-11-03 11:39:10 +01:00
Johann Schopplich
f08376ca04
chore: release v0.7.1
2025-11-03 08:23:13 +01:00