Skip to content
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

build(deps): bump chrono from 0.4.35 to 0.4.37 #12357

Merged
merged 1 commit into from Mar 28, 2024

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 28, 2024

Bumps chrono from 0.4.35 to 0.4.37.

Release notes

Sourced from chrono's releases.

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());

Additions

  • Add DateTime::with_time() (#1510)

Deprecations

  • Revert TimeDelta deprecations (#1543)
  • Deprecate TimeStamp::timestamp_subsec_nanos, which was missed in the 0.4.35 release (#1486)

Documentation

  • Correct version number of deprecation notices (#1486)
  • Fix some typos (#1505)
  • Slightly improve serde documentation (#1519)
  • Main documentation: simplify links and reflow text (#1535)

Internal

  • CI: Lint benchmarks (#1489)
  • Remove unnessary Copy and Send impls (#1492, thanks @​erickt)
  • Backport streamlined NaiveDate unit tests (#1500, thanks @​Zomtir)
  • Rename LocalResult to TzResolution, add alias (#1501)
  • Update windows-bindgen to 0.55 (#1504)
  • Avoid duplicate imports, which generate warnings on nightly (#1507)
  • Add extra debug assertions to NaiveDate::from_yof (#1518)
  • Some small simplifications to DateTime::date_naive and NaiveDate::diff_months (#1530)
  • Remove unwrap in Unix Local type (#1533)
  • Use different method to ignore feature-dependent doctests (#1534)

Thanks to all contributors on behalf of the chrono team, @​djc and @​pitdicker!

Commits
  • 7d62045 Prepare 0.4.37
  • 6857d00 Hide re-export of LocalResult in docs
  • 9e22e48 Swap MappedLocalTime and LocalResult type alias
  • ca3c3b6 Prepare 0.4.36
  • 1850198 Revert TimeDelta deprecations
  • e05ba8b Add MappedLocalTime::and_then
  • 3adfd88 Main documentation: simplify links and reflow text
  • 1e8df65 Rustfmt doc comments
  • 1b57859 Run doctests with alloc feature if possible
  • 6f2c7cc Use different method to run feature-dependent doctests
  • Additional commits viewable in compare view

Dependabot compatibility score

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 <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot bot requested a review from a team as a code owner March 28, 2024 03:53
@dependabot dependabot bot added dependencies Pull requests that update a dependency file rust labels Mar 28, 2024
@alpeb
Copy link
Member

alpeb commented Mar 28, 2024

@dependabot rebase

@dependabot dependabot bot force-pushed the dependabot/cargo/chrono-0.4.37 branch from 8fe7078 to 00fffea Compare March 28, 2024 12:14
@alpeb
Copy link
Member

alpeb commented Mar 28, 2024

@dependabot rebase

Bumps [chrono](https://github.com/chronotope/chrono) from 0.4.35 to 0.4.37.
- [Release notes](https://github.com/chronotope/chrono/releases)
- [Changelog](https://github.com/chronotope/chrono/blob/main/CHANGELOG.md)
- [Commits](chronotope/chrono@v0.4.35...v0.4.37)

---
updated-dependencies:
- dependency-name: chrono
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/cargo/chrono-0.4.37 branch from 00fffea to 386eaa5 Compare March 28, 2024 12:33
@alpeb alpeb merged commit 380442a into main Mar 28, 2024
41 checks passed
@alpeb alpeb deleted the dependabot/cargo/chrono-0.4.37 branch March 28, 2024 13:32
the-wondersmith pushed a commit to the-wondersmith/linkerd2 that referenced this pull request Apr 24, 2024
Bumps [chrono](https://github.com/chronotope/chrono) from 0.4.35 to 0.4.37.
- [Release notes](https://github.com/chronotope/chrono/releases)
- [Changelog](https://github.com/chronotope/chrono/blob/main/CHANGELOG.md)
- [Commits](chronotope/chrono@v0.4.35...v0.4.37)

---
updated-dependencies:
- dependency-name: chrono
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Signed-off-by: Mark S <the@wondersmith.dev>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file rust
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant