-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(deps): update rust crate chrono to v0.4.38 #46
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
renovate
bot
added
the
A-dependencies
Area: Pull requests that update a dependency file
label
Sep 21, 2024
Closed
Merged
github-merge-queue bot
pushed a commit
that referenced
this pull request
Nov 9, 2024
## 🤖 New release * `rustic_scheduler`: 0.1.0 -> 0.1.1 (✓ API compatible changes) <details><summary><i><b>Changelog</b></i></summary><p> <blockquote> ## [0.1.1](v0.1.0...v0.1.1) - 2024-11-09 ### Fixed - *(docs)* update readme - *(docs)* update readme - *(deps)* build sha2-asm on windows-gnu - *(deps)* build sha2-asm on windows-gnu - *(deps)* explicitly pull in sha2 asm extensions for non-windows targets - *(deps)* update rust crate chrono to v0.4.38 ([#46](#46)) - *(deps)* update rust crate axum to v0.7.6 ([#45](#45)) - *(deps)* update rust crate anyhow to v1.0.89 ([#44](#44)) - typo in readme ([#37](#37)) - *(deps)* update rust crate serde_derive to 1.0.194 ([#33](#33)) - *(deps)* update rust crate tungstenite to 0.21 ([#34](#34)) - *(deps)* update rust crate axum to 0.7.3 ([#29](#29)) - *(deps)* update rust crate url to 2.5 ([#28](#28)) - *(deps)* update rust crate serde_derive to 1.0.193 ([#27](#27)) - *(ci)* remove unmaintained `actions-rs` ci actions - *(deps)* update rust crate toml to 0.8.8 ([#25](#25)) - *(deps)* update rust crate serde_derive to 1.0.192 ([#24](#24)) - *(deps)* update rust crate clap_derive to 4.4.7 ([#23](#23)) - Remove redundant clone() - *(deps)* update rust crate chrono to 0.4.31 ([#16](#16)) - *(deps)* update rust crate toml to 0.8.0 ([#12](#12)) - cloning - build and clippy lints ### Other - don't build on netbsd again, still fails due to `cannot find -lexecinfo` - update readme - *(deps)* update deps ([#60](#60)) - try fix build problems ([#58](#58)) - *(deps)* update actions ([#59](#59)) - use runners according to available images and target triple ([#57](#57)) - update dprint config ([#56](#56)) - add triage label to new issues only if no label has been set when creating it ([#55](#55)) - *(deps)* lock file maintenance rust dependencies ([#54](#54)) - ignore CHANGELOG.md in dprint formatting - Update renovate.json - use release-plz - *(deps)* upgrade deps - *(deps)* lockfile maintenance - update deny.toml - update deny.toml - Revert "chore(deps): lock file maintenance" ([#49](#49)) - *(deps)* lock file maintenance ([#48](#48)) - *(deps)* update embarkstudios/cargo-deny-action action to v2 ([#47](#47)) - *(deps)* update taiki-e/install-action digest to 18ab6bd ([#43](#43)) - *(deps)* update swatinem/rust-cache digest to 23bce25 ([#42](#42)) - *(deps)* update obi1kenobi/cargo-semver-checks-action digest to 7272cc2 ([#41](#41)) - *(deps)* update embarkstudios/cargo-deny-action digest to 3f4a782 ([#40](#40)) - *(deps)* update actions/download-artifact digest to fa0a91b ([#39](#39)) - *(deps)* update actions/checkout digest to 692973e ([#38](#38)) - *(deps)* lock file maintenance ([#35](#35)) - break old ci jobs when new commits are pushed so we don't fill up the queue - add project-cache-key for better caching in ci - *(deps)* update taiki-e/install-action digest to 56ab793 ([#32](#32)) - *(deps)* update taiki-e/install-action digest to a9ad291 ([#31](#31)) - *(deps)* update actions/download-artifact action to v4 ([#30](#30)) - dprint fmt - automerge lockfile maintenance - activate automerge for github action digest update - activate automerge for github action digest update - *(fmt)* upgrade dprint config - *(deps)* update taiki-e/install-action digest to d211c4b ([#26](#26)) - netbsd nightly builds fail due to missing execinfo, so we don't build on it for now - update rustsec/audit-check - update taiki-e/install-action - update dtolnay/rust-toolchain - Run actions that need secrets.GITHUB_TOKEN only on rustic-rs org - lockfile maintenance - *(deps)* update embarkstudios/cargo-deny-action digest to 1e59595 ([#22](#22)) - *(deps)* update taiki-e/install-action digest to 4d85042 ([#21](#21)) - *(deps)* update actions/checkout digest to b4ffde6 ([#20](#20)) - add results to ci - update dprint plugins - compile dependencies with optimizations in dev mode - Add client/ site for client statistics ([#19](#19)) - Update README.md - *(readme)* remove note about rustic_core not being published - add x86_64-pc-windows-gnu target - *(deps)* upgrade deps - dprint fmt - update cross ci - *(cargo)* remove special os-dependent linker/compiler settings - *(manifest)* use rustic_core from crates.io - sign binaries using rsign2 as well - add contributing - fix list indent - rewrite contributing remark - relink to new image location - *(deps)* update dependencies - *(deps)* update actions/checkout action to v4 ([#18](#18)) - *(deps)* pin dependencies ([#17](#17)) - fmt - add cargo deny - *(deps)* update taiki-e/install-action digest to de0d48b ([#15](#15)) - add merge queue checks - *(deps)* update actions/checkout action to v4 ([#13](#13)) - *(deps)* update taiki-e/install-action action to v2 ([#14](#14)) - *(deps)* update swatinem/rust-cache digest to a95ba19 ([#11](#11)) - *(deps)* pin dependencies ([#10](#10)) - run workflow on renovate branches - update changelog - run release checks also on release subbranches - add triaging of issues - run git-cliff with latest tag during release - add dev tooling - add changelog generation - fix woggly github action comparison - use bash substring comparison to determine package name from branch - set right package - fix github refs - decrease build times on windows - fix workflow name for create-binary-artifact action, and check breaking changes package dependent - *(changelog)* add generated changelog - add release CD - fix comment being wrongly attributed - update ci to reflect changes and optimizations from rustic_server - remove lint from ci workflow and keep it separate, replace underscore in workflow file - add comment about shallow clone - declutter and reorganize - add signature and shallow clones to nightly - update header - add link to nightly downloads in documentation - *(readme)* add link to binaries and badge - nightly builds - refactor to library and client + server binaries - fmt - fix binary builds - *(readme)* rewrite comment for rustic_core, uses git dependency now - *(deps)* use workspace dependency on git repo - add rustic to artifact build - pull in rustic manually for now - *(deps)* update dependencies - add licenses, fix manifest - fmt - add ci - Update rustic_scheduler.toml - Update rustic_scheduler.toml - initial commit ### Bug Fixes - Build and clippy lints - Cloning ### Documentation - Add licenses, fix manifest - Rewrite comment for rustic_core, uses git dependency now - Add link to binaries and badge - Add link to nightly downloads in documentation - Add generated changelog ### Miscellaneous Tasks - Add ci - Pull in rustic manually for now - Add rustic to artifact build - Fix binary builds - Nightly builds - Update header - Add signature and shallow clones to nightly - Declutter and reorganize - Add comment about shallow clone - Remove lint from ci workflow and keep it separate, replace underscore in workflow file - Update ci to reflect changes and optimizations from rustic_server - Fix comment being wrongly attributed - Add release CD - Fix workflow name for create-binary-artifact action, and check breaking changes package dependent - Decrease build times on windows - Fix github refs - Set right package - Use bash substring comparison to determine package name from branch - Fix woggly github action comparison - Add changelog generation - Add dev tooling - Run git-cliff with latest tag during release - Add triaging of issues - Run release checks also on release subbranches ### Refactor - Refactor to library and client + server binaries <!-- generated by git-cliff --> </blockquote> </p></details> --- This PR was generated with [release-plz](https://github.com/MarcoIeni/release-plz/). Co-authored-by: rustic-release-plz[bot] <182542030+rustic-release-plz[bot]@users.noreply.github.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
0.4.33
->0.4.38
Release Notes
chronotope/chrono (chrono)
v0.4.38
Compare Source
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
rustc-serialize
feature (#1548, thanks @workingjubilee)Additions
Weekday::days_since
(#1249, based on #216 by @clarfonthey)TimeDelta::checked_mul
andTimeDelta::checked_div
(#1565, thanks @Zomtir)Fixes
Copy
forDateTime
if offset isCopy
(#1573)Internal
test_encodable_json
andtest_decodable_json
functions (#1550)cargo hack check
(#1553)Thanks to all contributors on behalf of the chrono team, @djc and @pitdicker!
v0.4.37
Compare Source
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
Compare Source
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:Additions
DateTime::with_time()
(#1510)Deprecations
TimeDelta
deprecations (#1543)TimeStamp::timestamp_subsec_nanos
, which was missed in the 0.4.35 release (#1486)Documentation
Internal
Copy
andSend
impls (#1492, thanks @erickt)NaiveDate
unit tests (#1500, thanks @Zomtir)LocalResult
toTzResolution
, add alias (#1501)NaiveDate::from_yof
(#1518)DateTime::date_naive
andNaiveDate::diff_months
(#1530)unwrap
in UnixLocal
type (#1533)Thanks to all contributors on behalf of the chrono team, @djc and @pitdicker!
v0.4.35
Compare Source
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. TheNaiveDateTime
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 theDateTime<Utc>
type, or from theTimeZone
trait.Converting from
NaiveDateTime
toDateTime<Utc>
is simple with.and_utc()
, and in the other direction with.naive_utc()
.The panicking constructors of
TimeDelta
(the new name of theDuration
type) are deprecated. This was the last part of chrono that defaulted to panicking on error, dating from before rust 1.0.A nice change is that
NaiveDate
now includes a niche. So nowOption<NaiveDate>
,Option<NaiveDateTime>
andOption<DateTime<Tz>>
are the same size as their base types.format::Numeric
andformat::Fixed
are marked asnon_exhaustive
. This will allow us to improve our formatting and parsing support, and we have reason to believe this breaking change will have little to no impact on users.Additions
DateTime::{from_timestamp_micros, from_timestamp_nanos}
(#1234)Parsed
(#1465)Deprecations
NaiveDateTime
(#1473)TimeDelta
(#1450)Changes/fixes
NonZeroI32
insideNaiveDate
(#1207)format::Numeric
andformat::Fixed
asnon_exhaustive
(#1430)Parsed
fixes to error values (#1439)overflowing_naive_local
inDateTime::checked_add*
(#1333)Parsed::set_*
(#1465)Documentation
Parsed
(#1439)Internal
internals
module (#1428, #1429, #1431, #1432, #1433, #1438)x86_64-unknown-illumos
instead of Solaris (#1437)cargo hack check
on Linux (#1442)parse_internal
(#1459)SerdeError
(#1458)NaiveDate::from_isoywd
a bit (#1464)Thanks to all contributors on behalf of the chrono team, @djc and @pitdicker!
v0.4.34
Compare Source
Notable changes
Duration
type toTimeDelta
. This removes the confusion between chrono's type and the laterDuration
type in the standard library. It will remain available under the old name as a type alias for compatibility.Local
is rewritten. The new version avoids panics when the date is outside of the range supported by windows (the years 1601 to 30828), and gives more accurate results during DST transitions.Display
format ofTimeDelta
is modified to conform better to ISO 8601. Previously it converted all values greater than 24 hours to a value with days. This is not correct, as doing so changes the duration from an 'accurate' to a 'nominal' representation to use ISO 8601 terms.Fixes
TimeDelta::milliseconds
(#1385, thanks @danwilliams)DurationExceedsTimestamp
inDurationRound
(#1403, thanks @joroKr21)%X
(https://github.com/chronotope/pure-rust-locales/pull/12, #1420)GetTimeZoneInformationForYear
(#1017)Additions
TimeDelta::try_milliseconds
(#1385, thanks @danwilliams)TimeDelta::new
(#1337)StrftimeItems::{parse, parse_to_owned}
and more documentation (#1184)format::Locale
(via https://github.com/chronotope/pure-rust-locales/pull/8)Changes
Duration
toTimeDelta
, add type alias (#1406)TimeDelta
methods const (#1337)NaiveDate
,NaiveWeek
,NaiveTime
andNaiveDateTime
const where possible (#1337)DateTime
const where possible (#1400)Display
format ofTimeDelta
conform better to ISO 8601 (#1328)Documentation
timestamp_micros
's Example doc (#1338 via #1386, thanks @emikitas)TimeDelta
constructors (#1385, thanks @danwilliams)Internal
main
branch, work on 0.5 happens in the0.5.x
branch (#1390, #1402).impl Arbitrary for DateTime
and set up CI test (#1336)codecov/codecov-action
from 3 to 4 (#1404)-0000
offset (#1411)TOO_LONG
error out ofparse_internal
(#1419)Thanks to all contributors on behalf of the chrono team, @djc and @pitdicker!
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Never, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.