0.0.12
Release Notes: v0.0.12
π Release Overview
Tag 0.0.12 has been successfully created and pushed to the remote repository!
π Version Information
- Version: 0.0.11 β 0.0.12
- Release Date: September 22, 2025
- Total Commits: 7
β¨ New Features
Enhanced Zig 0.16 Compatibility Support
-
feat(zig-compat): Enhance cross-version support for Zig 0.16 (5e0c70e)
- Added compatibility layer for removed
std.io.FixedBufferStream - Exported compatibility module in main msgpack module
- Updated example code to use cross-version buffer stream implementation
- Modified test imports to use new compatibility layer
- Added compatibility layer for removed
-
feat(zig-compat): Add compatibility layer for multiple Zig versions (f942c1d)
- Introduced
compat.zigto handle standard library differences across Zig versions - Implemented cross-version BufferStream to replace FixedBufferStream
- Support for Zig 0.14.1, 0.15.1, and master versions
- Introduced
π§ Improvements
Code Refactoring and Quality
- refactor(msgpack): Improve code readability and add comprehensive tests (0b417fc)
- Enhanced code structure and maintainability
- Extended test coverage
Documentation Updates
- docs(readme): Update Zig 0.16 compatibility status (fa65a5e)
- docs(readme): Update version compatibility and Zig 0.16 support notes (5b4eea8)
- Updated README.md and README_CN.md documentation (f9cf587, 8308c6d)
π Key Improvements
- Cross-Version Compatibility: Library now works seamlessly across Zig 0.14.0, 0.15.x, and 0.16.0-dev
- API Stability: Maintains consistent API across versions through compatibility layer
- Better Documentation: Updated both English and Chinese documentation with clearer version compatibility information
π Statistics
- Commits: 7
- Contributors: 1 (jinzhongjia)
- Files Changed: README.md, README_CN.md, src/msgpack.zig, src/test.zig, src/compat.zig
π‘ Upgrade Guide
Upgrading from v0.0.11 to v0.0.12 is safe with no breaking changes. If you're using Zig 0.16+, it's recommended to use the new compatibility layer API:
// Use compatibility layer for cross-version support
const compat = msgpack.compat;
var write_buffer = compat.fixedBufferStream(&buffer);
var read_buffer = compat.fixedBufferStream(&buffer);