Skip to content

Commit 571df77

Browse files
committed
Merge branch 'main' into aw/new-schema
2 parents d392b72 + ae0d074 commit 571df77

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

55 files changed

+8621
-4620
lines changed

.circleci/config.yml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -579,10 +579,8 @@ jobs:
579579
- restore_cache:
580580
keys:
581581
- cargocache-v2-contract_crypto_verify-rust:1.74-{{ checksum "Cargo.lock" }}
582-
# TODO: Enable this once 2.1 has been released to crates.io
583582
- check_contract:
584583
min_version: "2.1"
585-
skip_cosmwasm_check: true
586584
- save_cache:
587585
paths:
588586
- /usr/local/cargo/registry
@@ -665,10 +663,8 @@ jobs:
665663
- restore_cache:
666664
keys:
667665
- cargocache-v2-contract_ibc_callbacks-rust:1.74-{{ checksum "Cargo.lock" }}
668-
# TODO: Enable this once 2.1 has been released to crates.io
669666
- check_contract:
670667
min_version: "2.1"
671-
skip_cosmwasm_check: true
672668
- save_cache:
673669
paths:
674670
- /usr/local/cargo/registry
@@ -695,9 +691,9 @@ jobs:
695691
- restore_cache:
696692
keys:
697693
- cargocache-v2-contract_ibc_reflect-rust:1.74-{{ checksum "Cargo.lock" }}
698-
# TODO: Enable this once 2.1 has been released to crates.io
694+
# TODO: enable again once 2.2 is released
699695
- check_contract:
700-
min_version: "2.1"
696+
min_version: "2.2"
701697
skip_cosmwasm_check: true
702698
- save_cache:
703699
paths:
@@ -809,8 +805,10 @@ jobs:
809805
- restore_cache:
810806
keys:
811807
- cargocache-v2-contract_reflect-rust:1.74-{{ checksum "Cargo.lock" }}
808+
# TODO: enable again once 2.2 is released
812809
- check_contract:
813-
min_version: "2.0"
810+
min_version: "2.2"
811+
skip_cosmwasm_check: true
814812
- save_cache:
815813
paths:
816814
- /usr/local/cargo/registry

CHANGELOG.md

Lines changed: 47 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,50 @@ 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+
- cosmwasm-std: Add `IbcMsg::{PayPacketFee, PayPacketFeeAsync}` and
18+
`IbcQuery::FeeEnabledChannel` to allow contracts to incentivize IBC packets
19+
using IBC Fees. ([#2196])
20+
21+
[#2118]: https://github.com/CosmWasm/cosmwasm/pull/2118
22+
[#2196]: https://github.com/CosmWasm/cosmwasm/pull/2196
23+
24+
### Changed
25+
26+
- cosmwasm-std: `Binary`, `HexBinary` and `Checksum` are now encoded as binary
27+
blobs when used together with a "compact" `serde` encoding. A compact encoding
28+
is an encoding that returns `false` from
29+
[`is_human_readable`](https://docs.rs/serde/latest/serde/trait.Serializer.html#method.is_human_readable).
30+
This is to make these types more efficient when used together with the new
31+
[MessagePack](https://msgpack.org) encoding. ([#2118])
32+
- cosmwasm-std: Let `mock_env` return a contract address that is valid bech32
33+
and uses the same bech32 prefix as `MockApi`; Change `MOCK_CONTRACT_ADDR`
34+
value to match the contract address from `mock_env`. ([#2211])
35+
- cosmwasm-vm: Let `mock_env` return a contract address that is valid bech32 and
36+
uses the same bech32 prefix as `MockApi`; Change `MOCK_CONTRACT_ADDR` value to
37+
match the contract address from `mock_env`. ([#2211])
38+
39+
[#2118]: https://github.com/CosmWasm/cosmwasm/pull/2118
40+
[#2211]: https://github.com/CosmWasm/cosmwasm/issues/2211
41+
42+
## [2.1.3] - 2024-08-08
43+
44+
### Fixed
45+
46+
- cosmwasm-vm: Problem with caching related to CWA-2024-004. Please upgrade
47+
directly to this version instead of the previous one.
48+
49+
## [2.1.2] - 2024-08-08
50+
51+
### Fixed
52+
53+
- cosmwasm-vm: Fix CWA-2024-004
54+
1155
## [2.1.1] - 2024-07-30
1256

1357
### Fixed
@@ -884,7 +928,9 @@ The CHANGELOG for versions before 1.0.0 was moved to
884928

885929
<!-- next-url -->
886930

887-
[unreleased]: https://github.com/CosmWasm/cosmwasm/compare/v2.1.1...HEAD
931+
[unreleased]: https://github.com/CosmWasm/cosmwasm/compare/v2.1.3...HEAD
932+
[2.1.3]: https://github.com/CosmWasm/cosmwasm/compare/v2.1.2...v2.1.3
933+
[2.1.2]: https://github.com/CosmWasm/cosmwasm/compare/v2.1.1...v2.1.2
888934
[2.1.1]: https://github.com/CosmWasm/cosmwasm/compare/v2.1.0...v2.1.1
889935
[2.1.0]: https://github.com/CosmWasm/cosmwasm/compare/v2.0.1...v2.1.0
890936
[2.0.1]: https://github.com/CosmWasm/cosmwasm/compare/v2.0.0...v2.0.1

0 commit comments

Comments
 (0)