Skip to content

Releases: zigcc/zig-msgpack

0.0.10

16 Aug 16:41
Compare
Choose a tag to compare

Release Notes: 0.0.9 → 0.0.10

Changes (1 commits)

🐛 Bug Fixes

  • fix(test): support ArrayList API changes in Zig 0.15+ (f9113d9)

👥 Contributors

  • jinzhongjia (1 commits)

0.0.9

26 Jul 11:30
Compare
Choose a tag to compare

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

14 Mar 17:36
Compare
Choose a tag to compare

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

05 Mar 12:41
Compare
Choose a tag to compare

support zig 0.14.0
Full Changelog: 0.0.6...0.0.7

0.0.6

05 Mar 12:23
bb28391
Compare
Choose a tag to compare

For the last version of zig 0.13

0.0.5

09 Jun 03:01
6972430
Compare
Choose a tag to compare

What's Changed

  • support master version 0.14 and release 0.13.0 by @jinzhongjia in #6

Full Changelog: 0.0.4...0.0.5

0.0.4

04 May 12:03
e534a32
Compare
Choose a tag to compare

Update build.zig

What's Changed

Full Changelog: 0.0.3...0.0.4

0.0.3

22 Apr 09:29
Compare
Choose a tag to compare

Just some version update

Full Changelog: 0.0.2...0.0.3

v0.0.2

10 Mar 02:34
208b18e
Compare
Choose a tag to compare
  • Reconstructed zig-msgpack to make the API more concise
  • Added support for online documentation

v0.0.1

29 Feb 09:54
Compare
Choose a tag to compare

Supports all MessagePack types(except timestamp)