Sourced from cosmwasm-std's releases.
v1.5.4
The release notes are available in CHANGELOG.md. For upgrading contracts also consult MIGRATING.md.\n\nAttached there are some build artifacts generated at this tag. Those are for development purposes only! Please use crates.io to find the packages of this release.
Sourced from cosmwasm-std's changelog.
[1.5.4]
Fixed
- cosmwasm-std: Fix CWA-2024-002
Added
- cosmwasm-std: Implement
&T + T
and&T op &T
forUint64
,Uint128
,Uint256
andUint512
; improve panic message forUint64::add
andUint512::add
(#2092)- cosmwasm-std: Add
Uint{64,128,256,512}::strict_add
and::strict_sub
which are like theAdd
/Sub
implementations butconst
. (#2098, #2107)#2092: CosmWasm/cosmwasm#2092 #2098: CosmWasm/cosmwasm#2098 #2107: CosmWasm/cosmwasm#2107
Changed
- cosmwasm-std: Let
Timestamp::plus_nanos
/::minus_nanos
useUint64::strict_add
/::strict_sub
and document overflows. (#2098, #2107)#2098: CosmWasm/cosmwasm#2098 #2107: CosmWasm/cosmwasm#2107
Fixed
- cosmwasm-std: Correctly deallocate vectors that were turned into a
Region
viarelease_buffer
(#2062)
95bfc2d
Set version: 1.5.4eff79bc
Fix9f88e7c
fix: avoid div with zero in assert_approx_eq (#2101)
(#2113)41b1d16
Rename math functions to strict_add/strict_sub (backport #2107)
(#2110)695970c
Use newly added panicking_add/panicking_sub for Timestamp math (backport
#209...a39a171
Implement add for Uint* more consistentlyd65150f
Adjust documentation26d23c2
Update packages/std/src/memory.rs2b26879
Remove AsRef\<[u8]>
bounds61e12f9
Abstract away the source behind an unsafe trait