文件历史

54 次代码提交

作者 SHA1 备注 提交日期
Johann Schopplich 352a5b017d chore: release v2.3.1
Release + Publish / Release (push) Has been cancelled
2026-07-16 08:06:50 +02:00
Johann Schopplich e2003970dd chore: revert v2.3.1 version bump and quote build filter glob 2026-07-16 08:02:04 +02:00
Johann Schopplich 2013a7e09c chore: release v2.3.1 2026-07-16 07:26:53 +02:00
Johann Schopplich 27b65c2931 chore: upgrade dependencies 2026-07-15 23:07:17 +02:00
Johann Schopplich 3c66a1bead chore: release v2.3.0
Release + Publish / Release (push) Has been cancelled
2026-05-20 11:48:16 +02:00
Johann Schopplich dd856fe590 docs: align prose with v3.2 spec wording
- packages/toon/README.md: drop two v3.1 bullets that crept into the
  "What's new in v3.2" list (canonical empty-array form and \uXXXX
  escape both landed in v3.1).
- docs/reference/api.md: rename "Delimiter mismatches" entry to
  "Header delimiter mismatch" and cite §14.2 – the previous wording
  invited the false reading that non-active delimiter chars in row
  data are an error. Add §14.4 cross-ref to the duplicate-key entry.
- docs/reference/spec.md: include \uXXXX in the §7 escape list; soften
  the charset MUST claim to match §17; en-dash the §-ranges in the
  glance table.
- docs/reference/syntax-cheatsheet.md: rename "Strings with Active
  Delimiter" to "Strings Containing Delimiters" and distinguish
  active-delim (array scope) from document-delim (object field
  values) per §11.1.
- docs/guide/format-overview.md: same active-vs-document distinction
  in the delimiter paragraph; drop incorrect "strict mode" qualifier
  from the unknown-escape error claim (§7.1 rejects unconditionally);
  trim redundant "with leading zeros" parenthetical.
- docs/guide/llm-prompts.md: fix two broken anchors
  (/reference/api#decode → #decode-input-options, similar for
  encodelines); use -o instead of --output for CLI example
  consistency.
- packages/cli/README.md: enumerate what --no-strict actually skips
  in the options table; replace "delimiter consistency" with the
  more specific "header delimiter mismatches" in the Lenient Decoding
  prose to avoid the same false reading the api.md fix addresses.
2026-05-20 10:57:48 +02:00
Johann Schopplich 1446cae85d docs(cli): widen --no-strict description for v3.2 semantics
In v3.2, --no-strict no longer just skips count/indent/delimiter
validation - it also applies last-write-wins on duplicate sibling
keys and tolerates malformed array headers as plain key-value lines.
The previous "faster processing" framing didn't reflect any of this.

- Lenient Decoding sections in cli docs and packages/cli/README spell
  out which checks the decoder stops enforcing
- Options table description shifts from "Disable strict validation"
  to "Skip decode validation; last-write-wins on duplicate keys"
- --strict help text in the CLI reads "Strict decode validation
  (disable with --no-strict)"
- §17 IANA anchor fix in the cli docs media-type note
2026-05-20 07:04:41 +02:00
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 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 6edc9ac5e7 chore: upgrade dependencies 2026-03-06 07:52:26 +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 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
Johann Schopplich 189bbfa9bc chore: upgrade dependencies 2025-12-15 14:26:31 +01:00
Johann Schopplich 19f9a5527f docs: fix CLI options naming (fixes #241) 2025-12-07 13:10:09 +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 690e402a6b chore: release v2.0.1
Release + Publish / Release (push) Has been cancelled
2025-11-27 22:07:47 +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 14a8cb132e test(cli): mock console and stdout write 2025-11-24 16:21:01 +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
Johann Schopplich cfbbb09358 chore: release v1.2.0
Release / release (push) Has been cancelled
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
Release / release (push) Has been cancelled
2025-11-21 09:36:25 +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 2e7a27c3c0 chore: upgrade tsdown 2025-11-11 09:31:17 +01:00
Johann Schopplich b2782b026f chore: release v1.0.0
Release / release (push) Has been cancelled
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 661dcbe5f8 docs: clarify spec v1.5 changes 2025-11-10 13:21:25 +01:00
Johann Schopplich 4f5000b2eb chore: release v0.9.0
Release / release (push) Has been cancelled
2025-11-10 10:51:36 +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 853c3babea chore: fix cli entry for testing 2025-11-06 22:20:07 +01:00
Johann Schopplich 9863875706 chore: release v0.8.0
Release / release (push) Has been cancelled
2025-11-05 19:04:20 +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
Release / release (push) Has been cancelled
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
Release / release (push) Has been cancelled
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