Commit Graph

273 Commits

Author SHA1 Message Date
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 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
Okinea Dev
7ed9701028 ci: automate PR title linting (#229)
* ci: automate PR title linting

This will help with Squash & Merge when you need the squashed commit to have the correct Conventional Commits format so that it can be parsed when generating release notes

(With Squash & Merge the squashed commit message is taken from the PR title)

* chore: minor updates

---------

Co-authored-by: Johann Schopplich <mail@johannschopplich.com>
2025-12-01 20:56:56 +01:00
Johann Schopplich
d662c21262 docs: move Tools & Playgrounds sidebar link 2025-12-01 20:36:21 +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
0974a58527 docs(playground): add key folding option 2025-12-01 10:31:04 +01:00
Johann Schopplich
ef02ebe4c8 docs(playground): update layout 2025-11-30 15:26:15 +01:00
Johann Schopplich
236be77c35 docs(playground): update demo datasets 2025-11-30 10:30:10 +01:00
Johann Schopplich
5c6ea544a0 docs(playground): move copy button to code block 2025-11-29 22:27:03 +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
22edbc7bf2 docs: use fflate for state compression 2025-11-29 21:52:51 +01:00
Johann Schopplich
0fff9c07bf docs: add playground 2025-11-29 21:16:21 +01:00
Mateo Lafalce
412ebcb125 docs: add Efficiency Formalization page (#221)
* Add Efficiency Formalization

* update eff.md && bach.md

* update eff.md

* update literal pipes

* docs: overhaul some wording

* docs: credit @mateolafalce as author

* chore: deps update

* docs: updates

---------

Co-authored-by: Johann Schopplich <mail@johannschopplich.com>
2025-11-28 07:51:08 +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
f882cb1153 docs: update spec page to match latest version and sections 2025-11-25 10:05:12 +01:00
Johann Schopplich
b9e3593cd9 docs(benchmarks): improve clarity of efficiency ranking metrics 2025-11-25 09:45:06 +01:00
Johann Schopplich
faf3f8d8aa docs: update implementation status for Java, Python, and Rust 2025-11-24 21:42:53 +01:00
Johann Schopplich
5310e8ae3d chore: release v2.0.0 2025-11-24 17:45:42 +01:00
Johann Schopplich
7e6e180732 chore: upgrade deps 2025-11-24 17:36:44 +01:00
Johann Schopplich
a07d633f6a docs: move JToon to official implementation 2025-11-24 16:37:21 +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
7e9fbcfd40 docs: compact yaml example in README 2025-11-24 09:46:12 +01:00
Okinea Dev
103e357def ci: organize and speed up workflows (#215)
* ci: organize and speed up workflows

Reduced `ci.yml` costs and carbon emissions by using only one `job`

---

Part of the https://github.com/Cambridge-ICCS/green-ci initiative 🍃

* remove emojis

* chore: update pnpm name and yaml array syntax

---------

Co-authored-by: Johann Schopplich <mail@johannschopplich.com>
2025-11-24 09:42:30 +01:00
Johann Schopplich
11a089bb86 docs: update token count 2025-11-24 09:13:22 +01:00
Johann Schopplich
b03997e887 chore: remove unused TS directive 2025-11-24 08:44:41 +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
3389179979 docs: overhaul API reference page 2025-11-23 19:47:37 +01:00
Johann Schopplich
5e8822bea8 docs: refactor API reference page 2025-11-23 19:35:19 +01:00
Johann Schopplich
27c6fc5519 docs: simplify stream decode intructions 2025-11-23 19:05:04 +01:00
Johann Schopplich
a200a9fa54 docs: add recommended media type & file extension 2025-11-23 18:51:50 +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