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());
Use different method to ignore feature-dependent doctests (#1534)
Thanks to all contributors on behalf of the chrono team, @djc and @pitdicker!
v0.4.35
Most of our efforts have shifted to improving the API for a 0.5 release, for which cleanups and refactorings are landing on the 0.4.x branch.
The most significant changes in this release are two sets of deprecations.
We deprecated all timestamp-related methods on NaiveDateTime. The reason is that a timestamp is defined to be in UTC. The NaiveDateTime type doesn't know the offset from UTC, so it was technically wrong to have these methods. The alternative is to use the similar methods on the DateTime<Utc> type, or from the TimeZone trait.
Matthew Waters:
pango: add some missing AttrInt constructors.
Paolo Borelli:
macros: allow to specify #[default] for glib::flags
Sebastian Dröge:
glib: Add Quark::from_static_str()
glib: Use Self instead of Quark in a few places
glib: Drop the main context future return value sender on finalize
glib: Fix memory leak in subclass::shared tests
glib: Use glib::GString for collate keys
glib: Avoid heap allocation and copy of input strings for collation
glib: Don't misuse slice::get_unchecked()
Update versions to 0.19.3
Ville Hakulinen:
gio: correctly free argument list items
tests: skip failing test on windows
Matthew Waters:
pango: add some missing AttrInt constructors.
Paolo Borelli:
macros: allow to specify #[default] for glib::flags
Sebastian Dröge:
glib: Add Quark::from_static_str()
glib: Use Self instead of Quark in a few places
glib: Drop the main context future return value sender on finalize
glib: Fix memory leak in subclass::shared tests
glib: Use glib::GString for collate keys
glib: Avoid heap allocation and copy of input strings for collation
glib: Don't misuse slice::get_unchecked()
Update versions to 0.19.3
Ville Hakulinen:
gio: correctly free argument list items
tests: skip failing test on windows
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 dependencies group with 13 updates:
1.0.80
1.0.81
0.1.77
0.1.79
0.7.4
0.7.5
1.5.0
1.6.0
0.4.34
0.4.37
4.5.1
4.5.4
0.19.2
0.19.3
0.19.2
0.19.3
1.10.3
1.10.4
0.11.24
0.12.2
1.0.114
1.0.115
1.36.0
1.37.0
0.8.10
0.8.12
Updates
anyhow
from 1.0.80 to 1.0.81Release notes
Sourced from anyhow's releases.
Commits
4aad4ed
Release 1.0.818be9091
Merge pull request #354 from dtolnay/deadcodea2eb7dd
Make compatible with -DwarningsUpdates
async-trait
from 0.1.77 to 0.1.79Release notes
Sourced from async-trait's releases.
Commits
1eb21ed
Release 0.1.7982cb95c
Resolve unused field of ReplaceSelf syntax tree visitorcd8286b
Update ui test suite to nightly-2024-03-22c73061d
Release 0.1.78b6314bc
Refactor inferred bound filtering8d51928
Merge pull request #262 from dtolnay/asyncspanc98a408
Minimize use of async token's span in expanded code2f5343c
Merge pull request #261 from dtolnay/inferredbound1a01bb4
Skip needlessly generating inferred bounds during ?Sende68d68c
Merge pull request #260 from dtolnay/qualificationsUpdates
axum
from 0.7.4 to 0.7.5Release notes
Sourced from axum's releases.
Commits
ef8a9e8
Release axum and axum-extra (#2676)c6fd852
Updatesync_wrapper
to 1.0.0 from 0.1.12ec68d6
Add rejection tracing to all extractors (#2584)2ce382f
Remove h2 from dependencies when http2 feature is off (#2605)8b13d4c
Add axum-typed-routing to ECOSYSTEM.md (#2608)19f6f79
Fix layers being cloned for each request (#2586)3569950
Make nightly_error_messages feature compatible with latest nightlyb6b203b
fix typo in prometheus_metrics_example (#2627)b03f6c1
Fix typo in CONTRIBUTING.md (#2612)4d65ba0
ci: Unbreak cargo-deny action (#2613)Updates
bytes
from 1.5.0 to 1.6.0Release notes
Sourced from bytes's releases.
Changelog
Sourced from bytes's changelog.
Commits
ce8d8a0
chore: prepare bytes v1.6.0 (#681)536db06
Use ManuallyDrop instead of mem::forget (#675)ca00411
Remove commented tests for Bytes::unsplit (#677)7968f6f
Remove redundant reserve call (#674)c5fae00
copy_to_bytes: Add panic section to docs (#676)99584cc
Use Iterator from the prelude (#673)4628927
Refactor split_at/split_to (#663)1bcd212
get_vec_pos: use &self instead of &mut self (#670)f586ffc
set_vec_pos does not need a second parameter (#672)c6972d6
Calculate original capacity only if necessary (#666)Updates
chrono
from 0.4.34 to 0.4.37Release notes
Sourced from chrono's releases.
... (truncated)
Commits
7d62045
Prepare 0.4.376857d00
Hide re-export ofLocalResult
in docs9e22e48
SwapMappedLocalTime
andLocalResult
type aliasca3c3b6
Prepare 0.4.361850198
RevertTimeDelta
deprecationse05ba8b
AddMappedLocalTime::and_then
3adfd88
Main documentation: simplify links and reflow text1e8df65
Rustfmt doc comments1b57859
Run doctests withalloc
feature if possible6f2c7cc
Use different method to run feature-dependent doctestsUpdates
clap
from 4.5.1 to 4.5.4Release notes
Sourced from clap's releases.
Changelog
Sourced from clap's changelog.
Commits
5e4facf
chore: Release8880b0a
docs: Update changelog132b5dd
Merge pull request #5425 from epage/litdf915fe
fix(derive): Re-allow expressions for id's8eab48f
refactor(derive): Make it easier to work with 'Name'be73195
refactor(derive): Clarify tests024089b
Merge pull request #5415 from Pi-Cla/patch-13b35dba
docs: Add mention of nushell to clap_complete README58469d1
Merge pull request #5405 from epage/docs655d829
docs(derive): Fix ToC links within tutorial chaptersUpdates
gio
from 0.19.2 to 0.19.3Release notes
Sourced from gio's releases.
Commits
29753df
Update versions to 0.19.3d8f9112
Merge pull request #1336 from sdroege/0.19-backports11bd6c4
glib: Don't misuseslice::get_unchecked()
c5dc463
deny: Add heck 0.4 to the ignore list569192f
deny: Add toml_edit / winnow overrides4a4cc1e
Update Cargo.lock8ef951c
build(deps): bump heck from 0.4.1 to 0.5.018a488f
tests: skip failing test on windowsb86dd00
gio: correctly free argument list itemsc1b16f8
glib: Avoid heap allocation and copy of input strings for collationUpdates
glib
from 0.19.2 to 0.19.3Release notes
Sourced from glib's releases.
Commits
29753df
Update versions to 0.19.3d8f9112
Merge pull request #1336 from sdroege/0.19-backports11bd6c4
glib: Don't misuseslice::get_unchecked()
c5dc463
deny: Add heck 0.4 to the ignore list569192f
deny: Add toml_edit / winnow overrides4a4cc1e
Update Cargo.lock8ef951c
build(deps): bump heck from 0.4.1 to 0.5.018a488f
tests: skip failing test on windowsb86dd00
gio: correctly free argument list itemsc1b16f8
glib: Avoid heap allocation and copy of input strings for collationUpdates
regex
from 1.10.3 to 1.10.4Commits
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 publicUpdates
reqwest
from 0.11.24 to 0.12.2Release notes
Sourced from reqwest's releases.
... (truncated)
Changelog
Sourced from reqwest's changelog.
Commits
6768a8e
v0.12.2fff307b
fix(connect): ALPN missed when using socks5 proxy with rustls backend (#2164)04bf45f
fix: tls version limit for rustls (#2203)056f8c4
fix(connect): not negotiate h2 when using native-tls backend (#2165)e0ea15b
v0.12.13d78fcb
fix: Display for Error shouldn't include source (#2199)c535724
Fix binding interface when no TLS is used (#2200)d5adcba
fix: rustls extraction ofTlsInfo::peer_certificate()
being truncated (#2195)7a5df21
fix: could panic if http2 disabled but TLS negotiated h2 (#2194)d5051f9
Update version number in ReadmeUpdates
serde_json
from 1.0.114 to 1.0.115Release notes
Sourced from serde_json's releases.
Commits
b1ebf38
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 comments3a3f61b
Temporarily disable miri on doctests4a0be88
Format regression tests with rustfmtd2dbbf7
Ignore dead code lint in tests8e7b37b
Merge pull request #1118 from serde-rs/transparenta25f6c6
Remove conditional on repr(transparent)fedf834
Ignore non_local_definitions false positive in testUpdates
tokio
from 1.36.0 to 1.37.0Release notes
Sourced from tokio's releases.
... (truncated)
Commits
9c337ca
chore: prepare Tokio v1.37.0 (#6435)e542501
io: document cancel safety ofAsyncBufReadExt::fill_buf
(#6431)4601c84
stream: addnext_many
andpoll_next_many
toStreamMap
(#6409)deff252
util: document cancel safety ofSinkExt::send
andStreamExt::next
(#6417)4565b81
sync: add arwlock()
method to ownedRwLock
guards (#6418)3ce4720
sync: addis_closed
,is_empty
, andlen
to mpsc receivers (#6348)8342e4b
util: assert compatibility betweenLengthDelimitedCodec
options (#6414)4c453e9
readme: add description about benchmarks (#6425)1846483
sync: expose strong and weak counts of mpsc sender handles (#6405)baad270
sync: add Semaphore example for limiting the number of outgoing requests (#6419)Updates
toml
from 0.8.10 to 0.8.12Commits
3a777b3
chore: Release7979905
docs: Update changelog487768d
Merge pull request #703 from epage/overflow6987f77
chore(ci): Run with default opt-level21f545d
fix(parser): Don't stackoverflow on opt-level=0af1f97d
refactor(parser): Pull recursion limit out to variableeb86543
chore: Release246b292
docs: Update changelogd41c62c
Merge pull request #701 from epage/cleanup31457b3
refactor(error): Clean up highlight codeDependabot 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