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());
New release with some fixes and improvements. Note the 0.10.1 is missing (yanked from crates.io) due to a conflict with the clap version and the Rust minimum version (1.74 now instead of 1.70).
Thanks to all people that contributed to this release!
fix llvm-ar as archiver for msvc targets; fix clang-cl detection; fix assembler output flag detection; add clang/clang-cl windows CI by @russelltg in rust-lang/cc-rs#1015
Please note that this release contains a security fix originally implemented in gix-transport via this PR which prevents ssh options to be smuggled into the ssh command-line invocation with a username provided to a clone or fetch URL.
into_index_worktree_iter() now takes an iterator, instead of a Vec.
This makes the API more consistent, and one can pass None
as well.
show submodules in status independently of their active state.
Even inactive submodules are shown in the status by git status,
so gix should do the same.
forward curl rustls feature from gix-transport to avoid curl in gix.
This removes the curl dependency just for configuring it, and removes
a hazard which became evident with reqwest.
Bug Fixes (BREAKING)
Make topo more similar to Ancestors, but also rename Ancestors to Simple
Commit Statistics
16 commits contributed to the release over the course of 20 calendar days.
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 rust-dependencies group with 9 updates:
0.22.2
0.22.5
1.0.114
1.0.115
0.8.33
0.8.34
0.4.35
0.4.38
1.0.81
1.0.82
1.36.0
1.37.0
0.10.0
0.10.2
1.0.90
1.0.94
0.61.0
0.62.0
Updates
tree-sitter
from 0.22.2 to 0.22.5Changelog
Sourced from tree-sitter's changelog.
... (truncated)
Commits
cdd4688
0.22.532b8794
docs: Add note about 0.22.3 release to CHANGELOG.md295344b
fix: Avoid generating unused character set constantsa7a47d5
fix(rust): compilation on wasm32-wasi9ba8f6d
fix(cli): test parsing on windows2852579
0.22.450d0dfb
Always bump at least the patch version inbump
xtask63fa0f2
Include 2-character ranges in array-based state transitions056237f
Fix sorting of transitions within a lex statea3d3387
0.22.3Updates
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
encoding_rs
from 0.8.33 to 0.8.34Commits
a0c5c57
Increment version number to 0.8.348bcba0b
Move a negation to the right place and cargo fmt29668e3
Move a negation to the right placedbf673e
Work around bad SIMD codegen on 32-bit ARM3c96213
Add rust-version to Cargo.toml98f3c6a
Update README598edc8
Port from packed_simd crate to portable_simd feature (aarch64 part)2d198c8
Port from packed_simd crate to portable_simd feature (x86_64 part)9217fd2
Remove the remains of Travis966fc0a
wip memUpdates
chrono
from 0.4.35 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
anyhow
from 1.0.81 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
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
pulldown-cmark
from 0.10.0 to 0.10.2Release notes
Sourced from pulldown-cmark's releases.
Commits
8c77390
chore: upgrade Rust minimum version to 1.747e0e90c
chore: update Cargo.lock17ccf97
chore: bump versioncc18f0e
Merge pull request #868 from pulldown-cmark/cargo_perf_opt2f94b34
docs: suggest performance options, license in README, new authors2e4617d
fix: remove thecpu=native
flag in the sake of reproducible buildsd4b1f29
Merge pull request #875 from blinxen/master2ae599d
Add symlink to license file so it is included in the release tarball that is ...92aa151
perf: cargo-wizard default recommendations for runtime perfc735de1
Merge pull request #864 from notriddle/tilde-flanking-rulesUpdates
cc
from 1.0.90 to 1.0.94Release notes
Sourced from cc's releases.
Commits
0286286
Release cc 1.0.94 (#1034)f83109b
fix xcrun sdk version arg (#1007)4743a72
Release cc-rs 1.0.93 (#1032)e80a19d
Add visionOS support (#1029)f313ff5
Release cc 1.0.92 (#1028)e73d05b
Fix linking with llvm-lib (#1027)c9b0850
Release cc 1.0.91 (#1024)d902ed3
fix(env_tool): return None if env is empty (#1021)fd912ec
fix llvm-ar as archiver for msvc targets; fix clang-cl detection; fix assembl...be62f4a
Fix caching of supported compiler flag (#1002)Updates
gix
from 0.61.0 to 0.62.0Release notes
Sourced from gix's releases.
... (truncated)
Commits
095c673
Release gix-trace v0.1.9, gix-utils v0.1.12, gix-packetline-blocking v0.17.4,...5755271
prepare changelogs prior to releasea5751bc
useu8
forWalkFlags
in the hopes that this can save memory.1f6c8ab
improve documentation of Topological DateOrder sorting and add baseline test ...1272542
Merge branch 'strange-usernames'996310b
refactorgix-transport
with minor edits to comments09311b0
refactorgix-url
03fb64a
(Re)add a short, more specific comment about user@cf59f57
UseUrl::host_as_argument()
inssh::connect()
902367f
Test that leading--
host names aren't used in-G
checkDependabot 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