Commit Graph
26 Commits
Author SHA1 Message Date
petrbalvin 2e61ad0ba9 feat!: rework the public API to json/v2-style variadic options
Test / test (push) Successful in 1m49s
Assisted-by: GLM 5.3 Flash
2026-09-22 18:42:18 +02:00
petrbalvin 80b2bc6e0f perf(encode): write scalars and scalar arrays without boxing
Test / test (push) Successful in 1m34s
Assisted-by: GLM 5.3 Flash
2026-09-22 01:46:26 +02:00
petrbalvin 3ffae35a20 feat: add the Document edit pipeline with comment-preserving write
Test / test (push) Successful in 1m35s
Assisted-by: GLM 5.3 Flash
2026-09-22 01:22:46 +02:00
petrbalvin d92bb56853 refactor: rename the encoder layout options
Test / test (push) Successful in 1m35s
Assisted-by: GLM 5.3 Flash
2026-09-22 01:09:00 +02:00
petrbalvin d18935ebc2 feat: add field comments, local time zone decoding and in-value cancellation
Test / test (push) Successful in 1m32s
Assisted-by: GLM 5.3 Flash
2026-09-22 00:44:23 +02:00
petrbalvin b02471c09a refactor: unify the error paths in one Path type
Test / test (push) Canceled after 1m31s
Assisted-by: GLM 5.3 Flash
2026-09-22 00:34:48 +02:00
petrbalvin a8a2fcf8c3 feat: add the inline tag and json-style omitempty
Test / test (push) Successful in 1m30s
Assisted-by: GLM 5.3 Flash
2026-09-22 00:28:52 +02:00
petrbalvin 10391a090f feat: bound the encoder walk and add UnmarshalWithOptions
Test / test (push) Successful in 1m34s
Assisted-by: GLM 5.3 Flash
2026-09-22 00:21:46 +02:00
petrbalvin eaa69dc6f6 feat: add OrderedMap, the table that keeps its key order
Test / test (push) Successful in 1m30s
Assisted-by: GLM 5.3 Flash
2026-09-22 00:15:17 +02:00
petrbalvin ce0c1ebd9d feat: add Decoder.UseNumber and the Number type
Test / test (push) Successful in 1m52s
Assisted-by: GLM 5.3 Flash
2026-09-21 23:49:39 +02:00
petrbalvin 582222738b perf(encode): emit in place, pool the buffer and cache interface flags
Test / test (push) Successful in 1m29s
2026-09-20 22:15:38 +02:00
petrbalvin 72f8b21ac4 feat: parse into a Document that keeps order and comments
Test / test (push) Successful in 1m34s
Assisted-by: DeepSeek V4.1 Flash
2026-09-20 10:40:57 +02:00
petrbalvin a6e3e3fe31 feat: add OffsetDateTime, nesting limits and uniform Marshaler dispatch
Test / test (push) Successful in 2m18s
Assisted-by: DeepSeek V4.1 Flash
2026-09-19 19:36:24 +02:00
petrbalvin 959eaba4b0 feat(encode): add the InlineTables option
Assisted-by: DeepSeek V4.1 Flash
2026-09-19 12:18:30 +02:00
petrbalvin 8f85bb68fa feat(encode): write the TOML 1.1 output form
Assisted-by: DeepSeek V4.1 Flash
2026-09-19 12:18:18 +02:00
petrbalvin 815141440e feat: honour TextMarshaler and TextUnmarshaler by default
Test / test (push) Successful in 1m35s
Assisted-by: DeepSeek V4.1 Flash
2026-09-19 02:41:09 +02:00
petrbalvin 4def1b3e8b fix(encode): reject a nil MarshalTOML result
Assisted-by: GLM 5.3
2026-09-17 23:11:10 +02:00
petrbalvin d5327568fb fix(encode): keep a []any of tables in the value-array form
Assisted-by: GLM 5.3
2026-09-17 23:10:35 +02:00
petrbalvin 30b28fe7fc fix(encode): emit one key when two fields resolve to one name
Assisted-by: GLM 5.3
2026-09-17 23:08:42 +02:00
petrbalvin 54c6032a9a fix(encode): propagate invalid UTF-8 key errors from headers and inline tables
Assisted-by: GLM 5.3
2026-09-17 23:06:59 +02:00
petrbalvin ec0d7a0023 fix(encode): fall back from the literal multiline form when unsafe
Assisted-by: GLM 5.3
2026-09-17 23:06:25 +02:00
petrbalvin feef4fe9ea style(encode): reword the negative-zero rationale comments
Assisted-by: GLM 5.3
2026-09-17 23:05:41 +02:00
petrbalvin 3f41266710 feat: typed decode and encode errors with the key path
Assisted-by: GLM 5.3 Flash
2026-09-17 21:20:47 +02:00
petrbalvin 93c36cf376 feat: honour the omitzero and omitempty tag options on encode
Assisted-by: GLM 5.3 Flash
2026-09-17 19:57:23 +02:00
petrbalvin 3ac0b1e301 fix: encode mixed arrays with inline table elements
Assisted-by: GLM 5.3 Flash
2026-09-17 19:49:50 +02:00
petrbalvin c4ed84282c feat: TOML 1.0 parser and encoder
Assisted-by: GLM 5.3 Flash
2026-08-19 09:47:00 +02:00