This release bring a ca. 20% improvement to the performance of the formatting code, and a convenient days_since method for the Weekday type.
Chrono 0.4.38 also removes the long deprecated rustc-serialize feature. Support for rustc-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) for DateTime instead of a manual implementation. It is reverted in this release.
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 to MappedLocalTime to avoid the impression that it is a Result 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 name MappedLocalTime 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());
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
- `@dependabot ignore minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
- `@dependabot ignore ` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore ` will remove all of the ignore conditions of the specified dependency
- `@dependabot unignore ` will remove the ignore condition of the specified dependency and ignore conditions
Bumps the all group in /frontend with 15 updates:
0.4.31
0.4.38
0.3.66
0.3.69
0.4.20
0.4.21
0.32.3
0.32.5
1.10.2
1.10.4
1.0.108
1.0.109
1.0.193
1.0.198
0.2.89
0.2.92
0.4.39
0.4.42
0.6.3
0.6.5
1.0.77
1.0.82
0.3.66
0.3.69
0.9.0
0.9.1
0.24.7
0.25.1
1.0.52
1.0.58
Updates
chrono
from 0.4.31 to 0.4.38Release notes
Sourced from chrono's releases.
... (truncated)
Commits
352a352
Prepare 0.4.3846d44d6
Manually implementCopy
forDateTime
if offset isCopy
760eb66
Update windows-bindgen requirement from 0.55 to 0.56391187f
Return error when rounding with zero durationffc75e5
AddTimeDelta::checked_mul
andTimeDelta::checked_div
f8cecbe
MakeWeekday::num_days_from public
, rename todays_since
.0cfc405
Optimize number formatting74ba83b
Takepad
by value78e79db
Match on tuples informat_fixed
f3d76c7
Match on tuples informat_numeric
Updates
js-sys
from 0.3.66 to 0.3.69Commits
Updates
log
from 0.4.20 to 0.4.21Changelog
Sourced from log's changelog.
Commits
3ccdc28
Merge pull request #617 from rust-lang/cargo/0.4.216153cb2
prepare for 0.4.21 releasef0f7494
Merge pull request #613 from rust-lang/feat/kv-cleanup2b220bf
clean up structured logging example646e9ab
use original Visitor name for VisitValuecf85c38
add needed subfeatures to kv_unstable73e9539
fix up capturing of :err31bb4b0
move error macros togetherad91711
support field shorthand in macros90a347b
restore removed APIs as deprecatedUpdates
nalgebra
from 0.32.3 to 0.32.5Changelog
Sourced from nalgebra's changelog.
Commits
6b73053
Release v0.32.5440d4a4
chore: add comment providing details on the householder fix.dd44414
chore: Add test that fails before fix4decc80
fix: Normalize the column once more4a5855a
Merge pull request #1362 from dimforge/dev-0.32.4e726b65
Release v0.32.4980dd68
Support Glam 0.25 type conversion706caf5
Update CHANGELOGe977ad8
Release nalgebra-macro v0.2.1a6b3700
Release v0.32.3Updates
regex
from 1.10.2 to 1.10.4Changelog
Sourced from regex's changelog.
Commits
aa2d8bd
1.10.4088d7f3
api: add Cow guarantee to replace APIa5ae351
regex-automata-0.4.69cf4a42
automata: fix bug where reverse NFA lacked an unanchored prefix10fe722
style: clean up some recent lint violationsd7f9347
regex-automata-0.4.507ef7f1
automata: make additional prefileter metadata public0c09903
1.10.3653bb59
deps: bump regex-automata to 0.4.4e7b5401
regex-automata-0.4.4Updates
serde_json
from 1.0.108 to 1.0.109Release notes
Sourced from serde_json's releases.
Commits
f88bf1f
Release 1.0.109bb62c73
Merge pull request #1097 from serde-rs/doccfgdf36d10
Restore doc cfg on re-exportsc367091
Merge pull request #1095 from dtolnay/hashtestb328ee7
Eliminate hash closure in favor of calling hash_one directlyb9bcbad
Use BuildHasher::hash_one7ff6c9e
Use random hasher state for number hashing testfe031cd
Delete trace_macros! functionality from test05196ca
Update ui test suite to nightly-2023-11-19Updates
serde
from 1.0.193 to 1.0.198Release notes
Sourced from serde's releases.
Commits
c4fb923
Release 1.0.19865b7eea
Merge pull request #2729 from dtolnay/saturating01cd696
Integrate Saturating<T> deserialization into impl_deserialize_num macroc13b3f7
Format PR 2709a6571ee
Merge pull request #2709 from jbethune/master6e38aff
Revert "Temporarily disable miri on doctests"3d1b19e
Implement Ser+De forSaturating\<T>
5b24f88
Resolve legacy_numeric_constants clippy lints74d0670
Explicitly install a Rust toolchain for cargo-outdated job3bfab6e
Temporarily disable miri on doctestsUpdates
wasm-bindgen
from 0.2.89 to 0.2.92Changelog
Sourced from wasm-bindgen's changelog.
... (truncated)
Commits
2a4a493
Prepare v0.2.92 release (#3869)8e992dc
Don't allow invalid Unicode scalar values inchar
(#3866)807bdb4
Revert "Allow using'static
lifetimes in functions (#3856)" (#3865)983ec57
AddNonNull\<T>
as parameter (#3857)0095fa7
Allow overriding headless test URL (#3861)0023077
Update passing-rust-closures-to-js.md (#3859)b9ccb8f
Allow using'static
lifetimes in functions (#3856)c80bf9a
Add support forOption\<*const T>
,Option\<*mut T>
andNonNull\<T>
(#3852)0c09e15
Fix CI (#3853)557e2e6
Introduce impl TryFrom for Number that succeeds iff the value is within the s...Updates
wasm-bindgen-futures
from 0.4.39 to 0.4.42Commits
Updates
serde-wasm-bindgen
from 0.6.3 to 0.6.5Commits
f073bd4
chore: Release6281985
Fix map roundtrips in untagged enums (#64)b1b73ac
chore: Release03a470d
Add test for field aliasesff11d81
Revert "Use field indices for struct deserialization"Updates
anyhow
from 1.0.77 to 1.0.82Release notes
Sourced from anyhow's releases.
Commits
074bdea
Release 1.0.8247a4fbf
Merge pull request #360 from dtolnay/docensurec5af1db
Make ensure's doc comment apply to the cfg(not(doc)) macro toobebc7a2
Revert "Temporarily disable miri on doctests"f2c4db9
Update ui test suite to nightly-2024-03-31028cbee
Explicitly install a Rust toolchain for cargo-outdated job7a4cac5
Merge pull request #358 from dtolnay/workspacewrapper939db01
Apply RUSTC_WORKSPACE_WRAPPER9f84a37
Temporarily disable miri on doctests45e5a58
Ignore dead code lint in testUpdates
web-sys
from 0.3.66 to 0.3.69Commits
Updates
memoffset
from 0.9.0 to 0.9.1Changelog
Sourced from memoffset's changelog.
Commits
153fc3d
Version 0.9.10ec6b3b
Merge pull request #84 from RalfJung/no-nightly730bb05
MSRV tests don't need to include moving version targetsf1007bd
offset_simple_packed works in Miri these days1053970
bring the unstable features back (but make them do nothing)637b30a
remove unstable_const featurea04cfb1
add CI for 1.77 decision pointd553d8c
Merge pull request #83 from coolreader18/stable_offset_of638ee9c
Remove unstable_offset_ofe646678
Just use core::mem::offset_of!() on rustc >= 1.77Updates
image
from 0.24.7 to 0.25.1Changelog
Sourced from image's changelog.
... (truncated)
Commits
b761703
Release 0.25.1 (#2187)318ed0a
Fix error string for unsupported color type (#2191)4594c80
Only accept .ff as path extension for Farbfeld (#2181)5c3d3db
Disable strict mode for JPEG decoder (#2183)73c7bfe
fix: Correct the Farbfeld feature flag for ImageFormat::{reading_enabled, wri...d407e36
Add nasm to optionally enable faster AVIF encoding87cbef7
Remove lingering references to ImageOutputFormat (#2176)c193acb
fix rgba8 image jpeg encode bug (#2169)fbd3f3e
Remove JPEG size limits while parsing header (#2175)e8b7acb
Mention DXT removal in changelog (#2166)Updates
thiserror
from 1.0.52 to 1.0.58Release notes
Sourced from thiserror's releases.
Commits
df8bffa
Release 1.0.5814be209
Merge pull request #292 from dtolnay/deadcode15a1d64
Make compatible with -Dwarningsf55a5d2
Ignore mixed_attributes_style clippy lintf770921
Resolve assigning_clones clippy lint1d106b1
Release 1.0.578a5c4d1
Use write_str when args only consists of trailing commaf790bee
Phrase flag in terms of whether core::fmt machinery is requiredd43b759
Ignore needless_raw_string_hashes pedantic clippy lint in testd09c418
Touch up PR 286Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show