munna0908
2d8fa4d940
Apply suggestions from code review
...
Co-authored-by: Giuliano Mega <giuliano.mega@gmail.com>
2025-06-17 12:37:17 +05:30
munna0908
6793ee53f4
update readme with examples
2025-06-09 13:28:28 +05:30
munna0908
fc799d25de
cleanup json and cbor readme
2025-06-09 12:40:28 +05:30
munna0908
dd00098466
update readme and add docs for cbor and json wireformats
2025-06-02 00:12:31 +05:30
munna0908
0096796d66
add compile-time checks to prevent use of serialize/deserialize pragmas in CBOR
2025-05-31 20:36:49 +05:30
munna0908
50000bc0c9
refactor: convert parseAssert to template and fix line wrapping in CBOR deserializer
2025-05-31 19:00:18 +05:30
munna0908
a4cd9a064d
test changes
2025-05-31 17:57:56 +05:30
munna0908
0e2fd5c22d
refactor: rename encode to toCbor and toCbor to toCborNode for consistency
2025-05-31 17:57:34 +05:30
munna0908
9d3da40c0a
feat: refactor CBOR parser to use direct exceptions instead of Result type
2025-05-31 17:38:35 +05:30
munna0908
ff37e61b54
add tests for Time and TimeDate
2025-05-30 15:53:57 +05:30
munna0908
a96971968d
refactor: split writeCbor monolith into specialized type implementations
2025-05-30 15:24:39 +05:30
munna0908
056a78e95f
refactor: reimplement CBOR deserialization with type-based fromCbor interface
2025-05-28 11:49:50 +05:30
munna0908
d3c3774391
fix test filename
2025-05-22 17:23:20 +05:30
munna0908
587c834c0e
chore: cosmetic changes
2025-05-22 16:50:09 +05:30
munna0908
84943dbed9
update license info
2025-05-22 16:39:37 +05:30
munna0908
eadc7e2d16
chore: fix test cases
2025-05-22 15:39:43 +05:30
munna0908
52bc943948
improve error handling for cbor serialization
2025-05-22 12:03:22 +05:30
munna0908
beac0e2a32
cleanup test files
2025-05-21 03:41:35 +05:30
munna0908
f1ec805ec0
feat: add CBOR serialization and deserialization support
2025-05-21 03:22:35 +05:30
munna0908
dcfec8aaa3
add cbor types
2025-05-16 18:24:50 +05:30
codex-storage[bot]
5ced7c88b9
docs: update CHANGELOG.md for master [skip ci]
2025-02-19 23:31:17 +00:00
Dmitriy Ryajov
1ce89b206e
fix loglevel and add log scope to allow filtering and avoid log pollution ( #30 )
...
fix loglevel and add log scope to avoid log pollution
2025-02-20 10:30:47 +11:00
codex-storage[bot]
69a7a0111a
docs: update CHANGELOG.md for master [skip ci]
2024-10-25 06:54:10 +00:00
Slava
7f9622fa5c
ci: add matrix status job ( #29 )
...
adds matrix status job to decouple branch rules status check from a jobs names which are based on Nim version
2024-10-25 17:53:40 +11:00
codex-storage[bot]
fc4ef51b81
docs: update CHANGELOG.md for v1.2.3 [skip ci]
2024-10-23 06:31:21 +00:00
codex-storage[bot]
83e4a2ccf6
docs: update CHANGELOG.md for master [skip ci]
v.1.2.2
2024-10-23 06:20:37 +00:00
Eric
b2f4dbcd25
v1.2.2 ( #28 )
2024-10-23 17:20:04 +11:00
codex-storage[bot]
f5af686a85
docs: update CHANGELOG.md for master [skip ci]
2024-10-23 05:53:57 +00:00
Eric
69c630212c
chore: bumps nim from 1.6.16 to 1.6.20 in ci ( #27 )
...
bumps nim from 1.6.16 to 1.6.20 in ci
2024-10-23 16:53:28 +11:00
codex-storage[bot]
9ec0e0d5a6
docs: update CHANGELOG.md for master [skip ci]
2024-10-23 05:33:08 +00:00
Eric
c81b751602
chore: remove unneeded echos ( #26 )
...
Remove unneeded echos
2024-10-23 16:32:41 +11:00
codex-storage[bot]
cf59b42ed5
docs: update CHANGELOG.md for v1.2.1 [skip ci]
2024-05-21 02:47:23 +00:00
codex-storage[bot]
b39497be32
docs: update CHANGELOG.md for master [skip ci]
v1.2.1
2024-05-21 02:46:16 +00:00
Eric
71f30d4678
v1.2.1 ( #25 )
2024-05-21 12:45:48 +10:00
codex-storage[bot]
6bf626cab4
docs: update CHANGELOG.md for master [skip ci]
2024-05-21 02:40:12 +00:00
Eric
cdba47becf
fix: force symbol resolution for types that serde de/serializes ( #24 )
...
* fix: force symbol resolution for types that serde de/serializes
Force symbols into scope when mixins are used with generic overloads. When mixins are used with generic overloads, the overloaded symbols in scope of the mixin are evaluated from the perspective of the mixin. This creates issues in downstream modules that may inadvertantly dispatch *only* to the symbols in the scope of the mixin, even when the module with the wrong symbol overloads is not imported. By forcing the compiler to use symbols for types handled by serde, we can be sure that these symbols are available to downstream modules. We can also be sure that these `fromJson` symbols can be overloaded where needed.
* remove enum forced scoping
Forcing a scoping for a particular enum type would only resolve that type and not all enum types.
* Add mixin + generic overloads as known issue to README
* try to fix URL reference to deserializer.nim
2024-05-21 12:39:47 +10:00
codex-storage[bot]
7fb79610c4
docs: update CHANGELOG.md for master [skip ci]
2024-05-16 07:58:06 +00:00
Eric
10271bd494
feat: improve deserialization from string ( #23 )
...
Improves how types handle deserialization from string, including Option[T], seq[T], and Option[seq[T]]
Empty and null strings are no longer deserialized to 0, instead an error Result is returned
If an error occurs when parsing json, a JsonParseError is returned.
2024-05-16 17:57:42 +10:00
codex-storage[bot]
9dd16685d1
docs: update CHANGELOG.md for master [skip ci]
2024-05-16 05:09:36 +00:00
Eric
6d2fc9406a
feat: improve stint parsing ( #22 )
...
- change empty string value to none when optional
- handle null, "null", JNull, seq[stint], seq[?string]
2024-05-16 15:09:01 +10:00
codex-storage[bot]
d84641333a
docs: update CHANGELOG.md for v1.2.0 [skip ci]
2024-05-14 04:56:11 +00:00
codex-storage[bot]
d726f6c6eb
docs: update CHANGELOG.md for master [skip ci]
v1.2.0
2024-05-14 04:55:06 +00:00
Eric
b7995afb35
chore: v1.2.0 ( #21 )
2024-05-14 14:54:37 +10:00
codex-storage[bot]
34e28c33d9
docs: update CHANGELOG.md for master [skip ci]
2024-05-14 04:53:00 +00:00
Eric
bd262054f2
fix: add missing test update ( #20 )
2024-05-14 14:52:32 +10:00
codex-storage[bot]
f9f4b3b662
docs: update CHANGELOG.md for master [skip ci]
2024-05-14 04:49:43 +00:00
Eric
2fcdc9e9c5
chore: reorganize deserialize tests ( #19 )
...
Distribute deserialization tests so they are organized up by type.
2024-05-14 14:49:15 +10:00
codex-storage[bot]
2c0518bed0
docs: update CHANGELOG.md for master [skip ci]
2024-05-14 04:46:08 +00:00
Eric
3957da5b52
fix: UInt256 not correctly deserializing from string ( #18 )
...
fix: UInt256 not correctly deserialzing from string
UInt256 was being deserialized as an object when being deserialized from a string (not a JString).
2024-05-14 14:45:42 +10:00
codex-storage[bot]
1cedad7488
docs: update CHANGELOG.md for v1.1.1 [skip ci]
2024-05-14 04:29:09 +00:00