Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide MessagePack serialization #2118

Merged
merged 14 commits into from
Aug 5, 2024
20 changes: 20 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,26 @@ and this project adheres to

## [Unreleased]

### Added

- cosmwasm-std: Add `from_msgpack`, `to_msgpack_vec` and `to_msgpack_binary`.
These functions are meant to be used similarly to their JSON counterparts.
[MessagePack](https://msgpack.org) is a more compact, binary encoding.
([#2118])

[#2118]: https://github.com/CosmWasm/cosmwasm/pull/2118

### Changed

- cosmwasm-std: `Binary`, `HexBinary` and `Checksum` are now encoded as binary
blobs when used together with a "compact" `serde` encoding. A compact encoding
is an encoding that returns `false` from
[`is_human_readable`](https://docs.rs/serde/latest/serde/trait.Serializer.html#method.is_human_readable).
This is to make these types more efficient when used together with the new
[MessagePack](https://msgpack.org) encoding. ([#2118])

[#2118]: https://github.com/CosmWasm/cosmwasm/pull/2118

## [2.1.1] - 2024-07-30

### Fixed
Expand Down
Loading
Loading