@@ -6,6 +6,26 @@ and this project adheres to
6
6
7
7
## [ Unreleased]
8
8
9
+ ### Changed
10
+
11
+ - cosmwasm-vm: Avoid using loupe for getting the ` Module ` size in the file
12
+ system cache to prepare for the Wasmer 3 upgrade.
13
+ - cosmwasm-vm: When enabling ` print_debug ` the debug logs are now printed to
14
+ STDERR instead of STDOUT by default ([ #1667 ] ).
15
+ - cosmwasm-vm: Add ` Instance::set_debug_handler ` /` unset_debug_handler ` to allow
16
+ customizing the handling of debug messages emitted by the contract ([ #1667 ] ).
17
+ - cosmwasm-vm: Upgrade Wasmer to version 4.0.0.
18
+ - cosmwasm-check: Update clap dependency to version 4 ([ #1677 ] )
19
+
20
+ [ #1667 ] : https://github.com/CosmWasm/cosmwasm/pull/1667
21
+ [ #1677 ] : https://github.com/CosmWasm/cosmwasm/pull/1677
22
+
23
+ ## [ 1.3.0-rc.0] - 2023-07-03
24
+
25
+ ### Fixed
26
+
27
+ - cosmwasm-vm: Add missing cache stats increment when calling ` pin ` .
28
+
9
29
### Added
10
30
11
31
- cosmwasm-std: Implement ` BankQuery::AllDenomMetadata ` to allow querying all
@@ -14,47 +34,46 @@ and this project adheres to
14
34
enabled for the ` cosmwasm_std ` dependency. This makes the contract
15
35
incompatible with chains running anything lower than CosmWasm ` 1.3.0 ` .
16
36
([ #1647 ] )
37
+ - cosmwasm-std: Add ` DistributionQuery::DelegatorWithdrawAddress ` . Also needs
38
+ the ` cosmwasm_1_3 ` feature (see above). ([ #1593 ] )
39
+ - cosmwasm-std: Add ` DistributionMsg::FundCommunityPool ` . Also needs the
40
+ ` cosmwasm_1_3 ` feature (see above). ([ #1747 ] )
41
+ - cosmwasm-std: Add ` FromStr ` impl for ` Coin ` . ([ #1684 ] )
42
+ - cosmwasm-std: Add ` Coins ` helper to handle multiple coins. ([ #1687 ] )
17
43
- cosmwasm-vm: Add ` Cache::save_wasm_unchecked ` to save Wasm blobs that have
18
44
been checked before. This is useful for state-sync where we know the Wasm code
19
45
was checked when it was first uploaded. ([ #1635 ] )
20
- - cosmwasm-std: Add ` FromStr ` impl for ` Coin ` . ([ #1684 ] )
21
- - cosmwasm-std: Add ` Decimal::bps ` and ` Decimal256::bps ` to create a decimal
22
- from a basis point value ([ #1715 ] ).
23
-
46
+ - cosmwasm-vm: Allow sign extension Wasm opcodes in static validation. This
47
+ allows contracts to be compiled with Rust 1.70.0 and above. ([ #1727 ] )
48
+ - cosmwasm-std: Add trait functions ` Storage::range_keys ` and
49
+ ` Storage::range_values ` . The default implementations just use
50
+ ` Storage::range ` . Later this can be implemented more efficiently. ([ #1748 ] )
51
+ - cosmwasm-std: Add ` Int64 ` , ` Int128 ` , ` Int256 ` and ` Int512 ` signed integer
52
+ types. ([ #1718 ] )
53
+
54
+ [ #1593 ] : https://github.com/CosmWasm/cosmwasm/pull/1593
24
55
[ #1635 ] : https://github.com/CosmWasm/cosmwasm/pull/1635
25
56
[ #1647 ] : https://github.com/CosmWasm/cosmwasm/pull/1647
26
57
[ #1684 ] : https://github.com/CosmWasm/cosmwasm/pull/1684
27
- [ #1715 ] : https://github.com/CosmWasm/cosmwasm/pull/1715
58
+ [ #1687 ] : https://github.com/CosmWasm/cosmwasm/pull/1687
59
+ [ #1718 ] : https://github.com/CosmWasm/cosmwasm/pull/1718
60
+ [ #1727 ] : https://github.com/CosmWasm/cosmwasm/issues/1727
61
+ [ #1747 ] : https://github.com/CosmWasm/cosmwasm/pull/1747
62
+ [ #1748 ] : https://github.com/CosmWasm/cosmwasm/pull/1748
28
63
29
64
### Changed
30
65
31
66
- cosmwasm-vm: Add checks for table section of Wasm blob ([ #1631 ] ).
32
67
- cosmwasm-vm: Limit number of imports during static validation ([ #1629 ] ).
33
- - cosmwasm-vm: The ` check_contract ` example was removed. Please use the crate
34
- [ cosmwasm-check] ( https://crates.io/crates/cosmwasm-check ) instead ([ #1511 ] ).
35
- - cosmwasm-vm: Avoid using loupe for getting the ` Module ` size in the file
36
- system cache to prepare for the Wasmer 3 upgrade.
37
68
- cosmwasm-vm: Add target (triple + CPU features) into the module cache
38
69
directory to avoid using modules compiled for a different system. Bump
39
- ` MODULE_SERIALIZATION_VERSION ` to "v5". ([ #1664 ] )
40
- - cosmwasm-vm: When enabling ` print_debug ` the debug logs are now printed to
41
- STDERR instead of STDOUT by default ([ #1667 ] ).
42
- - cosmwasm-vm: Add ` Instance::set_debug_handler ` /` unset_debug_handler ` to allow
43
- customizing the handling of debug messages emitted by the contract ([ #1667 ] ).
70
+ ` MODULE_SERIALIZATION_VERSION ` to "v6". ([ #1664 ] )
44
71
- cosmwasm-vm: Add ` .wasm ` extension to stored wasm files ([ #1686 ] ).
45
- - cosmwasm-vm: Upgrade Wasmer to version 4.0.0.
46
- - cosmwasm-check: Update clap dependency to version 4 ([ #1677 ] )
47
- - cosmwasm-std: Coin uses shorter ` Coin { 123 "ucosm" } ` format for Debug
48
- ([ #1704 ] )
49
72
50
- [ #1511 ] : https://github.com/CosmWasm/cosmwasm/issues/1511
51
73
[ #1629 ] : https://github.com/CosmWasm/cosmwasm/pull/1629
52
74
[ #1631 ] : https://github.com/CosmWasm/cosmwasm/pull/1631
53
75
[ #1664 ] : https://github.com/CosmWasm/cosmwasm/pull/1664
54
- [ #1667 ] : https://github.com/CosmWasm/cosmwasm/pull/1667
55
- [ #1677 ] : https://github.com/CosmWasm/cosmwasm/pull/1677
56
76
[ #1686 ] : https://github.com/CosmWasm/cosmwasm/pull/1686
57
- [ #1704 ] : https://github.com/CosmWasm/cosmwasm/pull/1704
58
77
59
78
### Deprecated
60
79
@@ -1773,7 +1792,8 @@ Some main points:
1773
1792
1774
1793
All future Changelog entries will reference this base
1775
1794
1776
- [ unreleased ] : https://github.com/CosmWasm/cosmwasm/compare/v1.2.7...HEAD
1795
+ [ unreleased ] : https://github.com/CosmWasm/cosmwasm/compare/v1.3.0-rc.0...HEAD
1796
+ [ 1.3.0-rc.0 ] : https://github.com/CosmWasm/cosmwasm/compare/v1.2.7...v1.3.0-rc.0
1777
1797
[ 1.2.7 ] : https://github.com/CosmWasm/cosmwasm/compare/v1.2.6...v1.2.7
1778
1798
[ 1.2.6 ] : https://github.com/CosmWasm/cosmwasm/compare/v1.2.5...v1.2.6
1779
1799
[ 1.2.5 ] : https://github.com/CosmWasm/cosmwasm/compare/v1.2.4...v1.2.5
0 commit comments