@@ -6,6 +6,24 @@ and this project adheres to
6
6
7
7
## [ Unreleased]
8
8
9
+ ## [ 1.1.10] - 2023-05-08
10
+
11
+ ### Fixed
12
+
13
+ - Querier error parsing ([ #8 ] ).
14
+ - Fix the ` backtraces ` feature ([ #12 ] ).
15
+
16
+ ### Changed
17
+
18
+ - Change crates names back to support ` crates.io ` , while creating a compatability crates to support native libraries ([ #17 ] , [ #20 ] ).
19
+
20
+ ### Added
21
+
22
+ - Decimal/Uint 256/512 implementations.
23
+ - Support for ` gas_evaporate() ` ([ #13 ] , [ #14 ] ).
24
+ - Support for ` FinalizeTx ` ([ #15 ] , ([ #18 ] )).
25
+ - Support for SecretVRF ([ #16 ] ).
26
+
9
27
## [ 1.1.9] - 2022-12-06
10
28
11
29
### Fixed
@@ -15,9 +33,7 @@ and this project adheres to
15
33
16
34
[ #1527 ] : https://github.com/CosmWasm/cosmwasm/issues/1527
17
35
18
- ## [ 1.1.8] - 2022-11-22
19
-
20
- ### Fixed
36
+ ## [ 1.1.8] - 2022-11-22f
21
37
22
38
- cosmwasm-schema: Fix type params on ` QueryMsg ` causing a compiler error when
23
39
used with the ` QueryResponses ` derive macro.
@@ -111,13 +127,15 @@ and this project adheres to
111
127
- cosmwasm-schema: Using ` QueryResponses ` with a ` QueryMsg ` containing a
112
128
unit-like variant will no longer crash. The different variant types in Rust
113
129
are:
130
+
114
131
``` rust
115
132
enum QueryMsg {
116
133
UnitLike ,
117
134
Tuple (),
118
135
Struct {},
119
136
}
120
137
```
138
+
121
139
It's still recommended to only use struct variants, even if there are no
122
140
fields.
123
141
@@ -155,7 +173,7 @@ and this project adheres to
155
173
convenience helper for querying ` WasmQuery::ContractInfo ` .
156
174
- cosmwasm-check: This is a new binary package that allows running various
157
175
CosmWasm compatibility checks on compiled .wasm files. See
158
- https://crates.io/crates/cosmwasm-check for usage info.
176
+ < https://crates.io/crates/cosmwasm-check > for usage info.
159
177
160
178
[ #1334 ] : https://github.com/CosmWasm/cosmwasm/pull/1334
161
179
[ #1356 ] : https://github.com/CosmWasm/cosmwasm/pull/1356
@@ -803,17 +821,17 @@ and this project adheres to
803
821
- cosmwasm-std: The arithmetic methods of ` Uint128 ` got a huge overhaul, making
804
822
them more consistent with the behaviour of the Rust primitive types. Thank you
805
823
[ @yihuang ] for bringing this up and for the great implementation. ([ #853 ] )
806
- 1 . ` Uint128 ` got the new functions ` checked_add ` , ` checked_sub ` ,
824
+ 1 . ` Uint128 ` got the new functions ` checked_add ` , ` checked_sub ` ,
807
825
` checked_mul ` , ` checked_div ` , ` checked_div_euclid ` , ` checked_rem ` ,
808
826
` wrapping_add ` , ` wrapping_sub ` , ` wrapping_mul ` , ` wrapping_pow ` ,
809
827
` saturating_add ` , ` saturating_sub ` , ` saturating_mul ` and ` saturating_pow `
810
828
which match their equivalent in [ u128] except that instead of ` Option ` the
811
829
checked methods return a ` Result ` with an ` OverflowError ` or
812
830
` DivideByZeroError ` that carries a few debug information and can directly
813
831
be converted to ` StdError ` /` StdResult ` by using the ` ? ` operator.
814
- 2 . ` StdError::Underflow ` and ` StdError::underflow ` were removed in favour of
832
+ 2 . ` StdError::Underflow ` and ` StdError::underflow ` were removed in favour of
815
833
` StdError::Overflow ` . ` StdError::DivideByZeroError ` was added.
816
- 3 . The ` - ` operator (` impl ops::Sub<Uint128> for Uint128 ` ) was removed
834
+ 3 . The ` - ` operator (` impl ops::Sub<Uint128> for Uint128 ` ) was removed
817
835
because it returned a ` StdResult ` instead of panicking in the case of an
818
836
overflow. This behaviour was inconsistent with ` + ` and the Rust standard
819
837
library. Please use the explicit ` *_sub ` methods introduced above. In a
@@ -856,7 +874,6 @@ and this project adheres to
856
874
[ #853 ] : https://github.com/CosmWasm/cosmwasm/pull/853
857
875
[ #858 ] : https://github.com/CosmWasm/cosmwasm/issues/858
858
876
[ u128 ] : https://doc.rust-lang.org/std/primitive.u128.html
859
- [ #802 ] : https://github.com/CosmWasm/cosmwasm/pull/802
860
877
[ #871 ] : https://github.com/CosmWasm/cosmwasm/issues/871
861
878
[ #861 ] : https://github.com/CosmWasm/cosmwasm/issues/861
862
879
[ #848 ] : https://github.com/CosmWasm/cosmwasm/issues/848
@@ -873,8 +890,6 @@ and this project adheres to
873
890
` String ` when there was ` HumanAddr ` before. There is also the new ` Addr ` ,
874
891
which holds a validated immutable human readable address. ([ #802 ] )
875
892
876
- [ #802 ] : https://github.com/CosmWasm/cosmwasm/pull/802
877
-
878
893
## [ 0.13.2] - 2021-01-14
879
894
880
895
## Changed
@@ -1173,7 +1188,7 @@ and this project adheres to
1173
1188
## 0.9.0 (2020-06-25)
1174
1189
1175
1190
Note: this version contains an API bug and should not be used (see
1176
- https://github.com/CosmWasm/cosmwasm/issues/451 ).
1191
+ < https://github.com/CosmWasm/cosmwasm/issues/451 > ).
1177
1192
1178
1193
** all**
1179
1194
@@ -1194,9 +1209,11 @@ https://github.com/CosmWasm/cosmwasm/issues/451).
1194
1209
` StdResult<Vec<u8>> ` .
1195
1210
- Added contract migration mechanism. Contracts can now optionally export a
1196
1211
` migrate ` function with the following definition:
1212
+
1197
1213
``` rust
1198
1214
extern " C" fn migrate (env_ptr : u32 , msg_ptr : u32 ) -> u32 ;
1199
1215
```
1216
+
1200
1217
- InitResponse no longer has a data field. We always return the contract address
1201
1218
in the data field in the blockchain and don't allow you to override. ` handle `
1202
1219
can still make use of the field.
@@ -1539,7 +1556,8 @@ Some main points:
1539
1556
1540
1557
All future Changelog entries will reference this base
1541
1558
1542
- [ unreleased ] : https://github.com/CosmWasm/cosmwasm/compare/v1.1.9...HEAD
1559
+ [ unreleased ] : https://github.com/CosmWasm/cosmwasm/compare/v1.1.10...HEAD
1560
+ [ 1.1.10 ] : https://github.com/CosmWasm/cosmwasm/compare/v1.1.9...v1.1.10
1543
1561
[ 1.1.9 ] : https://github.com/CosmWasm/cosmwasm/compare/v1.1.8...v1.1.9
1544
1562
[ 1.1.8 ] : https://github.com/CosmWasm/cosmwasm/compare/v1.1.6...v1.1.8
1545
1563
[ 1.1.6 ] : https://github.com/CosmWasm/cosmwasm/compare/v1.1.5...v1.1.6
0 commit comments