Commit graph

82 commits

Author SHA1 Message Date
468522a455
docs: prepare release notes and bump version for v1.1.0 release 2026-03-12 22:14:07 +01:00
9d0b287d52
docs: write a proper README.md 2026-03-12 22:03:32 +01:00
e444415cd9
refactor: make the panic in fmt explicit to avoid UB 2026-03-12 21:43:47 +01:00
46e7709232
feat: add slightly more robust fmtBuf API 2026-03-12 21:42:13 +01:00
0b1c94eae2
fix: short read bug in matchStructScalar and matchStructAlloc 2026-03-12 21:18:23 +01:00
d1f35f9725
refactor: add tests for short reads in structs and unions 2026-03-12 21:13:18 +01:00
45277e05a0
feat: add support for json objects and arrays to writeJsonValue 2026-03-12 21:06:15 +01:00
3d7e3f82e2
refactor: add test cases for writeJsonValue of objects and arrays 2026-03-12 21:04:35 +01:00
9461fea5a8
refactor: thread a single allocator through json writing functions 2026-03-12 20:45:24 +01:00
b28ef59477
refactor: add round-trip cbor<->json tests for nested data structures 2026-03-12 20:44:17 +01:00
88bdaa8370
refactor: add test case for extracAlloc of a json.Value from an object 2026-03-12 20:33:47 +01:00
36bf0aea8f
fix: extractAlloc of json.Values from arrays 2026-03-12 20:32:05 +01:00
2a23d8f54b
refactor: add a test for extractAlloc of json.Value from arrays 2026-03-12 20:30:07 +01:00
be1e1f551e
refactor: reduce write calls in float writing functions
Also using std.mem.writeInt.
2026-03-12 20:18:05 +01:00
30e260bcea
refactor: reduce writeTypedVal to a single write call
Also, use the very cool std.mem.writeInt to avoid endianess issues.
2026-03-12 20:16:49 +01:00
301e96f75d
refactor: add some more byte level scalar encoding tests 2026-03-12 20:10:54 +01:00
cc32dd2075
refactor: optimize decodeUIntLength to iterate instead of recursing 2026-03-12 20:08:19 +01:00
c6b7110db0
refactor: add a test for 4byte integer matching 2026-03-12 20:06:33 +01:00
bda7980757
feat: add support for matching of non-u8 slices 2026-03-12 20:01:31 +01:00
03ab65ee31
refactor: add a test for matching of non-u8 slices 2026-03-12 19:55:38 +01:00
2edec49b7f
fix: writing of large unsigned integers 2026-03-12 19:52:10 +01:00
baab48ec3d
refactor: add a large usize write test 2026-03-12 19:49:05 +01:00
ddb7015695
fix: add json.Value decoding of floats 2026-03-12 19:40:45 +01:00
42dafe553c
refactor: add a test for json.Value extraction of floats 2026-03-12 19:39:01 +01:00
5b856423d1
fix: extractAlloc should correctly handle optional values that are null 2026-03-12 19:35:36 +01:00
1ddcaf5e9e
refactor: add a test case for extractAlloc of optional null values 2026-03-12 19:34:51 +01:00
00c1e4a130
fix: panic on a short read of a float in skipValue 2026-03-12 19:32:10 +01:00
9767e2a21b
refactor: add a test for short reads of floats in skipValue 2026-03-12 19:31:02 +01:00
d7c87d0562
fix: panic on decode of a large negative integer 2026-03-12 19:27:48 +01:00
13f8a698e4
refactor: add a testcase for large negative integer panic 2026-03-12 19:26:09 +01:00
b13b4cd1af
build: set minimum zig version to 0.15.2 2026-03-12 19:25:20 +01:00
Vlad Panazan
defb24a36a fix for 0.16.0-dev.2623 2026-02-22 12:52:18 +01:00
b6fc137250
feat: support cborExtract members in enum types 2026-01-22 14:50:21 +01:00
7d2eeb68c8
fix: more zig-0.15 API fixes 2025-09-24 22:31:38 +02:00
7886ab288d
feat: update fromJsonAlloc to zig-0.15 2025-09-16 21:44:42 +02:00
Loris Cro
0708420594 update to zig 0.15 2025-08-20 21:25:09 +02:00
ba2955fe3a
fix: extraction of null optional values 2025-08-08 12:45:58 +02:00
451bc20dde
refactor: add test cases for optional values 2025-08-08 12:45:21 +02:00
Lumor Sunil
3bdf25183e Added struct and union cases in extract and extractAlloc and match (except for structs). Added tests for enums, unions and structs. 2025-07-22 17:18:59 +02:00
6eccce0b98
fix: bit rotten json in cbor.extract_cbor test case 2025-07-15 16:43:31 +02:00
3461e8d808
build: fix build for 0.15.0-dev.1034+bd97b6618 2025-07-15 16:43:13 +02:00
5ea4b73191
feat: add support for allocating extraction of arrays 2025-07-14 13:07:37 +02:00
8d184c5981
docs: add deepwiki badge to readme 2025-05-28 11:17:49 +02:00
1fccb83c70
fix: error return type in decodeMapHeader 2025-03-24 10:10:38 +01:00
18f6438865
fix: add missing NotAnObject error 2025-03-22 21:51:08 +01:00
769bff078f
feat: add support for allocating extractors 2025-03-22 21:49:19 +01:00
285f64ede6
feat: add support for extractor members 2025-03-22 21:48:50 +01:00
b32ffa3a52
fix: matchArray should not return an error on match failure 2025-03-22 21:46:55 +01:00
183248d7f2
fix: build of writeArray with zig-0.14 2025-03-22 21:45:58 +01:00
32505ed465
feat: more explicit error handling 2025-03-22 21:43:58 +01:00