Skip to content

Commit bef6671

Browse files
committed
Release v0.7.0
1 parent 0ac11cb commit bef6671

3 files changed

Lines changed: 14 additions & 4 deletions

File tree

CHANGELOG.md

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,16 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8-
## [Unreleased]
8+
## [0.7.0] - 2026-04-30
9+
10+
### Added
11+
- Support for Zig 0.16
12+
13+
### Fixed
14+
- Binary data is now encoded with the correct `bin8`/`bin16`/`bin32` msgpack headers instead of string headers; string headers are still accepted when decoding for backwards compatibility
15+
- Array and map header size calculation incorrectly included a non-existent `u8` size tier; arrays/maps with 16–65535 elements now correctly use the `array16`/`map16` 3-byte header
16+
- `sizeOfPackedAny` now correctly handles optional values and propagates errors from string/array size calculations
17+
- Custom formats (`msgpackFormat`, `msgpackFieldKey`, `msgpackRead`, `msgpackWrite`) now work correctly when the type is wrapped in an optional
918

1019
## [0.6.0] - 2025-10-26
1120

@@ -39,7 +48,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
3948

4049
- Initial release
4150

42-
[Unreleased]: https://github.com/lalinsky/msgpack.zig/compare/v0.6.0...HEAD
51+
[Unreleased]: https://github.com/lalinsky/msgpack.zig/compare/v0.7.0...HEAD
52+
[0.7.0]: https://github.com/lalinsky/msgpack.zig/compare/v0.6.0...v0.7.0
4353
[0.6.0]: https://github.com/lalinsky/msgpack.zig/compare/v0.5.0...v0.6.0
4454
[0.5.0]: https://github.com/lalinsky/msgpack.zig/compare/v0.4.0...v0.5.0
4555
[0.4.0]: https://github.com/lalinsky/msgpack.zig/compare/v0.2.0...v0.4.0

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ There are multiple options on how to encode struct fields, in order to generate
1313
1) Add msgpack.zig as a dependency in your `build.zig.zon`:
1414

1515
```bash
16-
zig fetch --save "git+https://github.com/lalinsky/msgpack.zig?ref=v0.6.0"
16+
zig fetch --save "git+https://github.com/lalinsky/msgpack.zig?ref=v0.7.0"
1717
```
1818

1919
2) In your `build.zig`, add the `msgpack` module as a dependency you your program:

build.zig.zon

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
.{
22
.name = .msgpack,
3-
.version = "0.6.0",
3+
.version = "0.7.0",
44
.minimum_zig_version = "0.16.0",
55
.dependencies = .{},
66
.fingerprint = 0x6733a7563cbdeb64,

0 commit comments

Comments
 (0)