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 traitSourced from chrono's releases.
v0.4.38
This release bring a ca. 20% improvement to the performance of the formatting code, and a convenient
days_since
method for theWeekday
type.Chrono 0.4.38 also removes the long deprecated
rustc-serialize
feature. Support forrustc-serialize
will be soft-destabilized in the next Rust edition. Removing the feature will not break existing users of the feature; Cargo will just not update dependents that rely on it to newer versions of chrono.In chrono 0.4.36 we made an accidental breaking change by switching to
derive(Copy)
forDateTime
instead of a manual implementation. It is reverted in this release.Removals
- Remove
rustc-serialize
feature (#1548, thanks@workingjubilee
)Additions
- Add
Weekday::days_since
(#1249, based on #216 by@clarfonthey
)- Add
TimeDelta::checked_mul
andTimeDelta::checked_div
(#1565, thanks@Zomtir
)Fixes
- Return error when rounding with a zero duration (#1474, thanks
@Dav1dde
)- Manually implement
Copy
forDateTime
if offset isCopy
(#1573)Internal
- Inline
test_encodable_json
andtest_decodable_json
functions (#1550)- CI: Reduce combinations in
cargo hack check
(#1553)- Refactor formatting code (#1335)
- Optimize number formatting (#1558)
- Only package files needed for building and testing (#1554)
Thanks to all contributors on behalf of the chrono team,
@djc
and@pitdicker
!v0.4.37
Version 0.4.36 introduced an unexpected breaking change and was yanked. In it
LocalResult
was renamed toMappedLocalTime
to avoid the impression that it is aResult
type were some of the results are errors. For backwards compatibility a type alias with the old name was added.As it turns out there is one case where a type alias behaves differently from the regular enum: you can't import enum variants from a type alias with
use chrono::LocalResult::*
. With 0.4.37 we make the new nameMappedLocalTime
the alias, but keep using it in function signatures and the documentation as much as possible.See also the release notes of chrono 0.4.36 from yesterday for the yanked release.
v0.4.36
This release un-deprecates the methods on
TimeDelta
that were deprecated with the 0.4.35 release because of the churn they are causing for the ecosystem.New is the
DateTime::with_time()
method. As an example of when it is useful:use chrono::{Local, NaiveTime}; // Today at 12:00:00 let today_noon = Local::now().with_time(NaiveTime::from_hms_opt(12, 0, 0).unwrap());
Additions
- Add
DateTime::with_time()
(#1510)Deprecations
... (truncated)
352a352
Prepare 0.4.3846d44d6
Manually implement Copy
for DateTime
if offset is Copy
760eb66
Update windows-bindgen requirement from 0.55 to 0.56391187f
Return error when rounding with zero durationffc75e5
Add TimeDelta::checked_mul
and TimeDelta::checked_div
f8cecbe
Make Weekday::num_days_from public
, rename to days_since
.0cfc405
Optimize number formatting74ba83b
Take pad
by value78e79db
Match on tuples in format_fixed
f3d76c7
Match on tuples in format_numeric
Sourced from serde_json's releases.
v1.0.116
- Make module structure comprehensible to static analysis (#1124, thanks
@mleonhard
)v1.0.115
- Documentation improvements
a3f62bb
Release 1.0.11612c8ee0
Hide "non-exhaustive patterns" errors when crate fails to compile051ce97
Merge pull request 1124 from mleonhard/master25dc750
Replace features_check
mod with a call to std::compile_error!
. Fixes htt...2e15e3d
Revert "Temporarily disable miri on doctests"0baba28
Resolve legacy_numeric_constants clippy lintsb1ebf38
Release 1.0.115c3dc153
Merge pull request #1119 from titaniumtraveler/pr218770b
Explicitly install a Rust toolchain for cargo-outdated job840da8e
Fix missing backticks in doc comments