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.
As of this release, I am not planning to publish further versions of serde_yaml as none of my projects have been using YAML for a long time, so I have archived the GitHub repo and marked the crate deprecated in the version number. An official replacement isn't designated for those who still need to work with YAML, but https://crates.io/search?q=yaml&sort=relevance and https://crates.io/keywords/yaml has a number of reasonable-looking options available.
0.9.33
Fix quadratic parse time for YAML containing deeply nested flow collections (dtolnay/unsafe-libyaml#26)
usvg::WriteOptions::preserve_text to control how usvg generates an SVG.
usvg::Image::abs_bounding_box
Changed
All types in usvg are immutable now. Meaning that usvg::Tree cannot be modified
after creation anymore.
All struct fields in usvg are private now. Use getters instead.
All usvg::Tree parsing methods require the fontdb argument now.
All defs children like gradients, patterns, clipPaths, masks and filters are guarantee
to have a unique, non-empty ID.
All defs children like gradients, patterns, clipPaths, masks and filters are guarantee
to have userSpaceOnUse units now. No objectBoundingBox units anymore.
usvg::Mask is allowed to have no children now.
Text nodes will not be parsed when the text build feature isn't enabled.
usvg::Tree::clip_paths, usvg::Tree::masks, usvg::Tree::filters returns
a pre-collected slice of unique nodes now.
It's no longer a closure and you do not have to deduplicate nodes by yourself.
usvg::filter::Primitive::x, y, width and height methods were replaced
with usvg::filter::Primitive::rect.
Split usvg::Tree::paint_servers into usvg::Tree::linear_gradients,
usvg::Tree::radial_gradients, usvg::Tree::patterns.
All three returns pre-collected slices now.
A usvg::Path no longer can have an invalid bbox. Paths with an invalid bbox will be
rejected during parsing.
All usvg methods that return bounding boxes return non-optional Rect now.
No NonZeroRect as well.
usvg::Text::flattened returns &Group and not Option<&Group> now.
usvg::ImageHrefDataResolverFn and usvg::ImageHrefStringResolverFn
require fontdb::Database argument.
All shared nodes are stored in Arc and not Rc<RefCell> now.
resvg::render_node now includes filters bounding box. Meaning that a node with a blur filter
no longer be clipped.
Replace usvg::utils::view_box_to_transform with usvg::ViewBox::to_transform.
Rename usvg::XmlOptions into usvg::WriteOptions and embed xmlwriter::Options.
Removed
usvg::Tree::postprocess() and usvg::PostProcessingSteps. No longer needed.
usvg::ClipPath::units(), usvg::Mask::units(), usvg::Mask::content_units(),
usvg::Filter::units(), usvg::Filter::content_units(), usvg::LinearGradient::units(),
usvg::RadialGradient::units(), usvg::Pattern::units(), usvg::Pattern::content_units()
and usvg::Paint::units(). They are always userSpaceOnUse now.
usvg::Units. No longer needed.
Fixed
Text bounding box is accounted during SVG size resolving.
Previously, only paths and images were included.
Font selection when an italic font isn't explicitly marked as one.
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 cli group with 14 updates:
1.0.80
1.0.81
0.1.77
0.1.79
0.7.4
0.7.5
0.4.34
0.4.37
4.5.1
4.5.4
0.10.0
0.11.0
0.13.0
0.14.0
1.10.3
1.10.4
0.11.24
0.12.2
1.0.114
1.0.115
0.9.32
0.9.34+deprecated
1.36.0
1.37.0
0.37.0
0.40.0
6.0.0
6.0.1
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
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
deadpool
from 0.10.0 to 0.11.0Changelog
Sourced from deadpool's changelog.
Commits
957e126
Release deadpool 0.11 and all deadpool-* crates979f1b2
Add missing linkef54b60
Update Changelogddbfb20
Update rusqlite to version 0.31c558afa
Update config crate to version 0.14f85f8fb
Add cargo-outdated to devcontainerb1cf396
Add cargo-release to devcontainer411ca3d
Move release.toml to project roota0aa79d
Update deadpool-redis changelog4d5d372
Convert CHANGELOG format to "keep a changelog" formatUpdates
qrcode
from 0.13.0 to 0.14.0Commits
Updates
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
serde_yaml
from 0.9.32 to 0.9.34+deprecatedRelease notes
Sourced from serde_yaml's releases.
Commits
2009506
Release 0.9.343ba8462
Add unmaintained note77236b0
Ignore dead code lint in testsf4c9ed9
Release 0.9.33b4edaee
Pull in yaml_parser_fetch_more_tokens fix from libyaml8a5542c
Resolve non_local_definitions warning 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
usvg
from 0.37.0 to 0.40.0Release notes
Sourced from usvg's releases.
Changelog
Sourced from usvg's changelog.
... (truncated)
Commits
6b973b2
Version bump.b50e3c6
Renameusvg::XmlOptions
intousvg::WriteOptions
.db4904d
Update changelog.17708a9
Update usvg readme.20c8dcc
Fix build.cadb172
Replaceusvg::utils::view_box_to_transform
withusvg::ViewBox::to_transform
.782948f
Try to preserve original gradient and pattern objects when converting units.e042024
Gradients and patterns are always inuserSpaceOnUse
units now.6af096e
Use layer bbox during individual nodes rendering.1961564
Fix defs id generation.Updates
which
from 6.0.0 to 6.0.1Release notes
Sourced from which's releases.
Changelog
Sourced from which's changelog.
Commits
7c8a898
bump patch versione95dca2
remove dependency on once_cell071683c
Use winsafe over windows-sys, and reduce dependency on rustix96a8004
Upgrade deps, move to 6.0.0Dependabot 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