Skip to content

Commit 011eddd

Browse files
committed
Merge branch 'main' into co/add-note-to-cost-fn
2 parents df673aa + 8f8f0ef commit 011eddd

File tree

23 files changed

+7443
-4298
lines changed

23 files changed

+7443
-4298
lines changed

CHANGELOG.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,26 @@ and this project adheres to
88

99
## [Unreleased]
1010

11+
### Added
12+
13+
- cosmwasm-std: Add `from_msgpack`, `to_msgpack_vec` and `to_msgpack_binary`.
14+
These functions are meant to be used similarly to their JSON counterparts.
15+
[MessagePack](https://msgpack.org) is a more compact, binary encoding.
16+
([#2118])
17+
18+
[#2118]: https://github.com/CosmWasm/cosmwasm/pull/2118
19+
20+
### Changed
21+
22+
- cosmwasm-std: `Binary`, `HexBinary` and `Checksum` are now encoded as binary
23+
blobs when used together with a "compact" `serde` encoding. A compact encoding
24+
is an encoding that returns `false` from
25+
[`is_human_readable`](https://docs.rs/serde/latest/serde/trait.Serializer.html#method.is_human_readable).
26+
This is to make these types more efficient when used together with the new
27+
[MessagePack](https://msgpack.org) encoding. ([#2118])
28+
29+
[#2118]: https://github.com/CosmWasm/cosmwasm/pull/2118
30+
1131
## [2.1.3] - 2024-08-08
1232

1333
### Fixed

0 commit comments

Comments
 (0)