Skip to content

0.0.12

Choose a tag to compare

@jinzhongjia jinzhongjia released this 22 Sep 06:36
· 48 commits to main since this release

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
  • feat(zig-compat): Add compatibility layer for multiple Zig versions (f942c1d)

    • Introduced compat.zig to 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

πŸ”§ 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

  1. Cross-Version Compatibility: Library now works seamlessly across Zig 0.14.0, 0.15.x, and 0.16.0-dev
  2. API Stability: Maintains consistent API across versions through compatibility layer
  3. 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);

πŸ”— Links