Releases: lalinsky/msgpack.zig
Releases · lalinsky/msgpack.zig
Release list
v0.7.0
Added
- Support for Zig 0.16
Fixed
- Binary data is now encoded with the correct
bin8/bin16/bin32msgpack headers instead of string headers; string headers are still accepted when decoding for backwards compatibility - Array and map header size calculation incorrectly included a non-existent
u8size tier; arrays/maps with 16–65535 elements now correctly use thearray16/map163-byte header sizeOfPackedAnynow correctly handles optional values and propagates errors from string/array size calculations- Custom formats (
msgpackFormat,msgpackFieldKey,msgpackRead,msgpackWrite) now work correctly when the type is wrapped in an optional
v0.6.0
Release v0.5.0
- Support for Zig 0.15
- Added msgspec-style encoding of tagged unions
v0.4.0
New Features
Tagged Union Format
- Added new
as_taggedunion format for serializing unions as flat maps with type tags - Provides msgspec compatibility for tagged union serialization
- Configurable tag field name (default: "type") and tag value strategies (field name, field index, or field name prefix)
- Supports struct fields within union variants
Bug Fixes
- Fixed
msgpackFieldKeyfunction type reflection for custom struct field keys - Improved integer overflow testing with helper function