Releases: zigcc/zig-msgpack
Releases · zigcc/zig-msgpack
0.0.10
0.0.9
Summary
Added comprehensive MessagePack timestamp extension type (-1) support and significantly expanded test coverage for the zig-msgpack library.
Key Features
🕐 Timestamp Extension Support
- Support for all three MessagePack timestamp formats per specification:
- 32-bit timestamp: Seconds-only for 32-bit unsigned integers
- 64-bit timestamp: Nanosecond precision with 34-bit second range
- 96-bit timestamp: Full range with signed 64-bit seconds + 32-bit nanoseconds
- Automatic optimal format selection based on value ranges
- Seamless integration with existing serialization/deserialization logic
🧪 Comprehensive Testing Enhancement
- Boundary testing for all MessagePack formats (array32, map32, str16/32, bin16/32, ext8/16/32)
- Edge case coverage (NaN/infinity floats, int64/uint64 boundaries, error conditions)
- Format marker verification and Unicode string support
- Memory management validation and timestamp-specific tests
📚 Documentation Improvements
- Updated README.md with timestamp usage examples and API documentation
- Added Chinese translation (README_CN.md)
- Enhanced usage examples and error handling documentation
Technical Implementation
- Strict adherence to MessagePack timestamp specification (extension type ID -1)
- Nanosecond precision validation (0-999,999,999)
- Full Unix timestamp range support including pre-1970 negative values
- Maintains backward compatibility
Breaking Changes
None. Fully backward-compatible additive functionality.
Performance Impact
Minimal. Negligible timestamp support overhead with optimal storage efficiency through automatic format selection.
0.0.8
What's Changed
- docs: add getty-msgpack to related projects by @LordMZTE in #10
- fix: write array len after array16 && array32 header definitions by @Pix-xiP in #11
New Contributors
Full Changelog: 0.0.7...0.0.8
0.0.7
support zig 0.14.0
Full Changelog: 0.0.6...0.0.7
0.0.6
For the last version of zig 0.13
0.0.5
What's Changed
- support master version
0.14
and release0.13.0
by @jinzhongjia in #6
Full Changelog: 0.0.4...0.0.5
0.0.4
Update build.zig
What's Changed
- [Nothing]: Update
build.zig
by @jinzhongjia in #5
Full Changelog: 0.0.3...0.0.4
0.0.3
Just some version update
Full Changelog: 0.0.2...0.0.3
v0.0.2
- Reconstructed zig-msgpack to make the API more concise
- Added support for online documentation
v0.0.1
Supports all MessagePack types(except timestamp)